lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Melli (JIRA)" <>
Subject [jira] [Commented] (SOLR-2564) Integrating grouping module into Solr 4.0
Date Tue, 21 Jun 2011 11:39:47 GMT


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:


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.response.TextResponseWriter.writeDocuments(
	at org.apache.solr.response.TextResponseWriter.writeVal(
	at org.apache.solr.response.XMLWriter.writeResponse(
	at org.apache.solr.response.XMLResponseWriter.write(
	at org.apache.solr.servlet.SolrDispatchFilter.writeResponse(
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message