Document boosting

2013-04-30 Thread Tamer Gür
Hi, we are migrating from 3.6 to 4.2. since Document.setBoost() method removed we are trying to reimplement. Currently we are using Document.setBoost() method as a scalar boost factor across our multiple different indexes. With the lucene 4.2 setting this factor by field.setBoost() is not

Re: Document boosting

2013-05-01 Thread Tamer Gür
-lucene.com/m/Z2GP220szmS&subj=RE+What+is+equivalent+to+Document+setBoost+from+Lucene+3+6+inLucene+4+1+ I am still on Lucene 3.x, so I have not yet had a chance to mimic document level boosts in 4.x. Cheers, Ivan On Tue, Apr 30, 2013 at 7:45 AM, Tamer Gür wrote: Hi, we are migrating from 3.

Sort field with MultiReader

2013-05-13 Thread Tamer Gür
Hi all, I am using MultiReader for my searches and each reader has different fields. For one of the Reader. i need to add sort option which will be used only that specific reader. is it possible to do this with MultiReader? Thanks for help Tamer

unindexed field boost

2013-05-14 Thread Tamer Gür
Hello all, i was wondering why unindexed fields can't be boosted compare to lucene 3. since these fields are still in the score calculation when i checked the score explanation. Is there any clean way to pass this? Thanks Tamer -