IDOL Category Component 12.13

# 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.

Micro Focus 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 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL Category Component 12.13

Topic Title: Adjust the Tolerance Level of a Fuzzy Search