Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 35302 invoked from network); 2 Jun 2010 17:22:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jun 2010 17:22:03 -0000 Received: (qmail 36742 invoked by uid 500); 2 Jun 2010 17:22:02 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 36676 invoked by uid 500); 2 Jun 2010 17:22:02 -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 36631 invoked by uid 99); 2 Jun 2010 17:22:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 17:22:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 17:22:00 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o52HLcqv011749 for ; Wed, 2 Jun 2010 17:21:38 GMT Message-ID: <13766548.137071275499298439.JavaMail.jira@thor> Date: Wed, 2 Jun 2010 13:21:38 -0400 (EDT) From: "Hoss Man (JIRA)" To: dev@lucene.apache.org Subject: [jira] Resolved: (SOLR-1915) DebugComponent should use NamedList to output Explanations instead of Explanation.toString() In-Reply-To: <22718513.58221273881486566.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoss Man resolved SOLR-1915. ---------------------------- Resolution: Fixed yeah ... "debug.explain.structured" is along the lines of what i had in mind. Committed revision 950667. > DebugComponent should use NamedList to output Explanations instead of Explanation.toString() > -------------------------------------------------------------------------------------------- > > Key: SOLR-1915 > URL: https://issues.apache.org/jira/browse/SOLR-1915 > Project: Solr > Issue Type: Improvement > Components: SearchComponents - other > Reporter: Hoss Man > Assignee: Hoss Man > Priority: Minor > Fix For: 4.0 > > Attachments: SOLR-1915.patch > > > DebugComponent currently uses Explanation.toString() to "format" score explanations for each document as plain text with whitespace indenting to denote the hierarchical relationship, and then adds those explanations to the SolrQueryResponse. > Instead DebugComponent should transform the Explanation objects into NamedLists so that the full structure can be formatted in a logical way by the ResponseWriter -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org