lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Del Raco <el_dr...@yahoo.com>
Subject custom sorting for multivalued field
Date Wed, 11 Jul 2007 19:24:10 GMT
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 

Mime
View raw message