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:
Yonik Seeley 2007-06-21 04:39:41 +00:00
parent 75c74dd595
commit a21373772a
2 changed files with 3 additions and 1 deletions

View File

@ -76,6 +76,8 @@ Changes in runtime behavior
Optimizations Optimizations
Bug Fixes Bug Fixes
1. Make TextField respect sortMissingFirst and sortMissingLast fields.
(J.J. Larrea via yonik)
Other Changes Other Changes
1. SOLR-135: Moved common classes to org.apache.solr.common and altered the 1. SOLR-135: Moved common classes to org.apache.solr.common and altered the

View File

@ -37,7 +37,7 @@ public class TextField extends CompressableField {
} }
public SortField getSortField(SchemaField field, boolean reverse) { 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 { public void write(XMLWriter xmlWriter, String name, Fieldable f) throws IOException {