Search Results for

    Show / Hide Table of Contents

    Class TermsAggregator

    A multi-bucket value aggregator

    Inheritance
    object
    AggregatorBase
    TermsAggregator
    TermsEnumAggregator
    TermsRelationAggregator
    Inherited Members
    AggregatorBase.Name
    AggregatorBase.Names
    AggregatorBase.Aggregators
    AggregatorBase.Filter
    AggregatorBase.UiBehavior
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public class TermsAggregator : AggregatorBase

    Properties

    Excludes

    Excludes values for which buckets will be created. Supports regular expression strings or arrays of exact values.

    Declaration
    [JsonProperty("excludes", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public ICollection<string> Excludes { get; set; }
    Property Value
    ICollection<string>

    Field

    The field's ID to execute the aggregation on. Only not analyzed fields are supported.

    Declaration
    [JsonProperty("field", Required = Required.Always)]
    [Required]
    public string Field { get; set; }
    Property Value
    string

    Includes

    Includes values for which buckets will be created. Supports regular expression strings or arrays of exact values.

    Declaration
    [JsonProperty("includes", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public ICollection<string> Includes { get; set; }
    Property Value
    ICollection<string>

    SearchFields

    Search fields to be used to search the SearchString value into. If no search field is specified, the Field value is used.

    Declaration
    [JsonProperty("searchFields", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public ICollection<string> SearchFields { get; set; }
    Property Value
    ICollection<string>

    SearchString

    Limits the possible returned aggregation values by using a query string filter. The Lucene query string syntax is supported.

    Declaration
    [JsonProperty("searchString", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public string SearchString { get; set; }
    Property Value
    string

    Size

    It defines how many term buckets should be returned out of the overall terms list.

    Declaration
    [JsonProperty("size", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public int? Size { get; set; }
    Property Value
    int?

    Sort

    Sort settings for the aggregation results. If no sort is specified, aggregation is sorted on the item count.

    Declaration
    [JsonProperty("sort", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public SortInfo Sort { get; set; }
    Property Value
    SortInfo

    Methods

    FromJson(string)

    Declaration
    public static TermsAggregator FromJson(string data)
    Parameters
    string data

    Returns
    TermsAggregator

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX