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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      None
    • Environment:

      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

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              hossman Chris M. Hostetter
              Reporter:
              larsko Lars Kotthoff

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment