lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn van Groningen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-2524) Adding grouping to Solr 3x
Date Sat, 21 May 2011 19:28:47 GMT

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

Martijn van Groningen updated SOLR-2524:
----------------------------------------

    Attachment: SOLR-2524.patch

Attached an updated patch.

* Added cache warning
* Added counting based on groups. This can be controlled by group.totalCount parameter. Use
GROUPED to get counts based on groups and UNGROUPED to get counts based on plain documents.
Default is UNGROUPED.
* Ported the trunk grouping tests to 3x. The only part I couldn't port was the random testing.
The API is different in 3x.
* Added grouping by query (group.query). Porting this back to 3x was trivial.
* Second pass caching is now enabled by default.
* Changed .cache.maxSize into .cache.maxSizeMB


> Adding grouping to Solr 3x
> --------------------------
>
>                 Key: SOLR-2524
>                 URL: https://issues.apache.org/jira/browse/SOLR-2524
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 3.2
>            Reporter: Martijn van Groningen
>            Assignee: Michael McCandless
>         Attachments: SOLR-2524.patch, 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: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message