Re: Boosting on a document value

2010-11-16 Thread Jan Høydahl / Cominvent
Also this http://search-lucene.com/m/hBnHH1Q4NVb2 -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 15. nov. 2010, at 23.21, Ahmet Arslan wrote: >> I've got a document with a "type" >> field. If the type is 1, I want to boost the >> document's relevancy, but type=1 i

Re: Boosting on a document value

2010-11-15 Thread Ahmet Arslan
> I've got a document with a "type" > field.  If the type is 1, I want to boost the > document's relevancy, but type=1 is not a > requirement.  Types other than 1 > should still be returned and scored as normal, just without > the boost. > > How do I do this? You can do it with one of the solutio

Boosting on a document value

2010-11-15 Thread Jon Drukman
I've got a document with a "type" field. If the type is 1, I want to boost the document's relevancy, but type=1 is not a requirement. Types other than 1 should still be returned and scored as normal, just without the boost. How do I do this? -jsd-