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

Indexing into enumField with unknown value provides error with value but not which field

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

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.4.1
    • 7.1, 8.0
    • clients - java
    • None

    Description

      I am indexing 20M documents and using several dozen enumFields. Occasionally I'll hit the error

      Solr add exception: Error from server at http://sr208:8983/solr/demog_dlx-160413_shard15_replica2: Unknown value for enum field: A
      

      With no indication of which field this is part of it is very difficult to easily fix the problem. This error message should indicate both field and offending value.

      Attachments

        Activity

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

          People

            ichattopadhyaya Ishan Chattopadhyaya
            lannyripple Lanny Ripple
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment