search-log
This commit is contained in:
parent
e50bbcdb7c
commit
23be0da876
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user