Hi, im having some problems doing a simple search with Lucene in a Java Backed Webscript
im trying this
String query ="PATH:\"/app:company_home/cm:TestFolder//*\"";
StoreRef storeRef = new StoreRef(StoreRef.PROTOCOL_WORKSPACE,"SpacesStore");
ResultSet results = searchService.query(storeRef, SearchService.LANGUAGE_LUCENE, query);
for (ResultSetRow row : results) {
NodeRef currentNodeRef = row.getNodeRef();
lista.add(currentNodeRef.toString());
}
if i execute teh query in Alfresco Node Browser it works, so the query is good.
What im doing wrong?
Thanks in advanced