You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2016/11/06 04:22:58 UTC

[jira] [Updated] (SOLR-6960) Config reporting handler is missing initParams defaults

     [ https://issues.apache.org/jira/browse/SOLR-6960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexandre Rafalovitch updated SOLR-6960:
----------------------------------------
    Assignee: Noble Paul  (was: Alexandre Rafalovitch)

> Config reporting handler is missing initParams defaults
> -------------------------------------------------------
>
>                 Key: SOLR-6960
>                 URL: https://issues.apache.org/jira/browse/SOLR-6960
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.0
>            Reporter: Alexandre Rafalovitch
>            Assignee: Noble Paul
>
> *curl http://localhost:8983/solr/techproducts/config/requestHandler* produces (fragments):
> {quote}
>       "/update":{
>         "name":"/update",
>         "class":"org.apache.solr.handler.UpdateRequestHandler",
>         "defaults":{}},
>       "/update/json/docs":{
>         "name":"/update/json/docs",
>         "class":"org.apache.solr.handler.UpdateRequestHandler",
>         "defaults":{
>           "update.contentType":"application/json",
>           "json.command":"false"}},
> {quote}
> Where are the defaults from initParams:
> {quote}
> <initParams path="/update/**,/query,/select,/tvrh,/elevate,/spell,/browse">
>     <lst name="defaults">
>       <str name="df">text</str>
>     </lst>
> </initParams>
>   <initParams path="/update/json/docs">
>     <lst name="defaults">
>       <str name="srcField">\_src_</str>
>       <str name="mapUniqueKeyOnly">true</str>
>     </lst>
>   </initParams>
> {quote}
> Obviously, a test is missing as well to catch this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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