Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.search.query.dsl.v2
Interface TermFuzzy

All Superinterfaces:
  QueryCustomization<TermCustomization>, TermCustomization

    public interface TermFuzzy

extends TermCustomization

Author:
  Emmanuel Bernard

Method Summary
`TermFuzzy` | `prefixLength(int prefixLength)` Size of the prefix ignored by the fuzzyness.
`TermFuzzy` | `threshold(float threshold)` Threshold above which two terms are considered similar enough.

Methods inherited from interface org.hibernate.search.query.dsl.v2.TermCustomization
`fuzzy, ignoreAnalyzer, wildcard`

Methods inherited from interface org.hibernate.search.query.dsl.v2.QueryCustomization
`boostedTo, constantScore, createQuery, filter`

Method Detail

### threshold

    TermFuzzy threshold(float threshold)

  Threshold above which two terms are considered similar enough. Value between 0 and 1 (1 excluded) Defaults to .5

### prefixLength

    TermFuzzy prefixLength(int prefixLength)

  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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2010 Hibernate. All Rights Reserved.