AnsweredAssumed Answered

CMIS to search into a document

Question asked by albertogarcía on Jun 5, 2014
Latest reply on Jun 6, 2014 by kaynezhang

I am using CMIS to get some info about some alfresco documents and nodes

The fact is tha I'd like to know how to ask for the document content, i.e. I have a .pdf document with a text such as "example of result for the query" and another document with the name or descritption "example of result for the query"

If I make q query

select * from cmis:document where contains('cmis:name:example of')

I get the second one.

With another services in the api:
/alfresco/service/api/search/keyword.atom?q=example of

I get all the documents

How can I get JUST the first one? How can I make a query asking for the content of the files?

Thanks in advance.