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.
//Impostazione della directory radice della ricerca all'interno dello spazio di lavoro di Alfresco query.append("PATH:\"/" + spaceStoreNodePath); query.append(ricDoc.isRicercaInSottospazi() ? "//*\" " : "/*\" "); …. …. … if( ricDoc.isRicercaInSottocategorie() ){ //fuzione ricorsiva che gestisce l'albero delle categorie query.append("&& PATH:\\\"/cm:categories:" + alfrescoCore.getStoreRef().toString() + "/" + ricDoc.getUuidCategoria() + "/*\""); }else{ query.append("&& @cm\\:categories:\"" + alfrescoCore.getStoreRef().toString() + "/" + ricDoc.getUuidCategoria() + "\" "); } …. …. …. SearchParameters sp = new SearchParameters(); sp.addStore(new StoreRef(StoreRef.PROTOCOL_WORKSPACE, "SpacesStore")); sp.setLanguage(SearchService.LANGUAGE_LUCENE); org.alfresco.service.cmr.search.ResultSet results = null; sp.setBulkFetchSize(20); sp.setQuery(query); results = alfrescoServiceRegistry.getSearchService().query(sp);