Alan Woodward created SOLR-6751:
-----------------------------------

             Summary: Analysis errors in DirectUpdateHandler2 throw ServerError 
exceptions
                 Key: SOLR-6751
                 URL: https://issues.apache.org/jira/browse/SOLR-6751
             Project: Solr
          Issue Type: Bug
            Reporter: Alan Woodward
            Assignee: Alan Woodward
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to