I keep getting max_clause_count error in elasticsearch.
I'm directly passing more than 2000 id's and i'm getting max_clause_count error.
How to overcome this...
I keep getting max_clause_count error in elasticsearch.
I'm directly passing more than 2000 id's and i'm getting max_clause_count error.
How to overcome this...
Can you use TermsQuery
instead of making a new query clause for each of your IDs?
Mike McCandless
Thanks for your response.
Do you have any example or link to refer.
See https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-query.html
Mike McCandless
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.