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

Improve concurrency for FacetsConfig

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 5.3
    • 5.5, 6.0
    • core/other
    • None
    • New, Patch Available

    Description

      The design of org.apache.lucene.facet.FacetsConfig encourages reuse of a single instance across multiple threads, yet the current synchronization model is too strict as it doesn't allow for concurrent read operations.

      I'll attach a trivial patch which removes the contention point.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sanne Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: