Class ConnectedRangeMatchingContext
java.lang.Object
org.hibernate.search.query.dsl.impl.ConnectedRangeMatchingContext
- All Implemented Interfaces:
FieldCustomization<RangeMatchingContext>,RangeMatchingContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.search.query.dsl.RangeMatchingContext
RangeMatchingContext.FromRangeContext<T> -
Constructor Summary
ConstructorsConstructorDescriptionConnectedRangeMatchingContext(String fieldName, org.hibernate.search.query.dsl.impl.QueryCustomizer queryCustomizer, QueryBuildingContext queryContext) -
Method Summary
Modifier and TypeMethodDescriptionThe field value must be aboveaboveYou can exclude the valueaboveby calling.excludeLimit()field / property the term query is executed onThe field value must be belowbelowYou can exclude the valuebelowby calling.excludeLimit()boostedTo(float boost) Boost the field 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)from(T from) Advanced Do not execute the analyzer on the text.Do not try and find the field bridge nor apply the object / string conversion matching objects should be of type String in this case.
-
Constructor Details
-
ConnectedRangeMatchingContext
public ConnectedRangeMatchingContext(String fieldName, org.hibernate.search.query.dsl.impl.QueryCustomizer queryCustomizer, QueryBuildingContext queryContext)
-
-
Method Details
-
andField
Description copied from interface:RangeMatchingContextfield / property the term query is executed on- Specified by:
andFieldin interfaceRangeMatchingContext
-
from
- Specified by:
fromin interfaceRangeMatchingContext
-
below
Description copied from interface:RangeMatchingContextThe field value must be belowbelowYou can exclude the valuebelowby calling.excludeLimit()- Specified by:
belowin interfaceRangeMatchingContext
-
above
Description copied from interface:RangeMatchingContextThe field value must be aboveaboveYou can exclude the valueaboveby calling.excludeLimit()- Specified by:
abovein interfaceRangeMatchingContext
-
boostedTo
Description copied from interface:FieldCustomizationBoost the field 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 interfaceFieldCustomization<RangeMatchingContext>
-
ignoreAnalyzer
Description copied from interface:FieldCustomizationAdvanced Do not execute the analyzer on the text. (It is usually a good idea to apply the analyzer)- Specified by:
ignoreAnalyzerin interfaceFieldCustomization<RangeMatchingContext>
-
ignoreFieldBridge
Description copied from interface:FieldCustomizationDo not try and find the field bridge nor apply the object / string conversion matching objects should be of type String in this case.- Specified by:
ignoreFieldBridgein interfaceFieldCustomization<RangeMatchingContext>
-