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-17-2010 06:43 PM
11-18-2010 02:48 AM
11-18-2010 07:41 AM
11-18-2010 08:52 AM
11-19-2010 05:48 AM
11-19-2010 06:37 AM
11-19-2010 09:30 AM
11-19-2010 10:10 AM
11-22-2010 03:44 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.