[DOCS] Rewrite boosting query#43647
[DOCS] Rewrite boosting query#43647jrodewig merged 2 commits intoelastic:masterfrom jrodewig:rewrite-boosting-query
Conversation
|
Pinging @elastic/es-search |
|
Pinging @elastic/es-docs |
| "negative" : { | ||
| "term" : { | ||
| "field2" : "value2" | ||
| "text" : "pie tart fruit crumble tree" |
There was a problem hiding this comment.
Shamelessly borrowed from https://www.elastic.co/guide/en/elasticsearch/guide/current/not-quite-not.html
| }, | ||
| "negative_boost" : 0.2 | ||
| "negative_boost" : 0.5, | ||
| "boost" : 1.0 |
There was a problem hiding this comment.
Is this the same "boost" factor that we have with every query? In that case I wonder if it complicates the discussion at this point since the "negative_boost" is the thing specific for this query. I was under the impression that we document the "global" boost factor of each query clause elsewhere. Maybe worth reconsidering it here.
There was a problem hiding this comment.
Thanks again for the review @cbuescher.
This is an excellent point. I removed documentation for the generic boost parameter with the boosting query with 2f82523.
I've not started it yet, but I am planning to document the boost parameter with its own page with #40977.
cbuescher
left a comment
There was a problem hiding this comment.
Thanks for the update, LGTM
Rewrites the
boostingquery to use the new query format.This is part of #40977, an effort to standardize documentation for query types.
Before
Before image
After
After image