Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8216

CloudSolrClient cannot query /admin/info

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 5.3.1, 5.4, 6.0
    • None
    • SolrJ
    • None

    Description

      I am trying to use CloudSolrClient to query information about the Solr server including version information. I found /admin/info/system and it seems to provide the information I am looking for. However, it looks like CloudSolrClient cannot query /admin/info since INFO_HANDLER_PATH [1] is not part of the ADMIN_PATHS in CloudSolrClient.java [2]. Was this possibly missed as part of SOLR-4943?

      As a side note, ZK_PATH also isn't listed in ADMIN_PATHS. I'm not sure what issues that could cause. Is there a reason that ADMIN_PATHS in CloudSolrClient would be different than the paths in CommonParams [1]?

      [1] https://github.com/apache/lucene-solr/blob/trunk/solr/solrj/src/java/org/apache/solr/common/params/CommonParams.java#L168
      [2] https://github.com/apache/lucene-solr/blob/trunk/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java#L808

      Attachments

        1. SOLR-8216.patch
          2 kB
          Kevin Risden
        2. SOLR-8216.patch
          4 kB
          Kevin Risden

        Issue Links

          Activity

            People

              Unassigned Unassigned
              krisden Kevin Risden
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: