You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/11/25 12:43:12 UTC

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

    [ https://issues.apache.org/jira/browse/SOLR-6751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14224426#comment-14224426 ] 

ASF subversion and git services commented on SOLR-6751:
-------------------------------------------------------

Commit 1641586 from [~romseygeek] in branch 'dev/trunk'
[ https://svn.apache.org/r1641586 ]

SOLR-6751: Analysis errors should return BAD_REQUEST, not SERVER_ERROR

> 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
>         Attachments: SOLR-6751.patch
>
>
> 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