Jan Høydahl created SOLR-10711:
----------------------------------

             Summary: Solr V2 API should work on standalone nodes
                 Key: SOLR-10711
                 URL: https://issues.apache.org/jira/browse/SOLR-10711
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: v2 API
    Affects Versions: 6.5
            Reporter: Jan Høydahl
             Fix For: 6.6


See this discussion
https://lists.apache.org/thread.html/86d745383fb5975b57a42929df0c1734c686c3458b48b32caf7044f7@%3Cdev.lucene.apache.org%3E

h3. Reproduce
{code}
$ bin/solr start
$ curl localhost:8983/v2
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 400 
{metadata={error-class=org.apache.solr.common.SolrException,root-error-class=org.apache.solr.common.SolrException},msg=Invalid
 request. collections can be accessed only in SolrCloud mode,code=400}</title>
</head>
<body><h2>HTTP ERROR 400</h2>
<p>Problem accessing /solr/____v2. Reason:
<pre>    
{metadata={error-class=org.apache.solr.common.SolrException,root-error-class=org.apache.solr.common.SolrException},msg=Invalid
 request. collections can be accessed only in SolrCloud mode,code=400}</pre></p>
</body>
</html>
{code}

h3. It works in cloud mode
{code}
$ bin/solr start -c
$ curl localhost:8983/v2
{"responseHeader":{"status":0,"QTime":29},"collections":[]}
{code}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to