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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.2
    • 4.3, 6.0
    • Schema and Analysis
    • 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
          Steven Rowe
        2. SchemaXmlResponseWriter.output.xml
          30 kB
          Steven Rowe
        3. SOLR-4623.patch
          170 kB
          Steven Rowe
        4. SOLR-4623-fix-classname-shortening-part-deux.patch
          7 kB
          Steven Rowe
        5. SOLR-4623-fix-classname-shortening-part-deux.patch
          6 kB
          Steven Rowe
        6. XMLResponseWriter.output.xml
          60 kB
          Steven Rowe

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: