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
Shyama

--
View this message in context: 
http://lucene.472066.n3.nabble.com/PayloadNearQuery-and-AveragePayloadFunction-tp3710454p3712509.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to