mirror of https://github.com/apache/lucene.git
reverse misunderstanding - now just simply denote the reverse flag rather than interpret ascending or descending.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150279 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6e7df0fa69
commit
4e81c2c562
|
@ -146,8 +146,9 @@ implements Serializable {
|
|||
default: buffer.append("\"" + field + "\"");
|
||||
break;
|
||||
}
|
||||
|
||||
buffer.append(reverse ? " DESC" : " ASC");
|
||||
|
||||
if (reverse)
|
||||
buffer.append('!');
|
||||
|
||||
return buffer.toString();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue