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

Analysis errors in DirectUpdateHandler2 throw ServerError exceptions

    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

        1. SOLR-6751.patch
          0.8 kB
          Alan Woodward

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: