Alexandre Rafalovitch created SOLR-6960:
-------------------------------------------

             Summary: 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to