lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <>
Subject Re: custom sorting for multivalued field
Date Wed, 11 Jul 2007 20:23:45 GMT
I'll try answering:
- sorting by the term that happened to match a multi-term field is, as far as I know, not
- "de-duping" search results is, I believe, possible with a patch that is still in JIRA:

Lucene Consulting --

----- Original Message ----
From: Del Raco <>
Sent: Wednesday, July 11, 2007 9:24:10 PM
Subject: custom sorting for multivalued field


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

Any ideas or suggestions would be greatly appreciated.


Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get

View raw message