Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@locus.apache.org Received: (qmail 77518 invoked from network); 2 Jun 2008 04:25:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jun 2008 04:25:15 -0000 Received: (qmail 25515 invoked by uid 500); 2 Jun 2008 04:25:17 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 25486 invoked by uid 500); 2 Jun 2008 04:25:17 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 25475 invoked by uid 99); 2 Jun 2008 04:25:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jun 2008 21:25:17 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of noble.paul@gmail.com designates 72.14.220.159 as permitted sender) Received: from [72.14.220.159] (HELO fg-out-1718.google.com) (72.14.220.159) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 04:24:28 +0000 Received: by fg-out-1718.google.com with SMTP id l27so796738fgb.27 for ; Sun, 01 Jun 2008 21:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=8wg6rxMESH+TlnF95ROGCOljuDBEihdfx/wGzXwsBIs=; b=Iwb1DgXoNjRsGX8FwNQM1Q4uHYPELYMnvrDUT8orL0EaRVKDW8L27Wil5dzsABXef/CpzPFaWVRwxQL3jClU3dtQGnWkRue80swKOtCzLIeLiLXjH8oPE9poSz0sjXAWeqR+d3d+y4LIJ8muwCafMeqEWaQIKS/7QgcbDh81hqQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rvHgidTmgUchITj8NzLZIygWX8i+xKILeqrerGjw/OEs6UE2zdXbsmTDkYfn7ZHz5VkRWvjUOH0wsgtDvhSp/5NZ3GWLBn17aTyFsfw9ptcQC+qX5bqQX3kGFVGqg6Uu5SI2vpzPXa0xJJsKfvgJOtH5xhEQaadTBCuFdDAFYEk= Received: by 10.82.111.1 with SMTP id j1mr802084buc.15.1212380683438; Sun, 01 Jun 2008 21:24:43 -0700 (PDT) Received: by 10.82.156.6 with HTTP; Sun, 1 Jun 2008 21:24:43 -0700 (PDT) Message-ID: <5e76b0ad0806012124m2cebc5a8seedbfc60ee8c5cba@mail.gmail.com> Date: Mon, 2 Jun 2008 09:54:43 +0530 From: "=?UTF-8?B?Tm9ibGUgUGF1bCDgtKg=?= =?UTF-8?B?4LWL4LSs4LS/4LSz4LWN4oCNIOCkqOCli+CkrOCljeCks+CljQ==?=" To: solr-dev@lucene.apache.org Subject: Re: [Solr Wiki] Update of "Solr1.3" by HossMan In-Reply-To: <20080601195051.22142.38843@eos.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080601195051.22142.38843@eos.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Let us remove BinaryResponseWriter from the list. The reason why it is has very-low coverage is because # There are two methods implemented by the class which are there in the interface but not used and the total lines itself is too small # One instanceof added for completeness 88 0 if (o instanceof Document) { 89 0 return getDoc((Document) o); 90 } 91 92 0 return o; # The only lines which I am not sure are the following. I think the check may be redundant 131 3320 FieldType ft = schema.getFieldTypeNoEx(fieldName); 132 3320 Object val; 133 3320 if (ft==null) { // handle fields not in the schema 134 0 if (f.isBinary()) val = f.binaryValue(); 135 0 else val = f.stringValue(); 136 } else { 137 3320 val = useFieldObjects ? ft.toObject(f) : ft.toExternal(f); 138 } everything else is fine --Noble On Mon, Jun 2, 2008 at 1:20 AM, Apache Wiki wrote: > Dear Wiki user, > > You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification. > > The following page has been changed by HossMan: > http://wiki.apache.org/solr/Solr1%2e3 > > ------------------------------------------------------------------------------ > == TODO: Misc == > > * resolve multicore logging prefix. I think otis suggested moving to the end for consistent log file parsers {{{ core.log.info(core.getLogId()+ ... }}} > - * code coverage reports are generally low, but some of the new classes in 1.3 that have frighteningly low coverage -- in many cases these seem like pretty important classes and/or high profile plugins. numbers below as of May 26... > + * [http://hudson.zones.apache.org/hudson/job/Solr-trunk/clover/ code coverage reports] are generally low, but some of the new classes in 1.3 that have frighteningly low coverage -- in many cases these seem like pretty important classes and/or high profile plugins. numbers below as of May 26... > * BinaryResponseWriter (66.7%) > * BoostedQuery (53.8%) > * BoostedQuery.CustomScorer (50%) > -- --Noble Paul