Class ValuesSourceRegistry

java.lang.Object
org.elasticsearch.search.aggregations.support.ValuesSourceRegistry

public class ValuesSourceRegistry extends Object
ValuesSourceRegistry holds the mapping from ValuesSourceTypes to functions for building aggregation components. DO NOT directly instantiate this class, instead get an already-configured copy from SearchExecutionContext.getValuesSourceRegistry(), or (in the case of some test scenarios only) directly from SearchModule.getValuesSourceRegistry()