java - CMIS:document query error -


i need documents under specific folder path

my query :

query = "select cmis:name cmis:document contains('path:\"/app:company  home/st:sites/*\"')" 

the following exception occurs:

org.apache.chemistry.opencmis.commons.exceptions.cmisruntimeexception: 05070198 request failed 400 /solr4/alfresco/cmis?wt=json&fl=dbid%2cscore&rows=100&df=text&start=0&loc le=en_in&alternativedic=default_dictionary&cmisversion=cmis_1_1&fq=%7b%21afts%7dauthority_filter_from_json&fq=%7b%21afts%7dtenant_filter_from_json @ org.apache.chemistry.opencmis.client.bindings.spi.atompub.abstractatompubservice.convertstatuscode(abstractatompubservice.java:487) 

path of document like:

/sites/site_name/documentlibrary/pim data/3600011/rnd/vphotometricdrawings.polar diagram/en 

i'm not sure path part of query looks right, might wanna that, example:

"select * cmis:document contains('path:\"/app:company_home/st:sites/*\"')".

also, see following link:

http://docs.alfresco.com/4.1/references/api-js-iso9075encode.html