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

Remove IndexWriterConfig.get/setMaxThreadStates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.3, 6.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: