Ejemplo n.º 1
0
  @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;
  }
Ejemplo n.º 2
0
  @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;
  }