Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2515A922A for ; Thu, 2 Aug 2012 23:13:04 +0000 (UTC) Received: (qmail 47242 invoked by uid 500); 2 Aug 2012 23:13:04 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 47210 invoked by uid 500); 2 Aug 2012 23:13:03 -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 47201 invoked by uid 99); 2 Aug 2012 23:13:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2012 23:13:03 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of davesanders0@gmail.com designates 209.85.220.170 as permitted sender) Received: from [209.85.220.170] (HELO mail-vc0-f170.google.com) (209.85.220.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2012 23:12:56 +0000 Received: by vcbgb30 with SMTP id gb30so135193vcb.1 for ; Thu, 02 Aug 2012 16:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=X4zjNBraZp0CFrQ3L9mOgyBSYPuRNddbrMI6aiOvygU=; b=0opqzBDPm9ZTwFVY+9deX9vBPyXNshyNAmhUPok6wD8nUufwIlsFYQ2NwSQr+4IPvf TmhdZ66Q5agDGMo8ZHt0QBhvFrNVOPYJrI5NqnoCHcnjY9pChgvSTI4JJPPtntsqOmRR MIqobRUAB1jN3NNQKMD9L3TEpcYrX/h5ksi9uJPZeFBdw+lE55qUgl6awlZvB0SZj1nv xzeN+24fouwc7EI175cOW/dezE8tKdfOU+bg3TolPSvdkcqYgOEKbNLYkmzUCNJ5DvDg Tq/rkcp/IIkulhRxgoF07uj6uVj0XCj3FYYpdpOD28gbGdU83iKZVPgFfi9eYtWAkIiP XXog== Received: by 10.52.97.101 with SMTP id dz5mr18756284vdb.61.1343949155053; Thu, 02 Aug 2012 16:12:35 -0700 (PDT) MIME-Version: 1.0 Sender: davesanders0@gmail.com Received: by 10.220.221.202 with HTTP; Thu, 2 Aug 2012 16:11:54 -0700 (PDT) In-Reply-To: References: From: Dave Sanders Date: Thu, 2 Aug 2012 16:11:54 -0700 X-Google-Sender-Auth: JITVUfQy004_h53HKHXqjJ6bV4Y Message-ID: Subject: Re: CMIS cannot retrive checkedOut documents using Queries. To: dev@chemistry.apache.org Content-Type: multipart/alternative; boundary=20cf307abdf5fbb03004c6508b18 --20cf307abdf5fbb03004c6508b18 Content-Type: text/plain; charset=UTF-8 Check the "search all versions" box on Workbench's query panel. Until it is checked in, a PWC must not be considered the latest version in the version series. If query with searchAllVersions=true does not resolve the issue, please post to the CMIS for FileNet forum [1] since this does not sound like a Chemistry issue. [1] http://www.ibm.com/developerworks/forums/forum.jspa?forumID=2334 On Thu, Aug 2, 2012 at 10:48 AM, Pratyush Sinha < pratyush.sinha2511@gmail.com> wrote: > Hi everyone. > > I am creating CMIS webApplication . > > I trying to search document using Query. > > In a simple Search. > > SELECT * FROM cmis:document WHERE cmis:name LIKE'prog%' > > It gives all the documents name start with prog except the document > (prog.txt )which is checked out. > > In Content Engine > When i execute similar query it gives me all the document name prog and > isCheckedOut.. > > In a workbench I execute 2 queries > > SELECT * FROM cmis:document WHERE cmis:name LIKE'prog%' and (cmis:createdBy > ='p8admin') and > (cmis:isVersionSeriesCheckedOut =false) > > above query is working fine > Got outPut : all the Document starts with prog and is created by p8admin > and is not checkedOut. > > > But when i execute > > SELECT * FROM cmis:document WHERE cmis:name LIKE'prog%' and (cmis:createdBy > ='p8admin') and > (cmis:isVersionSeriesCheckedOut =true) > > Is doesnt gives me any file , but in a Content Engine i have file starting > with prog and created by P8admin and cmis:isVersionSeriesCheckedOut =true. > > > Can any one please this. > > > Thank You > > Regards > PratZ > --20cf307abdf5fbb03004c6508b18--