The /export RequestHandler
The /export request handler with the appropriate configuration is one of Solr’s out-of-the-box request handlers.
It’s possible to export fully sorted result sets using a special rank query parser and response writer specifically designed to work together to handle scenarios that involve sorting and exporting millions of records.
All the fields being sorted and exported must have docValues set to true.
So this could be a alternative way for performance.
The /export RequestHandler
The
/exportrequest handler with the appropriate configuration is one of Solr’s out-of-the-box request handlers.It’s possible to export fully sorted result sets using a special rank query parser and response writer specifically designed to work together to handle scenarios that involve sorting and exporting millions of records.
All the fields being sorted and exported must have docValues set to true.
So this could be a alternative way for performance.