Fix bugs and add tests to exactness ranking rule

This commit is contained in:
Loïc Lecrenier 2023-04-25 16:49:08 +02:00
parent 8f2e971879
commit d3a94e8b25
7 changed files with 410 additions and 31 deletions

View file

@ -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!()