lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ayyanar <ayyanar.aswatha...@aspiresys.com>
Subject How to get the score in the result
Date Tue, 20 Jan 2009 14:35:29 GMT

final QueryResponse queryResponse = server.query(query);
final List<DocumentWrapper> results =
queryResponse.getBeans(DocumentWrapper.class);

This is the way i do the query in the solr. DocumentWrapper is my class
which maps to the document fields.

Can anyone let me know how the documentwrapper can return the score of the
document? How to get the solr score of each document?
-- 
View this message in context: http://www.nabble.com/How-to-get-the-score-in-the-result-tp21564275p21564275.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message