Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 88812 invoked from network); 23 Oct 2009 02:10:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Oct 2009 02:10:02 -0000 Received: (qmail 77818 invoked by uid 500); 23 Oct 2009 02:10:00 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 77727 invoked by uid 500); 23 Oct 2009 02:10:00 -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 77717 invoked by uid 99); 23 Oct 2009 02:10:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 02:10:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of markrmiller@gmail.com designates 209.85.221.203 as permitted sender) Received: from [209.85.221.203] (HELO mail-qy0-f203.google.com) (209.85.221.203) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 02:09:49 +0000 Received: by qyk41 with SMTP id 41so42674qyk.29 for ; Thu, 22 Oct 2009 19:09:28 -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 :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=OGQCx7PRLG5SKreif3hW1IK+EhOUnddjvpWaRl60z4w=; b=HqPUSA/twoRwqpX29M6f5FT6sOgbridW3sOwEVrQdxAXKT8IE5fVs+BSUWTsUXnzUl fqVWN24eTmeMgkn5LLjIkhKdZ5qzb8uui0zhi0ursfmwgy9wBSi/gdJNw6wTc4sFXymD 4+07uuqFotXCHJcsi7A7kIlVTQe0gxbDSxbRc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=f5lpEcGZp0lVwKx2LOrKXvZ+x9vU5ag/Bz/TQKCro8FggIyS6z29xWT5D3234tthk0 5bQ+MVYPUbO4ENPDPoW9e0MwgE9SOTEObJNrkRMOAZurVKDwsdbmcM7omjz2Eppu+QqT pTCqCbAjV10a8d0RSBsXQ9CqBZSF+hUa2V9rE= Received: by 10.224.114.149 with SMTP id e21mr5073971qaq.215.1256263768886; Thu, 22 Oct 2009 19:09:28 -0700 (PDT) Received: from ?192.168.1.108? (ool-44c639d9.dyn.optonline.net [68.198.57.217]) by mx.google.com with ESMTPS id 6sm946858qwk.44.2009.10.22.19.09.27 (version=SSLv3 cipher=RC4-MD5); Thu, 22 Oct 2009 19:09:27 -0700 (PDT) Message-ID: <4AE11057.4080108@gmail.com> Date: Thu, 22 Oct 2009 22:09:27 -0400 From: Mark Miller User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: 2.9 per segment searching/caching References: <3b5f72030910212031p6afac6abr6ac3a813bbc7de30@mail.gmail.com> <4AE04B1E.4060809@gmail.com> <8837fb770910221841n254cacd9rdf126aaab5469869@mail.gmail.com> In-Reply-To: <8837fb770910221841n254cacd9rdf126aaab5469869@mail.gmail.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Yes - in many cases, the other wins outweigh the queue transition cost - in some cases it does not. But we are talking degradation as you add more segments, not pure speed. Degradation is worse now in the sort case. John Wang wrote: > With many other coding that happened in 2.9, e.g. the PQ api etc., sorting > is actually faster than 2.4. > -John > > On Thu, Oct 22, 2009 at 5:07 AM, Mark Miller wrote: > > >> Bill Au wrote: >> >>> Since Lucene 2.9 has per segment searching/caching, does query >>> >> performance >> >>> degrade less than before (2.9) as more segments are added to the index? >>> Bill >>> >>> >>> >> I think non sorting cases are actually faster now over multiple segments >> - though you will still see performance degrade pretty signif. over a >> single segment (I've measured even 5 segments as being 15-20% slower). >> Doesn't really help the degrade, but should be faster at each point. >> >> Sorting is a bit different - you have to convert the p-queue as you go >> from segment to segment - so the more segments (which also generally >> means more larger segments), the more conversion you have to do. This >> didn't appear to be to bad unless you got up to quite a few segments . >> Worse degradation though. >> >> -- >> - Mark >> >> http://www.lucidimagination.com >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-user-help@lucene.apache.org >> >> >> > > -- - Mark http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org