Are you writing your own Query? What kind of info did you have in
mind? scorePayload is called from the query scoring class, so I am
not sure how you would pass in info to it unless you were writing your
own Query class.
-Grant
On Feb 13, 2008, at 4:31 AM, Cedric Ho wrote:
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 ?
Regards,
Cedric
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]