Package org.hibernate.search.query.dsl
Interface PhraseContext
-
- All Superinterfaces:
QueryCustomization<PhraseContext>
@Deprecated public interface PhraseContext extends QueryCustomization<PhraseContext>
Deprecated.See the deprecation note onQueryBuilder.- Author:
- Emmanuel Bernard
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description PhraseMatchingContextonField(String fieldName)Deprecated.field / property the term query is executed onPhraseContextwithSlop(int slop)Deprecated.Sets the number of other words permitted between words in query phrase.-
Methods inherited from interface org.hibernate.search.query.dsl.QueryCustomization
boostedTo, filteredBy, withConstantScore
-
-
-
-
Method Detail
-
withSlop
PhraseContext withSlop(int slop)
Deprecated.Sets the number of other words permitted between words in query phrase. If zero, then this is an exact phrase search. For larger values this works like aWITHINorNEARoperator. Defaults to 0- Parameters:
slop- the slop value- Returns:
- a
PhraseContext
-
onField
PhraseMatchingContext onField(String fieldName)
Deprecated.field / property the term query is executed on- Parameters:
fieldName- the name of the field- Returns:
- a
PhraseContext
-
-