[ https://issues.apache.org/jira/browse/SOLR-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
CP updated SOLR-3742: --------------------- Affects Version/s: 4.0.1 4.0 > group.func and group.facet do not work together > ----------------------------------------------- > > Key: SOLR-3742 > URL: https://issues.apache.org/jira/browse/SOLR-3742 > Project: Solr > Issue Type: Bug > Components: search > Affects Versions: 4.0-ALPHA, 4.0-BETA, 4.0, 4.0.1 > Reporter: CP > > When doing a search like > http://localhost:8983/solr/select?group=true&group.func=product(fildname1,fieldname2)&group.facet=true&facet=true&facet.field=fieldname3 > an error is returned in response where facets are normally returned: > java.lang.ArrayIndexOutOfBoundsException: 0 at > org.apache.solr.request.SimpleFacets.getGroupedCounts(SimpleFacets.java:358) > ... > The function used can be any function, not product only. There is no such > error if group.facet is omitted or group.field is used instead of group.func. > It seems that group.field parameter is expected to be defined when > calculating grouped facets. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org