You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2010/08/15 05:44:16 UTC

[jira] Created: (SOLR-2047) ReplicationHandler should accept bool type for enable flag

ReplicationHandler should accept bool type for enable flag
----------------------------------------------------------

                 Key: SOLR-2047
                 URL: https://issues.apache.org/jira/browse/SOLR-2047
             Project: Solr
          Issue Type: Bug
          Components: replication (java)
    Affects Versions: 1.4.1
            Reporter: Koji Sekiguchi
            Priority: Trivial
             Fix For: 3.1, 4.0


Currently, the type of enable flag in ReplicationHandler is str:

{code}
<lst name="slave">
  <str name="enable">true</str>
  <str name="masterUrl">http://localhost:8983/solr/replication</str>
  <str name="pollInterval">00:00:60</str>
</lst>
{code}

It should be bool.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Resolved: (SOLR-2047) ReplicationHandler should accept bool type for enable flag

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

Koji Sekiguchi resolved SOLR-2047.
----------------------------------

      Assignee: Koji Sekiguchi
    Resolution: Fixed

trunk: Committed revision 985672.
branch_3x: Committed revision 985681.


> ReplicationHandler should accept bool type for enable flag
> ----------------------------------------------------------
>
>                 Key: SOLR-2047
>                 URL: https://issues.apache.org/jira/browse/SOLR-2047
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (java)
>    Affects Versions: 1.4.1
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Trivial
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2047.patch
>
>
> Currently, the type of enable flag in ReplicationHandler is str:
> {code}
> <lst name="slave">
>   <str name="enable">true</str>
>   <str name="masterUrl">http://localhost:8983/solr/replication</str>
>   <str name="pollInterval">00:00:60</str>
> </lst>
> {code}
> It should be bool.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Updated: (SOLR-2047) ReplicationHandler should accept bool type for enable flag

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

Koji Sekiguchi updated SOLR-2047:
---------------------------------

    Attachment: SOLR-2047.patch

Patch attached. This fix can accept bool type. It also accept str type for back-compat. Now "on" and "yes" are recognized for both bool and str.

> ReplicationHandler should accept bool type for enable flag
> ----------------------------------------------------------
>
>                 Key: SOLR-2047
>                 URL: https://issues.apache.org/jira/browse/SOLR-2047
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (java)
>    Affects Versions: 1.4.1
>            Reporter: Koji Sekiguchi
>            Priority: Trivial
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2047.patch
>
>
> Currently, the type of enable flag in ReplicationHandler is str:
> {code}
> <lst name="slave">
>   <str name="enable">true</str>
>   <str name="masterUrl">http://localhost:8983/solr/replication</str>
>   <str name="pollInterval">00:00:60</str>
> </lst>
> {code}
> It should be bool.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org