Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14795 Config API Review: Umbrella issue
  3. SOLR-14811

Config API: updateRequestProcessorChain output has empty key in inner processor definition list

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • config-api
    • None

    Description

        <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>
      

      Becomes

         "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"}]}],
      

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            arafalov Alexandre Rafalovitch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: