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 4C8FBDFCD for ; Thu, 12 Jul 2012 07:48:40 +0000 (UTC) Received: (qmail 144 invoked by uid 500); 12 Jul 2012 07:48:40 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 99925 invoked by uid 500); 12 Jul 2012 07:48:38 -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 99895 invoked by uid 99); 12 Jul 2012 07:48:37 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2012 07:48:37 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 2065A141887 for ; Thu, 12 Jul 2012 07:48:37 +0000 (UTC) Date: Thu, 12 Jul 2012 07:48:36 +0000 (UTC) From: "Thomas Mueller (JIRA)" To: oak-dev@jackrabbit.apache.org Message-ID: <567091697.40733.1342079317137.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1591062533.35208.1342014514984.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (OAK-178) Query: index definition documentation and tooling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OAK-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412591#comment-13412591 ] Thomas Mueller commented on OAK-178: ------------------------------------ > and define an Oak namespace Sure! How would I do that? > Query: index definition documentation and tooling > ------------------------------------------------- > > Key: OAK-178 > URL: https://issues.apache.org/jira/browse/OAK-178 > Project: Jackrabbit Oak > Issue Type: Bug > Reporter: Thomas Mueller > Assignee: Thomas Mueller > > Unlike Jackrabbit 2.x, indexes in the Oak query engine are user defined, that means data is only indexed if there is a matching index. Those indexes are then automatically used for the appropriate queries. The current plan is to define indexes as nodes within a repository. An index is created if an index metadata node is created, and the index is removed if the index metadata node is removed. The index content is automatically updated if the content changes (either synchronously or asynchronously). > The location and structure of the index metadata needs to be defined and documented. > Also, to simplify defining and managing indexes, it may make sense to write a utility (helper class) for managing indexes. Internally, this utility uses the regular JCR API and accesses the documented index metadata nodes. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira