Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4898 Flesh out the Schema REST API
  3. SOLR-5097

Add REST support for adding dynamic fields to the schema

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • Schema and Analysis
    • None

    Description

      POST to /schema/dynamicfields will add one or more new dynamic fields to the schema.

      PUT to /schema/dynamicfields/name will add the name'd dynamic field to the schema.

      Like the copyField support added to the /schema/fields REST API by SOLR-5010, it will be possible to specify copyField destinations at the point of dynamic field creation.

      The implementation will follow the /schema/fields REST API implementation fairly closely, with the additional restriction that the field name must follow the dynamic field name restrictions, i.e.: 1) exactly one asterisk must be present in the name; and 2) the asterisk must be the first and/or the last character of the name (first and last only if the asterisk is the entire name).

      Attachments

        1. SOLR-5097.patch
          70 kB
          Steven Rowe

        Activity

          People

            sarowe Steven Rowe
            sarowe Steven Rowe
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: