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

Make CoreSorter class configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.5
    • None
    • None

    Description

      I would like to be able to configure how cores are sorted before being loaded to accommodate more specific needs.

      For this purpose, I propose to make the CoreSorter instance configurable, pretty much like other services (e.g., ConfigSetService, CoresLocator) are already configurable. Attached PR creates a new "coreSorter" parameter in solr.xml in order to achieve this.

      Example usage:

      <solr>
        <str name="coreSorter">com.myorg.CustomCoreSorter</str>
      </solr>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vprimault Vincent Primault
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 1h
                  1h