public <T extends Model> Page<T> search(String queryString,PageCriteria pageCriteria,Class<T> modelClass){
List<T> result = new ArrayList<>();
Compass compass = compassTemplate.getCompass();
CompassSession session=compass.openSession();
CompassHits hits= session.find(queryString);
LOG.info("命中:"+hits.getLength());
LOG.info("查询字符串:"+queryString);
if(pageCriteria!=null){
int start = (pageCriteria.getPage()-1) * pageCriteria.getSize();
int end = (pageCriteria.getPage()-1) * pageCriteria.getSize() + pageCriteria.getSize();