Alexandre Rafalovitch created SOLR-14811:
--------------------------------------------

             Summary: Config API: updateRequestProcessorChain output has empty 
key in inner processor definition list
                 Key: SOLR-14811
                 URL: https://issues.apache.org/jira/browse/SOLR-14811
             Project: Solr
          Issue Type: Sub-task
      Security Level: Public (Default Security Level. Issues are Public)
          Components: config-api
            Reporter: Alexandre Rafalovitch


{code:xml}
  <updateRequestProcessorChain name="add-unknown-fields-to-the-schema" 
default="${update.autoCreateFields:true}" 
processor="uuid,remove-blank,field-name-mutating,parse-boolean,parse-long,parse-double,parse-date,add-schema-fields">
    <processor class="solr.LogUpdateProcessorFactory"/>
    <processor class="solr.DistributedUpdateProcessorFactory"/>
    <processor class="solr.RunUpdateProcessorFactory"/>
  </updateRequestProcessorChain>
{code}

Becomes

{code:json}
   "updateRequestProcessorChain":[{
        "default":"true",
        "name":"add-unknown-fields-to-the-schema",
        
"processor":"uuid,remove-blank,field-name-mutating,parse-boolean,parse-long,parse-double,parse-date,add-schema-fields",
        "":[{"class":"solr.LogUpdateProcessorFactory"},
          {"class":"solr.DistributedUpdateProcessorFactory"},
          {"class":"solr.RunUpdateProcessorFactory"}]}],
{code}

The inner array is missing a key. That key would probably have been *processor* 
inner element which conflicts with *processor* parameter.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to