search-log

This commit is contained in:
Untone 2024-03-11 13:47:12 +03:00
parent e50bbcdb7c
commit 23be0da876

View File

@ -105,7 +105,7 @@ class SearchService:
index=self.index_name, body=expected_mapping index=self.index_name, body=expected_mapping
) )
else: else:
logger.debug(f' найден существующий индекс {self.index_name}') logger.info(f'найден существующий индекс {self.index_name}')
# Check if the mapping is correct, and recreate the index if needed # Check if the mapping is correct, and recreate the index if needed
result = self.client.indices.get_mapping(index=self.index_name) result = self.client.indices.get_mapping(index=self.index_name)
if isinstance(result, str): if isinstance(result, str):