LUCENE-3227: Adding support for Rewriteable to SortField.toString

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138281 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christopher John Male 2011-06-22 02:11:48 +00:00
parent f9ed2c19cd
commit ee5de6d8e5
1 changed files with 4 additions and 0 deletions

View File

@ -355,6 +355,10 @@ public class SortField {
case CUSTOM:
buffer.append("<custom:\"").append(field).append("\": ").append(comparatorSource).append('>');
break;
case REWRITEABLE:
buffer.append("<rewriteable: \"").append(field).append("\">");
break;
default:
buffer.append("<???: \"").append(field).append("\">");