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
: 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
--
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
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
: 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
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
: 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
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
-