You encode that knowledge by using UpdateRequestProcessor. Clone the field, replace it with true, map it to boolean. That way, you will pay the price once per document indexed not (documentCount*) times per request.
Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @solrstart Solr popularizers community: https://www.linkedin.com/groups?gid=6713853 On 7 November 2014 06:43, Nickolay41189 <klin892...@yandex.ru> wrote: > I want to sort by multivalued field like boolean values. > Something like that: > *sort exist(multivalued field name) desc* > > Is it possible? > > P.S. I know that sorting doesn't work for multivalued fields, but it work > for single boolean field... > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Sort-documents-by-exist-multivalued-field-tp4168141.html > Sent from the Solr - User mailing list archive at Nabble.com.