mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 00:55:00 +08:00
Fix condition mistake
This commit is contained in:
parent
ff87b4db26
commit
33241a6b12
@ -1177,7 +1177,7 @@ impl InnerIndexSettingsDiff {
|
|||||||
(self.cache_reindex_searchable_without_user_defined || self.cache_user_defined_searchables)
|
(self.cache_reindex_searchable_without_user_defined || self.cache_user_defined_searchables)
|
||||||
// and if any settings needs the proximity database created
|
// and if any settings needs the proximity database created
|
||||||
&& (self.old.proximity_precision == ProximityPrecision::ByAttribute
|
&& (self.old.proximity_precision == ProximityPrecision::ByAttribute
|
||||||
|| self.old.proximity_precision == ProximityPrecision::ByAttribute)
|
|| self.new.proximity_precision == ProximityPrecision::ByAttribute)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn reindex_searchable_id(&self, id: FieldId) -> Option<DelAddOperation> {
|
pub fn reindex_searchable_id(&self, id: FieldId) -> Option<DelAddOperation> {
|
||||||
|
Loading…
Reference in New Issue
Block a user