[ http://issues.apache.org/jira/browse/LUCENE-496?page=comments#action_12366436 ]
Yonik Seeley commented on LUCENE-496: ------------------------------------- Looks good! Should this be in the index package? You could even optionally reconstruct the boost if you wanted to (to the precision allowed by the 8 bit float at least) by using the original Similarity to calculate what the lengthNorm is alone, and comparing against the actual norm. > New tool for reseting the (length)norm of fields after changing Similarity > --------------------------------------------------------------------------- > > Key: LUCENE-496 > URL: http://issues.apache.org/jira/browse/LUCENE-496 > Project: Lucene - Java > Type: New Feature > Components: Index > Reporter: Hoss Man > Priority: Minor > Attachments: LengthNormModifier.java, TestLengthNormModifier.java > > I've written a little tool that seems like it can/will be very handy as I > tweak my custom similarity. I think it would make a good addition to > contrib/miscellaneous. > Class and Tests to be attached shortly... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
