Package org.hibernate.search.query.dsl
Interface PhraseContext
- All Superinterfaces:
QueryCustomization<PhraseContext>
Deprecated.
- Author:
- Emmanuel Bernard
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.field / property the term query is executed onwithSlop(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 Details
-
withSlop
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
Deprecated.field / property the term query is executed on- Parameters:
fieldName- the name of the field- Returns:
- a
PhraseContext
-
QueryBuilder.