Robert, We've handled situations like this before by writing a custom Solr SearchComponent that acts as a diversifier with pluggable diversification algorithms. Maybe something like that would work for you, too?
Otis ---- Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ ----- Original Message ----- > From: Robert Brown <r...@intelcompute.com> > To: solr-user@lucene.apache.org > Cc: > Sent: Thursday, October 6, 2011 10:31 AM > Subject: Re: negative boosts for docs with common field value > > We don't want to limit the number of results coming back, so > unfortunately grouping doesn't quite fix it, plus it would, by nature, > group docs by a particular Author together which might not necessarily > be adjacent. > > > > On Thu, 6 Oct 2011 07:16:48 -0700 (PDT), Ahmet Arslan > <iori...@yahoo.com> wrote: >>> For the sake of simplicity, I have an index with docs >>> containing the following fields: >>> >>> Title >>> Description >>> Author >>> >>> Some searches will obviously be saturated by docs from any >>> given author if they've simply written more. >>> >>> I'd like to give a negative boost to these matches, >>> there-by making sure that 1 Author doesn't saturate the >>> results just because they've written 500 documents, compared >>> to others who may have only written 2-3 documents. >>> >>> The actual author value doesn't matter, I just want to >>> bring down the score of docs by any common author to give >>> more varied results. >>> >>> What's the easiest approach for this, and is it even >>> possible at query time? I could do this at index time >>> but would prefer a Solr solution. >>> >>> Solr 3.4 using edismax handler >> >> You can consider grouping results by author name. Display 2-3 results >> per author, and put a link saying "see remaining xxx documents of this >> author" >> >> http://wiki.apache.org/solr/FieldCollapsing >