reader wokring with compressed data.

This commit is contained in:
Paul Masurel
2016-02-18 20:31:19 +09:00
parent c0c0a2c579
commit b78e5320c3
3 changed files with 43 additions and 25 deletions

View File

@@ -138,7 +138,7 @@ fn test_searcher() {
}
{
let searcher = Searcher::for_directory(directory);
let terms = vec!(Term::from_field_text(&text_field, "a"), Term::from_field_text(&text_field, "b"), );
let terms = vec!(Term::from_field_text(&text_field, "b"), Term::from_field_text(&text_field, "a"), );
let mut collector = TestCollector::new();
searcher.search(&terms, &mut collector);
let vals: Vec<DocId> = collector.docs().iter()