@Override public SenseiResult mergeResults(SenseiRequest request, List<SenseiResult> resultList) { SenseiResult res = ResultMerger.merge(request, resultList, false); if (request.isFetchStoredFields() || request.isFetchStoredValue()) recoverSrcData(res, res.getSenseiHits(), request.isFetchStoredFields()); return res; }
@Override public SenseiResult mergeResults(SenseiRequest request, List<SenseiResult> resultList) { SenseiResult res = ResultMerger.merge(request, resultList, false); if (request.isFetchStoredFields() || request.isFetchStoredValue()) { long start = System.currentTimeMillis(); recoverSrcData(res, res.getSenseiHits(), request.isFetchStoredFields()); res.setTime(res.getTime() + (System.currentTimeMillis() - start)); } return res; }