Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6011E001 for ; Fri, 1 Mar 2013 15:28:17 +0000 (UTC) Received: (qmail 86921 invoked by uid 500); 1 Mar 2013 15:28:15 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 86885 invoked by uid 500); 1 Mar 2013 15:28:15 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 86877 invoked by uid 99); 1 Mar 2013 15:28:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Mar 2013 15:28:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of msokolov@safaribooksonline.com designates 209.85.216.48 as permitted sender) Received: from [209.85.216.48] (HELO mail-qa0-f48.google.com) (209.85.216.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Mar 2013 15:28:08 +0000 Received: by mail-qa0-f48.google.com with SMTP id j8so2223313qah.7 for ; Fri, 01 Mar 2013 07:27:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=safaribooksonline.com; s=google; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=J7h/ja2O/Vhag+nvHqOZjko+4xyvOwmAQcqwuzeMQgw=; b=gf2TvCcH9KSkQsgYTvK+L1XM6SgmHgf/EMVVZHuA2D9+PIvjwP6IXmeaLAIN0/JmTC RHHY0wSnBP2lLo39Fbapc1soM9oPAe8XmamnyRzCpcVWaHWExxLaKYo0g/uhAhVaAIZj 0rNwas0MXuiJv1gDACWudXknvAqydkxasue9s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=J7h/ja2O/Vhag+nvHqOZjko+4xyvOwmAQcqwuzeMQgw=; b=IHIwKSV0tcj97RTe71nI48tzu7qROP1GPZKC7aadZu7dUKsAMGos4yVmN4Ds590sIw aFkTntrV+7lQwhkq20MBK5fPGwFPn9XR2gCSYjXOZ+AL6nmSr9Dwj2IaDqJ/V+vhMMpP VGotwDYz0GqUWkmqeIrZjXkEnV0eAHXkRSwr6bPfkSq6eWScz4JIXHLspq0Tvle/X4zu WfKYbXQS3zpss2n/lAGFVmbvPWVgy0ZabyiR82nadb86XbspAH16EJhmfzY46A3Plvs+ u7ixc33NaX/80tn3Cj4NJDrJ72WURSGuflLrq/nrUsTSsz08Fks6kUKcopSM3SKr4Xc8 Vj0w== X-Received: by 10.224.200.131 with SMTP id ew3mr20406772qab.29.1362151667270; Fri, 01 Mar 2013 07:27:47 -0800 (PST) Received: from aix.ifactory.com ([65.223.181.157]) by mx.google.com with ESMTPS id 8sm19861069qed.6.2013.03.01.07.27.45 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Mar 2013 07:27:46 -0800 (PST) Message-ID: <5130C8F0.9080403@safaribooksonline.com> Date: Fri, 01 Mar 2013 10:27:44 -0500 From: Michael Sokolov User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: java-user@lucene.apache.org CC: Uwe Schindler Subject: Re: TopDocCollector vs TopScoreDocCollector (semantics changed in 4.0, not backward comptabile) References: <001101cdf9c2$81b8dc80$852a9580$@thetaphi.de> <1359011456523-4035870.post@n3.nabble.com> <1359067051103-4036093.post@n3.nabble.com> <1362001158940-4043488.post@n3.nabble.com> <005301ce1536$29a109c0$7ce31d40$@thetaphi.de> <1362005457192-4043497.post@n3.nabble.com> <000001ce153e$061506c0$123f1440$@thetaphi.de> <1362075934566-4043719.post@n3.nabble.com> <00f201ce15e2$2e34fda0$8a9ef8e0$@thetaphi.de> <1362088497045-4043788.post@n3.nabble.com> <014601ce15ff$b2d3c5b0$187b5110$@thetaphi.de> <5130A1EE.1060209@safaribooksonline.com> <003201ce167c$378f0a40$a6ad1ec0$@thetaphi.de> In-Reply-To: <003201ce167c$378f0a40$a6ad1ec0$@thetaphi.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnHLDvAmX1L1YKer/YJdUGyKavyNxqc2Ti1NBXzSsK2RGZ/TArYnSr6qQ+dm4j3FDNcWIbq X-Virus-Checked: Checked by ClamAV on apache.org On 03/01/2013 07:56 AM, Uwe Schindler wrote: > The slowdown happens not on making the doc ids absolute (it is just an addition), the slowdown appears when you retrieve the stored fields on the top-level reader (because the composite top-level reader has to do a binary search in the reader tree to find the correct reader). This answer was related to the code pasted by the user asking this question. Thanks - that's added a new nugget to my understanding :) -Mike --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org