Shawn Heisey created SOLR-4173:
----------------------------------

             Summary: SolrJ API base URL returns 404 - print helpful message 
instead
                 Key: SOLR-4173
                 URL: https://issues.apache.org/jira/browse/SOLR-4173
             Project: Solr
          Issue Type: Improvement
          Components: web gui
    Affects Versions: 4.0
            Reporter: Shawn Heisey
            Priority: Minor
             Fix For: 4.1, 5.0


If you put the URL that's correct for an API like SolrJ into a browser, you get 
a 404 error.

It would be really helpful if it were to instead display a helpful message 
letting a user know that they have accessed the core's base URL, which is only 
useful in API calls.

It should offer a link with its own URL as a handy place to right-click & copy. 
 That self-link should either have or not have the trailing slash, according to 
what is the current recommended practice.  Side note: I do include the trailing 
slash in my SolrJ URLs.

The message should probably also offer a link back to the admin GUI page for 
that core, and any other links that people might find useful.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to