dd007dceca
Merge pull request #3703 from meilisearch/search-refactor-test-typo-tolerance
...
Search refactor test typo tolerance + some bugfixes
2023-04-27 11:01:35 +02:00
b41a6cbd7a
Check sort criteria also in placeholder search
2023-04-26 16:28:17 +02:00
c8af572697
Add tests for exact words and exact attributes
2023-04-26 16:13:01 +02:00
b448aca49c
Add more tests for exactness rr
2023-04-26 11:04:18 +02:00
55bad07c16
Fix bug in exact_attribute rr implementation
2023-04-26 10:40:05 +02:00
3421125a55
Prevent the exactness
ranking rule from removing random words
...
Make it strictly follow the term matching strategy
2023-04-26 09:09:19 +02:00
d3a94e8b25
Fix bugs and add tests to exactness ranking rule
2023-04-25 16:49:08 +02:00
8f2e971879
Add tests for "exactness" rr, make correct universe computation
2023-04-24 16:57:34 +02:00
d1fdbb63da
Make all search tests pass, fix distinctAttribute bug
2023-04-24 12:12:08 +02:00
a7a0891210
Update examples
2023-04-24 10:07:49 +02:00
84d9c731f8
Fix bug in encoding of word_position_docids and word_fid_docids
2023-04-24 09:59:30 +02:00
bd9aba4d77
Add "position" part of the attribute ranking rule
2023-04-13 10:46:09 +02:00
8edad8291b
Add logger to attribute rr, fix a bug
2023-04-13 10:25:00 +02:00
5acf953298
Merge branch 'search-refactor-attribute-ranking-rule' into search-refactor
2023-04-13 08:28:17 +02:00
d9cebff61c
Add a simple test to check that attributes are ranking correctly
2023-04-13 08:27:09 +02:00
30f7bd03f6
Fix compiler warning/errors caused by previous merge
2023-04-13 08:27:09 +02:00
df0d9bb878
Introduce the attribute ranking rule in the list of ranking rules
2023-04-13 08:27:09 +02:00
5230ddb3ea
Resolve the attribute ranking rule conditions
2023-04-13 08:27:09 +02:00
d6a7c28e4d
Implement the attribute ranking rule edge computation
2023-04-13 08:27:09 +02:00
e55efc419e
Introduce a new cache for the words fids
2023-04-13 08:27:09 +02:00
644e136aee
Merge branch 'search-refactor-typo-attributes' into search-refactor
2023-04-13 08:26:56 +02:00
38b7b31beb
Decide to use prefix DB if the word is not an ngram
2023-04-12 16:45:38 +02:00
7a01f20df7
Use word_prefix_docids, make get_word_prefix_docids private
2023-04-12 16:45:38 +02:00
c20c38a7fa
Add SearchContext::word_prefix_docids() method
2023-04-12 16:44:43 +02:00
5ab46324c4
Everyone uses the SearchContext::word_docids instead of get_db_word_docids
...
make get_db_word_docids private
2023-04-12 16:44:43 +02:00
325f17488a
Add SearchContext::word_docids() method
2023-04-12 16:37:05 +02:00
e7ff987c46
Update call sites
2023-04-12 16:36:38 +02:00
244003e36f
Refactor DB cache to return Roaring Bitmaps directly instead of byte slices
2023-04-12 16:35:48 +02:00
1f813a6f3b
Simplify implementation of the detailed (=visual) logger
2023-04-12 16:32:53 +02:00
96183e804a
Simplify the logger
2023-04-12 16:32:53 +02:00
7ab48ed8c7
Matching words fixes
2023-04-12 16:21:43 +02:00
e7bb8c940f
Merge branch 'search-refactor-highlighter' into search-refactor-highlighter-merged
2023-04-11 12:22:34 +02:00
8cb85294ef
Remove unused import warning
2023-04-07 11:09:30 +02:00
d0e9d65025
Fix distinct attribute bugs
2023-04-07 11:09:01 +02:00
540a396e49
Fix indexing bug in words_prefix_position
2023-04-07 11:08:39 +02:00
a81165f0d8
Merge remote-tracking branch 'origin/main' into search-refactor
2023-04-07 10:15:55 +02:00
d6585eb10b
Avoid splitting ngrams into their original component words
2023-04-07 10:13:49 +02:00
f7d90ad19f
Merge remote-tracking branch 'origin/search-refactor-tests-doc' into search-refactor
2023-04-07 10:13:18 +02:00
bc25f378e8
Merge #3647
...
3647: Improve the health route by ensuring lmdb is not down r=irevoire a=irevoire
Fixes #3644
In this PR, I try to make a small read on the `AuthController` and `IndexScheduler` databases.
The idea is not to validate that everything works but just to avoid the bug we had last time when lmdb was stuck forever.
In order to get access to the `AuthController` without going through the extractor, I need to wrap it in the `Data` type from `actix-web`.
And to do that, I had to patch our extractor so it works with the `Data` type as well.
Co-authored-by: Tamo <tamo@meilisearch.com >
2023-04-06 18:23:52 +00:00
31630c85d0
exactness graph rr: Add important TODO/FIXME after review
2023-04-06 17:50:39 +02:00
ab09dc0167
exact_attributes: Add TODOs and additional check after review
2023-04-06 17:50:39 +02:00
618c54915d
exact_attribute: dedup nodes after sorting them
2023-04-06 17:50:39 +02:00
130d2061bd
Fix indexing of word_position_docid and fid
2023-04-06 17:50:39 +02:00
66ddee4390
Fix word_position_docids indexing
2023-04-06 17:50:39 +02:00
90a6c01495
Use correct codec in proximity
2023-04-06 17:50:39 +02:00
e58426109a
Fix panics and issues in exactness graph ranking rule
2023-04-06 17:50:39 +02:00
f513cf930a
Exact attribute with state
2023-04-06 17:50:39 +02:00
8a13ed7e3f
Add exactness ranking rules
2023-04-06 17:50:39 +02:00
1b8e4d0301
Add ExactTerm and helper method
2023-04-06 17:50:39 +02:00
996619b22a
Increase position by 8 on hard separator when building query terms
2023-04-06 17:50:39 +02:00