I'm using 3.4 Enterprise. Using the Share UI, I can search for the string "test" and find content nodes as expected. I can use the advanced search scoped to a custom content type and still find instances of that type. However, executing a CMIS search isn't finding the documents. I've tried
select * from cmis:document where CONTAINS('test')
and
select * from my:type where CONTAINS('test')
and a bunch of other permutations and I can't figure out yet what the UI is doing differently to return the documents I expect where I haven't been able to mimic that behavior using a CMIS call. What is different between the UI?
I've also tried CONTAINS('TEXT:test') (not sure if that syntax is right) and no luck there either. I get this exception when I try:
Caused by: org.alfresco.cmis.CMISQueryException: 02140674 Unknown column/property TEXT