stopwords
Filters out (removes) specified stop words from the token stream.
Options
| Option | Type | Default | Description |
|---|---|---|---|
STOPWORDS | string list | — | Stop words (e.g., '"the","a","an"') |
HEX | boolean | false | Treat stop words as hex-encoded strings |
Examples
CREATE TEXT SEARCH DICTIONARY stop_filter (
TEMPLATE = 'stopwords',
STOPWORDS = '"the","a","an","is"'
);
Hex-encoded stopwords
CREATE TEXT SEARCH DICTIONARY hex_stop (
TEMPLATE = 'stopwords',
STOPWORDS = '"616263","6D6E6F"',
HEX = true
);
See also
- CREATE TEXT SEARCH DICTIONARY
- pipeline — use stopwords as a step in a pipeline