Solr
  1. Solr
  2. SOLR-1335

load core properties from a properties file

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      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.

      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

        No work has yet been logged on this issue.

          People

          • Assignee:
            Noble Paul
            Reporter:
            Noble Paul
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development