RE: Preferential boosting

2008-03-21 Thread Chris Hostetter
: Now we come to another question: why doesn't "X OR -X" select the entire : index? you really can't mix the AND/OR syntax with the +/- syntax ... AND and OR just apply options to the clauses on either side... "X OR -X" is the same thing as "X -X" ... debugQuery=true will show you this in the p

RE: Preferential boosting

2008-03-20 Thread Lance Norskog
question: why doesn't "X OR -X" select the entire index? Thanks, Lance -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley Sent: Thursday, March 20, 2008 12:34 PM To: solr-user@lucene.apache.org Subject: Re: Preferential boosting On Th

Re: Preferential boosting

2008-03-20 Thread Yonik Seeley
On Thu, Mar 20, 2008 at 3:13 PM, Lance Norskog <[EMAIL PROTECTED]> wrote: > Suppose I have a schema with an integer field called 'duration'. I want to > find all records, but if the duration is 3 I want those records to be > boosted. > > The index has 10 records, with duration between 2 and 4.