Re: update field boost

2008-02-12 Thread Jay
My bad. Thanks for the link! Jay Chris Hostetter wrote: : Do you know why FieldNormModifier is removed from Lucene 2.3? : thanks. it wasn't... http://lucene.apache.org/java/2_3_0/api/contrib-misc/org/apache/lucene/index/FieldNormModifier.html ...it's in the "miscellaneous" contrib though so

Re: update field boost

2008-02-12 Thread Chris Hostetter
: Do you know why FieldNormModifier is removed from Lucene 2.3? : thanks. it wasn't... http://lucene.apache.org/java/2_3_0/api/contrib-misc/org/apache/lucene/index/FieldNormModifier.html ...it's in the "miscellaneous" contrib though so you'll need to use that jar explicitly. -Hoss --

Re: update field boost

2008-02-12 Thread Jay
Do you know why FieldNormModifier is removed from Lucene 2.3? thanks. Jay Chris Hostetter wrote: : I read the doc for the api indexreader.setNorm() after I posted the question : earlier. To use that setNorm() to modify the field boost, it seems to me that : one has to know how the boost is fold

Re: update field boost

2008-02-12 Thread Jay
It'd be helpful if there is an api for getting the norm of a given field in a given doc. Thanks for the pointers. Jay Chris Hostetter wrote: : I read the doc for the api indexreader.setNorm() after I posted the question : earlier. To use that setNorm() to modify the field boost, it seems to me

Re: update field boost

2008-02-11 Thread Chris Hostetter
: I read the doc for the api indexreader.setNorm() after I posted the question : earlier. To use that setNorm() to modify the field boost, it seems to me that : one has to know how the boost is folded to the norm (in the default impl, it's : boost* lengthNorm) and has to know the old norm value wh

Re: update field boost

2008-02-11 Thread yu
thanks, Hoss! I read the doc for the api indexreader.setNorm() after I posted the question earlier. To use that setNorm() to modify the field boost, it seems to me that one has to know how the boost is folded to the norm (in the default impl, it's boost* lengthNorm) and has to know the old norm

Re: update field boost

2008-02-11 Thread Chris Hostetter
: It's clear that there is no easy way to do "in-place" doc update in the lucene : index, but I think it should be theoretically possible to update the field and : doc boostings in place, that is, without deleting and re-adding the doc and : it's fields. Does anyone know how? boosts are folded in

update field boost

2008-02-11 Thread Jay
Hi, It's clear that there is no easy way to do "in-place" doc update in the lucene index, but I think it should be theoretically possible to update the field and doc boostings in place, that is, without deleting and re-adding the doc and it's fields. Does anyone know how? Thanks! Jay -