Package org.hibernate.search.query.dsl
Interface QueryCustomization<T>
- All Known Subinterfaces:
AllContext,BooleanJunction<T>,FuzzyContext,MustJunction,PhraseContext,RangeContext,TermContext,WildcardContext
- All Known Implementing Classes:
ConnectedAllContext
public interface QueryCustomization<T>
Operations common to all types of queries
-
Method Summary
Modifier and TypeMethodDescriptionboostedTo(float boost) Boost the query to a given value Most of the time positive float: - lower than 1 to diminish the weight - higher than 1 to increase the weight Could be negative but not unless you understand what is going on (advanced)filteredBy(Filter filter) Filter the query results with the Filter instanceAll results matching the query have a constant score equals to the boost FIXME is that true?
-
Method Details
-
boostedTo
Boost the query to a given value Most of the time positive float: - lower than 1 to diminish the weight - higher than 1 to increase the weight Could be negative but not unless you understand what is going on (advanced) -
withConstantScore
T withConstantScore()All results matching the query have a constant score equals to the boost FIXME is that true? -
filteredBy
Filter the query results with the Filter instance
-