Hi,

Can we please document which HTTP method is supposed to be used with each
of these APIs?

https://cwiki.apache.org/confluence/display/solr/Collections+API

I am trying to invoke following API

curl http://
<hostname>:8983/solr/admin/collections?action=CLUSTERPROP&name=urlScheme&val=https

This request is failing due to following error,

2015-02-18 17:29:39,965 INFO org.apache.solr.servlet.SolrDispatchFilter:
[admin] webapp=null path=/admin/collections params={action=CLUSTERPROP}
status=400 QTime=20

org.apache.solr.core.SolrCore: org.apache.solr.common.SolrException:
Missing required parameter: name

at
org.apache.solr.common.params.RequiredSolrParams.get(RequiredSolrParams.java:49)

at
org.apache.solr.common.params.RequiredSolrParams.check(RequiredSolrParams.java:153)

at
org.apache.solr.handler.admin.CollectionsHandler.handleProp(CollectionsHandler.java:238)

at
org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:200)

at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)

at
org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:770)

at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:271)

I am using Solr 4.10.3 version.

Thanks

Hrishikesh

Reply via email to