diff options
author | Paul Masurel <paul.masurel@gmail.com> | 2018-02-20 11:11:56 +0900 |
---|---|---|
committer | Paul Masurel <paul.masurel@gmail.com> | 2018-02-20 12:52:30 +0900 |
commit | f16cc6367efc6ea8b4ea91c6fa947e3858a070ae (patch) | |
tree | 4f6f663589ede74418aa68c4c1c6d62e70a5bc3d /src/query/term_query/mod.rs | |
parent | 43742a93ef5e0c35a4f1d3f65d29402c35a85a81 (diff) |
Refactoring of fastfields
Diffstat (limited to 'src/query/term_query/mod.rs')
-rw-r--r-- | src/query/term_query/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/query/term_query/mod.rs b/src/query/term_query/mod.rs index 04efc2f..11e70aa 100644 --- a/src/query/term_query/mod.rs +++ b/src/query/term_query/mod.rs @@ -13,7 +13,6 @@ mod tests { use postings::SegmentPostings; use query::{Query, Scorer}; use query::term_query::TermScorer; - use fastfield::U64FastFieldReader; use query::TermQuery; use Index; use schema::*; @@ -56,7 +55,7 @@ mod tests { #[test] pub fn test_term_scorer() { - let left_fieldnorms = U64FastFieldReader::from(vec![10, 4]); + let left_fieldnorms = FastFieldReader::from(vec![10, 4]); assert_eq!(left_fieldnorms.get(0), 10); assert_eq!(left_fieldnorms.get(1), 4); let left = SegmentPostings::create_from_docs(&[1]); |