SAP Knowledge Base Article - Preview

3697300 - Error: Grouping is enabled but no groupFieldName is configured in the indexed type

Symptom

Found error log "Grouping is enabled but no groupFieldName is configured in the indexed type" as list below:

ERROR [hybrisHTTP8] [SolrSearchRequestResponsePopulator] Exception while executing SOLR search
de.hybris.platform.solrfacetsearch.search.FacetSearchException: Grouping is enabled but no groupFieldName is configured in the indexed type
    at de.hybris.platform.solrfacetsearch.search.impl.LegacyFacetSearchStrategy.search(LegacyFacetSearchStrategy.java:197) ~[solrfacetsearchserver.jar:?]
    at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchService.search(DefaultFacetSearchService.java:82) ~[solrfacetsearchserver.jar:?]
    at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchService.search(DefaultFacetSearchService.java:71) ~[solrfacetsearchserver.jar:?]
    at de.hybris.platform.commerceservices.search.solrfacetsearch.populators.SolrSearchRequestResponsePopulator.populate(SolrSearchRequestResponsePopulator.java:64) [classes/:?]
    at de.hybris.platform.commerceservices.search.solrfacetsearch.populators.SolrSearchRequestResponsePopulator.populate(SolrSearchRequestResponsePopulator.java:25) [classes/:?]
    at de.hybris.platform.converters.impl.AbstractPopulatingConverter.populate(AbstractPopulatingConverter.java:64) [classes/:?]
    at de.hybris.platform.converters.impl.AbstractConverter.convert(AbstractConverter.java:35) [classes/:?]
    at de.hybris.platform.commerceservices.search.solrfacetsearch.impl.DefaultSolrFacetSearchProductSearchStrategy.doSearch(DefaultSolrFacetSearchProductSearchStrategy.java:340) [classes/:?]
    ......
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) [tomcat-util.jar:9.0.105]
    at java.base/java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: de.hybris.platform.solrfacetsearch.search.FacetSearchException: Grouping is enabled but no groupFieldName is configured in the indexed type
    at de.hybris.platform.solrfacetsearch.search.impl.DefaultSolrQueryConverter.convertSolrQuery(DefaultSolrQueryConverter.java:219) ~[solrfacetsearchserver.jar:?]
    at de.hybris.platform.solrfacetsearch.search.impl.LegacyFacetSearchStrategy.queryInternal(LegacyFacetSearchStrategy.java:234) ~[solrfacetsearchserver.jar:?]
    at de.hybris.platform.solrfacetsearch.search.impl.LegacyFacetSearchStrategy.doSearch(LegacyFacetSearchStrategy.java:211) ~[solrfacetsearchserver.jar:?]
    at de.hybris.platform.solrfacetsearch.search.impl.LegacyFacetSearchStrategy.search(LegacyFacetSearchStrategy.java:190) ~[solrfacetsearchserver.jar:?]
    ... 185 more

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


Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud 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.