You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2010/03/07 08:11:27 UTC

[jira] Commented: (SOLR-1807) UpdateHandler plugin is not fully supported

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

Shalin Shekhar Mangar commented on SOLR-1807:
---------------------------------------------

UpdateHandler is an interface so instead of adding a method to it and breaking compatibility, we added it to the DirectUpdateHandler2 class. I guess the only way is to change the UpdateHandler interface.

> UpdateHandler plugin is not fully supported
> -------------------------------------------
>
>                 Key: SOLR-1807
>                 URL: https://issues.apache.org/jira/browse/SOLR-1807
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 1.4
>            Reporter: John Wang
>
> UpdateHandler is published as a supported Plugin, but code such as the following:
> if (core.getUpdateHandler() instanceof DirectUpdateHandler2) {
>             ((DirectUpdateHandler2) core.getUpdateHandler()).forceOpenWriter();
>           } else {
>             LOG.warn("The update handler being used is not an instance or sub-class of DirectUpdateHandler2. " +
>                     "Replicate on Startup cannot work.");
>           } 
> suggest that it is really not fully supported.
> Must all implementations of UpdateHandler be subclasses of DirectUpdateHandler2 for it to work with replication?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.