esquery
esquery copied to clipboard
An idiomatic Go query builder for ElasticSearch
Is there a plan to have support for version 8 of Elasticsearch GO client
Fixed #23 .
### Motivation: I was wondering, why there is no ability to pass boost in match statement, however it is available for bool and term statements. So I decided to add...
At the moment there is no simple way to add boost directly into match statement. for example: ` { "match": { "name": { "boost": 30.0, "query": "Alex" } } }...
This PR adds support for `combined_fields` that has been added in Elasticsearch 7.13. https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-combined-fields-query.html
such as: ```json { "query": { "bool": { "filter": [ { "nested": { "path": "path_to_nested_doc", "query": {} } } ] } } } ```
It would be great to be able to use esquery for function_score queries! https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html