Would Field Collapsing from SOLR-236 do the job for you? Otis ---- Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Hadoop ecosystem search :: http://search-hadoop.com/
----- Original Message ---- > From: blargy <zman...@hotmail.com> > To: solr-user@lucene.apache.org > Sent: Tue, March 23, 2010 2:39:48 PM > Subject: Impossible Boost Query? > > I was wondering if this is even possible. I'll try to explain what I'm > trying to do to the best of my ability. Ok, so our site has a bunch > of products that are sold by any number of sellers. Currently when I search > for some product I get back all products matching that search term but the > problem is there may be multiple products sold by the same seller that are > all closely related, therefore their scores are related. So basically the > search ends up with results that are all closely clumped together by the same > seller but I would much rather prefer to distribute these results across > sellers (given each seller a fair shot to sell their goods). Is there > any way to add some boost query for example that will start weighing products > lower when their seller has already been listed a few times. For example, > right now I have Product foo by Seller A Product foo by Seller > A Product foo by Seller A Product foo by Seller B Product foo by Seller > B Product foo by Seller B Product foo by Seller C Product foo by Seller > C Product foo by Seller C where each result is very close in score. I > would like something like this Product foo by Seller A Product foo by > Seller B Product foo by Seller C Product foo by Seller A Product foo by > Seller B Product foo by Seller C .... basically distributing the > results over the sellers. Is something like this possible? I don't care if > the solution involves a boost query or not. I just want some way to > distribute closely related documents. Thanks!!! -- View this > message in context: > href="http://old.nabble.com/Impossible-Boost-Query--tp28005354p28005354.html" > target=_blank > >http://old.nabble.com/Impossible-Boost-Query--tp28005354p28005354.html Sent > from the Solr - User mailing list archive at Nabble.com.