This commit is contained in:
Louis Dureuil 2023-07-12 10:08:56 +02:00
parent 74315b4ea8
commit 4310928803
No known key found for this signature in database

View File

@ -104,8 +104,10 @@ impl<'ctx> SearchContext<'ctx> {
}
.into())
}
// The field is not searchable, but the searchableAttributes are set to * => ignore field
(None, None) => continue,
// The field is not searchable => User error
_otherwise => {
(_fid, Some(false)) => {
let mut valid_fields: BTreeSet<_> =
fids_map.names().map(String::from).collect();