mirror of https://github.com/apache/lucene.git
make TextField respect sortMissingFirst,sortMissingLast
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@549362 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
75c74dd595
commit
a21373772a
|
@ -76,6 +76,8 @@ Changes in runtime behavior
|
|||
Optimizations
|
||||
|
||||
Bug Fixes
|
||||
1. Make TextField respect sortMissingFirst and sortMissingLast fields.
|
||||
(J.J. Larrea via yonik)
|
||||
|
||||
Other Changes
|
||||
1. SOLR-135: Moved common classes to org.apache.solr.common and altered the
|
||||
|
|
|
@ -37,7 +37,7 @@ public class TextField extends CompressableField {
|
|||
}
|
||||
|
||||
public SortField getSortField(SchemaField field, boolean reverse) {
|
||||
return new SortField(field.name,SortField.STRING, reverse);
|
||||
return getStringSort(field, reverse);
|
||||
}
|
||||
|
||||
public void write(XMLWriter xmlWriter, String name, Fieldable f) throws IOException {
|
||||
|
|
Loading…
Reference in New Issue