public interface FuzzyContext extends QueryCustomization<FuzzyContext>
Modifier and Type | Method and Description |
---|---|
TermMatchingContext |
onField(String field)
field / property the term query is executed on
|
TermMatchingContext |
onFields(String... fields)
fields / properties the term query is executed on
|
FuzzyContext |
withEditDistanceUpTo(int maxEditDistance)
Maximum value of the edit distance.
|
FuzzyContext |
withPrefixLength(int prefixLength)
Size of the prefix ignored by the fuzzyness.
|
FuzzyContext |
withThreshold(float threshold)
Deprecated.
|
boostedTo, filteredBy, withConstantScore
TermMatchingContext onField(String field)
TermMatchingContext onFields(String... fields)
@Deprecated FuzzyContext withThreshold(float threshold)
withEditDistanceUpTo(int)
FuzzyContext withEditDistanceUpTo(int maxEditDistance)
FuzzyContext withPrefixLength(int prefixLength)
Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved