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.
Query query1 =new Query(Constants.QUERY_LANG_LUCENE,"PATH:\"/app:company_home/cm:sample_folder/cm:"+ISO9075.encode(lStringFileName)+"\"");
Query query1 =new Query(Constants.QUERY_LANG_LUCENE,"PATH:\"/app:company_home/cm:sample_folder/*" AND @cm\\:name:"+ISO9075.encode(lStringFileName)+"\"");
PATH:"/app:company_home/cm:sample_folder/*" AND @cm:\\name:hello.txt"
PARENT:"workspace://SpacesStore/cbb81351-4e7b-49cd-85c3-9dd423fdad2c" TEXT:"bbb"
PATH:"/app:company_home/cm:test//*" AND TEXT:"message"
Companhy Home file1 file2 file3 subfolder1 file4 subfolder2 file5
What I wish is I just provide the folder uuid in the query and it does the content search for all the docs in the below hierarchy.
query.setStatement("PARENT: \"" this.store.getScheme()+ "://"+ store.getAddress() + "/"+ uuid+ "\" AND " "TYPE:\\{http\\://www.alfresco.org/model/content/1.0\\}content ");
Can u give me the node browser query whose input is a uuid of a folder in spacesstore and a text to be searched.
PARENT: "workspace://SpacesStore/ec002e32-f392-4ea1-967e-7e6009d74c7f" AND TYPE:"{http://www.alfresco.org/model/content/1.0}content" AND TEXT:"bb"
PARENT: "workspace://SpacesStore/2fc87f4b-a13f-4c3c-ad26-bbaced8c4819" AND TEXT:"content*" AND TYPE:"{http://www.alfresco.org/model/content/1.0}content"
PATH:"/app:company_home/cm:sample_folder/cm:Sample_Testing//*" AND TEXT:select*
PATH:"//app:company_home//*" AND +TYPE:"{http://www.alfresco.org/model/content/1.0}folder"