You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2015/05/28 16:20:00 UTC

[jira] [Created] (LUCENE-6508) Simplify Directory/lock api

Robert Muir created LUCENE-6508:
-----------------------------------

             Summary: Simplify Directory/lock api
                 Key: LUCENE-6508
                 URL: https://issues.apache.org/jira/browse/LUCENE-6508
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Robert Muir


See LUCENE-6507 for some background. In general it would be great if you can just acquire an immutable lock (or you get a failure) and then you close that to release it.

Today the API might be too much for what is needed by IW.




--
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