remove the optional words for the typo criterion

This commit is contained in:
tamo 2021-04-07 11:05:10 +02:00 committed by Tamo
parent aee49bb3cd
commit a2bff68c1a
No known key found for this signature in database
GPG Key ID: 20CD8020AFA88D69

View File

@ -28,7 +28,7 @@ fn bench_typo(c: &mut criterion::Criterion) {
group.bench_with_input(BenchmarkId::from_parameter(query), &query, |b, &query| {
b.iter(|| {
let rtxn = index.read_txn().unwrap();
let _documents_ids = index.search(&rtxn).query(*query).execute().unwrap();
let _documents_ids = index.search(&rtxn).query(*query).optional_words(false).execute().unwrap();
});
});
}