[
https://issues.apache.org/jira/browse/LUCENE-6154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14262288#comment-14262288
]
Uwe Schindler commented on LUCENE-6154:
---------------------------------------
Thanks for opening the issue! was just afraid because I knew that
Elasticsearch used it, too.
For the spins issue, I would prefer to have a geter on directory (non static).
By that my own custom directory could return something useful. RAMDirectory,
too. Or HDFSDirectory could return false, if it is able to ask Hadoop for the
spinning flag.
> nuke FilterDirectory.unwrap or make package-private
> ---------------------------------------------------
>
> Key: LUCENE-6154
> URL: https://issues.apache.org/jira/browse/LUCENE-6154
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
>
> As Uwe points out, this is dangerous. The only thing using it is its test:
> TestFilterDirectory.testUnwrap() and IOUtils.spins().
> If this method is implemented in some other way, we could remove it.
> otherwise maybe it can be package-private.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]