- Fixed a bug in the test itself, caught by Doug.

Duh, correct comment, but contradicting code.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149744 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2002-05-08 20:16:54 +00:00
parent 7ac655d83a
commit 04292ff887
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ public class TestDateFilter
Document doc = new Document(); Document doc = new Document();
// add time that is in the future // add time that is in the future
doc.add(Field.Keyword("datefield", DateField.timeToString(now - 888888))); doc.add(Field.Keyword("datefield", DateField.timeToString(now + 888888)));
doc.add(Field.Text("body", "Today is a very sunny day in New York City")); doc.add(Field.Text("body", "Today is a very sunny day in New York City"));
writer.addDocument(doc); writer.addDocument(doc);
writer.optimize(); writer.optimize();