mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
when no searchable attributes are defined, makes all the weight equals to zero
This commit is contained in:
parent
c78a2fa4f5
commit
f2d0a59f1d
6 changed files with 14 additions and 14 deletions
|
@ -1587,8 +1587,8 @@ mod tests {
|
|||
db_snap!(index, fieldids_weights_map, @r###"
|
||||
fid weight
|
||||
0 0 |
|
||||
1 1 |
|
||||
2 2 |
|
||||
1 0 |
|
||||
2 0 |
|
||||
"###);
|
||||
|
||||
// Check that the searchable field have been reset and documents are found now.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue