Hi,
I'm using Nest version 0.12.0.
I need to get a range filter in a form of BaseFilter.
However, this line of code creates a faulty BaseFilter which doesn't
contain the actual condition: agg.ElasticsearchFilter = Nest.Filter.Range(i =>
i.GreaterOrEquals(filteredUpdateDate));
Is this a bug, or am I doing something wrong?
Any way that will enable to cast from a RangeFilterDescriptor to a
BaseFilter will do.
This is becase .FacetFilter( i => i.Bool(j => j.Must(...))) accepts a
BaseFilter[].
Thank you.
בתאריך יום ראשון, 3 באוגוסט 2014 14:47:05 UTC+3, מאת Adam Porat:
Hi,
I'm using Nest version 0.12.0.
I need to get a range filter in a form of BaseFilter.
However, this line of code creates a faulty BaseFilter which doesn't
contain the actual condition: agg.ElasticsearchFilter = Nest.Filter.Range(i =>
i.GreaterOrEquals(filteredUpdateDate));
Is this a bug, or am I doing something wrong?
Any way that will enable to cast from a RangeFilterDescriptor to a
BaseFilter will do.
This is becase .FacetFilter( i => i.Bool(j => j.Must(...))) accepts a
BaseFilter.
Thank you.
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.