mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-06-04 09:30:42 +00:00
NOBUG Use the skipping logic of segment postings in
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
use Score;
|
||||
use DocId;
|
||||
use postings::SkipResult;
|
||||
use fastfield::U64FastFieldReader;
|
||||
use postings::DocSet;
|
||||
use query::Scorer;
|
||||
@@ -39,6 +40,10 @@ where
|
||||
fn size_hint(&self) -> usize {
|
||||
self.postings.size_hint()
|
||||
}
|
||||
|
||||
fn skip_next(&mut self, target: DocId) -> SkipResult {
|
||||
self.postings.skip_next(target)
|
||||
}
|
||||
}
|
||||
|
||||
impl<TPostings> Scorer for TermScorer<TPostings>
|
||||
|
||||
Reference in New Issue
Block a user