Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3251 dynamically add fields to schema
  3. SOLR-4623

Add REST API methods to get all remaining schema information, and also to return the full live schema in json, xml, and schema.xml formats

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.3, 6.0
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      Each remaining schema component (after field types, fields, dynamic fields, copy fields were added by SOLR-4503) should be available from the schema REST API: name, version, default query operator, similarity, default search field, and unique key.

      It should be possible to get the entire live schema back with a single request, and schema.xml format should be one of the supported response formats.

        Attachments

        1. JSONResponseWriter.output.json
          41 kB
          Steve Rowe
        2. SchemaXmlResponseWriter.output.xml
          30 kB
          Steve Rowe
        3. SOLR-4623.patch
          170 kB
          Steve Rowe
        4. SOLR-4623-fix-classname-shortening-part-deux.patch
          7 kB
          Steve Rowe
        5. SOLR-4623-fix-classname-shortening-part-deux.patch
          6 kB
          Steve Rowe
        6. XMLResponseWriter.output.xml
          60 kB
          Steve Rowe

          Activity

            People

            • Assignee:
              steve_rowe Steve Rowe
              Reporter:
              steve_rowe Steve Rowe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: