[DOCS] Add missing word to keyword marker token filter docs

This commit is contained in:
James Rodewig 2020-03-30 10:43:18 -04:00
parent e58ad9fed3
commit ed1edb4964
1 changed files with 5 additions and 4 deletions

View File

@ -6,8 +6,9 @@
Marks specified tokens as keywords, which are not stemmed.
The `keyword_marker` assigns specified tokens a `keyword` attribute of `true`.
Stemmer token filters, such as <<analysis-stemmer-tokenfilter,`stemmer`>> or
The `keyword_marker` filter assigns specified tokens a `keyword` attribute of
`true`. Stemmer token filters, such as
<<analysis-stemmer-tokenfilter,`stemmer`>> or
<<analysis-porterstem-tokenfilter,`porter_stem`>>, skip tokens with a `keyword`
attribute of `true`.
@ -155,7 +156,7 @@ but `jumping` is not stemmed.
To see the `keyword` attribute for these tokens, add the following arguments to
the analyze API request:
* `explain`: `true`
* `explain`: `true`
* `attributes`: `keyword`
[source,console]
@ -176,7 +177,7 @@ GET /_analyze
}
----
The API returns the following response. Note the `jumping` token has a
The API returns the following response. Note the `jumping` token has a
`keyword` attribute of `true`.
[source,console-result]