mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Fix bugs and add tests to exactness ranking rule
This commit is contained in:
parent
8f2e971879
commit
d3a94e8b25
7 changed files with 410 additions and 31 deletions
|
@ -165,8 +165,8 @@ pub fn compute_query_graph_docids(
|
|||
positions: _,
|
||||
term_ids: _,
|
||||
}) => {
|
||||
let phrase_docids = compute_query_term_subset_docids(ctx, term_subset)?;
|
||||
predecessors_docids & phrase_docids
|
||||
let node_docids = compute_query_term_subset_docids(ctx, term_subset)?;
|
||||
predecessors_docids & node_docids
|
||||
}
|
||||
QueryNodeData::Deleted => {
|
||||
panic!()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue