}
public SearchInfo getSearch(String siteId, String query, int pageSize, int pageNavCount, int pageNum) throws Exception {
EntityManager em = JpaConnection.getInstance().getCurrentEntityManager();
Indexer indexer = Indexer.getInstance(siteId);
QueryResult queryResult = indexer.search(query,
contentBean.getContentSessionBean().getSiteProfile().getSiteProfileClass().getSiteProfileClassId(),
siteDomain.getSiteDomainId(),
pageNum,
pageSize);