spell_suggest
Corrects misspelled queries by suggesting close matches from entity names and tag values using bigram-Jaccard pre-filtering and Levenshtein re-ranking.
Instructions
v2.1.0 — Suggest close matches for a (potentially misspelled) query over the vocabulary of entity names + tag values. Two-stage: bigram-Jaccard pre-filter (NGramIndex) + Levenshtein re-rank.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum corrections to return. Default 5. | |
| query | Yes | The (potentially misspelled) query string | |
| minScore | No | Minimum final similarity score (1 - distance/maxLen). Default 0.4. | |
| maxDistance | No | Maximum Levenshtein edit distance to allow. Default 3. |