SuggestionItem item=null;// this is already here to make sure the classloader load this sinstance
railo.runtime.type.Query qry=new QueryImpl(cols,types,0,"query");
SearchCollection collection;
long time=System.currentTimeMillis();
AddionalAttrs.setAddionalAttrs(contextBytes,contextPassages,contextHighlightBegin,contextHighlightEnd);
try {
for(int i=0;i<collections.length;i++) {
collection=collections[i];
startrow=collection.search(data,qry,criteria,collection.getLanguage(),type,startrow,maxrows,categoryTree,category);
if(maxrows>=0 && qry.getRecordcount()>=maxrows) break;
}
pageContext.setVariable(name,qry);
}