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

Improve messages when parsing schema.xml

    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

        1. SOLR-530.patch
          2 kB
          Shalin Shekhar Mangar

        Issue Links

          Activity

            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: