lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn van Groningen (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-2072) Search Grouping: expand group sort options
Date Tue, 27 Dec 2011 19:28:31 GMT


Martijn van Groningen commented on SOLR-2072:

Currently the AbstractFirstPassGroupingCollector uses the most relevant document of a group
to determine the order of a group in the result set. The values for the most relevant document
are either fetched from the score or field cache (and possible also doc values in 4.x).

I think it is best to add more first pass grouping collectors, that use different ways to
order groups. Implementations could do this based on the average group score or number of
hits per group. I do think that these implementations will be more expensive. Sorting by hit
count or avg score requires the collector to keep track of all groups. Currently AbstractFirstPassGroupingCollector
keeps only track of the top N groups.
> Search Grouping: expand group sort options
> ------------------------------------------
>                 Key: SOLR-2072
>                 URL:
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Yonik Seeley
> Ability to specify functions over group documents when sorting groups.  max(score) or
avg(popularity), etc.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message