AnsweredAssumed Answered

how to search inside files with CMIS

Question asked by pcamazon on Mar 10, 2015
Latest reply on Mar 10, 2015 by pcamazon
Hello everybody!

I have to confess this is my first time working with Alfresco and I'm not sure about what I'm doing but I'll try to explain:

I'm using <strong>Alfresco 5 and Apache Chemistry</strong> library to implement a client.
I've based my development on <a href="https://code.google.com/p/alfresco-api-java-examples/">alfresco-api-java-examples</a> of <a href="https://forums.alfresco.com/users/jpotts"><strong>jeffpotts</strong></a>.

By using atom 1.1 binding, I've achieved to create folders and documents, modify properties, get content and versions… not bad :-D

Next challenge is to perform a based-on-content search, just like the Alfresco gui tool provides.
The following example shows the resultant URL of a search by the "2015" string:
http://myAlfrescoSrv:8088/share/page/dp/ws/faceted-search#searchTerm=2015&scope=repo&sortField=Relevance


It returns those stored documents that contains "2015" inside.
Is there any way to do the same within apache chemistry library?

I would be thankful if someone could give me a hand. Any reference would be very apreciated

Outcomes