You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 tomatchParams
struct, Boost method for it and testCase toensure that everything is mapped as expected.
The text was updated successfully, but these errors were encountered: