cancel
Showing results for 
Search instead for 
Did you mean: 

Full Text Query

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

I am trying to call fulltext query below way using java.Is this correct way to call?

query.append("PATH:\"/").append(Constants.COMPANY_HOME_PATH).append("/").append(Constants.SITES_PATH)
.append("/cm:").append(siteId).append("/cm:").append(Constants.DOCUMENT_LIBRARY).append("/cm:")
.append(" AND TYPE:\"cm:folder\"").append(" AND @cm\\:")
.append(ContentModel.PROP_CREATOR.getLocalName()).append(":\"").append(currentUser).append("\"");

ResultSet rs = searchService.query(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE,SearchService.LANGUAGE_FTS_ALFRESCO, query.toString());

0 REPLIES 0