public interface RangeMatchingContext extends FieldCustomization<RangeMatchingContext>
Modifier and Type | Interface and Description |
---|---|
static interface |
RangeMatchingContext.FromRangeContext<T> |
Modifier and Type | Method and Description |
---|---|
RangeTerminationExcludable |
above(Object above)
The field value must be above
above
You can exclude the value above by calling .excludeLimit() |
RangeMatchingContext |
andField(String field)
field / property the term query is executed on
|
RangeTerminationExcludable |
below(Object below)
The field value must be below
below
You can exclude the value below by calling .excludeLimit() |
<T> RangeMatchingContext.FromRangeContext<T> |
from(T from) |
boostedTo, ignoreAnalyzer, ignoreFieldBridge
RangeMatchingContext andField(String field)
field
- the name of the fieldRangeMatchingContext
<T> RangeMatchingContext.FromRangeContext<T> from(T from)
RangeTerminationExcludable below(Object below)
below
You can exclude the value below
by calling .excludeLimit()
below
- the lower limit of the rangeRangeTerminationExcludable
RangeTerminationExcludable above(Object above)
above
You can exclude the value above
by calling .excludeLimit()
above
- the upper limit of the rangeRangeTerminationExcludable
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved