Skip to content

Commit 9d80ee5

Browse files
authored
Update search-query-fuzzy.md
Acrolinx
1 parent a8896ee commit 9d80ee5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/search/search-query-fuzzy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ In Azure AI Search:
3030

3131
+ Fuzzy query applies to whole terms. Phrases aren't supported directly but you can specify a fuzzy match on each term of a multi-part phrase through AND constructions. For example, `search=dr~ AND cleanin~`. This query expression finds matches on "dry cleaning".
3232

33-
+ The default distance of an edit is 2. A value of `~0` signifies no expansion (only the exact term is considered a match), but you could specify `~1` for one degree of difference, or one edit.
33+
+ The default distance of an edit is 2. A value of `~0` signifies no expansion (only the exact term is considered as a match), but you could specify `~1` for one degree of difference, or one edit.
3434

3535
+ A fuzzy query can expand a term up to 50 permutations. This limit isn't configurable, but you can effectively reduce the number of expansions by decreasing the edit distance to 1.
3636

@@ -41,7 +41,7 @@ During query processing, fuzzy queries don't undergo [lexical analysis](search-l
4141
Collectively, the graphs are submitted as match criteria against tokens in the index. As you can imagine, fuzzy search is inherently slower than other query forms. The size and complexity of your index can determine whether the benefits are enough to offset the latency of the response.
4242

4343
> [!NOTE]
44-
> Because fuzzy search tends to be slow, it might be worthwhile to investigate alternatives such as n-gram indexing, with its progression of short character sequences (two and three character sequences for bigram and trigram tokens). Depending on your language and query surface, n-gram might give you better performance. The trade off is that n-gram indexing is very storage intensive and generates much bigger indexes.
44+
> Because fuzzy search tends to be slow, it might be worthwhile to investigate alternatives such as n-gram indexing, with its progression of short character sequences (two and three character sequences for bigram and trigram tokens). Depending on your language and query surface, n-gram might give you better performance. The trade-off is that n-gram indexing is very storage intensive and generates much bigger indexes.
4545
>
4646
> Another alternative, which you could consider if you want to handle just the most egregious cases, would be a [synonym map](search-synonyms.md). For example, mapping "search" to "serach, serch, sarch", or "retrieve" to "retreive".
4747

0 commit comments

Comments
 (0)