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:
Erik Hatcher 2004-04-04 15:47:31 +00:00
parent 6e7df0fa69
commit 4e81c2c562
1 changed files with 3 additions and 2 deletions

View File

@ -146,8 +146,9 @@ implements Serializable {
default: buffer.append("\"" + field + "\"");
break;
}
buffer.append(reverse ? " DESC" : " ASC");
if (reverse)
buffer.append('!');
return buffer.toString();
}