You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alexandre Rafalovitch (Jira)" <ji...@apache.org> on 2020/09/01 21:53:00 UTC

[jira] [Created] (SOLR-14811) Config API: updateRequestProcessorChain output has empty key in inner processor definition list

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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org