Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 25846 invoked from network); 19 Mar 2010 21:21:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Mar 2010 21:21:56 -0000 Received: (qmail 25994 invoked by uid 500); 19 Mar 2010 21:21:56 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 25956 invoked by uid 500); 19 Mar 2010 21:21:56 -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 25947 invoked by uid 99); 19 Mar 2010 21:21:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 21:21:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rodrigo.meza.forms@gmail.com designates 74.125.92.27 as permitted sender) Received: from [74.125.92.27] (HELO qw-out-2122.google.com) (74.125.92.27) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 21:21:48 +0000 Received: by qw-out-2122.google.com with SMTP id 5so482560qwi.13 for ; Fri, 19 Mar 2010 14:21:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=M2upWVxXfyI3CUy8RaQWQn3skXa5khiGjNvlDFRAZq0=; b=ex7mBK7LRvWpqIZQBlsskP5i7/VTNb8x9y9S6lX4s/lQgpmGz18snvJGQgMUCngv9N noPprEXmA2ebYzGE0A7lhYM/gMsvhMomMn2ulzDGRMGwr7fe3og7ZVV8PWfm7PdMiU4m G42s7x2xEsCKt1w/R0k3ysGWvB0lLZcyOrFVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=BKHa4i165CinVSQ/QDIwlAuM5bSaV2oLOMBjcfLi7UHOwNVQtkrA3q/vxChUO0+WBU T8xsgabcxYvQJ4BwCWlujWiY+TQvbO6Ig0VWBOG28oJd10IbqADqkVqRCTKN8PzcZdu6 9RAqoXOVqFYE/1PjeMHidMjPqIqRJZiIEhg/E= MIME-Version: 1.0 Received: by 10.229.11.220 with SMTP id u28mr924063qcu.64.1269033687885; Fri, 19 Mar 2010 14:21:27 -0700 (PDT) Date: Fri, 19 Mar 2010 18:21:27 -0300 Message-ID: Subject: searching in all the properties of a node From: Rodrigo Meza To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hello, Using the Xpath querying syntax, I used to search in all of the properties of node of type my:nodetype the text 'a search string' in this way: queryManager.createQuery("//element(*,my:nodetype")[jcr:contains(., 'a search string')]", Query.XPATH); Is there an equivalent way to search in all the properties of a set of nodes with a common nodetype using JCR-SQL2? I've tried replacing the column name with a dot (as in the XPATH syntax) or with a * (as is suggested by looking at the examples from Jackrabbit's test cases), but none of them work well (I get a javax.jcr.query.InvalidQueryException). thanks, Rodrigo.