Hi All,
I am migrating from ES version 1.4.2 to 2.0.
Since the inFilter are no more supported.
Please suggest alternative.
Thanks
Shalini
Hi All,
I am migrating from ES version 1.4.2 to 2.0.
Since the inFilter are no more supported.
Please suggest alternative.
Thanks
Shalini
I'm assuming you are talking about FilterBuilders.inFilter()? That was just an alias for a TermsFilterBuilder, which after Filters and Queries are merged would now be a simple TermsQueryBuilder. You would get that with one of the QueryBuilders.termsQuery() methods I think.
© 2020. All Rights Reserved - Elasticsearch
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.