mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-06-01 16:10:42 +00:00
fixing unit tests
This commit is contained in:
@@ -74,8 +74,7 @@ impl<TPostings: Postings> DocSet for UnionPostings<TPostings> {
|
||||
let head = self.queue.pop();
|
||||
match head {
|
||||
Some(HeapItem(doc, ord, tf)) => {
|
||||
// let fieldnorm = self.get_field_norm(ord, doc);
|
||||
let fieldnorm: u32 = 1u32;
|
||||
let fieldnorm = self.get_field_norm(ord, doc);
|
||||
self.scorer.update(ord, tf, fieldnorm);
|
||||
self.enqueue(ord);
|
||||
self.doc = doc;
|
||||
|
||||
Reference in New Issue
Block a user