Package org.springframework.data.solr.core.query.result

Examples of org.springframework.data.solr.core.query.result.SimpleStatsResult


    for (Entry<String, List<FieldStatsInfo>> entry : statsInfo.entrySet()) {
      Map<String, StatsResult> facetStatsValues = new LinkedHashMap<String, StatsResult>();

      for (FieldStatsInfo fieldStatsInfo : entry.getValue()) {

        SimpleStatsResult statsResult = populateStatsResultWithFieldStatsInfo(new SimpleStatsResult(), fieldStatsInfo);
        facetStatsValues.put(fieldStatsInfo.getName(), statsResult);
      }

      result.put(entry.getKey(), facetStatsValues);
    }
View Full Code Here

TOP

Related Classes of org.springframework.data.solr.core.query.result.SimpleStatsResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.