Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] [Updated] (SOLR-3742) group.func and group.facet do not work together

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Aug 18, 2012, 7:22 AM

Post #1 of 2 (142 views)
Permalink
[jira] [Updated] (SOLR-3742) group.func and group.facet do not work together

[ https://issues.apache.org/jira/browse/SOLR-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

CP updated SOLR-3742:
---------------------

Description:
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) ...

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.

was:
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) ...

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.


> 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
> 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) ...
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene


jira at apache

Aug 18, 2012, 7:24 AM

Post #2 of 2 (130 views)
Permalink
[jira] [Updated] (SOLR-3742) group.func and group.facet do not work together [In reply to]

[ https://issues.apache.org/jira/browse/SOLR-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

CP updated SOLR-3742:
---------------------

Description:
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.

was:
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) ...

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.


> 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
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.