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

ConfigSetService.checkConfigExists should not depend on solrconfig.xml existing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.4
    • None
    • None

    Description

      ConfigSetService.checkConfigExists is defined rather generally; it makes no mention of solrconfig.xml.  Yet both implementations (FileSystem & Zk) look for solrconfig.xml specifically.  They need not do this, and it's presumptuous to assume this specific file since a CoreDescriptor can refer to a different/custom file.  So this change is to only look for the directory.

      Attachments

        Issue Links

          Activity

            People

              dsmiley David Smiley
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m