|
[
Permlink
| « Hide
]
Hoss Man added a comment - 15/Feb/06 11:24 AM
Class with utility function, and main that calls it on an FSDirectory. Also test cases for the utility function using a RAMDirectory
Hoss Man made changes - 15/Feb/06 11:24 AM
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. 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.
Hoss Man made changes - 26/May/06 01:50 AM
Doug Cutting made changes - 27/May/06 01:33 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||