Skip to content

Commit 5e2caac

Browse files
Fix Terms, Term, MatchAll, MatchNone public docs (#9595) (#9622)
1 parent a619403 commit 5e2caac

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

_query-dsl/match-all.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,14 @@ GET _search
2828
}
2929
}
3030
```
31-
{% include copy-curl.html %}
31+
{% include copy-curl.html %}
32+
33+
34+
## Parameters
35+
36+
Both the matchall and match none queries accepts the following parameters. All parameters are optional.
37+
38+
Parameter | Data type | Description
39+
:--- | :--- | :---
40+
`boost` | Floating-point | A floating-point value that specifies the weight of this field toward the relevance score. Values above 1.0 increase the field’s relevance. Values between 0.0 and 1.0 decrease the field’s relevance. Default is 1.0.
41+
`_name` | String | The name of the query for query tagging. Optional.

_query-dsl/term/term.md

+1
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,5 @@ Parameter | Data type | Description
9898
:--- | :--- | :---
9999
`value` | String | The term to search for in the field specified in `<field>`. A document is returned in the results only if its field value exactly matches the term, with the correct spacing and capitalization.
100100
`boost` | Floating-point | A floating-point value that specifies the weight of this field toward the relevance score. Values above 1.0 increase the field’s relevance. Values between 0.0 and 1.0 decrease the field’s relevance. Default is 1.0.
101+
`_name` | String | The name of the query for query tagging. Optional.
101102
`case_insensitive` | Boolean | If `true`, allows case-insensitive matching of the value with the indexed field values. Default is `false` (case sensitivity is determined by the field's mapping).

_query-dsl/term/terms.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Parameter | Data type | Description
3939
:--- | :--- | :---
4040
`<field>` | String | The field in which to search. A document is returned in the results only if its field value exactly matches at least one term, with the correct spacing and capitalization.
4141
`boost` | Floating-point | A floating-point value that specifies the weight of this field toward the relevance score. Values above 1.0 increase the field’s relevance. Values between 0.0 and 1.0 decrease the field’s relevance. Default is 1.0.
42+
`_name` | String | The name of the query for query tagging. Optional.
4243
`value_type` | String | Specifies the types of values used for filtering. Valid values are `default` and `bitmap`. If omitted, the value defaults to `default`.
4344

4445
## Terms lookup
@@ -250,7 +251,7 @@ Parameter | Data type | Description
250251
`id` | String | The document ID of the document from which to fetch field values. Required.
251252
`path` | String | The name of the field from which to fetch field values. Specify nested fields using dot path notation. Required.
252253
`routing` | String | Custom routing value of the document from which to fetch field values. Optional. Required if a custom routing value was provided when the document was indexed.
253-
`boost` | Floating-point | A floating-point value that specifies the weight of this field toward the relevance score. Values above 1.0 increase the field’s relevance. Values between 0.0 and 1.0 decrease the field’s relevance. Default is 1.0.
254+
`store` | Boolean | Whether to perform the lookup on the stored field instead of `_source`. Optional.
254255

255256
## Bitmap filtering
256257
**Introduced 2.17**

0 commit comments

Comments
 (0)