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

/admin/file links don't work with legacy configs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3
    • Admin UI
    • None

    Description

      admin screen in trunk currently links to /admin/file/?file=schema.xml and /admin/file/?file=solrconfig.xml by defualt and expects the config to map /admin/file to ShowFileRequestHandler ... this isn't backwards compatible for Solr 1.2 users.

      we should put some extra logic in SolrCore.init to automaticly register an instance of ShowFileRequestHandler if there is a <gettableFiles> section in solrconfig.xml and no instnces of ShowFileRequestHandler are already registered (with a warning logged about <gettableFiles> being deprecated)

      http://www.nabble.com/Get-Config---Schema%2C-1.3-dev-Broken--to15360280.html#a15360280

      Attachments

        1. SOLR-493-OldAdminFile.patch
          10 kB
          Ryan McKinley
        2. SOLR-493-OldAdminFile.patch
          5 kB
          Ryan McKinley

        Issue Links

          Activity

            People

              ryantxu Ryan McKinley
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: