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

Config API: set user properties only show up in /update/overlay command

    XMLWordPrintableJSON

Details

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

    Description

      /update endpoint is supposed to include everything except implicit parameters. However, it is missing at least some entries that show up in overlay.

      Set a user property:

      Set the property

      $ bin/solr config -c configapi -p 8983 -action set-user-property -property update.autoCreateFields -value false

      POSTing request to Config API: http://localhost:8983/solr/configapi/config
      {"set-user-property":{"update.autoCreateFields":"false"}}
      Successfully set-user-property update.autoCreateFields to false

      curl http://localhost:8983/solr/configapi/config |grep autoCreateFields
      returns no match

      curl http://localhost:8983/solr/configapi/config/overlay |grep autoCreateFields
      returns a match

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: