Re: Fixed first hits -> custom RequestHandler?

2006-09-28 Thread Joachim Martin
How about a sortOrder field? Then you can sort by "sortOrder, score". If you want to promote a book that might not be in the result set, you'd OR the featured books in with the query. --Joachim Otis Gospodnetic wrote: Hello, I have a situation where I want certain documents to appear at t

Re: Fixed first hits -> custom RequestHandler?

2006-09-21 Thread Chris Hostetter
: On 9/21/06, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: : > I have a situation where I want certain documents to appear at the top : of the hit list for certain searches, regardless of their score. One : can think of it as the ads right on top of Google's search results (but : I'm not dealing w

Re: Fixed first hits -> custom RequestHandler?

2006-09-21 Thread Yonik Seeley
On 9/21/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: You could make anything with an isSpecial boolean field appear first: search_field:java; score desc, special desc Oops, that should be search_field:java; special desc, score desc "score desc" should be the secondary sort, or whatever you norm

Re: Fixed first hits -> custom RequestHandler?

2006-09-21 Thread Yonik Seeley
On 9/21/06, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: I have a situation where I want certain documents to appear at the top of the hit list for certain searches, regardless of their score. One can think of it as the ads right on top of Google's search results (but I'm not dealing with ads)

Re: Fixed first hits -> custom RequestHandler?

2006-09-21 Thread Tim Archambault
Otis, I'm curious as to what you find out here. I'm looking at setting up a second Solr instance to handle keyword advertising and the first instance to handle the site search for our newspaper website. Never thought of your question. Thanks, Tim On 9/21/06, Otis Gospodnetic <[EMAIL PROTECTED]

Fixed first hits -> custom RequestHandler?

2006-09-21 Thread Otis Gospodnetic
Hello, I have a situation where I want certain documents to appear at the top of the hit list for certain searches, regardless of their score. One can think of it as the ads right on top of Google's search results (but I'm not dealing with ads). Example: If I'm searching books in a bookstore,