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

Analysis errors in DirectUpdateHandler2 throw ServerError exceptions

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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.0
    • None
    • None

    Description

      If you try and add a document with a docvalues field over 32k in length, lucene will throw an IllegalArgumentException. DirectUpdateHandler2.addDoc() catches this, but then re-throws as a SolrException with a 500 error code, so any clients trying to distinguish between bad data errors and server status errors will do the wrong thing.

      Attachments

        Activity

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

          People

            romseygeek Alan Woodward
            romseygeek Alan Woodward
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment