Yes, currently there is the 4 sort field limit. A custom handler could be
built that allows for unlimited sorts or you could provide a patch to the
export handler.

I think though that you'll find that performance drops off quite a bit as
the number of sort fields increases. This is because each field needs to be
retrieved from the docValues cache in order to perform the sort.

Joel Bernstein
http://joelsolr.blogspot.com/

On Tue, Jul 26, 2016 at 2:58 PM, tedsolr <tsm...@sciquest.com> wrote:

> So I found the limit in the Ref Doc p. 394, under the /export request
> handler:
>
> "Up to four sort fields can be specified per request, with the 'asc' or
> 'desc' properties"
>
> Yikes I'm in trouble. Does anyone know if this can be circumvented? Can I
> write a custom handler that could handle up to 20? Oh boy.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Search-sort-depth-limited-to-4-tp4289049p4289053.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to