实现此目的的一种方法是通过使用子句的布尔查询
should
例:
"query": { "bool": { "disable_coord" : "true", "should": [{ "more_like_this": { "fields": [ "PRIMARY_CONTENT_EN" ], "ids": [ 173161 ], "min_term_freq": 1, "max_query_terms": 2, "boost": 1 } }, { "more_like_this": { "fields": [ "PRIMARY_CONTENT_EN" ], "ids": [ 175277 ], "min_term_freq": 1, "max_query_terms": 2, "boost": -1 } }] } }


