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

CoreAdmin API does not handle config and schema parameters when persistence is enabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.3.1
    • Fix Version/s: 4.4, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      Custom config and schema name are not written to solr.xml when persistence is enabled and CoresAdmin API is used.

      For example:
      curl 'http://localhost:8983/solr/admin/cores?action=CREATE&name=mycore&instanceDir=mydir&config=solrconfig-myconf.xml&schema=schema-myconf.xml&collection=mycollection&shard=myshard&loadOnStartup=true&transient=false'

      In solr.xml there will be:
      <core loadOnStartup="true" shard="myshard" instanceDir="mydir/" transient="false" name="mycore" collection="mycollection"/>

      Solr will use default config and schema XML files, which may lead to some problems in querying and/or indexing.

        Attachments

        1. SOLR-5051.patch
          0.9 kB
          Marcin Rzewucki

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mrzewucki Marcin Rzewucki
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: