Too many clauses exceptions

Hello,

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:

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?

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:

That makes sense. Thank you and happy bday!

No worries and thanks! :smiley:

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