You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by tf...@apache.org on 2019/06/05 23:03:44 UTC

[lucene-solr] branch branch_8x updated: SOLR-13521: Fix input parameter handling for DynamicField and FieldTypes (Schema API)

This is an automated email from the ASF dual-hosted git repository.

tflobbe pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new 43a7ec8  SOLR-13521: Fix input parameter handling for DynamicField and FieldTypes (Schema API)
43a7ec8 is described below

commit 43a7ec87a2c4dbaaa521ec219d2a267ee823d9b8
Author: Tomas Fernandez Lobbe <tf...@apache.org>
AuthorDate: Wed Jun 5 16:01:43 2019 -0700

    SOLR-13521: Fix input parameter handling for DynamicField and FieldTypes (Schema API)
---
 solr/CHANGES.txt                                                      | 3 +++
 .../org/apache/solr/client/solrj/request/schema/SchemaRequest.java    | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 23817f4..77fd3f2 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -89,6 +89,9 @@ Bug Fixes
 
 * SOLR-12249: Better error message when grouping on a tokenized (non SortableText) field in SolrCloud (Erick Erickson)
 
+* SOLR-13521: Fix input parameter handling in SchemaRequest.DynamicField and SchemaRequest.FieldTypes (Schema API)
+  (Tomás Fernández Löbbe)
+
 Other Changes
 ----------------------
 
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/request/schema/SchemaRequest.java b/solr/solrj/src/java/org/apache/solr/client/solrj/request/schema/SchemaRequest.java
index 2e94de8..d3572ba 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/request/schema/SchemaRequest.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/request/schema/SchemaRequest.java
@@ -243,7 +243,7 @@ public class SchemaRequest extends AbstractSchemaRequest<SchemaResponse> {
     }
 
     public DynamicField(String dynamicFieldName, SolrParams q) {
-      super(METHOD.GET, "/schema/dynamicfields/" + dynamicFieldName);
+      super(METHOD.GET, "/schema/dynamicfields/" + dynamicFieldName, q);
     }
 
     @Override
@@ -262,7 +262,7 @@ public class SchemaRequest extends AbstractSchemaRequest<SchemaResponse> {
     }
 
     public FieldTypes(SolrParams q) {
-      super(METHOD.GET, "/schema/fieldtypes");
+      super(METHOD.GET, "/schema/fieldtypes", q);
     }
 
     @Override