From 8956949a38eefeb097bf9e9d97c0c75972082c88 Mon Sep 17 00:00:00 2001 From: Otis Gospodnetic Date: Fri, 9 Jun 2006 03:15:10 +0000 Subject: [PATCH] - Added javadoc about when Reader fields are actually read git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@412909 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/lucene/document/Field.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/java/org/apache/lucene/document/Field.java b/src/java/org/apache/lucene/document/Field.java index dc2c7eb1897..30a134efdbc 100644 --- a/src/java/org/apache/lucene/document/Field.java +++ b/src/java/org/apache/lucene/document/Field.java @@ -289,7 +289,7 @@ public final class Field implements Serializable { /** * Create a tokenized and indexed field that is not stored. Term vectors will - * not be stored. + * not be stored. The Reader is read only when the Document is added to the index. * * @param name The name of the field * @param reader The reader with the content @@ -301,7 +301,7 @@ public final class Field implements Serializable { /** * Create a tokenized and indexed field that is not stored, optionally with - * storing term vectors. + * storing term vectors. The Reader is read only when the Document is added to the index. * * @param name The name of the field * @param reader The reader with the content @@ -327,8 +327,6 @@ public final class Field implements Serializable { setStoreTermVector(termVector); } - - /** * Create a stored field with binary value. Optionally the value may be compressed.