Interface TermFuzzy

All Superinterfaces:
Termination<TermTermination>, TermTermination

@Deprecated public interface TermFuzzy extends TermTermination
Deprecated.
See the deprecation note on QueryBuilder.
Author:
Emmanuel Bernard
  • Method Summary

    Modifier and Type
    Method
    Description
    withPrefixLength(int prefixLength)
    Deprecated.
    Size of the prefix ignored by the fuzzyness.
    withThreshold(float threshold)
    Deprecated.
    Threshold above which two terms are considered similar enough.

    Methods inherited from interface org.hibernate.search.query.dsl.Termination

    createQuery
  • Method Details

    • withThreshold

      TermFuzzy withThreshold(float threshold)
      Deprecated.
      Threshold above which two terms are considered similar enough. Value between 0 and 1 (1 excluded) Defaults to .5
      Parameters:
      threshold - the value for the threshold
      Returns:
      a TermFuzzy
    • withPrefixLength

      TermFuzzy withPrefixLength(int prefixLength)
      Deprecated.
      Size of the prefix ignored by the fuzzyness. A non zero value is recommended if the index contains a huge amount of distinct terms Defaults to 0
      Parameters:
      prefixLength - the length of the prefix
      Returns:
      a TermFuzzy