[EMAIL PROTECTED] wrote:
I would like to remove our mod to Lucene by taking advantage of the scorer
API and writing our own Similarity class that has a method to transform an
int rank to a float boost.  Unfortunately, byteToFloat() is private, so my
Similarity class cannot make use of it.

Try Similarity.decodeNorm(). It's public and faster too. byteToFloat is just the uncached, internal version of this.


Doug



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to