[
https://issues.apache.org/jira/browse/SOLR-2564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052492#comment-13052492
]
Matteo Melli commented on SOLR-2564:
------------------------------------
Hi there,
I'm testing this functionality into my project and found what I think it's a
bug. The revision I'm working on is 1137889.
I could reproduce the bug with a really simple index (the column is of type
solr.String):
|| Col1 ||
| 1 |
| 2 |
| 3 |
The bug appear when I try to do a query with grouping mixing parameters start
(with a value greather than 0) and group.main=true:
http://localhost:8983/solr/test/select/?q=*:*&start=1&group=true&group.field=Col1&group.main=true
The error trace is:
Jun 21, 2011 1:32:10 PM org.apache.solr.common.SolrException log
SEVERE: java.lang.ArrayIndexOutOfBoundsException: 3
at org.apache.solr.search.DocSlice$1.nextDoc(DocSlice.java:119)
at
org.apache.solr.response.TextResponseWriter.writeDocuments(TextResponseWriter.java:247)
at
org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:153)
at org.apache.solr.response.XMLWriter.writeResponse(XMLWriter.java:111)
at
org.apache.solr.response.XMLResponseWriter.write(XMLResponseWriter.java:37)
at
org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:340)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:261)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
The problem does not appear without group.main=true so this may be a related
bug to that option.
PS: I was not sure if there where to open a bug since the version affected is
still in development. Anyway sorry for any inconvenient.
> Integrating grouping module into Solr 4.0
> -----------------------------------------
>
> Key: SOLR-2564
> URL: https://issues.apache.org/jira/browse/SOLR-2564
> Project: Solr
> Issue Type: Improvement
> Reporter: Martijn van Groningen
> Assignee: Martijn van Groningen
> Priority: Blocker
> Fix For: 4.0
>
> Attachments: LUCENE-2564.patch, SOLR-2564.patch, SOLR-2564.patch,
> SOLR-2564.patch, SOLR-2564.patch, SOLR-2564.patch, SOLR-2564.patch,
> SOLR-2564.patch
>
>
> Since work on grouping module is going well. I think it is time to wire this
> up in Solr.
> Besides the current grouping features Solr provides, Solr will then also
> support second pass caching and total count based on groups.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]