Search Results for

    Show / Hide Table of Contents

    Class FiltersAggregation

    Inheritance
    object
    AggregationBase
    BucketAggregationBase
    FiltersAggregation
    Implements
    IFiltersAggregation
    IBucketAggregation
    IAggregation
    Inherited Members
    BucketAggregationBase.Aggregations
    AggregationBase.Meta
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class FiltersAggregation : BucketAggregationBase, IFiltersAggregation, IBucketAggregation, IAggregation

    Constructors

    | Edit this page View Source

    FiltersAggregation(string)

    Declaration
    public FiltersAggregation(string name)
    Parameters
    Type Name Description
    string name

    Properties

    | Edit this page View Source

    Filters

    Declaration
    public Union<INamedFiltersContainer, IEnumerable<QueryContainer>> Filters { get; set; }
    Property Value
    Type Description
    Union<INamedFiltersContainer, IEnumerable<QueryContainer>>
    | Edit this page View Source

    OtherBucket

    Gets or sets whether to add a bucket to the response which will contain all documents that do not match any of the given filters. When set to true, the other bucket will be returned either in a bucket (named "other" by default) if named filters are being used, or as the last bucket if anonymous filters are being used When set to false, does not compute the other bucket.

    Declaration
    public bool? OtherBucket { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    OtherBucketKey

    Gets or sets the key for the other bucket to a value other than the default "other". Setting this parameter will implicitly set the OtherBucket parameter to true

    Declaration
    public string OtherBucketKey { get; set; }
    Property Value
    Type Description
    string

    Implements

    IFiltersAggregation
    IBucketAggregation
    IAggregation

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • FiltersAggregation(string)
    • Properties
      • Filters
      • OtherBucket
      • OtherBucketKey
    • Implements
    • Extension Methods
    Back to top Generated by DocFX