Skip to content

Commit

Permalink
Document that fuzzy search implementation is optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
vekterli committed Oct 30, 2023
1 parent 2220445 commit 922e366
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions en/reference/query-language-reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,10 @@ <h2 id="where">where</h2>
<p>Find an example in <a href="../text-matching.html#fuzzy-match">text matching</a>.</p>
{% include important.html content="Only string <a href='schema-reference.html#attribute'>attribute</a>
fields in <a href='services-content.html#document'>documents</a> are supported (single, array or weightedset).
It is also not optimized, but setting <a href='#prefixlength'>prefixLength</a> greater than 0
would narrow the match for the <a href='schema-reference.html#attribute'>fast-search</a>,
so it won't run a full scan."%}
Matching is optimized internally when <code>maxEditDistance</code> is 1 or 2.
Setting <a href='#prefixlength'>prefixLength</a> greater than 0
narrows the match for the <a href='schema-reference.html#attribute'>fast-search</a>,
greatly reducing the number of terms that must be considered."%}
</td>
</tr>
<tr>
Expand Down

0 comments on commit 922e366

Please sign in to comment.