: While we are at it, we should limit consolidate the null sort checking. See: : http://www.nabble.com/Sorting-problem-tf4762114.html#a13627492 : : Currently for "score desc", the parsing utility returns a null SortSpec, then : has to create a new one to attach rows/offset
+1 ... there's no reason the SolrSpec needs to be null, it can contain a null "Sort" object in the "score desc" case (or it can contain Sort.SCORE and the SOlrIndexSearcher can be the single place that optimizes that into a null sort) -Hoss