Class ConnectedAllContext
java.lang.Object
org.hibernate.search.query.dsl.impl.ConnectedAllContext
- All Implemented Interfaces:
AllContext,QueryCustomization<AllContext>,Termination<AllContext>
-
Constructor Summary
Constructors -
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)Return the lucene query representing the operationExclude the documents matching these queriesfilteredBy(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?
-
Constructor Details
-
ConnectedAllContext
public ConnectedAllContext()
-
-
Method Details
-
createQuery
Description copied from interface:TerminationReturn the lucene query representing the operation- Specified by:
createQueryin interfaceTermination<AllContext>
-
except
Description copied from interface:AllContextExclude the documents matching these queries- Specified by:
exceptin interfaceAllContext
-
boostedTo
Description copied from interface:QueryCustomizationBoost 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)- Specified by:
boostedToin interfaceQueryCustomization<AllContext>
-
withConstantScore
Description copied from interface:QueryCustomizationAll results matching the query have a constant score equals to the boost FIXME is that true?- Specified by:
withConstantScorein interfaceQueryCustomization<AllContext>
-
filteredBy
Description copied from interface:QueryCustomizationFilter the query results with the Filter instance- Specified by:
filteredByin interfaceQueryCustomization<AllContext>
-