lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject [34/50] [abbrv] lucene-solr:apiv2: SOLR-9452: Altered javadocs to reflect the new behavior
Date Wed, 07 Sep 2016 09:57:22 GMT
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 <noble@apache.org>
Authored: Wed Aug 31 18:47:43 2016 +0530
Committer: Noble Paul <noble@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


Mime
View raw message