[
https://issues.apache.org/jira/browse/LUCENE-6508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563830#comment-14563830
]
Uwe Schindler commented on LUCENE-6508:
---------------------------------------
I may have been to aggressive, sorry for that. I am fine with the given
proposals, my intent is just to have it better this time - it was a large step
forward last September to remove the ability to have LockFactory and Directory
work on different directories at all. I already removed lots of outdated APIs
like forcefully unlocking.
Also in this issue, I still want to keep the LockFactory and Directory
separation alive, because it allows to configure this much better. But I know
we agree on this :-)
I will help on that issue, maybe we should open a branch? I knew from last time
that this was a horrible amount of code to touch...
> 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
> Assignee: Uwe Schindler
>
> 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: [email protected]
For additional commands, e-mail: [email protected]