aquasecurity / esquery

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

FEATURE: boost support for match statement. #21

Closed PesTospertnyj closed 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.

CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.