Class AggregationErrors

java.lang.Object
org.elasticsearch.search.aggregations.AggregationErrors

public class AggregationErrors extends Object
Collection of helper methods for what to throw in common aggregation error scenarios.
  • Method Details

    • invalidPathElement

      public static IllegalArgumentException invalidPathElement(String element, String path)
      This error indicates that the aggregations path the user specified cannot be parsed. It is a 400 class error and should not be retried.