aquasecurity / esquery

An idiomatic Go query builder for ElasticSearch
Apache License 2.0
305 stars 56 forks source link

FEATURE: boost support added into match statement #22

Open PesTospertnyj opened 2 years ago

PesTospertnyj commented 2 years ago

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 this behavior.

Done:

In this pr I added support for boost inside match statement to omit overcomplicating queries, I also opened related issue and added some examples there.

Related links

See related issue by following link.