It would help to see your query, but you basically add ",score" to whatever you're sending over in the "fl" variable. If you aren't passing "fl", you may want to use "fl=*,score".

Ryan T. Grange, IT Manager
DollarDays International, Inc.
rgra...@dollardays.com (480)922-8155 x106



ayyanar wrote:
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?

Reply via email to