Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A71C5688F for ; Mon, 13 Jun 2011 20:35:35 +0000 (UTC) Received: (qmail 87097 invoked by uid 500); 13 Jun 2011 20:35:35 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 87069 invoked by uid 500); 13 Jun 2011 20:35:35 -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 87061 invoked by uid 99); 13 Jun 2011 20:35:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 20:35:35 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.227.17.10] (HELO moutng.kundenserver.de) (212.227.17.10) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 20:35:26 +0000 Received: from localhost (server.hicxsolutions.com [208.78.101.87]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0Lrlu6-1PXDWz3u4k-013glr; Mon, 13 Jun 2011 22:35:05 +0200 Date: Mon, 13 Jun 2011 23:34:59 +0300 (EEST) From: Hassan To: users@jackrabbit.apache.org Subject: multi-selector OR constraints in join queries does not work when free text contraints are used Message-ID: <131b8bb3-2df8-401c-9192-9f6960354fb8@hassan-HP-Pavilion-dv6-Notebook-PC> In-Reply-To: <0d0373cd-605b-4934-aa96-9a2dbcf60de0@hassan-HP-Pavilion-dv6-Notebook-PC> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Provags-ID: V02:K0:1/zbkFVPcYaok8P+0h1jf4Fn3ftqRmChnk9bUB2Hbzw D9IG4io3DszM6fEw15N+6QWVPiAGcz+ynZuEPAa7yh3gFl1U/i QgCg0as9kc9qMXLf7Fg+8W9w1lMHgDR7bCR74384sr8eBmur2A RcOaO6wZFLBRQkd6God4J9iPvWWEH8q1kyvMz5GaEj+gRt4TGH 5nlcu0D14YDvkS48orlk6YO0MP0lDuMxgHdq2AcI+s= X-Virus-Checked: Checked by ClamAV on apache.org Hi, Although 2.2.7 fixes the "Unsupported" exception when using multi-selector OR constraints, it seems to return wrong results when using free text search constraints for both selectors. The query seems to return ALL nodes. Example Query: elect c.* from [internal:content] as c inner JOIN [nt:resource] as b ON isdescendantnode(b,c) where ( CONTAINS(b.*, 'message*') or CONTAINS(c.*, 'message*') ) Note: the query above used to give an "Unsupported" exception in 2.2.5 Is this a bug or am I just doing something wrong? Thanks, Hassan