mirror of
https://github.com/apache/lucene.git
synced 2025-02-12 04:55:27 +00:00
Patch to sort code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150212 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
257c64539e
commit
3f3c0aa917
@ -145,7 +145,7 @@ implements Serializable {
|
|||||||
public void setSort (String field, boolean reverse) {
|
public void setSort (String field, boolean reverse) {
|
||||||
SortField[] nfields = new SortField[]{
|
SortField[] nfields = new SortField[]{
|
||||||
new SortField (field, SortField.AUTO, reverse),
|
new SortField (field, SortField.AUTO, reverse),
|
||||||
new SortField (field, SortField.DOC)
|
SortField.FIELD_DOC
|
||||||
};
|
};
|
||||||
fields = nfields;
|
fields = nfields;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user