You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cao Manh Dat (JIRA)" <ji...@apache.org> on 2017/05/19 04:08:04 UTC

[jira] [Updated] (SOLR-10406) v2 API error messages list the URL request path as /solr/____v2/... when the original path was /v2/...

     [ https://issues.apache.org/jira/browse/SOLR-10406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cao Manh Dat updated SOLR-10406:
--------------------------------
    Attachment: SOLR-10406.patch

Patch for this ticket, exceptions are nicely written by response writer.

> v2 API error messages list the URL request path as /solr/____v2/... when the original path was /v2/...
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-10406
>                 URL: https://issues.apache.org/jira/browse/SOLR-10406
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: v2 API
>            Reporter: Steve Rowe
>            Priority: Minor
>         Attachments: SOLR-10406.patch
>
>
> E.g. attempting introspect on {{/v2/c/.system/blob}} will fail if the {{.system}} collection has not yet been CREATE'd - after {{bin/solr start -e cloud -noprompt}}:
> {noformat}
> $ curl "http://localhost:8983/v2/c/.system/blob/_introspect?indent=on"
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
> <title>Error 404 Not Found</title>
> </head>
> <body><h2>HTTP ERROR 404</h2>
> <p>Problem accessing /solr/____v2/c/.system/blob/_introspect. Reason:
> <pre>    Not Found</pre></p>
> </body>
> </html>
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org