I'll try answering: - sorting by the term that happened to match a multi-term field is, as far as I know, not possible - "de-duping" search results is, I believe, possible with a patch that is still in JIRA: https://issues.apache.org/jira/browse/SOLR-236
Otis -- Lucene Consulting -- http://lucene-consulting.com/ ----- Original Message ---- From: Del Raco <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Wednesday, July 11, 2007 9:24:10 PM Subject: custom sorting for multivalued field Hi, We are trying to set up Solr to search documents with multiple keywords, which we have implemented as a multivalued field. Is it possible to assign a custom sorting value for each of the values in the multivalued field? So that the document gets sorted differently, depending on the matched value in the multivalued field. The other approach would be to store each document/keyword pair as a separate document with the sorting value as an explicit field. Is it possible to filter the results on the Solr end, so that the same original document doesn't appear in the result set twice? Any ideas or suggestions would be greatly appreciated. Thanks! ____________________________________________________________________________________ Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting