lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3891) CacheValue in CachingDirectoryFactory cannot be used outside of solr.core package
Date Tue, 25 Sep 2012 22:14:07 GMT

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message