lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Commented] (LUCENE-1421) Ability to group search results by field
Date Thu, 12 May 2011 10:24:47 GMT


Michael McCandless commented on LUCENE-1421:

But what if docid=2 had age=17 instead?  How would we determine what value the group (for
hgid=1) should have for the "age" field?

Or... would the group count +1 to age=10 and +1 to age=17 in that case?  (ie, as if the group
were a single document w/ multi-valued field age).

> Ability to group search results by field
> ----------------------------------------
>                 Key: LUCENE-1421
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>            Reporter: Artyom Sokolov
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 3.2, 4.0
>         Attachments: LUCENE-1421.patch, LUCENE-1421.patch, lucene-grouping.patch
> It would be awesome to group search results by specified field. Some functionality was
provided for Apache Solr but I think it should be done in Core Lucene. There could be some
useful information like total hits about collapsed data like total count and so on.
> Thanks,
> Artyom

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