Loïc Lecrenier
|
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 |
|
Loïc Lecrenier
|
d3a94e8b25
|
Fix bugs and add tests to exactness ranking rule
|
2023-04-25 16:49:08 +02:00 |
|
Loïc Lecrenier
|
8f2e971879
|
Add tests for "exactness" rr, make correct universe computation
|
2023-04-24 16:57:34 +02:00 |
|
Loïc Lecrenier
|
d1fdbb63da
|
Make all search tests pass, fix distinctAttribute bug
|
2023-04-24 12:12:08 +02:00 |
|
Loïc Lecrenier
|
84d9c731f8
|
Fix bug in encoding of word_position_docids and word_fid_docids
|
2023-04-24 09:59:30 +02:00 |
|
Loïc Lecrenier
|
bd9aba4d77
|
Add "position" part of the attribute ranking rule
|
2023-04-13 10:46:09 +02:00 |
|
Loïc Lecrenier
|
8edad8291b
|
Add logger to attribute rr, fix a bug
|
2023-04-13 10:25:00 +02:00 |
|
Kerollmops
|
d9cebff61c
|
Add a simple test to check that attributes are ranking correctly
|
2023-04-13 08:27:09 +02:00 |
|
Loïc Lecrenier
|
30f7bd03f6
|
Fix compiler warning/errors caused by previous merge
|
2023-04-13 08:27:09 +02:00 |
|
Kerollmops
|
df0d9bb878
|
Introduce the attribute ranking rule in the list of ranking rules
|
2023-04-13 08:27:09 +02:00 |
|
Kerollmops
|
5230ddb3ea
|
Resolve the attribute ranking rule conditions
|
2023-04-13 08:27:09 +02:00 |
|
Kerollmops
|
d6a7c28e4d
|
Implement the attribute ranking rule edge computation
|
2023-04-13 08:27:09 +02:00 |
|
Kerollmops
|
e55efc419e
|
Introduce a new cache for the words fids
|
2023-04-13 08:27:09 +02:00 |
|
Loïc Lecrenier
|
644e136aee
|
Merge branch 'search-refactor-typo-attributes' into search-refactor
|
2023-04-13 08:26:56 +02:00 |
|
Louis Dureuil
|
38b7b31beb
|
Decide to use prefix DB if the word is not an ngram
|
2023-04-12 16:45:38 +02:00 |
|
Louis Dureuil
|
7a01f20df7
|
Use word_prefix_docids, make get_word_prefix_docids private
|
2023-04-12 16:45:38 +02:00 |
|
Louis Dureuil
|
c20c38a7fa
|
Add SearchContext::word_prefix_docids() method
|
2023-04-12 16:44:43 +02:00 |
|
Louis Dureuil
|
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 |
|
Louis Dureuil
|
325f17488a
|
Add SearchContext::word_docids() method
|
2023-04-12 16:37:05 +02:00 |
|
Louis Dureuil
|
e7ff987c46
|
Update call sites
|
2023-04-12 16:36:38 +02:00 |
|
Louis Dureuil
|
244003e36f
|
Refactor DB cache to return Roaring Bitmaps directly instead of byte slices
|
2023-04-12 16:35:48 +02:00 |
|
Loïc Lecrenier
|
1f813a6f3b
|
Simplify implementation of the detailed (=visual) logger
|
2023-04-12 16:32:53 +02:00 |
|
Loïc Lecrenier
|
96183e804a
|
Simplify the logger
|
2023-04-12 16:32:53 +02:00 |
|
Loïc Lecrenier
|
7ab48ed8c7
|
Matching words fixes
|
2023-04-12 16:21:43 +02:00 |
|
Loïc Lecrenier
|
e7bb8c940f
|
Merge branch 'search-refactor-highlighter' into search-refactor-highlighter-merged
|
2023-04-11 12:22:34 +02:00 |
|
Loïc Lecrenier
|
d0e9d65025
|
Fix distinct attribute bugs
|
2023-04-07 11:09:01 +02:00 |
|
Loïc Lecrenier
|
a81165f0d8
|
Merge remote-tracking branch 'origin/main' into search-refactor
|
2023-04-07 10:15:55 +02:00 |
|
Loïc Lecrenier
|
d6585eb10b
|
Avoid splitting ngrams into their original component words
|
2023-04-07 10:13:49 +02:00 |
|
Loïc Lecrenier
|
f7d90ad19f
|
Merge remote-tracking branch 'origin/search-refactor-tests-doc' into search-refactor
|
2023-04-07 10:13:18 +02:00 |
|
Louis Dureuil
|
31630c85d0
|
exactness graph rr: Add important TODO/FIXME after review
|
2023-04-06 17:50:39 +02:00 |
|
Louis Dureuil
|
ab09dc0167
|
exact_attributes: Add TODOs and additional check after review
|
2023-04-06 17:50:39 +02:00 |
|
Louis Dureuil
|
618c54915d
|
exact_attribute: dedup nodes after sorting them
|
2023-04-06 17:50:39 +02:00 |
|
Louis Dureuil
|
90a6c01495
|
Use correct codec in proximity
|
2023-04-06 17:50:39 +02:00 |
|
Louis Dureuil
|
e58426109a
|
Fix panics and issues in exactness graph ranking rule
|
2023-04-06 17:50:39 +02:00 |
|
Louis Dureuil
|
f513cf930a
|
Exact attribute with state
|
2023-04-06 17:50:39 +02:00 |
|
Louis Dureuil
|
8a13ed7e3f
|
Add exactness ranking rules
|
2023-04-06 17:50:39 +02:00 |
|
Louis Dureuil
|
1b8e4d0301
|
Add ExactTerm and helper method
|
2023-04-06 17:50:39 +02:00 |
|
Louis Dureuil
|
996619b22a
|
Increase position by 8 on hard separator when building query terms
|
2023-04-06 17:50:39 +02:00 |
|
Louis Dureuil
|
2c9822a337
|
Rename is_multiple_words to is_ngram and zero_typo to exact
|
2023-04-06 17:50:39 +02:00 |
|
Louis Dureuil
|
7276deee0a
|
Add new db caches
|
2023-04-06 17:50:39 +02:00 |
|
ManyTheFish
|
f7e7f438f8
|
Patch prefix match
|
2023-04-06 17:22:31 +02:00 |
|
ManyTheFish
|
ba8dcc2d78
|
Fix clippy
|
2023-04-06 15:50:47 +02:00 |
|
Loïc Lecrenier
|
7ca91ebb71
|
Merge branch 'search-refactor-exactness' into search-refactor-tests-doc
|
2023-04-06 15:16:35 +02:00 |
|
ManyTheFish
|
47f6a3ad3d
|
Take into account that a logger need the search context
|
2023-04-06 15:02:23 +02:00 |
|
ManyTheFish
|
ae17c62e24
|
Remove warnings
|
2023-04-06 14:07:18 +02:00 |
|
ManyTheFish
|
9c5f64769a
|
Integrate the new Highlighter in the search
|
2023-04-06 13:58:56 +02:00 |
|
ManyTheFish
|
ebe23b04c9
|
Make the matcher consume the search context
|
2023-04-06 12:28:28 +02:00 |
|
ManyTheFish
|
13b7c826c1
|
add new highlighter
|
2023-04-06 12:15:37 +02:00 |
|
Louis Dureuil
|
d1ddaa223d
|
Use correct codec in proximity
|
2023-04-05 18:14:00 +02:00 |
|
Louis Dureuil
|
f7ecea142e
|
Fix panics and issues in exactness graph ranking rule
|
2023-04-05 18:13:46 +02:00 |
|