Module
SignificantTermsAggregation
SignificantTermsAggregation ( name )
An aggregation that returns interesting or unusual occurrences of terms in a set.
|
Method Summary
Returns | Name | Description |
---|---|---|
String | _type() | The type of ejs object. For internal use only. |
Object | agg(agg) | Add a nesated aggregation. This method can be called multiple times in order to set multiple nested aggregations what will be executed at the same time as the parent aggregation. Alias for the aggregation method. |
Object | aggregation(agg) | Add a nesated aggregation. This method can be called multiple times in order to set multiple nested aggregations what will be executed at the same time as the parent aggregation. |
Object | exclude(exclude,flags) | Allows you to filter out unwanted facet entries using a regular expression. You can also optionally pass in a set of flags to apply to the regular expression. Valid flags are: CASE_INSENSITIVE, MULTILINE, DOTALL, UNICODE_CASE, CANON_EQ, UNIX_LINES, LITERAL, COMMENTS, and UNICODE_CHAR_CLASS. Separate multiple flags with a | character. |
Object | executionHint(h) | Sets the execution hint determines how the aggregation is computed. Supported values are: map and ordinals. |
Object | field(field) | Sets the field to gather terms from. |
Object | format(f) | Sets the format expression for the terms. Use for number or date formatting. |
Object | include(include,flags) | Allows you to allow only specific entries using a regular expression. You can also optionally pass in a set of flags to apply to the regular expression. Valid flags are: CASE_INSENSITIVE, MULTILINE, DOTALL, UNICODE_CASE, CANON_EQ, UNIX_LINES, LITERAL, COMMENTS, and UNICODE_CHAR_CLASS. Separate multiple flags with a | character. |
Object | minDocCount(num) | Only return terms that match more than a configured number of hits. |
Object | shardSize(shardSize) | Determines how many terms the coordinating node will request from each shard. |
Object | size(size) | Sets the number of aggregation entries that will be returned. |
String | toJSON() | Retrieves the internal |
Method Detail
agg
Object agg ( agg )
Add a nesated aggregation. This method can be called multiple times
in order to set multiple nested aggregations what will be executed
at the same time as the parent aggregation. Alias for the
aggregation method.
|
aggregation
Object aggregation ( agg )
Add a nesated aggregation. This method can be called multiple times
in order to set multiple nested aggregations what will be executed
at the same time as the parent aggregation.
|
exclude
Object exclude ( exclude, flags )
Allows you to filter out unwanted facet entries using a regular expression. You can also optionally pass in a set of flags to apply to the regular expression. Valid flags are: CASE_INSENSITIVE, MULTILINE, DOTALL, UNICODE_CASE, CANON_EQ, UNIX_LINES, LITERAL, COMMENTS, and UNICODE_CHAR_CLASS. Separate multiple flags with a | character.
|
executionHint
Object executionHint ( h )
Sets the execution hint determines how the aggregation is computed.
Supported values are: map and ordinals.
|
field
Object field ( field )
Sets the field to gather terms from.
|
format
Object format ( f )
Sets the format expression for the terms. Use for number or date
formatting.
|
include
Object include ( include, flags )
Allows you to allow only specific entries using a regular expression. You can also optionally pass in a set of flags to apply to the regular expression. Valid flags are: CASE_INSENSITIVE, MULTILINE, DOTALL, UNICODE_CASE, CANON_EQ, UNIX_LINES, LITERAL, COMMENTS, and UNICODE_CHAR_CLASS. Separate multiple flags with a | character.
|
minDocCount
Object minDocCount ( num )
Only return terms that match more than a configured number of hits.
|
shardSize
Object shardSize ( shardSize )
Determines how many terms the coordinating node will request from
each shard.
|
size
Object size ( size )
Sets the number of aggregation entries that will be returned.
|
toJSON
String toJSON ( )
Retrieves the internal
|