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

Analysis errors in DirectUpdateHandler2 throw ServerError exceptions

    Details

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

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

              Dates

              • Created:
                Updated:
                Resolved: