Apache Solr open-source search software
- Reverted to revision 1.2 ... this matches the comments in the code anyway :). Should fix bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14485
Otis Gospodnetic2d2a191b87b6
diff --git a/src/java/org/apache/lucene/document/DateField.java b/src/java/org/apache/lucene/document/DateField.javaindex b555490fb6c..f917cfe354f 100644--- a/src/java/org/apache/lucene/document/DateField.java+++ b/src/java/org/apache/lucene/document/DateField.java@@ -109,7 +109,7 @@ public class DateField {if (s.length() < DATE_LEN) {StringBuffer sb = new StringBuffer(s);while (sb.length() < DATE_LEN)- sb.insert(0, ' ');+ sb.insert(0, 0);s = sb.toString();}