set new attributes indexed if needed

This commit is contained in:
Quentin de Quelen
2020-01-27 08:52:36 +01:00
committed by qdequele
parent b1528f9466
commit 585bba43a0
10 changed files with 100 additions and 648 deletions

View File

@ -269,7 +269,7 @@ mod tests {
let mut postings_lists = HashMap::new();
let mut fields_counts = HashMap::<_, u16>::new();
let mut schema = Schema::default();
let mut schema = Schema::with_identifier("id");
for (word, indexes) in iter {
let mut final_indexes = Vec::new();