You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by ot...@apache.org on 2003/01/04 19:06:19 UTC
cvs commit: jakarta-lucene/src/java/org/apache/lucene/document Field.java
otis 2003/01/04 10:06:19
Modified: src/java/org/apache/lucene/document Field.java
Log:
- Fix for bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12723
PR: 12723
Revision Changes Path
1.9 +3 -3 jakarta-lucene/src/java/org/apache/lucene/document/Field.java
Index: Field.java
===================================================================
RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/document/Field.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Field.java 7 Nov 2002 17:31:26 -0000 1.8
+++ Field.java 4 Jan 2003 18:06:19 -0000 1.9
@@ -132,10 +132,10 @@
return new Field(name, value, true, true, true);
}
- /** Constructs a Date-valued Field that is tokenized and indexed,
- and is stored in the index, for return with hits. */
+ /** Constructs a Date-valued Field that is not tokenized and is indexed,
+ and stored in the index, for return with hits. */
public static final Field Keyword(String name, Date value) {
- return new Field(name, DateField.dateToString(value), true, true, true);
+ return new Field(name, DateField.dateToString(value), true, true, false);
}
/** Constructs a String-valued Field that is tokenized and indexed,
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>