if (selectList != null && selectList.size() == 1 && selectList.get(0).equals("*")) {
selectList = null;
}
breq.setFacetsToFetch(selectList != null ? new HashSet<String>(selectList) : null);
SenseiQueryBuilder queryBuilder = queryBuilderFactory.getQueryBuilder(req.getQuery(), req.getSearchable());
// query
Query q = null;
Filter f = null;
if (queryBuilder!=null){
q = queryBuilder.buildQuery();
f = queryBuilder.buildFilter();
}
if(q != null){
breq.setQuery(q);
}