mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 20:15:07 +08:00
remove the optional words for the typo criterion
This commit is contained in:
parent
aee49bb3cd
commit
a2bff68c1a
@ -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();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user