Commit 75c647ea authored by David Mendez's avatar David Mendez
Browse files

improve cache key for getting es documents

parent cdffb195
......@@ -107,7 +107,7 @@ def get_es_doc(index_name, doc_id):
:return: the dict with the response from es corresponding to the document
cache_key = f'document-{doc_id}-{RUN_CONFIG.get("cache_key_suffix")}'
cache_key = f'document-{index_name}-{doc_id}-{RUN_CONFIG.get("cache_key_suffix")}'
app_logging.debug(f'cache_key: {cache_key}')
equivalent_query = {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment