Elasticsearch 5.2.2 cluster runs OutOfMemory when it gets query with many words


(Srinivasan Ramaswamy) #1

I have a 3 node elasticsearch cluster with version 5.2.2 and when i send a query that has >70 words, the cluster runs out of memory and crashes. Interestingly, when the number of words is 30+ I get an error message "too_many_clauses maxClauseCount is set to 1024". I am wondering why we dont get the same error message when the number of words is more than 70.

I am using a multi match query with 13 fields and a function score on top of that. Am I doing something wrong or is there a bug with ES 5.2.2?

Thanks
Srini


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.