[
https://issues.apache.org/jira/browse/SOLR-6960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14285895#comment-14285895
]
Alexandre Rafalovitch commented on SOLR-6960:
---------------------------------------------
This should really be a blocker for 5.0 as it affects the default example
collections. Without this, we cannot claim to actually have Config Report
Handler as a new feature.
> 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
> Fix For: 5.0
>
>
> *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: [email protected]
For additional commands, e-mail: [email protected]