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

solr.xml shareSchema does not work in SolrCloud

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: 8.5
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      solr.xml has a shareSchema boolean option that can be toggled from the default of false to true in order to share IndexSchema objects within the Solr node. This is silently ignored in SolrCloud mode. The pertinent code is org.apache.solr.core.ConfigSetService#createConfigSetService which creates a CloudConfigSetService that is not related to the SchemaCaching class. This may not be a big deal in SolrCloud which tends not to deal well with many cores per node but I'm working on changing that.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dsmiley David Smiley
                Reporter:
                dsmiley David Smiley
              • Votes:
                1 Vote for this issue
                Watchers:
                7 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 - 0.5h
                  0.5h