lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shyama <>
Subject Re: PayloadNearQuery and AveragePayloadFunction
Date Fri, 03 Feb 2012 09:13:42 GMT
Hi Peter
I have checked payload associated with terms, and they are fine in the
index. I was not clear enough I believe. When I say interested in class A,
then scorePayload function returns 3 for only for class A terms. Again, When
I say interested in class B, then my scorePayload function returns 3 for
only Class B terms. These searches are done separately. I mean on the same
index, but each time i search, I set the semantic in my Similarity class.

I am actually trying to do semantic ranking of documents. Hence, lucene
ranks those documents high, which contains query terms and also has more
terms from that semantic class.

I hope now I have make it clear, why I do not understand that score returned
from AveragePayloadFunction.

Hope to hear about some more explanation.

Many Thanks

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

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

View raw message