updateIndexerInfo(indexerInfo);
}
public QueryResult search(String criteria, Long siteProfileClassId, Long siteDomainId, int pageNum, int pageSize) throws Exception {
CompassSession compassSession = compass.openSession();
CompassTransaction compassTransaction = compassSession.beginTransaction();
Calendar calendar = Calendar.getInstance();
String infoPublishTo = dateFormat.format(calendar.getTime());
calendar.add(Calendar.DATE, 1);
String infoExpireFrom = dateFormat.format(calendar.getTime());