lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn van Groningen (JIRA)" <>
Subject [jira] [Commented] (SOLR-2524) Adding grouping to Solr 3x
Date Wed, 18 May 2011 21:08:47 GMT


Martijn van Groningen commented on SOLR-2524:

bq. and maybe log a warning?
I also think a log warning should be added too. If users don't want that they can reconfigure
their logger not to log messages from the Grouping class.

bq. Was this a simple TermQuery
No a MatchDocAllQuery (*:*). I usually use that to maximize the number documents to group
on. Trying this on a simple term query that results in 8M documents; the query with cache
is a little bit (~5%) faster. For boolean queries the cache does pay off. Grouping with cache
is 20% faster than without. Off course these are just numbers from my machine and my test

bq. Is it somehow possible Solr is already caching the queries results itself...?
Only the filterCache is used for any filter query in the fq param. The main query is not cached
with the filterCache or QueryResultCache. This the same behaviour as in the trunk.

> Adding grouping to Solr 3x
> --------------------------
>                 Key: SOLR-2524
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 3.2
>            Reporter: Martijn van Groningen
>            Assignee: Michael McCandless
>         Attachments: SOLR-2524.patch
> Grouping was recently added to Lucene 3x. See LUCENE-1421 for more information.
> I think it would be nice if we expose this functionality also to the Solr users that
are bound to a 3.x version.
> The grouping feature added to Lucene is currently a subset of the functionality that
Solr 4.0-trunk offers. Mainly it doesn't support grouping by function / query.
> The work involved getting the grouping contrib to work on Solr 3x is acceptable. I have
it more or less running here. It supports the response format and request parameters (expect:
group.query and group.func) described in the FieldCollapse page on the Solr wiki.
> I think it would be great if this is included in the Solr 3.2 release. Many people are
using grouping as patch now and this would help them a lot. Any thoughts?

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