Too many clauses exceptions

(Diego Sánchez) #1


I'm getting an "Too many clauses" error in one query where I don't think I'm exceeding the 1024 limit. Here's the query:


As you can see, in each of the queries for each analyzer I have 190 terms... so 190x4=760, far from the 1024 limit.. why I'm getting the error then?

(Byron Voorbach) #2

The way queries are analysed result into more boolean clauses under the hood. I see you're using ngram fields, these will result into quite some extra clauses for the query :slight_smile:

(Diego Sánchez) #3

That makes sense. Thank you and happy bday!

(Byron Voorbach) #4

No worries and thanks! :smiley:

(system) #5

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