1. Docs

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?