Sometimes in large scale applications, Store encountered error message is shown on Product Listing page.
Root cause: On PLP, sometimes we need to show some information which can be derived from associate SKUs, like color swatches etc. While getting these information from Index, SOLR needs to build the query with product SKU information. When a product is too many SKUs, the parsing fails and we do see error message like below:
SolrCore E org.apache.solr.common.SolrException log org.apache.solr.common.SolrException: org.apache.lucene.queryParser.ParseException: Cannot parse 'catentry_id:(87765 "87766" "87767" "87768"
...
...)': too many boolean clauses
Solution: SOLR has a default maxBoolean configuration which is 3072. Look for the <maxBooleanClauses> attribute in solrconfig.xml and increase it to appropriate value to handle your catalog structure.
Root cause: On PLP, sometimes we need to show some information which can be derived from associate SKUs, like color swatches etc. While getting these information from Index, SOLR needs to build the query with product SKU information. When a product is too many SKUs, the parsing fails and we do see error message like below:
SolrCore E org.apache.solr.common.SolrException log org.apache.solr.common.SolrException: org.apache.lucene.queryParser.ParseException: Cannot parse 'catentry_id:(87765 "87766" "87767" "87768"
...
...)': too many boolean clauses
Solution: SOLR has a default maxBoolean configuration which is 3072. Look for the <maxBooleanClauses> attribute in solrconfig.xml and increase it to appropriate value to handle your catalog structure.
Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.
ReplyDeleteWebsphere Training in Chennai
Thanks for this wonderful blog, keep sharing your thoughts like this...
ReplyDeleteUI UX Course in Chennai
UI UX Design Course Online