- Docs
- Cloaked Search
- Usage
- Configuration
- Filters - reverse
Reverse token filter
Reverses each token in a stream. For example, you can use the reverse filter to change the quick brown
to eht kciuq nworb
.
This can be used in combination with the index_prefixes
field mapping option to support suffix searches on a field.
Add to an analyzer
reverse
can be added to any analyzer as a filter.
JSON"analyzer": { "reverse_analyzer": { "type": "custom", "tokenizer": "standard", "filter": ["reverse"] } }