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

Improve messages when parsing schema.xml

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      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

              • Assignee:
                hossman Hoss Man
                Reporter:
                shalinmangar Shalin Shekhar Mangar
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: