Re: Boosting based on field values

2010-07-04 Thread Erick Erickson
Wouldn't sorting work in this situation as well? Erick On Sun, Jul 4, 2010 at 8:54 AM, Indika Tantrigoda wrote: > Hi, > > {!boost b=pow(1,featured_listing)} is the boost function I used. > > Got the results as expected. > > Thanks. > > Regards, > Indika > > > On 3 July 2010 21:10, Indika Tan

Re: Boosting based on field values

2010-07-04 Thread Indika Tantrigoda
Hi, {!boost b=pow(1,featured_listing)} is the boost function I used. Got the results as expected. Thanks. Regards, Indika On 3 July 2010 21:10, Indika Tantrigoda wrote: > Thanks for the info. I'll try this out. > > Regards, > Indika > > > On 3 July 2010 20:48, Ahmet Arslan wrote: > >>

Re: Boosting based on field values

2010-07-03 Thread Indika Tantrigoda
Thanks for the info. I'll try this out. Regards, Indika On 3 July 2010 20:48, Ahmet Arslan wrote: > > I'd like to know if its possible to boost the score of > > documents based on a > > field value. Ex. My schema has a field called isFeatured, and if the > > value of the field > > is true or "1

Re: Boosting based on field values

2010-07-03 Thread Ahmet Arslan
> I'd like to know if its possible to boost the score of > documents based on a > field value. Ex. My schema has a field called isFeatured, and if the > value of the field > is true or "1" I'd like to > have these documents come first in a query result > regardless of the score. Yes it is possible

Boosting based on field values

2010-07-03 Thread Indika Tantrigoda
Hello all, I'd like to know if its possible to boost the score of documents based on a field value. Ex. My schema has a field called isFeatured, and if the value of the field is true or "1" I'd like to have these documents come first in a query result regardless of the score. Thanks in advance.