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

Mark Miller commented on SOLR-6302:
-----------------------------------

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.

> Add implicit update request handlers
> ------------------------------------
>
>                 Key: SOLR-6302
>                 URL: https://issues.apache.org/jira/browse/SOLR-6302
>             Project: Solr
>          Issue Type: Sub-task
>          Components: update
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>
> like we add implicit responseWriters lets add implicit updatehandlers also 
> and get rid of the following from solrconfig.xml
> {code: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>
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to