You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2014/11/17 18:13:34 UTC

[jira] [Created] (SOLR-6751) Analysis errors in DirectUpdateHandler2 throw ServerError exceptions

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org