[ https://issues.apache.org/jira/browse/SOLR-15418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17350538#comment-17350538 ]
ASF subversion and git services commented on SOLR-15418: -------------------------------------------------------- Commit 06698116a6fd07be9886b7f8c74eb436672e1921 in lucene-solr's branch refs/heads/branch_8x from David Smiley [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=0669811 ] SOLR-15418: V2 API: Fix GET to /select and others (#134) Indirectly fixed by not adding ContentStreams that are empty. > 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 > Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > 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: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org