SAP Knowledge Base Article - Preview

3265248 - org.apache.lucene.search.BooleanQuery$TooManyClauses or maxBooleanClauses or org.apache.lucene.search.IndexSearcher$TooManyNestedClauses while running search queries

Symptom

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

While performing searches one gets no results and in the logs there are errors trackable:

- for solr version up to 8:

ERROR (qtpxxxxxxxxx-xx) [c:master_EMEA_Product_default s:shard1 r:core_node1 x:master_INDEXNAME_Product_default_shard1_replica_n1] o.a.s.h.RequestHandlerBase org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024 => org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024

- starting with solr version 9:

ERROR (qtpxxxxxxxxx-xx) [c:master_EMEA_Product_default s:shard1 r:core_node1 x:master_INDEXNAME_Product_default_shard1_replica_n1] o.a.s.s.HttpSolrCall org.apache.lucene.search.IndexSearcher$TooManyNestedClauses: Query contains too many nested clauses; maxClauseCount is set to 1024 

In Solr Admin Console there are also following errors trackable:


Read more...

Product

SAP Commerce Cloud all versions ; SAP Commerce all versions

Keywords

KBA , CEC-SCC-COM-SRC-SER , Search and Navigation , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.