Commit 7ed1ad81 authored by lixiaofang's avatar lixiaofang

add

parent 167430ca
......@@ -291,6 +291,9 @@ class TopicUtils(object):
'operator': 'and',
'fields': query_fields,
}
logging.info("get ----------------tag_id:%s"%tag_id)
logging.info("get ----------------tag_id:%s"%type(tag_id))
query_function_score["query"]["bool"]["should"] = [
{'multi_match': multi_match},
{"term":{"tag_list":tag_id}}
......
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