mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 00:55:00 +08:00
Fixes #3912
This commit is contained in:
parent
74315b4ea8
commit
4310928803
@ -104,8 +104,10 @@ impl<'ctx> SearchContext<'ctx> {
|
|||||||
}
|
}
|
||||||
.into())
|
.into())
|
||||||
}
|
}
|
||||||
|
// The field is not searchable, but the searchableAttributes are set to * => ignore field
|
||||||
|
(None, None) => continue,
|
||||||
// The field is not searchable => User error
|
// The field is not searchable => User error
|
||||||
_otherwise => {
|
(_fid, Some(false)) => {
|
||||||
let mut valid_fields: BTreeSet<_> =
|
let mut valid_fields: BTreeSet<_> =
|
||||||
fids_map.names().map(String::from).collect();
|
fids_map.names().map(String::from).collect();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user