I'm not sure this is what you are looking for,
but there is FieldNormModifier tool in Lucene.
Koji
--
http://www.rondhuit.com/en/
Avlesh Singh wrote:
AFAIK there is no way to "reset" the doc boost. You would need to re-index.
Moreover, there is no way to "search by boost".
Cheers
Avlesh
On Fri, Nov 13, 2009 at 8:17 PM, Jon Baer <jonb...@gmail.com> wrote:
Hi,
Im trying to figure out if there is an easy way to basically "reset" all of
any doc boosts which you have made (for analytical purposes) ... for example
if I run an index, gather report, doc boost on the report, and reset the
boosts @ time of next index ...
It would seem to be from just knowing how Lucene works that I would really
need to reindex since its a attrib on the doc itself which would have to be
modified, but there is no easy way to query for docs which have been boosted
either. Any insight?
Thanks.
- Jon