From af6d11c9d7c485e873996ca49986a031d30a43f8 Mon Sep 17 00:00:00 2001 From: andyjessen Date: Wed, 22 Feb 2023 19:58:55 -0700 Subject: [PATCH] Fix FUZZY operator definition The default length of the FUZZY operator is 2 and not 3. --- website/docs/usage/v3-5.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/usage/v3-5.mdx b/website/docs/usage/v3-5.mdx index 3ca64f8a2..314313bc9 100644 --- a/website/docs/usage/v3-5.mdx +++ b/website/docs/usage/v3-5.mdx @@ -70,10 +70,10 @@ distance of 2 and up to 30% of the pattern string length. `FUZZY1`..`FUZZY9` can be used to specify the exact number of allowed edits. ```python -# Match lowercase with fuzzy matching (allows up to 3 edits) +# Match lowercase with fuzzy matching (allows up to 2 edits) pattern = [{"LOWER": {"FUZZY": "definitely"}}] -# Match custom attribute values with fuzzy matching (allows up to 3 edits) +# Match custom attribute values with fuzzy matching (allows up to 2 edits) pattern = [{"_": {"country": {"FUZZY": "Kyrgyzstan"}}}] # Match with exact Levenshtein edit distance limits (allows up to 4 edits)