You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2012/09/25 23:56:07 UTC

[jira] [Created] (SOLR-3891) CacheValue in CachingDirectoryFactory cannot be used outside of solr.core package

Patrick Hunt created SOLR-3891:
----------------------------------

             Summary: 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: Improvement
    Affects Versions: 4.0-BETA
            Reporter: Patrick Hunt
             Fix For: 4.1


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


[jira] [Updated] (SOLR-3891) CacheValue in CachingDirectoryFactory cannot be used outside of solr.core package

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated SOLR-3891:
-------------------------------

    Attachment: SOLR-3891.patch

The attached patch makes CacheValue protected rather than default permission.
                
> 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: Improvement
>    Affects Versions: 4.0-BETA
>            Reporter: Patrick Hunt
>             Fix For: 4.1
>
>         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


[jira] [Commented] (SOLR-3891) CacheValue in CachingDirectoryFactory cannot be used outside of solr.core package

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ 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


[jira] [Commented] (SOLR-3891) CacheValue in CachingDirectoryFactory cannot be used outside of solr.core package

Posted by "Commit Tag Bot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494973#comment-13494973 ] 

Commit Tag Bot commented on SOLR-3891:
--------------------------------------

[branch_4x commit] Mark Robert Miller
http://svn.apache.org/viewvc?view=revision&revision=1390198

SOLR-3891: CacheValue in CachingDirectoryFactory cannot be used outside of solr.core package.


                
> 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, 5.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


[jira] [Updated] (SOLR-3891) CacheValue in CachingDirectoryFactory cannot be used outside of solr.core package

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated SOLR-3891:
------------------------------

    Fix Version/s: 5.0
         Assignee: Mark Miller  (was: Patrick Hunt)
    
> 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, 5.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


[jira] [Assigned] (SOLR-3891) CacheValue in CachingDirectoryFactory cannot be used outside of solr.core package

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt reassigned SOLR-3891:
----------------------------------

    Assignee: Patrick Hunt  (was: Mark Miller)
    
> 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: Patrick Hunt
>             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


[jira] [Updated] (SOLR-3891) CacheValue in CachingDirectoryFactory cannot be used outside of solr.core package

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated SOLR-3891:
------------------------------

    Fix Version/s:     (was: 4.1)
                   4.0
         Assignee: Mark Miller
       Issue Type: Bug  (was: Improvement)
    
> 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


[jira] [Resolved] (SOLR-3891) CacheValue in CachingDirectoryFactory cannot be used outside of solr.core package

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller resolved SOLR-3891.
-------------------------------

    Resolution: Fixed

Thanks Patrick!
                
> 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, 5.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