Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2060

CMS should default its maxThreadCount to 1 (not 3)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.3, 3.0
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      From rough experience, I think the current default of 3 is too large. I think we get the most bang for the buck going from 0 to 1.

      I think this will especially impact optimize on an index with many segments – in this case the MergePolicy happily exposes concurrency (multiple pending merges), and CMS will happily launch 3 threads to carry that out.

        Attachments

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: