Hi forum,

I've implemented grouping using the TermFirstPassGroupingCollector and
TermSecondPassGroupingCollector, pretty much exactly as the example at the
API. This works really well. I'm getting a the groups sorted by the computed
relevance, within each groups the docs are sorted by a numeric field. So
far, so good.

Now I want to make things more complicated by boosting larger groups in
addition to the existing relevance sort. For example, if the first result
has a relevancy score of 1 and the group has 2 docs and the second group has
a score of 0.9 and 4 docs, I want to boost the second group so it will
appear before the first.

Basically I'm trying to boost the groups according to the number of elements
in the groups.

I couldn't figure out how to do that or find an example anywhere.

I hope I'm making sense 

Thanks in advance.

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Grouping-Boosting-large-groups-tp3988959.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

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

Reply via email to