Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 49658 invoked from network); 18 Feb 2010 12:27:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2010 12:27:45 -0000 Received: (qmail 82521 invoked by uid 500); 18 Feb 2010 12:27:44 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 82491 invoked by uid 500); 18 Feb 2010 12:27:44 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 82483 invoked by uid 99); 18 Feb 2010 12:27:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 12:27:44 +0000 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 aklimets@day.com designates 207.126.148.87 as permitted sender) Received: from [207.126.148.87] (HELO eu3sys201aog101.obsmtp.com) (207.126.148.87) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 18 Feb 2010 12:27:36 +0000 Received: from source ([209.85.220.216]) by eu3sys201aob101.postini.com ([207.126.154.11]) with SMTP ID DSNKS30yIkp3Hv1pV65Q+Ux/F/um7sAzNVHu@postini.com; Thu, 18 Feb 2010 12:27:16 UTC Received: by fxm8 with SMTP id 8so8875419fxm.6 for ; Thu, 18 Feb 2010 04:27:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.97.219 with SMTP id m27mr4618013fan.16.1266496034637; Thu, 18 Feb 2010 04:27:14 -0800 (PST) In-Reply-To: <697f8381002180137h62b40eb9rf835a48651b94ac5@mail.gmail.com> References: <697f8381002170748kdfbe59q4b5fd8ad0b7ba239@mail.gmail.com> <91f3b2651002170815m53e4c162ubf608121d2860eb2@mail.gmail.com> <697f8381002180135v2771042bkbfebe37417f69884@mail.gmail.com> <697f8381002180137h62b40eb9rf835a48651b94ac5@mail.gmail.com> Date: Thu, 18 Feb 2010 13:27:14 +0100 Message-ID: Subject: Re: [jr3] Restructure Lucene indexing & make use of Lucene 2.9 features From: Alexander Klimetschek To: dev@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Thu, Feb 18, 2010 at 10:37, Ard Schrijvers wrote: > Addon: So my improvement would be to suggest to index every unique jcr > fieldname in a unique lucene field, and do not prefix values as > currently is being done. This makes lots of the lucene classes and > queries in jr easier or redundant +1 And as Felix noted, this is "just" an internal improvement to the Lucene search index and can be done quite early in 2.x. The only question is the migration of indexes. This could be done by still supporting old-style indexes (for 2.x releases), but when a new index is created, the newer variant is chosen. Existing repositories that upgrade could then chose, ie. delete and re-index to get the new structure. If this makes the implementation too difficult, we could simply offer a different SearchIndex implementation, so one can chose via the configuration. Regards, Alex -- Alexander Klimetschek alexander.klimetschek@day.com