90c0a6db7d
Implement localized search
2024-07-25 10:51:27 +02:00
cc02920f2b
Update charabia
2024-07-25 10:51:27 +02:00
e83da00446
Milli changes to match to allow for more flexible lifetimes
2024-07-11 16:29:35 +02:00
3bac22fd87
We do not do intersections with the universe when it is related to cache
2024-07-10 16:49:36 +02:00
ce61cb7fe6
Simplify and speedup an intersection pass
2024-07-10 16:49:36 +02:00
1693d1a311
Simplify the check to decide to stop a loop
2024-07-10 16:49:36 +02:00
febea735ca
Remove the unused universe parameter from resolve_negative_phrases
2024-07-10 16:49:36 +02:00
93ba051094
Remove the invalid get_phrases_docids universe parameter
2024-07-10 16:49:35 +02:00
cd7a20fa32
Make it work by avoid storing invalid stuff in the cache
2024-07-10 16:49:35 +02:00
41f51adbec
Do less useless intersections
2024-07-10 16:49:35 +02:00
0ca1a4e805
Always do the intersections with the universe
2024-07-10 16:49:34 +02:00
50a7393c55
Modify the compute_query_term_subset_docids function to accept the universe
2024-07-10 16:49:34 +02:00
2099b4f0dd
Merge #4786
...
4786: Update dependencies r=Kerollmops a=irevoire
# Pull Request
## Related issue
Fixes #4753
## What does this PR do?
- Update all dependencies except rustls
- [x] Release charabia
- [x] Update charabia
- [x] Double check that the docker build works after updating charabia
Co-authored-by: Tamo <tamo@meilisearch.com >
Co-authored-by: Clément Renault <clement@meilisearch.com >
2024-07-10 13:23:54 +00:00
4d5005b01a
make clippy happy
2024-07-10 10:06:59 +02:00
0a40a98bb6
Make milli use edition 2021 ( #4770 )
...
* Make milli use edition 2021
* Add lifetime annotations to milli.
* Run cargo fmt
2024-07-09 17:25:39 +02:00
128e6c7502
Search: spans with a finer granularity
2024-07-02 16:13:53 +02:00
e580d6b98f
Merge #4693
...
4693: Introduce distinct attributes at search time r=irevoire a=Kerollmops
This PR fixes #4611 .
### To Do
- [x] Remove the `distinguishableAttributes` settings (not even a commit about that).
- [x] Use the `filterableAttributes` to be able to use the `distinct` parameter at search.
- [x] Work on the errors and make tests.
Co-authored-by: Clément Renault <clement@meilisearch.com >
Co-authored-by: Tamo <tamo@meilisearch.com >
2024-06-18 07:45:03 +00:00
e9bf4c43a4
Merge #4649
...
4649: Don't store the vectors in the documents database r=dureuill a=irevoire
# Pull Request
## Related issue
Fixes https://github.com/meilisearch/meilisearch/issues/4607
## What does this PR do?
- Ensure that anything falling under `_vectors` is NOT searchable, filterable or sortable
- [x] per embedder, add a roaring bitmap of documents that provide "userProvided" embeddings
- [x] in the indexing process in extract_vector_points, set the bit corresponding to the document depending on the "userProvided" subfield in the _vectors field.
- [x] in the document DB in typed chunks, when writing the _vectors field, remove all keys corresponding to an embedder
Co-authored-by: Tamo <tamo@meilisearch.com >
Co-authored-by: Louis Dureuil <louis@meilisearch.com >
2024-06-17 12:32:03 +00:00
0a8f50695e
Fixes for Rust v1.79
2024-06-13 17:47:44 +02:00
e0eff08095
Merge #4685
...
4685: Fix ci tests r=dureuill a=ManyTheFish
# Pull Request
Make the all following CI succeed:
https://github.com/meilisearch/meilisearch/actions/runs/9477183091
## Related issue
Fixes #4629
## What does this PR do?
- Change the test behavior for `swedish-recomposition` feature flag
- Remove the `-v` parameter from grep
Co-authored-by: ManyTheFish <many@meilisearch.com >
Co-authored-by: Many the fish <many@meilisearch.com >
2024-06-12 07:58:33 +00:00
39f60abd7d
Add and modify distinct tests
2024-06-11 17:53:53 -04:00
1991bd03da
Distinct at search erases the distinct in the settings
2024-06-11 17:02:39 -04:00
0d31be1494
Make the distinct work at search
2024-06-11 11:39:35 -04:00
57d066595b
fix Tests almost all features
2024-06-06 17:24:50 +02:00
75b2e02cd2
Log more stuff around filtering
2024-06-06 11:00:07 -04:00
5d50850e12
always push the user defined vectors in arroy
2024-06-06 11:39:29 +02:00
fc584f1db3
Merge #4666
...
4666: Add a score threshold search parameter r=ManyTheFish a=dureuill
# Pull Request
## Related issue
Fixes https://github.com/meilisearch/meilisearch/issues/4609
## What does this PR do?
- See [usage](https://meilisearch.notion.site/Filter-by-score-usage-224a183ce7b24ca99b6a9a8da755668a?pvs=25#95b76ded400342ba9ab3d67c734836f0 ) and [the known limitation](https://meilisearch.notion.site/Filter-by-score-usage-224a183ce7b24ca99b6a9a8da755668a?pvs=25#e4e32195bf0e4195b5daecdbb7a97a17 )
Co-authored-by: Louis Dureuil <louis@meilisearch.com >
2024-06-03 08:42:44 +00:00
2b6db6541e
Changes after review
2024-06-03 10:30:00 +02:00
d6bd88ce4f
Merge #4667
...
4667: Frequency matching strategy r=Kerollmops a=ManyTheFish
# Pull Request
## Related issue
Fixes #3773
## What does this PR do?
- add test for matching strategy
- implement frequency matching strategy
See the [PRD for more details](https://www.notion.so/meilisearch/Frequency-Matching-Strategy-0f3ba08833a442a39590a53a1505ab00 ).
[Public API](https://www.notion.so/meilisearch/frequency-matching-strategy-89868fb7fc584026bc56e378eb854a7f ).
Co-authored-by: ManyTheFish <many@meilisearch.com >
2024-05-30 14:53:31 +00:00
3f1a510069
Add tests and fix matching strategy
2024-05-30 12:02:42 +02:00
aac1d769a7
Add ranking_score_threshold to milli
2024-05-29 14:17:09 +02:00
abdc4afcca
Implement Frequency matching strategy
2024-05-29 13:59:08 +02:00
d35278320e
Add support functions for accessing arroy writers and readers
2024-05-28 15:27:43 +02:00
02b3d82c60
filtered_universe accepts index and txn instead of SearchContext
2024-05-28 15:22:12 +02:00
c78a2fa4f5
rename method and variable around the attributes to search on feature
2024-05-15 18:04:42 +02:00
5542f1d9f1
get back to what we were doingb efore in the DB cache and with the restricted field id
2024-05-15 18:00:39 +02:00
7ec4e2a3fb
apply all style review comments
2024-05-15 15:02:26 +02:00
9fffb8e83d
make clippy happy
2024-05-14 17:36:32 +02:00
caa6a7149a
make the attribute ranking rule use the weights and fix the tests
2024-05-14 17:36:32 +02:00
685f452fb2
Fix the indexing of the searchable
2024-05-14 17:00:02 +02:00
c22460045c
Stops returning an option in the internal searchable fields
2024-05-14 17:00:02 +02:00
ab43a8a949
chore: fix some typos in comments
...
Signed-off-by: writegr <wellweek@outlook.com >
2024-04-18 14:12:52 +08:00
cf864a1c2e
chore: fix some typos in comments
...
Signed-off-by: yudrywet <yudeyao@yeah.net >
2024-04-14 20:11:34 +08:00
6ebb6b55a6
Lazily embed, don't fail hybrid search on embedding failure
2024-04-04 15:58:17 +02:00
928e6e4c05
Breaking change: remove vector for score details
2024-04-04 15:57:29 +02:00
877f4b1045
Support negative phrases
2024-03-28 15:51:43 +01:00
69f8b2730d
Fix the tests
2024-03-28 10:47:04 +01:00
34262c7a0d
Add analytics for the negative operator
2024-03-26 18:01:27 +01:00
1da9e0f246
Better support space around the negative operator (-)
2024-03-26 17:47:13 +01:00
e4a3e603b3
Expose a first working version of the negative keyword
2024-03-26 17:47:13 +01:00