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 E5140E913 for ; Thu, 13 Dec 2012 15:38:15 +0000 (UTC) Received: (qmail 19082 invoked by uid 500); 13 Dec 2012 15:38:14 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 18867 invoked by uid 500); 13 Dec 2012 15:38:13 -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 18797 invoked by uid 99); 13 Dec 2012 15:38:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 15:38:12 +0000 Date: Thu, 13 Dec 2012 15:38:12 +0000 (UTC) From: =?utf-8?Q?Tom=C3=A1s_Fern=C3=A1ndez_L=C3=B6bbe_=28JIRA=29?= To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SOLR-4175) SearchComponent chain can't contain two components of the same class and use debugQuery MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-4175?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Tom=C3=A1s Fern=C3=A1ndez L=C3=B6bbe updated SOLR-4175: ---------------------------------------- Attachment: SOLR-4175.patch I'm attaching a possible fix. The SearchComponent class now uses the name d= efined in the solrconfig.xml (or the default component name for the default= ones). This will change the debugQuery output, the "timing section" will use those= names instead of the class names, like: {code:xml} 2.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ... {code} It will also change the MBean names. thoughts? =20 > SearchComponent chain can't contain two components of the same class and = use debugQuery > -------------------------------------------------------------------------= -------------- > > Key: SOLR-4175 > URL: https://issues.apache.org/jira/browse/SOLR-4175 > Project: Solr > Issue Type: Bug > Affects Versions: 4.0 > Reporter: Tom=C3=A1s Fern=C3=A1ndez L=C3=B6bbe > Priority: Minor > Attachments: failure.patch, SOLR-4175.patch > > > steps to reproduce the issue: > 1) Add two components of the same type to the components chain of the req= uest handler > 2) start solr with assertions enabled > 3) run a query to the request handler configured in 1 with debugQuery=3Dt= rue > The query will throw a java.lang.AssertionError. I'll attach a test case = to reproduce the issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs 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