TermsLookup Error too_many_clauses: maxClauseCount is set to 1024


(Murali Sarala) #1

We are using Elastic cloud services and currently facing issue with too_many_clauses: maxClauseCount is set to 1024 when using termslookup functionality. below is the query we are using.

{
"from": 0,
"size": 10,
"sort": [
{
"_score": {
"order": "desc"
}
},
{
"Artist.Raw": {
"order": "asc"
}
},
{
"Title.Raw": {
"order": "asc"
}
},
{
"Releasedate": {
"order": "desc"
}
}
],
"_source": {
"includes": [
"Id"
]
},
"post_filter": {
"terms": {
"Id.Raw": {
"index": "bertuscampaigns",
"type": "Campaigns",
"id": 32980,
"path": "ArticleIds"
}
}
}
}

I think we have more than 1024 articles in a campaign.

Any suggestions on how to resolve this?

Thanks in advance
Murali


(system) #2

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