meilisearch/milli/src/search/new
meili-bors[bot] 65ad8cce36
Merge #3741
3741: Add ngram support to the highlighter r=ManyTheFish a=loiclec

This PR fixes a bug introduced by the search refactor, where ngrams were not highlighted. 

The solution was to add the ngrams to the vector of `LocatedQueryTerm` that is given to the `MatchingWords` structure.

Co-authored-by: Loïc Lecrenier <loic.lecrenier@me.com>
2023-05-16 09:03:31 +00:00
..
logger Add "position" part of the attribute ranking rule 2023-04-13 10:46:09 +02:00
matches Remove dbg!(..) expression in highlighter tests 2023-05-08 09:45:23 +02:00
query_term Compute split words derivations of terms that don't accept typos 2023-05-10 13:31:19 +02:00
ranking_rule_graph Cargo fmt 2023-05-03 12:21:58 +02:00
tests Compute split words derivations of terms that don't accept typos 2023-05-10 13:31:19 +02:00
bucket_sort.rs Improve performance of the cheapest path finder algorithm 2023-05-02 09:59:42 +02:00
db_cache.rs Fix bug in encoding of word_position_docids and word_fid_docids 2023-04-24 09:59:30 +02:00
distinct.rs Fix distinct attribute bugs 2023-04-07 11:09:01 +02:00
exact_attribute.rs Fix bug in exact_attribute 2023-05-02 10:48:32 +02:00
geo_sort.rs geosort: Remove rtree unwrap 2023-05-03 09:52:16 +02:00
graph_based_ranking_rule.rs Fix bug in computation of query term at a position 2023-05-02 10:48:32 +02:00
interner.rs Add new tests and fix construction of query graph from paths 2023-04-05 16:31:10 +02:00
limits.rs Limit the number of derivations for a single word. 2023-03-31 09:19:18 +02:00
mod.rs Highlight ngram matches as well 2023-05-08 15:35:41 +02:00
query_graph.rs Highlight ngram matches as well 2023-05-08 15:35:41 +02:00
ranking_rules.rs Move bucket sort function to its own module and fix a bug 2023-04-04 18:03:08 +02:00
resolve_query_graph.rs Use MultiOps for resolve_query_graph 2023-05-02 18:54:09 +02:00
small_bitmap.rs SmallBitmap: Consistently panic on incoherent universe lengths 2023-03-29 08:45:38 +02:00
sort.rs Initialize query time ranking rule for query search 2023-03-28 12:40:52 +02:00
words.rs Remove self.iterating from words 2023-05-02 18:54:23 +02:00