Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4F928200B76 for ; Tue, 30 Aug 2016 14:58:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4DFDF160ABA; Tue, 30 Aug 2016 12:58:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 92908160AA8 for ; Tue, 30 Aug 2016 14:58:58 +0200 (CEST) Received: (qmail 22140 invoked by uid 500); 30 Aug 2016 12:58:57 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 22127 invoked by uid 99); 30 Aug 2016 12:58:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2016 12:58:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0E1E0186497 for ; Tue, 30 Aug 2016 12:58:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=nuxeo-com.20150623.gappssmtp.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ei3YduO2aznX for ; Tue, 30 Aug 2016 12:58:54 +0000 (UTC) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 0C61E5FC21 for ; Tue, 30 Aug 2016 12:58:54 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id g62so13004576lfe.3 for ; Tue, 30 Aug 2016 05:58:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuxeo-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Zmos4ruq0b1MG44W9e3+vtjaajvYvKG59/R98bffpLo=; b=TEZTDhQRw5mQ90nKYvZ/a4tLvxHRtuIpONsEQL8eJ5QfDvs98dwhw4P5j2jIHYz7e6 k+g2KwPjkCjufdU6qQetf3rEkQnGa/j/zPlbxYyGdwdt3M5g+OGkRUkcdCVTR9hxdGo7 Wc96Bi/BZo1lMsiFNUyUNCBzBWMUKbQ7r2U3s3Y4nrhhZ9y1lkAx8xH1gv9ZvZEy9VVM fMZrF57ppDKn1GXDeTTceFTNyKvHDsqfjwi2bXiAq+Dk3uV74lgY3i5gjbBro6izjSvA xC1JhPKTIr7FjuDFXPNs26H1h6AsILqrSmkvszFArS4WbknzKP0F78SWzw42hQXgT/l9 Gt3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Zmos4ruq0b1MG44W9e3+vtjaajvYvKG59/R98bffpLo=; b=PCUswiuRNQU8JlmyQIOXzAx8MZkAtcJXQiAbqwJaSOCRmsWxM/Y6qpGRg+hHRItnAn gC8i4y8O6EeluYkh78rHGxEEy+AKfJ15DREbKT6iY4E2+kLpTFwNCHJXgmUHbeeky2a8 BScHgxzeJme9odG7zvEaFcHHa7PEjUd7BHmZOQHMvXy57r1z3nV6Rq9PZX9hkqdZ9ibb twGPcAUfV+N1XKc7fxwvhNnoGSnzqV01MR4rn5evwzUCFYz/GrHqcSSDANQs/0vFEj/w n19vfudlblIaBX/z7cTRtemukdQCW0bBMq0jT+4NY5SfYTRviJt3BPiAVzzl174/h8iD zmWA== X-Gm-Message-State: AE9vXwMc5bOgKkmbuR362Zc66UZwDNuk/EfzoAYmqEgXWULPLGpCSYkL4sQHt65MZkVoh8y53jV+fkR+cXiPzQ== X-Received: by 10.25.134.67 with SMTP id i64mr890662lfd.144.1472561932395; Tue, 30 Aug 2016 05:58:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.172.48 with HTTP; Tue, 30 Aug 2016 05:58:31 -0700 (PDT) In-Reply-To: References: From: Florent Guillaume Date: Tue, 30 Aug 2016 14:58:31 +0200 Message-ID: Subject: Re: Query - IN/ANY Predicate To: dev@chemistry.apache.org Content-Type: multipart/alternative; boundary=001a113faa58e3fa78053b498a17 archived-at: Tue, 30 Aug 2016 12:58:59 -0000 --001a113faa58e3fa78053b498a17 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Please check the spec, =C2=A72.1.14.2.1 (BNF Grammar) for the allowed synta= x: [ NOT ] IN "(" ")" "=3D" ANY ANY [ NOT ] IN "(" ") Also read =C2=A72.1.14.2.4.3 (Multi-valued column references) for explanati= ons. Florent On Tue, Aug 30, 2016 at 8:10 AM, Sascha Homeier wrote: > > Hi together, > > I am unsure about what is the proper behaviour for queries on multi-value= d > properties. > > Is a simple IN operation (without the ANY predicate) on a multi-valued > property type allowed or should the server return a > CmisInvalidArgumentException? > If allowed, what is the difference between a simple IN and an ANY/IN > operation? > > tia > > Cheers > Sascha --=20 Florent Guillaume, Director of R&D, Nuxeo Open Source, Java EE based, Enterprise Content Management (ECM) http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87 --001a113faa58e3fa78053b498a17--