lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shyama <shyamasree_s...@yahoo.com>
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
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message