You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2006/02/15 03:22:38 UTC
[jira] Created: (LUCENE-496) New tool for reseting the
(length)norm of fields after changing Similarity
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
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-496) New tool for reseting the
(length)norm of fields after changing Similarity
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LUCENE-496?page=comments#action_12375177 ]
Hoss Man commented on LUCENE-496:
---------------------------------
FYI: I picked the package to match the other classes in contrib/miscellaneous ... I don't think it matters very much what package it lives in.
As for reconstructing the boost: It's possible, but this met my needs and I've got some bigger things to worry about at the moment.
> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-496) New tool for reseting the
(length)norm of fields after changing Similarity
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LUCENE-496?page=all ]
Hoss Man updated LUCENE-496:
----------------------------
Attachment: LengthNormModifier.java
TestLengthNormModifier.java
Class with utility function, and main that calls it on an FSDirectory. Also test cases for the utility function using a RAMDirectory
> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-496) New tool for reseting the
(length)norm of fields after changing Similarity
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LUCENE-496?page=all ]
Hoss Man resolved LUCENE-496:
-----------------------------
Fix Version: 2.0
Resolution: Fixed
Assign To: Hoss Man
Commited with some small documentation additions.
> 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
> Assignee: Hoss Man
> Priority: Minor
> Fix For: 2.0
> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-496) New tool for reseting the
(length)norm of fields after changing Similarity
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org