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)
https://issues.apache.org/jira/browse/SOLR-1773

Koji


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: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to