David Smiley created SOLR-15418:
-----------------------------------
Summary: V2 API for GET to a collection's handler fails,
complaining about bad contentType
Key: SOLR-15418
URL: https://issues.apache.org/jira/browse/SOLR-15418
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: v2 API
Reporter: David Smiley
Assignee: David Smiley
An HTTP GET request to Solr /select or perhaps other handlers can result in an
exception.
http://localhost:8983/api/c/collection1/select?q=*:*
Can fail:
{noformat}
6303 ERROR (qtp983049796-70) [n:127.0.0.1:51236_solr c:collection1 s:shard1
r:core_node4 x:collection1_shard1_replica_n2 ] o.a.s.h.RequestHandlerBase
org.apache.solr.common.SolrException: Bad contentType for search handler :null
request={q=-*:*&wt=javabin&version=2}
at
org.apache.solr.request.json.RequestUtil.processParams(RequestUtil.java:73)
at
org.apache.solr.util.SolrPluginUtils.setDefaults(SolrPluginUtils.java:165)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:211)
at org.apache.solr.api.ApiBag$ReqHandlerToApi.call(ApiBag.java:269)
at org.apache.solr.api.V2HttpCall.execute(V2HttpCall.java:354)
at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:564)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:507)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:430)
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]