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/25 12:44:13 UTC
[jira] [Resolved] (SOLR-6751) Analysis errors in
DirectUpdateHandler2 throw ServerError exceptions
[ https://issues.apache.org/jira/browse/SOLR-6751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Woodward resolved SOLR-6751.
---------------------------------
Resolution: Fixed
Fix Version/s: 5.0
> 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
> Fix For: 5.0
>
> 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