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, ignoreFieldBridgeRangeMatchingContext 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 rangeRangeTerminationExcludableRangeTerminationExcludable above(Object above)
above
You can exclude the value above by calling .excludeLimit()above - the upper limit of the rangeRangeTerminationExcludableCopyright © 2006-2021 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.