cpoerschke commented on code in PR #2248: URL: https://github.com/apache/solr/pull/2248#discussion_r1494828204
########## solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java: ########## @@ -2254,7 +2541,7 @@ protected void sortDocSet(QueryResult qr, QueryCommand cmd) throws IOException { } // bit of a hack to tell if a set is sorted - do it better in the future. - boolean inOrder = set instanceof BitDocSet || set instanceof SortedIntDocSet; + // boolean inOrder = set instanceof BitDocSet || set instanceof SortedIntDocSet; Review Comment: Good spot! Opened #2281 to remove both the comment and the variable. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org