Fix condition mistake

This commit is contained in:
ManyTheFish 2024-06-05 16:00:24 +02:00
parent b833be46b9
commit 30293883e0

View File

@ -1177,7 +1177,7 @@ impl InnerIndexSettingsDiff {
(self.cache_reindex_searchable_without_user_defined || self.cache_user_defined_searchables)
// and if any settings needs the proximity database created
&& (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> {