diff --git a/docs/reference/mapping/types/keyword.asciidoc b/docs/reference/mapping/types/keyword.asciidoc index 165d9d7900441..5b874376ec6ba 100644 --- a/docs/reference/mapping/types/keyword.asciidoc +++ b/docs/reference/mapping/types/keyword.asciidoc @@ -40,7 +40,7 @@ PUT my-index-000001 } } -------------------------------- - +// REVIEWED[11.06.24] [TIP] .Mapping numeric identifiers ==== @@ -205,7 +205,7 @@ PUT idx/_doc/1 } ---- // TEST[s/$/\nGET idx\/_doc\/1?filter_path=_source\n/] - +// REVIEWED[11.06.24] Will become: [source,console-result] @@ -215,7 +215,7 @@ Will become: } ---- // TEST[s/^/{"_source":/ s/\n$/}/] - +// REVIEWED[11.06.24] If a `keyword` field sets `store` to `true` then order and duplicates are preserved. For example: [source,console,id=synthetic-source-keyword-example-stored] @@ -243,7 +243,7 @@ PUT idx/_doc/1 } ---- // TEST[s/$/\nGET idx\/_doc\/1?filter_path=_source\n/] - +// REVIEWED[11.06.24] Will become: [source,console-result] @@ -253,7 +253,7 @@ Will become: } ---- // TEST[s/^/{"_source":/ s/\n$/}/] - +// REVIEWED[11.06.24] Values longer than `ignore_above` are preserved but sorted to the end. For example: [source,console,id=synthetic-source-keyword-example-ignore-above] @@ -281,7 +281,7 @@ PUT idx/_doc/1 } ---- // TEST[s/$/\nGET idx\/_doc\/1?filter_path=_source\n/] - +// REVIEWED[11.06.24] Will become: [source,console-result] @@ -291,7 +291,7 @@ Will become: } ---- // TEST[s/^/{"_source":/ s/\n$/}/] - +// REVIEWED[11.06.24] include::constant-keyword.asciidoc[] diff --git a/docs/reference/query-dsl/term-query.asciidoc b/docs/reference/query-dsl/term-query.asciidoc index a17a3c6091e4b..2206f2902c8d1 100644 --- a/docs/reference/query-dsl/term-query.asciidoc +++ b/docs/reference/query-dsl/term-query.asciidoc @@ -38,7 +38,7 @@ GET /_search } } ---- - +// REVIEWED[11.06.24] [[term-top-level-params]] ==== Top-level parameters for `term` ``:: @@ -108,7 +108,7 @@ PUT my-index-000001 ---- -- - +// REVIEWED[11.06.24] . Index a document with a value of `Quick Brown Foxes!` in the `full_text` field. + @@ -122,7 +122,7 @@ PUT my-index-000001/_doc/1 } ---- // TEST[continued] - +// REVIEWED[11.06.24] Because `full_text` is a `text` field, {es} changes `Quick Brown Foxes!` to `[quick, brown, fox]` during analysis. @@ -145,7 +145,7 @@ GET my-index-000001/_search?pretty } ---- // TEST[continued] - +// REVIEWED[11.06.24] Because the `full_text` field no longer contains the *exact* term `Quick Brown Foxes!`, the `term` query search returns no results. @@ -178,7 +178,7 @@ GET my-index-000001/_search?pretty } ---- // TEST[continued] - +// REVIEWED[11.06.24] Unlike the `term` query, the `match` query analyzes your provided search term, `Quick Brown Foxes!`, before performing a search. The `match` query then returns any documents containing the `quick`, `brown`, or `fox` tokens in the @@ -219,3 +219,4 @@ in the results. ---- // TESTRESPONSE[s/"took" : 1/"took" : $body.took/] -- +// REVIEWED[11.06.24] \ No newline at end of file diff --git a/docs/reference/query-dsl/terms-query.asciidoc b/docs/reference/query-dsl/terms-query.asciidoc index 49d22a8e9fa30..32408a56cffe9 100644 --- a/docs/reference/query-dsl/terms-query.asciidoc +++ b/docs/reference/query-dsl/terms-query.asciidoc @@ -29,7 +29,7 @@ GET /_search } } ---- - +// REVIEWED[11.06.24] [[terms-top-level-params]] ==== Top-level parameters for `terms` ``:: @@ -142,7 +142,7 @@ PUT my-index-000001 } ---- -- - +// REVIEWED[11.06.24] . Index a document with an ID of 1 and values of `["blue", "green"]` in the `color` field. + @@ -157,7 +157,7 @@ PUT my-index-000001/_doc/1 ---- // TEST[continued] -- - +// REVIEWED[11.06.24] . Index another document with an ID of 2 and value of `blue` in the `color` field. + @@ -172,7 +172,7 @@ PUT my-index-000001/_doc/2 ---- // TEST[continued] -- - +// REVIEWED[11.06.24] . Use the `terms` query with terms lookup parameters to find documents containing one or more of the same terms as document 2. Include the `pretty` parameter so the response is more readable. @@ -205,7 +205,7 @@ GET my-index-000001/_search?pretty } ---- // TEST[continued] - +// REVIEWED[11.06.24] Because document 2 and document 1 both contain `blue` as a value in the `color` field, {es} returns both documents. @@ -252,3 +252,4 @@ field, {es} returns both documents. ---- // TESTRESPONSE[s/"took" : 17/"took" : $body.took/] -- +// REVIEWED[11.06.24] \ No newline at end of file