com.groupdocs.search

Class FuzzySearchParameters



  • public class FuzzySearchParameters
    extends Object

    Represents parameters related to fuzzy searching.

    • Method Detail

      • getEnabled

        public final boolean getEnabled()

        Gets or sets a value indicating whether fuzzy search feature is enabled.

        Value: A value indicating whether fuzzy search feature is enabled.
      • setEnabled

        public final void setEnabled(boolean value)

        Gets or sets a value indicating whether fuzzy search feature is enabled.

        Value: A value indicating whether fuzzy search feature is enabled.
      • getFuzzyAlgorithm

        public final FuzzyAlgorithm getFuzzyAlgorithm()

        Gets of sets a fuzzy search algorithm.

        Throws:
        com.aspose.ms.System.ArgumentNullException - Thrown when value is null. Value: A fuzzy search algorithm.
      • setFuzzyAlgorithm

        public final void setFuzzyAlgorithm(FuzzyAlgorithm value)

        Gets of sets a fuzzy search algorithm.

        Throws:
        com.aspose.ms.System.ArgumentNullException - Thrown when value is null. Value: A fuzzy search algorithm.
      • getOnlyBestResults

        public final boolean getOnlyBestResults()

        Gets or sets a value indicating that only the best results will be returned.

        Value: true if only the best results will be returned; otherwise false.
      • setOnlyBestResults

        public final void setOnlyBestResults(boolean value)

        Gets or sets a value indicating that only the best results will be returned.

        Value: true if only the best results will be returned; otherwise false.
      • getOnlyBestResultsRange

        public final byte getOnlyBestResultsRange()

        Gets or sets the maximum exceeding of the minimum number of mistakes that are found.

        Value: The maximum exceeding of the minimum number of mistakes found.
      • setOnlyBestResultsRange

        public final void setOnlyBestResultsRange(byte value)

        Gets or sets the maximum exceeding of the minimum number of mistakes that are found.

        Value: The maximum exceeding of the minimum number of mistakes found.
      • getConsiderTranspositions

        public final boolean getConsiderTranspositions()

        Gets or sets a value indicating that the fuzzy search algorithm must consider transposition of two adjacent characters as a single mistake.

        Value: true if fuzzy search algorithm considers transpositions; otherwise false.
      • setConsiderTranspositions

        public final void setConsiderTranspositions(boolean value)

        Gets or sets a value indicating that the fuzzy search algorithm must consider transposition of two adjacent characters as a single mistake.

        Value: true if fuzzy search algorithm considers transpositions; otherwise false.