Umar, I'm not sure what you mean by a "subfield", can you explain please? As for your second question, just add category:X to your query and you'll get matches ordered/ranked by score by default.
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- From: Umar Shah <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Friday, March 7, 2008 1:17:35 AM Subject: ranking on Multivalued fields Hi, I have a problem where i want to rank multivalued fields suppose a multivalued field "category" having associated subfield "score". First Is it possible to have a subfield in the mutlivalued field? Second I want to get the documents ranked with the highest score say for the category:X thanks Umar Shah