You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2016/09/07 09:57:22 UTC

[34/50] [abbrv] lucene-solr:apiv2: SOLR-9452: Altered javadocs to reflect the new behavior

SOLR-9452: Altered javadocs to reflect the new behavior


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/23825b24
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/23825b24
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/23825b24

Branch: refs/heads/apiv2
Commit: 23825b248039c907d7eccc9b9fe381f836076539
Parents: f0f92d8
Author: Noble Paul <no...@apache.org>
Authored: Wed Aug 31 18:47:43 2016 +0530
Committer: Noble Paul <no...@apache.org>
Committed: Wed Aug 31 18:47:43 2016 +0530

----------------------------------------------------------------------
 .../src/java/org/apache/solr/common/util/JsonRecordReader.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/23825b24/solr/solrj/src/java/org/apache/solr/common/util/JsonRecordReader.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/java/org/apache/solr/common/util/JsonRecordReader.java b/solr/solrj/src/java/org/apache/solr/common/util/JsonRecordReader.java
index 782c25d..b9766fb 100644
--- a/solr/solrj/src/java/org/apache/solr/common/util/JsonRecordReader.java
+++ b/solr/solrj/src/java/org/apache/solr/common/util/JsonRecordReader.java
@@ -533,6 +533,8 @@ public class JsonRecordReader {
      * @param record The record map. The key is the field name as provided in
      *               the addField() methods. The value can be a single String (for single
      *               valued fields) or a List&lt;String&gt; (for multiValued).
+     *               This map is mutable. DO NOT alter the map or store it for later use.
+     *               If it must be stored, make a deep copy before doing so
      * @param path   The forEach path for which this record is being emitted
      *               If there is any change all parsing will be aborted and the Exception
      *               is propagated up