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

Improve messages when parsing schema.xml

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

Details

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

    Description

      Improve exception messages in parsing schema.xml and catch common user mistakes.

      For example:

      1. If type is incorrect or omitted, the resulting exception message does not show the field name
      2. Forgetting to add multiValued="true" on a copyField destination is a common mistake. If a field is a destination for multiple copyFields, then this goes unnoticed until addition of documents fails with exception.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hossman Chris M. Hostetter
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment