Class SignificantTermsAggregation
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class SignificantTermsAggregation : BucketAggregationBase, ISignificantTermsAggregation, IBucketAggregation, IAggregation
Constructors
| Edit this page View SourceSignificantTermsAggregation(string)
Declaration
public SignificantTermsAggregation(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name |
Properties
| Edit this page View SourceBackgroundFilter
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
public QueryContainer BackgroundFilter { get; set; }
Property Value
Type | Description |
---|---|
QueryContainer |
ChiSquare
Use chi square to calculate significance score
Declaration
public IChiSquareHeuristic ChiSquare { get; set; }
Property Value
Type | Description |
---|---|
IChiSquareHeuristic |
Exclude
Exclude term values for which buckets will be created.
Declaration
public IncludeExclude Exclude { get; set; }
Property Value
Type | Description |
---|---|
IncludeExclude |
ExecutionHint
Determines the mechanism by which aggregations are executed
Declaration
public TermsAggregationExecutionHint? ExecutionHint { get; set; }
Property Value
Type | Description |
---|---|
TermsAggregationExecutionHint? |
Field
The field on which to run the aggregation
Declaration
public Field Field { get; set; }
Property Value
Type | Description |
---|---|
Field |
GoogleNormalizedDistance
Use Google normalized distance to calculate significance score
Declaration
public IGoogleNormalizedDistanceHeuristic GoogleNormalizedDistance { get; set; }
Property Value
Type | Description |
---|---|
IGoogleNormalizedDistanceHeuristic |
Include
Include term values for which buckets will be created.
Declaration
public IncludeExclude Include { get; set; }
Property Value
Type | Description |
---|---|
IncludeExclude |
MinimumDocumentCount
Return only terms that match equal to or more than a configurable number of hits
Declaration
public long? MinimumDocumentCount { get; set; }
Property Value
Type | Description |
---|---|
long? |
MutualInformation
Use mutual information to calculate significance score
Declaration
public IMutualInformationHeuristic MutualInformation { get; set; }
Property Value
Type | Description |
---|---|
IMutualInformationHeuristic |
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
public IPercentageScoreHeuristic PercentageScore { get; set; }
Property Value
Type | Description |
---|---|
IPercentageScoreHeuristic |
Script
Use a script to calculate a custom significance score.
Declaration
public IScriptedHeuristic Script { get; set; }
Property Value
Type | Description |
---|---|
IScriptedHeuristic |
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
public long? ShardMinimumDocumentCount { get; set; }
Property Value
Type | Description |
---|---|
long? |
ShardSize
Controls the number of candidate terms produced by each shard from which the Size of terms is selected.
Declaration
public int? ShardSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
Size
Defines how many term buckets should be returned out of the overall terms list
Declaration
public int? Size { get; set; }
Property Value
Type | Description |
---|---|
int? |