when no searchable attributes are defined, makes all the weight equals to zero

This commit is contained in:
Tamo 2024-05-16 01:06:33 +02:00
parent c78a2fa4f5
commit f2d0a59f1d
6 changed files with 14 additions and 14 deletions

View file

@ -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.