fuzzy( )


Sets whether to search for exact matches or approximate matches of the search phrase.

If fuzzy is false, the search only returns documents containing an exact match of the search phrase. For example, a search for "applf" or "app" will not return documents containing the phrase "apple".

If fuzzy is true, the search returns documents containing exact matches and approximate matches of the search phrase. For example, a search for "applf" or "app" will return documents containing the phrase "apple".

Note: The default for fuzzy is true.

Method Declaration
Copy
Method Parameters
fuzzybooleanRequired

Whether the search is fuzzy or not.

Returns
Return Type:WixSearchBuilder
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?