QueryResponse response = new QueryResponse(customerSolrServer.request(request), customerSolrServer);
logger.debug("QueryResponse Obj: " + response);
List<CustomerSolr> customerSolrList = response.getBeans(CustomerSolr.class);
logger.debug(" customerSolrList: " + customerSolrList);
CustomerResponseBean customerResponseBean = new CustomerResponseBean();
customerResponseBean.setCustomerSolrList(customerSolrList);
logger.debug("customerSolrList add sucessflly in customerResponseBeen ");
if (StringUtils.isNotEmpty(facetField)) {
List<FacetField> customerSolrFacetFieldList = response.getFacetFields();
logger.debug("CustomerFacetFileList: " + customerSolrFacetFieldList);
customerResponseBean.setCustomerSolrFacetFieldList(customerSolrFacetFieldList);
logger.debug(" CustomerFacetFileList Add sucessflly in customerResponseBeen ");
}
return customerResponseBean;
}