11-17-2010 09:53 AM
logger.debug("Query Lucene: "+query);
StoreRef storeRef= StoreRef.STORE_REF_WORKSPACE_SPACESSTORE;
SearchParameters parameters=new SearchParameters();
parameters.addStore(storeRef);
parameters.setLanguage(SearchService.LANGUAGE_LUCENE);
parameters.setQuery(query);
parameters.addSort("TYPE", true);
if(fieldOrd!=null && !fieldOrd.equals("")){
fieldOrd="@"+fieldOrd;
parameters.addSort(fieldOrd, false);
}
ResultSet rs=searchService.query(parameters);
List<NodeRef> list=rs.getNodeRefs();
System.out.println("n°: "+list.size());
11-24-2010 11:18 AM
11-24-2010 11:39 AM
11-26-2010 05:25 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.