mirror of https://github.com/apache/lucene.git
SOLR-1478: Enable sort by Lucene's docid
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@820948 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8997d47156
commit
014c0a392e
|
@ -339,7 +339,9 @@ New Features
|
|||
83. SOLR-1292: Add FieldCache introspection to stats.jsp and JMX Monitoring via
|
||||
a new SolrFieldCacheMBean. (hossman)
|
||||
|
||||
84. SOLR-1167: Solr Config now supports XInclude for XML engines that can support it. (Bryan Talbot via gsingers)
|
||||
84. SOLR-1167: Solr Config now supports XInclude for XML engines that can support it. (Bryan Talbot via gsingers)
|
||||
|
||||
85. SOLR-1478: Enable sort by Lucene docid. (ehatcher)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
|
|
@ -265,7 +265,9 @@ public class QueryParsing {
|
|||
else {
|
||||
lst[i] = new SortField(null, SortField.SCORE, true);
|
||||
}
|
||||
}
|
||||
} else if ("#".equals(part)) {
|
||||
lst[i] = new SortField(null, SortField.DOC, top);
|
||||
}
|
||||
else {
|
||||
// getField could throw an exception if the name isn't found
|
||||
SchemaField f = null;
|
||||
|
|
Loading…
Reference in New Issue