Skip to content

Commit

Permalink
[DOCS] Add 'boost' paramater to match query (#98108) (#98322)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdonpijpelink authored Aug 9, 2023
1 parent 66ebc1e commit 577183e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/reference/query-dsl/match-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@ See <<query-dsl-match-query-synonyms,Use synonyms with match query>> for an
example.
--

`boost`::
+
--
(Optional, float) Floating point number used to decrease or increase the
<<relevance-scores,relevance scores>> of the query. Defaults to `1.0`.

Boost values are relative to the default value of `1.0`. A boost value between
`0` and `1.0` decreases the relevance score. A value greater than `1.0`
increases the relevance score.
--

`fuzziness`::
(Optional, string) Maximum edit distance allowed for matching. See <<fuzziness>>
for valid values and more information. See <<query-dsl-match-query-fuzziness>>
Expand Down

0 comments on commit 577183e

Please sign in to comment.