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 Uwe Reh <re...@hebis.uni-frankfurt.de> on 2013/01/07 14:19:45 UTC

Re: Sorting on mutivalued fields still impossible?

Hi Jack,

thank you for the hint.
Since I have already a solrj client to do the preprocessing, mapping to 
sort fields isn't my problem. I will try to explain better in my reply 
to Erick.

Uwe
(Sorry late reaction)


Am 30.08.2012 16:04, schrieb Jack Krupansky:
> You can also use a "Field Mutating Update Processor" to do a "smart"
> copy of a multi-valued field to a sortable single-valued field.
>
> See:
> http://wiki.apache.org/solr/UpdateRequestProcessor#Field_Mutating_Update_Processors
>
>
> Such as using the maximum value via MaxFieldValueUpdateProcessorFactory.
>
> See:
> http://lucene.apache.org/solr/api-4_0_0-BETA/org/apache/solr/update/processor/MaxFieldValueUpdateProcessorFactory.html
>
>
> Which value of a multi-valued field do you wish to sort by?
>
> -- Jack Krupansky