01-09-2019 11:36 PM
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());
Explore our Alfresco products with the links below. Use labels to filter content by product module.