View Component 25.1
View Component Help

# Adjust the Tolerance Level of a Fuzzy Search

By default, `DREFUZZY` internally determines an appropriate tolerance level when it judges whether words in a result document are similar enough to the words that you specify in the query. However, in exceptional circumstances you can postfix `DREFUZZY` with a numerical value to adjust this tolerance level:

    DREFUZZYN(fuzzyQuerytext)

This value operates like a slider that increases or decreases the tolerance level. The higher the value is, the more words in result documents count as eligible matches to the words specified in the query. The lower the value is, the fewer words in result documents count as eligible matches to the words specified in the query.

OpenText does not recommend you specify a value higher than 6, because this can result in fuzzy matching that is so flexible that results are not related to the query.

Examples:

    action=Query&Text=DREFUZZY1(Caroll Jabberwalky)

    action=Query&Text=DREFUZZY3(Caroll Jabberwalky)

The second query in this example is more tolerant in accepting matches for the specified words than the first query, which means that it might return more results.

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery View Component 25.1

Topic Title: Adjust the Tolerance Level of a Fuzzy Search