Apache Solr open-source search software
LUCENE-3312: Add Robert's warning back.
Uwe Schindler0b3b1fa69ee8
diff --git a/lucene/core/src/java/org/apache/lucene/document/DocumentStoredFieldVisitor.java b/lucene/core/src/java/org/apache/lucene/document/DocumentStoredFieldVisitor.javaindex 111fd258abe..5f566c58be6 100644--- a/lucene/core/src/java/org/apache/lucene/document/DocumentStoredFieldVisitor.java+++ b/lucene/core/src/java/org/apache/lucene/document/DocumentStoredFieldVisitor.java@@ -99,7 +99,10 @@ public class DocumentStoredFieldVisitor extends StoredFieldVisitor {/*** Retrieve the visited document.- * @return StoredDocument populated with stored fields.+ * @return {@link StoredDocument} populated with stored fields. Note that only+ * the stored information in the field instances is valid,+ * data such as indexing options, term vector options,+ * etc is not set.*/public StoredDocument getDocument() {return doc;