01-05-2009 07:25 AM
Reference reference = new Reference(STORE, null, "/app:company_home/cm:App1/cm:SP1/cm:Doc2\"");
Predicate predicate = new Predicate(new Reference[]{reference}, null, null);
Node[] nodes = repositoryService.get(predicate);
Query query = new Query(Constants.QUERY_LANG_LUCENE,"+PARENT:\"workspace://SpacesStore/"+ node.getReference().getUuid() + "\" +TEXT:\"" + searchValue + "\"");
This worked fine and returned all files within Doc2 folder which matched the search text.
1. Reference reference = new Reference(STORE, null, "/app:company_home/cm:App1/cm:Subprocess1//*\"");
2. Reference reference = new Reference(STORE, null, "/app:company_home/cm:App1/cm:Subprocess1/@cm\":name:Doc*\"");
3. Query query = new Query(Constants.QUERY_LANG_LUCENE, "+PATH:/app:company_home/cm:App1/cm:Subprocess1//*\"+TEXT:\"" + searchValue + "\"");
01-09-2009 01:00 AM
but did not succeed…Did you get some error message that could help us finding the problem ?
01-27-2009 01:30 AM
01-27-2009 01:49 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.