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

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"] } }