lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <>
Subject Re: Grouping Lucene result
Date Thu, 25 Feb 2016 10:42:23 GMT
Hi Taher,

Solr has the function of result grouping.

I think it has two steps. First, it tries to find how many groups are there in the result
and choose top groups (say 10 groups) using a priority queue. Second, provide 10 priority
queues for each groups and search again to collect second or after documents that belong
to each group.

It is called as "two pass collapsing algorithm". There is good description written by Yonik
at SOLR-1773.

(see Description)


On 2016/02/24 1:55, Taher Galal wrote:
> Hi,
> I was wondering how to extend the grouping lucene functionality as I am not
> sure how the values of the field are grouped therefore making me group them
> faster any tutorial or direction would be great
> Thanks,
> Taher Galal

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

View raw message