I'm investigating upgrading an ES installation to 1.0 and I see that
numericRangeFilter is deprecated, with the recommendation that rangeFilter
with "execution": "fielddata" be used instead. However, in the Java API,
RangeFilterBuilder has no "execution" method, or anything similar, and
neither do any of its superclasses. In fact, code containing the
expression "FilterBuilders.rangeFilter..execution("fielddata")" will not compile for exactly this reason.
I see that TermsFilterBuilder does have an "execution" method, at least
according the docs. Should there be one in RangeFilterBuilder as well? Or
am I missing something?
I can see a setExecution method in RangeFilterBuilder, I think this is
what you are looking for?
On Thu, Feb 20, 2014 at 2:15 AM, Matthew Kehrt mkehrt@gmail.com wrote:
Hi,
I'm investigating upgrading an ES installation to 1.0 and I see that
numericRangeFilter is deprecated, with the recommendation that rangeFilter
with "execution": "fielddata" be used instead. However, in the Java API,
RangeFilterBuilder has no "execution" method, or anything similar, and
neither do any of its superclasses. In fact, code containing the
expression "FilterBuilders.rangeFilter..execution("fielddata")" will not compile for exactly this reason.
I see that TermsFilterBuilder does have an "execution" method, at least
according the docs. Should there be one in RangeFilterBuilder as well? Or
am I missing something?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.