I am trying to put together a query. field1 is a big text field. I am looking for key words in there. order of keywords do not matter. I would like to know if the query below achieves that. Thank you !
query_template = {
"query" : {
"bool": {
"should" :
[
{"match": {"field1": {"query": "i do not care about the order of keywords here", "boost": 10}}},
]
}
}
}