Do you know which document you want at the top? If so, I believe you
could just add an "OR" clause to your query to boost that document very
high, such as

?q=foo OR id:bar^1000

Tried this on my installation and it did, indeed push the document
specified to the top. 



-----Original Message-----
From: Matthew Runo [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 24, 2007 10:17 AM
To: solr-user@lucene.apache.org
Subject: Re: Forced Top Document

I'd love to know this, as I just got a development request for this  
very feature. I'd rather not spend time on it if it already exists.

+--------------------------------------------------------+
  | Matthew Runo
  | Zappos Development
  | [EMAIL PROTECTED]
  | 702-943-7833
+--------------------------------------------------------+


On Oct 23, 2007, at 10:12 PM, mark angelillo wrote:

> Hi all,
>
> Is there a way to get a specific document to appear on top of  
> search results even if a sorting parameter would push it further down?
>
> Thanks in advance,
> Mark
>
> mark angelillo
> snooth inc.
> o: 646.723.4328
> c: 484.437.9915
> [EMAIL PROTECTED]
> snooth -- 1.8 million ratings and counting...
>
>

Reply via email to