07-23-2009 06:58 AM
Query query1 =new Query(Constants.QUERY_LANG_LUCENE,"PATH:\"/app:company_home/cm:sample_folder/cm:"+ISO9075.encode(lStringFileName)+"\"");
08-12-2009 02:17 AM
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.I think you´re looking for something like this:
query.setStatement("PARENT: \"" this.store.getScheme()+ "://"+ store.getAddress() + "/"+ uuid+ "\" AND "
"TYPE:\\{http\\://www.alfresco.org/model/content/1.0\\}content ");
08-12-2009 03:07 AM
08-12-2009 03:16 AM
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"
08-12-2009 05:11 AM
PARENT: "workspace://SpacesStore/2fc87f4b-a13f-4c3c-ad26-bbaced8c4819" AND TEXT:"content*" AND TYPE:"{http://www.alfresco.org/model/content/1.0}content"
This query does find the text in the folder specified by uuid. But it does not search in the hierarchy of folders under it.It just searches in one level.08-12-2009 05:22 AM
08-12-2009 05:44 AM
PATH:"/app:company_home/cm:sample_folder/cm:Sample_Testing//*" AND TEXT:select*
Because for this query I would need to get all the folders in the hierarchy to create the path first and that would become clumsy.08-12-2009 06:12 AM
PATH:"//app:company_home//*" AND +TYPE:"{http://www.alfresco.org/model/content/1.0}folder"
09-02-2009 01:01 AM
09-05-2009 02:42 AM
09-15-2009 05:07 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.