SOLR-13521: Fix input parameter handling for DynamicField and FieldTypes (Schema API)

This commit is contained in:
Tomas Fernandez Lobbe 2019-06-05 16:01:43 -07:00
parent 757e4548c7
commit f3148fa9e0
2 changed files with 5 additions and 2 deletions

View File

@ -132,6 +132,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
----------------------

View File

@ -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