mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-24 13:40:31 +01: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| {
|
group.bench_with_input(BenchmarkId::from_parameter(query), &query, |b, &query| {
|
||||||
b.iter(|| {
|
b.iter(|| {
|
||||||
let rtxn = index.read_txn().unwrap();
|
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…
x
Reference in New Issue
Block a user