Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.10
    • Component/s: update
    • Labels:
      None

      Description

      like we add implicit responseWriters lets add implicit updatehandlers also and get rid of the following from solrconfig.xml

        <requestHandler name="/update" class="solr.UpdateRequestHandler">
          <!-- See below for information on defining 
               updateRequestProcessorChains that can be used by name 
               on each Update Request
            -->
          <!--
             <lst name="defaults">
               <str name="update.chain">dedupe</str>
             </lst>
             -->
        </requestHandler>
      
        <!-- for back compat with clients using /update/json and /update/csv -->  
        <requestHandler name="/update/json" class="solr.UpdateRequestHandler">
              <lst name="defaults">
               <str name="stream.contentType">application/json</str>
             </lst>
        </requestHandler>
        <!-- for back compat with clients using /update/json and /update/csv -->
        <requestHandler name="/update/json/doc" class="solr.UpdateRequestHandler">
              <lst name="defaults">
               <str name="stream.contentType">application/json</str>
               <str name="json.type">doc</str>
             </lst>
        </requestHandler>
        <requestHandler name="/update/csv" class="solr.UpdateRequestHandler">
              <lst name="defaults">
               <str name="stream.contentType">application/csv</str>
             </lst>
        </requestHandler>
      

        Activity

        Hide
        markrmiller@gmail.com Mark Miller added a comment -

        I wonder if the regular /update hander is a good idea to take out.

        It makes it easy to understand how to use a different update chain, it's not very verbose, and it would be a pain to add it when you want to change some settings.

        /update is so central, it seems really odd to me to take out by default.

        The other deprecated stuff, for sure doesn't need to be in 5x.

        Show
        markrmiller@gmail.com Mark Miller added a comment - I wonder if the regular /update hander is a good idea to take out. It makes it easy to understand how to use a different update chain, it's not very verbose, and it would be a pain to add it when you want to change some settings. /update is so central, it seems really odd to me to take out by default. The other deprecated stuff, for sure doesn't need to be in 5x.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1615345 from Noble Paul in branch 'dev/trunk'
        [ https://svn.apache.org/r1615345 ]

        SOLR-6294 ,SOLR-6302

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1615345 from Noble Paul in branch 'dev/trunk' [ https://svn.apache.org/r1615345 ] SOLR-6294 , SOLR-6302
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1615347 from Noble Paul in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1615347 ]

        SOLR-6294 ,SOLR-6302

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1615347 from Noble Paul in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1615347 ] SOLR-6294 , SOLR-6302

          People

          • Assignee:
            noble.paul Noble Paul
            Reporter:
            noble.paul Noble Paul
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development