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 5B982DFB1 for ; Thu, 5 Jul 2012 10:19:44 +0000 (UTC) Received: (qmail 2795 invoked by uid 500); 5 Jul 2012 10:19:44 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 2760 invoked by uid 500); 5 Jul 2012 10:19:44 -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 2746 invoked by uid 99); 5 Jul 2012 10:19:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2012 10:19:43 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mueller@adobe.com designates 64.18.1.189 as permitted sender) Received: from [64.18.1.189] (HELO exprod6og105.obsmtp.com) (64.18.1.189) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2012 10:19:34 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob105.postini.com ([64.18.5.12]) with SMTP ID DSNKT/VqIBqSCVxsmxhNLENH/02vXXmVeYWZ@postini.com; Thu, 05 Jul 2012 03:19:13 PDT Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q65AGoJ0025111 for ; Thu, 5 Jul 2012 03:16:50 -0700 (PDT) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q65AJBvm028554 for ; Thu, 5 Jul 2012 03:19:11 -0700 (PDT) Received: from eurcas01.eur.adobe.com (10.128.4.27) by nacas01.corp.adobe.com (10.8.189.99) with Microsoft SMTP Server (TLS) id 8.3.192.1; Thu, 5 Jul 2012 03:19:22 -0700 Received: from eurmbx01.eur.adobe.com ([10.128.4.32]) by eurcas01.eur.adobe.com ([10.128.4.27]) with mapi; Thu, 5 Jul 2012 11:19:20 +0100 From: Thomas Mueller To: "oak-dev@jackrabbit.apache.org" Date: Thu, 5 Jul 2012 11:19:07 +0100 Subject: Re: Notes from the Oakathon Thread-Topic: Notes from the Oakathon Thread-Index: Ac1al6QiFbXnEVnSRJWGqq++86tNJA== Message-ID: In-Reply-To: <259357F8-EB04-4889-A3D1-FDCBF241DA06@adobe.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.2.120421 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi, I agree with Felix. I don't currently see a need for Sling to "bypass" the JCR API. If that would be needed, there is something wrong with the JCR API or the JCR implementation. About indexing: > Another potential Sling extension would be a custom Oak index provider > for optimizing the kinds of queries Sling uses. I'm not sure what you mean here. I don't see Sling having it's own index *mechanism*. Probably Sling will need specific indexes, but that's just configuration, and not implementation (code). Sling should create the indexes it needs just like any user application. I think indexes should be configured within the repository (as nodes), so that the regular JCR API could be used. To simplify the index configuration, we might create a "index config tool / library" (with it's own API), but this tool should just use the JCR API internally, no shortcut directly into Oak (for multiple reasons, for example so we don't need a separate remoting for it). Such a tool could be used by any kind of application, it's just helper classes to create / manipulate nodes within a repository; it would use the regular JCR API. Regards, Thomas