Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 64465 invoked from network); 28 Oct 2009 15:46:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Oct 2009 15:46:47 -0000 Received: (qmail 62116 invoked by uid 500); 28 Oct 2009 15:46:46 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 62048 invoked by uid 500); 28 Oct 2009 15:46:46 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 62037 invoked by uid 99); 28 Oct 2009 15:46:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 15:46:46 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aklimets@day.com designates 207.126.148.89 as permitted sender) Received: from [207.126.148.89] (HELO eu3sys201aog103.obsmtp.com) (207.126.148.89) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 28 Oct 2009 15:46:41 +0000 Received: from source ([209.85.222.195]) by eu3sys201aob103.postini.com ([207.126.154.11]) with SMTP ID DSNKSuhnSgLypc4A6zl4HdiuRSLDflgr6/TK@postini.com; Wed, 28 Oct 2009 15:46:21 UTC Received: by pzk33 with SMTP id 33so667421pzk.2 for ; Wed, 28 Oct 2009 08:46:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.125.15 with SMTP id x15mr37737rvc.0.1256744777354; Wed, 28 Oct 2009 08:46:17 -0700 (PDT) In-Reply-To: <26096805.post@talk.nabble.com> References: <26096805.post@talk.nabble.com> Date: Wed, 28 Oct 2009 16:46:17 +0100 Message-ID: Subject: Re: Relationship between IndexConfiguration and XPATH Search Queries From: Alexander Klimetschek To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Oct 28, 2009 at 16:33, pkrishna wro= te: > I am trying to determine the relationship between using indexConfiguratio= n > file (to support custom indexing) and trying to retrieve items using XPAT= H > that uses attributes that is not defined in the indexConfiguration file. > > Our thinking =A0is, XPATH queries should only contain attributes that are > being indexed? Only then will search return results. =A0Is our thinking > correct? No, by default all properties are indexed. The indexing configuration is only there to define aggregates and other things for special nodetypes. Because JCR is all about unstructured data (nt:unstructured or residual property/child node definitions), the indexing does not need to be instructed about what to be indexed. Regards, Alex --=20 Alexander Klimetschek alexander.klimetschek@day.com