|
@ -184,7 +184,9 @@ public class SolrExtract {
|
|
|
fl = fl + "," + esConfig.getAggregationKey();
|
|
|
}
|
|
|
logger.warn("solr 从"+ quotaVo.getStart() + " 开始获取数据,这次准备获取" + quotaVo.getRows() + "条");
|
|
|
list = solrQuery.queryReturnFieldList(core, q, fq, null, quotaVo.getStart(), quotaVo.getRows(), fl.split(","));
|
|
|
Map<String, String> sort = new HashMap<>();
|
|
|
sort.put("rowkey", "asc");
|
|
|
list = solrQuery.queryReturnFieldList(core, q, fq, sort, quotaVo.getStart(), quotaVo.getRows(), fl.split(","));
|
|
|
} catch (Exception e) {
|
|
|
throw new Exception("solr 查询异常 " + e.getMessage());
|
|
|
}
|