Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-266

Let the LukeRequestHandler return parsed schema information

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3
    • None
    • None

    Description

      The LukeRequestHandler currently just shows info for fields it finds in the index. It could also show info for fields in the schema. This patch adds:

      http://localhost:8983/solr/admin/luke?show=schema

      showing a list of all fields defined by the schema followed by the types and what fields use the types (if any)

      This is helpful for client apps to know what fields are available and is also a good sanity check to see what fields solr knows about after parsing the schema.xml. Chasing down xml parsing can be difficult:
      http://www.nabble.com/Keep-having-error-on-%22unknown-field%22-tf3923356.html#a11125764

      Attachments

        1. SOLR-266-LukeSchemaInfo.patch
          3 kB
          Ryan McKinley

        Activity

          People

            ryantxu Ryan McKinley
            ryantxu Ryan McKinley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: