Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E5FE0F3F2 for ; Tue, 16 Apr 2013 22:43:18 +0000 (UTC) Received: (qmail 12064 invoked by uid 500); 16 Apr 2013 22:43:16 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 11972 invoked by uid 500); 16 Apr 2013 22:43:16 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 11875 invoked by uid 99); 16 Apr 2013 22:43:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2013 22:43:16 +0000 Date: Tue, 16 Apr 2013 22:43:16 +0000 (UTC) From: "Hoss Man (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SOLR-4487) SolrException usage in solrj client code can't handle all possible http error codes returned by servers -- example "413 Request Entity Too Large" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-4487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoss Man updated SOLR-4487: --------------------------- Fix Version/s: 4.3 > SolrException usage in solrj client code can't handle all possible http error codes returned by servers -- example "413 Request Entity Too Large" > ------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: SOLR-4487 > URL: https://issues.apache.org/jira/browse/SOLR-4487 > Project: Solr > Issue Type: Improvement > Components: clients - java > Affects Versions: 4.0 > Reporter: Alexander Dietrich > Assignee: Hoss Man > Fix For: 4.3 > > Attachments: SOLR-4487.patch > > > Solr responds to excessively large queries with a 413 status code, but HttpSolrServer.request() loses this information when it tries to look up the code in SolrException.ErrorCode, resulting in a status code 0 in the thrown exception. > Being able to see this status code would be helpful. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org