Re: Sorting on multivalues field in Solr

2015-05-12 Thread Nutch Solr User
Thanks Alex that was really useful. - Nutch Solr User "The ultimate search engine would basically understand everything in the world, and it would always give you the right thing." -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-on-multivalued-field-in-Solr-tp4

Re: Sorting on multivalues field in Solr

2015-05-12 Thread Alexandre Rafalovitch
The easiest way is to have a separate field for sorting. Make it DocValue as well for faster sorting performance. Then, you have an Update Request Processor (URP) chain and in it you clone the field and choose the most appropriate value (smallest). There are URPs for that, e.g. http://www.solr-sta