[ 
https://issues.apache.org/jira/browse/SOLR-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463272#comment-13463272
 ] 

Mark Miller commented on SOLR-3891:
-----------------------------------

I changed this to a bug - we pretty much intend that you extend 
CachingDirectoryFactory to make your own, so this is a rather critical 
oversight for those wishing to impl their own factory.

It's also a very, very simple change as it just changes visibility from package 
to protected (and as a result, two variables from package to public).
                
> CacheValue in CachingDirectoryFactory cannot be used outside of solr.core 
> package
> ---------------------------------------------------------------------------------
>
>                 Key: SOLR-3891
>                 URL: https://issues.apache.org/jira/browse/SOLR-3891
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0-BETA
>            Reporter: Patrick Hunt
>            Assignee: Mark Miller
>             Fix For: 4.0
>
>         Attachments: SOLR-3891.patch
>
>
> CacheValue in CachingDirectoryFactory cannot be used outside of solr.core 
> package. When implementing a new DirectoryFactory (outside of core) which is 
> a subclass of CDF it may be necessary to use CacheValue (similar to 
> RamDirectoryFactory).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]

Reply via email to