Hi John,
let me try to recap :
Your Solr Document is an Item with a price as one of the fields, a
purchaseGroupId a groupId.
You filter by purchaseGroupId and then you group by ( or collapse by the
groupId).
At this point how do you want to assign the score ?
For each document in a groupId you want to calculate the score as :
Max price - min price per ItemId ?
How do you want to sort the groups then ?
A simple score desc ?

So you have a :
purchase_group_id
group_id
item_id
?


Cheers





-----
---------------
Alessandro Benedetti
Search Consultant, R&D Software Engineer, Director
Sease Ltd. - www.sease.io
--
View this message in context: 
http://lucene.472066.n3.nabble.com/complex-query-is-stumping-me-tp4319237p4319271.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to