lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cedric Ho" <>
Subject How to pass additional information into Similarity.scorePayload(...)
Date Wed, 13 Feb 2008 09:31:41 GMT
Hi all,

My problem is I have some additional weighting info that come with
each search. And I need to take both the weighting info and the
payload to calculate scores.

So how do I access the weighting info in
Similarity.scorePayload(String,byte[],int,int) ? I've thought about
using a ThreadLocal, but this seems like a hack, are there better
options ?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message