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

Remove IndexWriterConfig.get/setMaxThreadStates

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Ever since LUCENE-5644, IndexWriter will aggressively reuse its internal thread states across threads, whenever one is free.

      I think this means we can safely remove the sneaky maxThreadStates limit (default 8) that we have today: IW will only ever allocate as many thread states as there are actual concurrent threads running through it.

        Attachments

        1. LUCENE-6659.patch
          32 kB
          Michael McCandless

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: