Solr
  1. Solr
  2. SOLR-5257

confusing warning logged when unexpected xml attributes are found

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7, Trunk
    • Component/s: None
    • Labels:
      None

      Description

      Brian Robinson on the solr-user list got really confused by this warning message...

      Unknown attribute id in add:allowDups

      ...the mention of "id" in that warning was a big red herring that led him to assume something was wrong with the "id" in his documents, because it's not at all clear that's refering to the "xml node id" of an unexpected "xml attribute" (which in this case is "allowDups")

      filing this issue so i remembe to fix this warning to be more helpful, and review the rest of the file while i'm at it for other confusing warnings.

      1. SOLR-5257.patch
        1 kB
        Vitaliy Zhovtyuk
      2. SOLR-5257.patch
        4 kB
        Hoss Man

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Hoss Man
            Reporter:
            Hoss Man
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development