Elastic4s - how to express "matched_fields" -
i want implement following query in elastic4s. don't see way implement matched_fields clause in highlighter. help?
{ "query": { "multi_match": { "type": "most_fields", "query": "hello world", "fields": [ "text", "text.human" ] } }, "highlight": { "order": "score", "fields": { "text": { "matched_fields": [ "text", "text.human" ], "fragment_size": 100, "number_of_fragments": 10 } } } }
a question simple answer. can't yet in elastic4s :)
so, i've added it: https://github.com/sksamuel/elastic4s/commit/3f8a4e47ae603b7a3263bc3d31c27f2b6706cd8e
this in next 1.5.x release , 1.6.0.
Comments
Post a Comment