Re: Missing fields used for a sort

2006-07-12 Thread Chris Hostetter
: > I can't thank you enough, Yonik :-) : > : : send money . Bah! ... there's lots of money in the world, they print more and more of it every day. Quality Patches ... now there's something I bet Yonik would *really* appreciate! :) -Hoss

Re: Missing fields used for a sort

2006-07-11 Thread Erick Erickson
On 7/11/06, Rob Staveley (Tom) <[EMAIL PROTECTED]> wrote: I can't thank you enough, Yonik :-) send money .

Re: Missing fields used for a sort

2006-07-11 Thread Yonik Seeley
Oh, and here is how Solr uses it to construct the correct lucene Sort objects: http://svn.apache.org/viewvc/incubator/solr/trunk/src/java/org/apache/solr/search/Sorting.java?view=markup -Yonik http://incubator.apache.org/solr Solr, the open-source Lucene search server --

RE: Missing fields used for a sort

2006-07-11 Thread Rob Staveley (Tom)
I can't thank you enough, Yonik :-) -Original Message- From: Yonik Seeley [mailto:[EMAIL PROTECTED] Sent: 11 July 2006 18:05 To: java-user@lucene.apache.org Subject: Re: Missing fields used for a sort On 7/11/06, Rob Staveley (Tom) <[EMAIL PROTECTED]> wrote: > Thanks for

Re: Missing fields used for a sort

2006-07-11 Thread Yonik Seeley
On 7/11/06, Rob Staveley (Tom) <[EMAIL PROTECTED]> wrote: Thanks for the info both of you. Of course Lucene obeys Murphy's law that the missing ones appear first when you reverse sort, which is what Murphy's law says you want to do. Does solr have a custom build of Lucene in it, or is the functi

RE: Missing fields used for a sort

2006-07-11 Thread Rob Staveley (Tom)
ng ones to the end of the list something that can be configured anyhow in Lucene? -Original Message- From: Yonik Seeley [mailto:[EMAIL PROTECTED] Sent: 11 July 2006 15:37 To: java-user@lucene.apache.org Subject: Re: Missing fields used for a sort On 7/11/06, Erick Erickson <[EMAIL PROT

Re: Missing fields used for a sort

2006-07-11 Thread Yonik Seeley
On 7/11/06, Erick Erickson <[EMAIL PROTECTED]> wrote: So I guess all the documents without a particular field all get defaulted for you. Which end of the list they get placed at I guess you'll find out ... For lucene, it depends on what direction you are sorting. Solr gives control over this i

Re: Missing fields used for a sort

2006-07-11 Thread Erick Erickson
Quote from Chris... "you can only sort on fields with 0 or 1 terms per doc" from a post of his today even So I guess all the documents without a particular field all get defaulted for you. Which end of the list they get placed at I guess you'll find out ... Erick

Missing fields used for a sort

2006-07-11 Thread Rob Staveley (Tom)
If I want to sort on a field that doesn't exist in all documents in my index, can I have a default value for documents which lack that field (e.g. MAXINT or 0)? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,