mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Modify a test to check that criteria additions change the fields ids map
This commit is contained in:
parent
82df524e09
commit
0bf4f3f48a
1 changed files with 1 additions and 1 deletions
|
@ -697,7 +697,7 @@ mod tests {
|
|||
let mut wtxn = index.write_txn().unwrap();
|
||||
let mut builder = Settings::new(&mut wtxn, &index, 0);
|
||||
// Don't display the generated `id` field.
|
||||
builder.set_displayed_fields(vec![S("name"), S("age")]);
|
||||
builder.set_displayed_fields(vec![S("name")]);
|
||||
builder.set_criteria(vec![S("asc(age)")]);
|
||||
builder.execute(|_, _| ()).unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue