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

Given but undefined default search field in schema.xml causes cryptic error message

    XMLWordPrintableJSON

Details

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

    Description

      When a default search field is given in schema.xml but the field itself is not defined, a generic SolrException with the message "Schema parsing failed" is thrown. Only further down in the stacktrace the message "unknown field 'foobar'" appears (and does not indicate where the unknown field is referenced).

      Attachments

        1. solr-default-search.patch
          1.0 kB
          Lars Kotthoff

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              larsko Lars Kotthoff
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: