Package org.elasticsearch.search.aggregations.bucket.missing

Examples of org.elasticsearch.search.aggregations.bucket.missing.Missing


    }
  }

  private void processAggregation(Aggregation aggregation) {
    if (Missing.class.isAssignableFrom(aggregation.getClass())) {
      Missing missing = (Missing) aggregation;
      long docCount = missing.getDocCount();
      if (docCount > 0L) {
        this.facets.put(aggregation.getName().replace("_missing",""), new FacetValue("", docCount));
      }
    } else if (Terms.class.isAssignableFrom(aggregation.getClass())) {
      Terms termAggregation = (Terms) aggregation;
View Full Code Here

TOP

Related Classes of org.elasticsearch.search.aggregations.bucket.missing.Missing

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.