I see this in StandardRequestHandler. However I am wondering if there are
multiple sorts, where in Solr is this handled? Thanks.
------------------------------------------
// If the first non-query, non-filter command is a simple sort on an indexed
field, then
// we can use the Lucene sort ability.
Sort sort = null;
if (commands.size() >= 2) {
QueryParsing.SortSpec sortSpec =
QueryParsing.parseSort(commands.get(1), req.getSchema());
if (sortSpec != null) {
sort = sortSpec.getSort();
// ignore the count for now... it's currently only controlled by
start & limit on req
// count = sortSpec.getCount();
}
}