1. Docs

Phonetic token filter

Changes token text to phonetic equivalences as defined by the phonetic-normalizer crate. For example, you can use the phonetic filter to change Kaythrn to Catherine.

Add to an analyzer

phonetic can be added to any analyzer as a filter.

JSON
"analyzer": { "phonetic_analyzer": { "type": "custom", "tokenizer": "standard", "filter": ["phonetic"] } }

Was this page helpful?