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

add an enable value in master/slave configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4
    • replication (java)
    • None

    Description

      add an enable tag for master/slave so that it can be changed in the runtime with a variable

        <lst name="master">
          <!-- instead of true keep a variable ${enable.master} and use it instead of hardcoding the value
                 absence of this tag means enable="true"-->
          <str name="enable">true</str>
          <str name="replicateAfter">commit</str>
          <str name="confFiles">schema.xml,stopwords.txt</str>
       </lst>
       <lst name="slave">
         <str name="enable">true</str>
         <str name="masterUrl">http://localhost:8983/solr/replication</str>
         <str name="pollInterval">00:00:60</str>
       </lst>
      

      Attachments

        1. SOLR-1355.patch
          1 kB
          Noble Paul
        2. SOLR-1355.patch
          4 kB
          Noble Paul

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: