2013-08-28 19:24:34 -04:00
|
|
|
[[analysis-standard-analyzer]]
|
|
|
|
=== Standard Analyzer
|
|
|
|
|
2013-10-23 19:43:18 -04:00
|
|
|
An analyzer of type `standard` is built using the
|
2013-08-28 19:24:34 -04:00
|
|
|
<<analysis-standard-tokenizer,Standard
|
2013-10-23 19:43:18 -04:00
|
|
|
Tokenizer>> with the
|
2013-08-28 19:24:34 -04:00
|
|
|
<<analysis-standard-tokenfilter,Standard
|
|
|
|
Token Filter>>,
|
|
|
|
<<analysis-lowercase-tokenfilter,Lower
|
|
|
|
Case Token Filter>>, and
|
|
|
|
<<analysis-stop-tokenfilter,Stop
|
|
|
|
Token Filter>>.
|
|
|
|
|
|
|
|
The following are settings that can be set for a `standard` analyzer
|
|
|
|
type:
|
|
|
|
|
|
|
|
[cols="<,<",options="header",]
|
|
|
|
|=======================================================================
|
|
|
|
|Setting |Description
|
|
|
|
|`stopwords` |A list of stopword to initialize the stop filter with.
|
|
|
|
Defaults to the english stop words.
|
|
|
|
|
|
|
|
|`max_token_length` |The maximum token length. If a token is seen that
|
|
|
|
exceeds this length then it is discarded. Defaults to `255`.
|
|
|
|
|=======================================================================
|
|
|
|
|