1. Docs
  2. Cloaked Search
  3. Usage
  4. Configuration
  5. Filters - stop_words
  1. Docs
  2. Cloaked Search
  3. Usage
  4. Configuration
  5. Filters - stop_words

Stop token filter

Strips out the words that are in the English stop word list defined by NLTK rust-stop-words. This list is currently not configurable. For example, you can use the stop words filter to change The quick brown to quick brown.

Add to an analyzer

stop_words can be added to any analyzer as a filter.

JSON
"analyzer": { "strip_stop_words": { "type": "custom", "tokenizer": "standard", "filter": ["stop_words"] } }

Was this page helpful?

One sec... bot checking