[
https://issues.apache.org/jira/browse/LUCENE-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086917#comment-13086917
]
Robert Muir commented on LUCENE-3380:
-------------------------------------
and thinking about it more, that makes this approach hard too, because how
would the delegation work?
an alternative is for both these dirs (NRTCachingDIr/FileSwitchDIr) to
implement special CompoundFileDirectories, or maybe we make a
DelegatingCompoundFileDirectory even that they share, but this still doesn't
solve the root problem: that its going to be even more confusing for the future
and potentially a problem for any custom directories out there.
> enable FileSwitchDirectory randomly in tests and fix
> compound-file/NoSuchDirectoryException bugs
> ------------------------------------------------------------------------------------------------
>
> Key: LUCENE-3380
> URL: https://issues.apache.org/jira/browse/LUCENE-3380
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: Robert Muir
> Fix For: 3.4, 4.0
>
>
> Looks like FileSwitchDirectory has the same bugs in it as LUCENE-3374.
> We should randomly enable this guy in tests and flush them all out the same
> way.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]