PR: 12723
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149915 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2003-01-04 18:06:19 +00:00
parent eeff286786
commit ca1240bec6
1 changed files with 3 additions and 3 deletions

View File

@ -132,10 +132,10 @@ public final class Field implements java.io.Serializable {
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,