Hi Sebastian, The query syntax is correct. The content of the searchquery variable might be problem. Please move the discussion to the Alfresco CMIS forum [1]. It's propbaly not related to OpenCMIS.
Thanks, Florian [1] http://forums.alfresco.com/en/viewforum.php?f=45 On 26/04/2011 11:58, Sebastian Danninger wrote: > Dear all, > > when using a query with the CONTAINS clause that got more then 0 > results (Looking for content of the pdf/txt/... I don't get any > results but looking for the filename I do) I get an error (repository > is Alfresco 3.4d) all other queries are working as intended. > > ItemIterable<QueryResult> results1 = s.query("SELECT * FROM > tie:document WHERE CONTAINS('" + searchquery + "')", false); > > Is there posibly an error in processing CONTAINS queries? > > best regards > > Sebastian
