Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 61534 invoked from network); 21 Feb 2007 19:46:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2007 19:46:44 -0000 Received: (qmail 83461 invoked by uid 500); 21 Feb 2007 19:46:38 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 83382 invoked by uid 500); 21 Feb 2007 19:46:37 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 83344 invoked by uid 99); 21 Feb 2007 19:46:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Feb 2007 11:46:37 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Feb 2007 11:46:28 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id ABA04714286 for ; Wed, 21 Feb 2007 11:46:08 -0800 (PST) Message-ID: <15496428.1172087168700.JavaMail.jira@brutus> Date: Wed, 21 Feb 2007 11:46:08 -0800 (PST) From: "Karl Wettin (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-769) [PATCH] Performance improvement for some cases of sorted search In-Reply-To: <15655680.1168381647531.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-769?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wettin updated LUCENE-769: ------------------------------- Attachment: (was: selfContained.patch) > [PATCH] Performance improvement for some cases of sorted search > --------------------------------------------------------------- > > Key: LUCENE-769 > URL: https://issues.apache.org/jira/browse/LUCENE-769 > Project: Lucene - Java > Issue Type: Improvement > Affects Versions: 2.0.0 > Reporter: Artem Vasiliev > Attachments: selfContained.patch > > > The attachment =E2=84=965 from 31 Jan is the last and the whole patch for= this issue. Guys with permissions, please remove all the others. > It's a small addition to Lucene that significantly lowers memory consumpt= ion and improves performance for sorted searches with frequent index update= s and relatively big indexes (>1mln docs) scenario. This solution supports = only single-field sorting currently (which seem to be quite popular use cas= e). Multiple fields support can be added without much trouble. > The solution is this: documents from the sorting set (instead of given fi= eld's values from the whole index - current FieldCache approach) are cached= in a WeakHashMap so the cached items are candidates for GC. Their fields = values are then fetched from the cache and compared while sorting. --=20 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: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org