Exceeded max_clause_count with 70 terms

Hello all, I have been having trouble with max_clause_count. I'm not sure what a clause is, as I only have 70 terms in a 'bool must should' query. Is there a way to see what clauses are created for a search? I tried using the analyze API and found my query was being divided into 70 tokens, but that's still far less than the 1024 threshold. My index only has 25 documents, so it's not as if I have a huge amount of data. Something seems off...

Here is the query:

{
"query": {
"bool": {
"should": [
{
"match": {
"categories.full_word": {
"query": "This is an example of my query, what do you think that I will have within this long data set here my friend I guess we will have to find out"
}
}
}
]
}
},
"explain": true
}

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