Package org.elasticsearch.search.aggregations.bucket.filter

Examples of org.elasticsearch.search.aggregations.bucket.filter.Filter


      long current = System.currentTimeMillis();

      Collection<SearchItem> res = resultsService.prepareAll(response.getHits());

      if (response.getAggregations() != null) {
        Filter countFacet = response.getAggregations().get("sections");
        Terms sectionsFacet = countFacet.getAggregations().get("sections");

        if (sectionsFacet.getBuckets().size()>1) {
          params.put("sectionFacet", resultsService.buildSectionFacet(countFacet));

          if (!Strings.isNullOrEmpty(query.getSection()) && sectionsFacet.getBucketByKey(query.getSection())!=null) {
View Full Code Here

TOP

Related Classes of org.elasticsearch.search.aggregations.bucket.filter.Filter

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.