Solr
  1. Solr
  2. SOLR-3531

NRTCachingDirectoryFactory should be configurable via solrconfig.xml

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.1, 5.0
    • Component/s: None
    • Labels:
      None

      Description

      NRTCachingDirectoryFactory currently hard-codes the values for maxMergeSizeMB and maxCachedMB it uses when creating a new NRTCachingDirectory instance. These values should be configurable in the usual way via solrconfig.xml.

        Activity

        Hide
        Andy Laird added a comment -

        Attached is a simple patch that implements this functionality.

        Show
        Andy Laird added a comment - Attached is a simple patch that implements this functionality.
        Hide
        Mark Miller added a comment -

        Committed to 5x and 4x - thanks Andy!

        Show
        Mark Miller added a comment - Committed to 5x and 4x - thanks Andy!
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1417738

        SOLR-3531: Allowing configuring maxMergeSizeMB and maxCachedMB when using NRTCachingDirectoryFactory.

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1417738 SOLR-3531 : Allowing configuring maxMergeSizeMB and maxCachedMB when using NRTCachingDirectoryFactory.
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1417736

        SOLR-3531: Allowing configuring maxMergeSizeMB and maxCachedMB when using NRTCachingDirectoryFactory.

        Show
        Commit Tag Bot added a comment - [trunk commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1417736 SOLR-3531 : Allowing configuring maxMergeSizeMB and maxCachedMB when using NRTCachingDirectoryFactory.
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1417738

        SOLR-3531: Allowing configuring maxMergeSizeMB and maxCachedMB when using NRTCachingDirectoryFactory.

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1417738 SOLR-3531 : Allowing configuring maxMergeSizeMB and maxCachedMB when using NRTCachingDirectoryFactory.

          People

          • Assignee:
            Mark Miller
            Reporter:
            Andy Laird
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development