Skip to content

Commit

Permalink
modify fastfield range query heuristic (#2375)
Browse files Browse the repository at this point in the history
  • Loading branch information
trinity-1686a authored Apr 25, 2024
1 parent ff40764 commit 6a66a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/query/range_query/fast_field_range_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ impl<T: Send + Sync + PartialOrd + Copy + Debug + 'static> DocSet for RangeDocSe
}

fn size_hint(&self) -> u32 {
0 // heuristic possible by checking number of hits when fetching a block
self.column.num_docs()
}
}

Expand Down

0 comments on commit 6a66a71

Please sign in to comment.