You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Del Raco <el...@yahoo.com> on 2007/07/11 21:24:10 UTC

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