You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by David Giffin <da...@giffin.org> on 2009/05/04 18:37:29 UTC

Custom Sorting Based on Relevancy

Hi There,

I'm working on a sorting issue. Our site currently sorts by creation
date descending, so users list similar products multiple times to show
up at the top of the results. When sorting based on score, we want to
move items by the "same user" with the "same title" down search
results. It would be best if the first item stayed in place based on
score, and each additional item is moved out (rows * repeated
user/title).

Is custom sorting the best way? or is there something else I'm not
thinking about. At the moment I'm looking at doing roughly the
opposite of the Query Elevate Search component.

Thanks,
David

Re: Custom Sorting Based on Relevancy

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Or you could collapse search results with SOLR-236.

 Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: David Giffin <da...@giffin.org>
> To: solr-user@lucene.apache.org
> Sent: Monday, May 4, 2009 12:37:29 PM
> Subject: Custom Sorting Based on Relevancy
> 
> Hi There,
> 
> I'm working on a sorting issue. Our site currently sorts by creation
> date descending, so users list similar products multiple times to show
> up at the top of the results. When sorting based on score, we want to
> move items by the "same user" with the "same title" down search
> results. It would be best if the first item stayed in place based on
> score, and each additional item is moved out (rows * repeated
> user/title).
> 
> Is custom sorting the best way? or is there something else I'm not
> thinking about. At the moment I'm looking at doing roughly the
> opposite of the Query Elevate Search component.
> 
> Thanks,
> David