Class RareTermsAggregation
A multi-bucket value source based aggregation which finds "rare" terms — terms that are at the long-tail of the distribution and are not frequent. Conceptually, this is like a terms aggregation that is sorted by _count ascending.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class RareTermsAggregation : BucketAggregationBase, IRareTermsAggregation, IBucketAggregation, IAggregation
Constructors
| Edit this page View SourceRareTermsAggregation(string)
Declaration
public RareTermsAggregation(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name |
Properties
| Edit this page View SourceExclude
Terms that should be excluded from the aggregation
Declaration
public TermsExclude Exclude { get; set; }
Property Value
Type | Description |
---|---|
TermsExclude |
Field
The field to find rare terms in
Declaration
public Field Field { get; set; }
Property Value
Type | Description |
---|---|
Field |
Include
Terms that should be included in the aggregation
Declaration
public TermsInclude Include { get; set; }
Property Value
Type | Description |
---|---|
TermsInclude |
MaximumDocumentCount
The maximum number of documents a term should appear in.
Defaults to 1
Declaration
public long? MaximumDocumentCount { get; set; }
Property Value
Type | Description |
---|---|
long? |
Missing
The value that should be used if a document does not have the field being aggregated
Declaration
public object Missing { get; set; }
Property Value
Type | Description |
---|---|
object |
Precision
The precision of the internal CuckooFilters. Smaller precision leads to better approximation, but higher memory usage. Cannot be smaller than 0.00001. Defaults to 0.01
Declaration
public double? Precision { get; set; }
Property Value
Type | Description |
---|---|
double? |