Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 39A04D14D for ; Tue, 18 Sep 2012 15:17:37 +0000 (UTC) Received: (qmail 66199 invoked by uid 500); 18 Sep 2012 15:17:37 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 66167 invoked by uid 500); 18 Sep 2012 15:17:37 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 66159 invoked by uid 99); 18 Sep 2012 15:17:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2012 15:17:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [176.9.111.84] (HELO ssl.backendmedia.com) (176.9.111.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2012 15:17:31 +0000 Received: from localhost (unknown [127.0.0.1]) by ssl.backendmedia.com (Postfix) with ESMTP id 989DB5EFE37A for ; Tue, 18 Sep 2012 15:17:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from ssl.backendmedia.com ([127.0.0.1]) by localhost (hq2.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P_q18Za6JObY for ; Tue, 18 Sep 2012 17:16:48 +0200 (CEST) Received: from [192.168.80.176] (77-58-253-248.dclient.hispeed.ch [77.58.253.248]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by ssl.backendmedia.com (Postfix) with ESMTPSA id 533035EFE373 for ; Tue, 18 Sep 2012 17:16:48 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Subject: Re: On custom index configuration From: Lukas Kahwe Smith In-Reply-To: Date: Tue, 18 Sep 2012 17:16:45 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: oak-dev@jackrabbit.apache.org X-Mailer: Apple Mail (2.1486) X-Virus-Checked: Checked by ClamAV on apache.org On Sep 18, 2012, at 5:14 PM, Jukka Zitting = wrote: > Hi, >=20 > We now have a couple of initial index implementations for Oak and some > ideas on how index configuration could/should work. In order to start > unifying those approaches and to find some common consensus, I'd like > to throw out an idea of how I think index configuration should work in > Oak. Critiques, improvements or competing ideas welcome! >=20 > First of all I think there shouldn't be just one single place in the > repository where all index configuration should go. It would be nice > if users and applications could define custom indexes on areas they > have write access to, and having to grant them access to some shared > location for that might be troublesome. >=20 > Instead I'd allow a custom indexes to be defined by adding something > like an oak:indexed mixin type and an associated oak:indexes child > node to any node in the repository. Each child node of that > oak:indexes node would configure an index for the subtree rooted at > that oak:indexed node. Index configuration would be stored as normal > content, and the index content in a hidden :index subtree or elsewhere > depending on the type of the index. would this also allow to offer something similar to the virtual nodes = based on facettes that HippoCMS currently offers? regards, Lukas Kahwe Smith mls@pooteeweet.org