I want to find documents on an Alfresco 5.0 system over CMIS by its content (fulltext). Following queries don't return anything:
SELECT * FROM cmis:document WHERE CONTAINS('test')
SELECT * FROM cmis:document WHERE CONTAINS(TEXT:'test')
SELECT * FROM cmis:document WHERE CONTAINS(ALL:'test')
I tried the queries from the CMIS Workbench as well as programmatically from an Java application. Repository info tells me that queries are "BOTHCOMBINED" and documents are "Queryable" and "Full text indexed". Searching by metadata (e.g. "cmis:name") works fine as well.