mirror of https://github.com/apache/lucene.git
- 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
This commit is contained in:
parent
631585bf5a
commit
8956949a38
|
@ -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
|
||||
|
@ -328,8 +328,6 @@ public final class Field implements Serializable {
|
|||
setStoreTermVector(termVector);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Create a stored field with binary value. Optionally the value may be compressed.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue