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 E549B9961 for ; Thu, 8 Dec 2011 15:34:27 +0000 (UTC) Received: (qmail 11042 invoked by uid 500); 8 Dec 2011 15:34:27 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 11005 invoked by uid 500); 8 Dec 2011 15:34:27 -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 10994 invoked by uid 99); 8 Dec 2011 15:34:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2011 15:34:27 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [92.51.170.72] (HELO server01.mc0.hosteurope.de) (92.51.170.72) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2011 15:34:21 +0000 Received: from server03.webmailer.hosteurope.de ([10.9.0.182]); by mailout.hosteurope.de (server01.mc0.hosteurope.de) running EXperimental Internet Mailer with esmtps (TLSv1:AES256-SHA:256) id 1RYfyz-0005Ze-Co; Thu, 08 Dec 2011 16:34:01 +0100 Received: from nobody by server03.webmailer.hosteurope.de with local (Exim 4.72) (envelope-from ) id 1RYfyz-0008PR-9S; Thu, 08 Dec 2011 16:34:01 +0100 To: Subject: Re: searching custom properties using apache chemistry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 08 Dec 2011 16:34:01 +0100 From: =?UTF-8?Q?Florian_M=C3=BCller?= Cc: In-Reply-To: <4EE0D5F3.5090006@techblue.co.uk> References: <4EE0D5F3.5090006@techblue.co.uk> Message-ID: <0a6b0db2ae62772c9c13b522ccac1f03-EhVcXl9JQQFXRwQFDQkEXR0wfgZLV15fQUBFBEFYXS9ZUF0WWlloB11LX15YLkQBXVlaRVBRXAk=-webmailer2@server03.webmailer.hosteurope.de> X-Sender: fmui@apache.org User-Agent: Host Europe Webmailer/2.0 X-HE-Access: Yes X-bounce-key: webpack.hosteurope.de;fmui@apache.org;1323358441;7803d4ae; X-Virus-Checked: Checked by ClamAV on apache.org Hi Arpit, You have to reference the type that defines your custom metadata fields. cmis:document only provides a basic property set. - Florian Am Donnerstag, den 08.12.2011, 16:21 +0100 schrieb Arpit Gupta : > Hello friends, > > I am using apache chemistry framework for querying my alfresco > repository. > I am facing a problem in searching documents. > > I want to search documents on the basis of their properties though i > can only search on some specific properties like "name". > I am unable to search using custom properties. > > i can search using query > q= "SELECT * FROM cmis:document WHERE cm:name LIKE 'Hydrangeas%'" > > but i can not do search on custom metadata fields added to document. > Is there any way to do search on custom metadata fields??? > > Thanks, > Arpit