Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 79717 invoked from network); 9 Oct 2009 07:59:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Oct 2009 07:59:14 -0000 Received: (qmail 3969 invoked by uid 500); 9 Oct 2009 07:59:13 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 3948 invoked by uid 500); 9 Oct 2009 07:59:13 -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 3937 invoked by uid 99); 9 Oct 2009 07:59:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 07:59:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mreutegg@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; Fri, 09 Oct 2009 07:59:02 +0000 Received: from source ([209.85.218.214]) by eu3sys201aob101.postini.com ([207.126.154.11]) with SMTP ID DSNKSs7tMlQnZGCWi8UPasiXZSCQhUneqU2f@postini.com; Fri, 09 Oct 2009 07:58:42 UTC Received: by bwz10 with SMTP id 10so6270327bwz.33 for ; Fri, 09 Oct 2009 00:58:42 -0700 (PDT) MIME-Version: 1.0 Sender: mreutegg@day.com Received: by 10.204.8.65 with SMTP id g1mr1916203bkg.153.1255075121909; Fri, 09 Oct 2009 00:58:41 -0700 (PDT) In-Reply-To: <18C6DB9BC70E4ABFA70DCA08892DF06F@Dell2> References: <97B2AFAD08A448E1A3457EB15C6502FB@Dell2> <18C6DB9BC70E4ABFA70DCA08892DF06F@Dell2> Date: Fri, 9 Oct 2009 09:58:41 +0200 X-Google-Sender-Auth: 1f84d5d8f1e9721a Message-ID: Subject: Re: Query mixin and nt:resource nodes From: Marcel Reutegger To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, On Thu, Oct 1, 2009 at 15:08, Michael Shoener wrote: > Should I be adding the mixin to the parent nt:file node? if you need to do fulltext searches only on the file content (excluding the description) this is a good option. > If so, then what > node type do I search on in my query? you search for nt:file. > I have a custom mixin defined called "hfs:fileInfo". Is has several > properties (description, entered, modified). btw, what's the use of entered and modified? aren't those already covered with the predefined properties jcr:created (on nt:file) and jcr:lastModified (on nt:resource) ? > What would the query look like to search on both the binary file data and my > custom mixin properties? see examples in my previous post. regards marcel