Package org.hibernate.search.query.dsl
Interface PhraseContext
- All Superinterfaces:
QueryCustomization<PhraseContext>
-
Method Summary
Modifier and TypeMethodDescriptionfield / property the term query is executed onwithSlop(int slop) 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
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 -
onField
field / property the term query is executed on
-