Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE request. Missing boost support inside Match statement. #20

Open
GoncharovArturChi opened this issue Jan 6, 2022 · 0 comments
Open

Comments

@GoncharovArturChi
Copy link

At the moment there is no simple way to add boost directly into match statement. for example: { "match": { "name": { "boost": 30.0, "query": "Alex" } } }

the only way to have boost for match statement is huge overhead: { "bool": { "boost": 30, "must": [ { "match": { "name": { "query": "Alex" } } } ] } }

I propose to provide Boost method inside match statement to omit overcomplicating of queries.
Solution is to add boost field to matchParams struct, Boost method for it and testCase to
ensure that everything is mapped as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant