Search Results for

    Show / Hide Table of Contents

    Interface ISignificantTermsAggregation

    Inherited Members
    IBucketAggregation.Aggregations
    IAggregation.Meta
    IAggregation.Name
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface ISignificantTermsAggregation : IBucketAggregation, IAggregation

    Properties

    | Edit this page View Source

    BackgroundFilter

    The default source of statistical information for background term frequencies is the entire index. This scope can be narrowed through the use of a background filter to focus in on significant terms within a narrower context

    Declaration
    [DataMember(Name = "background_filter")]
    QueryContainer BackgroundFilter { get; set; }
    Property Value
    Type Description
    QueryContainer
    | Edit this page View Source

    ChiSquare

    Use chi square to calculate significance score

    Declaration
    [DataMember(Name = "chi_square")]
    IChiSquareHeuristic ChiSquare { get; set; }
    Property Value
    Type Description
    IChiSquareHeuristic
    | Edit this page View Source

    Exclude

    Exclude term values for which buckets will be created.

    Declaration
    [DataMember(Name = "exclude")]
    IncludeExclude Exclude { get; set; }
    Property Value
    Type Description
    IncludeExclude
    | Edit this page View Source

    ExecutionHint

    Determines the mechanism by which aggregations are executed

    Declaration
    [DataMember(Name = "execution_hint")]
    TermsAggregationExecutionHint? ExecutionHint { get; set; }
    Property Value
    Type Description
    TermsAggregationExecutionHint?
    | Edit this page View Source

    Field

    The field on which to run the aggregation

    Declaration
    [DataMember(Name = "field")]
    Field Field { get; set; }
    Property Value
    Type Description
    Field
    | Edit this page View Source

    GoogleNormalizedDistance

    Use Google normalized distance to calculate significance score

    Declaration
    [DataMember(Name = "gnd")]
    IGoogleNormalizedDistanceHeuristic GoogleNormalizedDistance { get; set; }
    Property Value
    Type Description
    IGoogleNormalizedDistanceHeuristic
    | Edit this page View Source

    Include

    Include term values for which buckets will be created.

    Declaration
    [DataMember(Name = "include")]
    IncludeExclude Include { get; set; }
    Property Value
    Type Description
    IncludeExclude
    | Edit this page View Source

    MinimumDocumentCount

    Return only terms that match equal to or more than a configurable number of hits

    Declaration
    [DataMember(Name = "min_doc_count")]
    long? MinimumDocumentCount { get; set; }
    Property Value
    Type Description
    long?
    | Edit this page View Source

    MutualInformation

    Use mutual information to calculate significance score

    Declaration
    [DataMember(Name = "mutual_information")]
    IMutualInformationHeuristic MutualInformation { get; set; }
    Property Value
    Type Description
    IMutualInformationHeuristic
    | Edit this page View Source

    PercentageScore

    Use percentage to calculate significance score.

    A simple calculation of the number of documents in the foreground sample with a term divided by the number of documents in the background with the term. By default this produces a score greater than zero and less than one.

    Declaration
    [DataMember(Name = "percentage")]
    IPercentageScoreHeuristic PercentageScore { get; set; }
    Property Value
    Type Description
    IPercentageScoreHeuristic
    | Edit this page View Source

    Script

    Use a script to calculate a custom significance score.

    Declaration
    [DataMember(Name = "script_heuristic")]
    IScriptedHeuristic Script { get; set; }
    Property Value
    Type Description
    IScriptedHeuristic
    | Edit this page View Source

    ShardMinimumDocumentCount

    Regulates the certainty a shard has if the term should actually be added to the candidate list or not with respect to the MinimumDocumentCount. Terms will only be considered if their local shard frequency within the set is higher than the ShardMinimumDocumentCount.

    Declaration
    [DataMember(Name = "shard_min_doc_count")]
    long? ShardMinimumDocumentCount { get; set; }
    Property Value
    Type Description
    long?
    | Edit this page View Source

    ShardSize

    Controls the number of candidate terms produced by each shard from which the Size of terms is selected.

    Declaration
    [DataMember(Name = "shard_size")]
    int? ShardSize { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    Size

    Defines how many term buckets should be returned out of the overall terms list

    Declaration
    [DataMember(Name = "size")]
    int? Size { get; set; }
    Property Value
    Type Description
    int?

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • BackgroundFilter
      • ChiSquare
      • Exclude
      • ExecutionHint
      • Field
      • GoogleNormalizedDistance
      • Include
      • MinimumDocumentCount
      • MutualInformation
      • PercentageScore
      • Script
      • ShardMinimumDocumentCount
      • ShardSize
      • Size
    • Extension Methods
    Back to top Generated by DocFX