As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Use CONTAINS clause combined with PATH expression.
https://pavelmakhov.com/2015/10/cmis-path-query/
It returns error 500
{"query": {"language": "cmis","query": "select * from cmis:documentwhere contains("PATH:\"/app:company_home/st:sites/cm:MySite/cm:documentLibrary//*\" AND TYPE:\"cm:folder\" AND cm:name:\"MyFolder\"")"}}
{ "query": { "query": "select * from cmis:folder where cmis:name='MyFolder' AND contains('PATH:\"/app:company_home/st:sites/cm:MySite/cm:documentLibrary//*\"')", "language": "cmis" } }
Sorry, but it doesn't even run that query.
Is it possible to do that with lucene language ? From multiple folders ?
Thanks