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

[jira] [Created] (SOLR-10715) /v2/ should not be an alias for /v2/collections

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

             Summary: /v2/ should not be an alias for /v2/collections
                 Key: SOLR-10715
                 URL: https://issues.apache.org/jira/browse/SOLR-10715
             Project: Solr
          Issue Type: Sub-task
      Security Level: Public (Default Security Level. Issues are Public)
          Components: v2 API
    Affects Versions: 6.5
            Reporter: Jan Høydahl


Spinoff from SOLR-10711

Currently {{/v2}} is [a hardcoded alias|https://github.com/apache/lucene-solr/blob/9fa04ecc9521d4528dc61a2447a199d9ce56a86a/solr/core/src/java/org/apache/solr/api/V2HttpCall.java#L82-L87] for {{/v2/collections}} (but similar aliasing is not done for _introspect.

It would be more useful to reserve {{/v2}} as a generic entry-point that works both in cloud and standalone mode. Perhaps instead that endpoint should report something similar as {{bin/solr status}}, i.e. version, node name, cluster size (nodes) and status (red/green/yellow), number of collections, number of local cores and a simple help text for how to use the API?



--
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