mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-06-05 01:50:42 +00:00
Merge branch 'master' into merge-facets
This commit is contained in:
@@ -23,12 +23,12 @@ addons:
|
||||
- cmake
|
||||
before_script:
|
||||
- |
|
||||
cargo install cargo-travis || echo "cargo-travis already installed"
|
||||
export PATH=$HOME/.cargo/bin:$PATH
|
||||
pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
|
||||
script:
|
||||
- cargo build
|
||||
- cargo test
|
||||
- cargo run --example simple_search
|
||||
- cargo doc
|
||||
after_success:
|
||||
- cargo coveralls --exclude-pattern cpp/
|
||||
- travis-cargo doc-upload
|
||||
|
||||
@@ -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