You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Sanne Grinovero (JIRA)" <ji...@apache.org> on 2015/11/25 01:13:10 UTC

[jira] [Created] (LUCENE-6909) Improve concurrency for FacetsConfig

Sanne Grinovero created LUCENE-6909:
---------------------------------------

             Summary: Improve concurrency for FacetsConfig
                 Key: LUCENE-6909
                 URL: https://issues.apache.org/jira/browse/LUCENE-6909
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/other
    Affects Versions: 5.3
            Reporter: Sanne Grinovero
            Priority: Trivial


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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org