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 "Noble Paul (JIRA)" <ji...@apache.org> on 2010/01/05 09:50:55 UTC

[jira] Created: (SOLR-1699) deprecate the updateHandler configuration syntax

deprecate the updateHandler configuration syntax
------------------------------------------------

                 Key: SOLR-1699
                 URL: https://issues.apache.org/jira/browse/SOLR-1699
             Project: Solr
          Issue Type: Improvement
            Reporter: Noble Paul
             Fix For: 1.5


For all practical purposes, an updatehandler is a requestHandler. We can do away with a custom syntax for updatehandler

example
{code:xml}
<requestHandler class="solr.DirectUpdateHandler2">
    
    <lst name="autoCommit"> 
      <int name="maxDocs">10000</int>
      <int name="maxTime">3600000</int> 
    </lst>
    
    <!-- represents a lower bound on the frequency that commits may
    occur (in seconds). NOTE: not yet implemented
    
    <int name="commitIntervalLowerBound">0</int>
    -->

  </requestHandler>
{code}

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


[jira] Commented: (SOLR-1699) deprecate the updateHandler configuration syntax

Posted by "Chris Male (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796586#action_12796586 ] 

Chris Male commented on SOLR-1699:
----------------------------------

Hi,

I like the idea of standardising the syntax in the solrconfig.xml, but I think this is actually not categorising the UpdateHandler correctly.  It gives the impression that it can respond to requests, and is just an alternative to the other update request handlers (XmlUpdateRequestHandlers & co), which it isn't.

> deprecate the updateHandler configuration syntax
> ------------------------------------------------
>
>                 Key: SOLR-1699
>                 URL: https://issues.apache.org/jira/browse/SOLR-1699
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>             Fix For: 1.5
>
>
> For all practical purposes, an updatehandler is a requestHandler. We can do away with a custom syntax for updatehandler
> example
> {code:xml}
> <requestHandler class="solr.DirectUpdateHandler2">
>     
>     <lst name="autoCommit"> 
>       <int name="maxDocs">10000</int>
>       <int name="maxTime">3600000</int> 
>     </lst>
>     
>     <!-- represents a lower bound on the frequency that commits may
>     occur (in seconds). NOTE: not yet implemented
>     
>     <int name="commitIntervalLowerBound">0</int>
>     -->
>   </requestHandler>
> {code}

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