implementing a random result request handler - solr 1.2

2008-07-07 Thread Sean Laval
I have seen various posts about implementing random sorting relating to the 1.3 code base but I am trying to do this in 1.2. Does anyone have any suggestions? The approach I have considered is to implement my own request handler that picks random documents from a larger result list. I therefore

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Walter Underwood
Why do you want random hits? If we know more about the bigger problem, we can probably make better suggestions. Fundamentally, Lucene is designed to quickly return the best hits for a query. Returning random hits from the entire matched set is likely to be very slow. It just isn't what Lucene is

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Sean Laval
: implementing a random result request handler - solr 1.2 Why do you want random hits? If we know more about the bigger problem, we can probably make better suggestions. Fundamentally, Lucene is designed to quickly return the best hits for a query. Returning random hits from the entire matched set

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Sean Laval
PROTECTED] Sent: Monday, July 07, 2008 5:06 PM To: solr-user@lucene.apache.org Subject: Re: implementing a random result request handler - solr 1.2 Why do you want random hits? If we know more about the bigger problem, we can probably make better suggestions. Fundamentally, Lucene is designed

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Yonik Seeley
[EMAIL PROTECTED] Sent: Monday, July 07, 2008 5:06 PM To: solr-user@lucene.apache.org Subject: Re: implementing a random result request handler - solr 1.2 Why do you want random hits? If we know more about the bigger problem, we can probably make better suggestions. Fundamentally, Lucene

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Walter Underwood
: implementing a random result request handler - solr 1.2 Why do you want random hits? If we know more about the bigger problem, we can probably make better suggestions. Fundamentally, Lucene is designed to quickly return the best hits for a query. Returning random hits from the entire matched set

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Sean Laval
: Monday, July 07, 2008 6:22 PM To: solr-user@lucene.apache.org Subject: Re: implementing a random result request handler - solr 1.2 If it's just a random ordering you are looking for, it's implemented in the latest Solr 1.3 Solr 1.3 should be out soon, so if you are just starting development, I'd

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Ryan McKinley
: implementing a random result request handler - solr 1.2 If it's just a random ordering you are looking for, it's implemented in the latest Solr 1.3 Solr 1.3 should be out soon, so if you are just starting development, I'd start with the latest Solr version. If you really need to stick with 1.2 (even

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Yonik Seeley
On Mon, Jul 7, 2008 at 1:40 PM, Sean Laval [EMAIL PROTECTED] wrote: The RandomSortField in 1.3 each time you then issue a query, you get the same random sort order right? That is to say the randomness is implemented at index time rather than search time? See the comment in the example