Added stopwords: _none_ to the docs #329

This commit is contained in:
Benjamin Vetter 2014-01-12 11:26:39 +01:00 committed by Clinton Gormley
parent b987615f5e
commit 22a96e6a18
3 changed files with 10 additions and 2 deletions

View File

@ -49,6 +49,14 @@ index :
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.
include::analyzers/standard-analyzer.asciidoc[]

View File

@ -17,7 +17,7 @@ type:
[cols="<,<",options="header",]
|=======================================================================
|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
defaulted to the English stopwords list]
|`max_token_length` |The maximum token length. If a token is seen that

View File

@ -12,7 +12,7 @@ The following are settings that can be set for a `stop` analyzer type:
[cols="<,<",options="header",]
|=======================================================================
|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.
|`stopwords_path` |A path (either relative to `config` location, or