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

load core properties from a properties file

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4
    • None
    • None

    Description

      There are few ways of loading properties in runtime,

      1. using env property using in the command line
      2. if you use a multicore drop it in the solr.xml

      if not , the only way is to keep separate solrconfig.xml for each instance. #1 is error prone if the user fails to start with the correct system property.
      In our case we have four different configurations for the same deployment . And we have to disable replication of solrconfig.xml.

      It would be nice if I can distribute four properties file so that our ops can drop the right one and start Solr. Or it is possible for the operations to edit a properties file but it is risky to edit solrconfig.xml if he does not understand solr

      I propose a properties file in the instancedir as solrcore.properties . If present would be loaded and added as core specific properties.

      Attachments

        1. SOLR-1335.patch
          13 kB
          Noble Paul
        2. SOLR-1335.patch
          11 kB
          Noble Paul
        3. SOLR-1335.patch
          11 kB
          Noble Paul
        4. SOLR-1335.patch
          3 kB
          Noble Paul

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            noble.paul Noble Paul
            noble.paul Noble Paul
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment