Added stopwords: _none_ to the docs #329
This commit is contained in:
parent
b987615f5e
commit
22a96e6a18
|
@ -49,6 +49,14 @@ index :
|
||||||
stopwords : [test1, test2, test3]
|
stopwords : [test1, test2, test3]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
|
[[analyzers-stopwords]]
|
||||||
|
=== Stopwords
|
||||||
|
|
||||||
|
The `stopwords` parameter can be used to provide a custom set of stopwords. As
|
||||||
|
certain analyzers use a default list of stopwords while others don't, please
|
||||||
|
check out the individual analyzer sections. In case you want the analyzer to
|
||||||
|
use no stopwords at all, simply provide `stopwords: _none_`
|
||||||
|
|
||||||
Below is a list of the built in analyzers.
|
Below is a list of the built in analyzers.
|
||||||
|
|
||||||
include::analyzers/standard-analyzer.asciidoc[]
|
include::analyzers/standard-analyzer.asciidoc[]
|
||||||
|
|
|
@ -17,7 +17,7 @@ type:
|
||||||
[cols="<,<",options="header",]
|
[cols="<,<",options="header",]
|
||||||
|=======================================================================
|
|=======================================================================
|
||||||
|Setting |Description
|
|Setting |Description
|
||||||
|`stopwords` |A list of stopword to initialize the stop filter with.
|
|`stopwords` |A list of stopwords to initialize the stop filter with.
|
||||||
Defaults to an 'empty' stopword list added[1.0.0.Beta1, Previously
|
Defaults to an 'empty' stopword list added[1.0.0.Beta1, Previously
|
||||||
defaulted to the English stopwords list]
|
defaulted to the English stopwords list]
|
||||||
|`max_token_length` |The maximum token length. If a token is seen that
|
|`max_token_length` |The maximum token length. If a token is seen that
|
||||||
|
|
|
@ -12,7 +12,7 @@ The following are settings that can be set for a `stop` analyzer type:
|
||||||
[cols="<,<",options="header",]
|
[cols="<,<",options="header",]
|
||||||
|=======================================================================
|
|=======================================================================
|
||||||
|Setting |Description
|
|Setting |Description
|
||||||
|`stopwords` |A list of stopword to initialize the stop filter with.
|
|`stopwords` |A list of stopwords to initialize the stop filter with.
|
||||||
Defaults to the english stop words.
|
Defaults to the english stop words.
|
||||||
|
|
||||||
|`stopwords_path` |A path (either relative to `config` location, or
|
|`stopwords_path` |A path (either relative to `config` location, or
|
||||||
|
|
Loading…
Reference in New Issue