File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/Tests/Tests/Aggregations/Bucket/RareTerms Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 11using System ;
22using System . Collections . Generic ;
3+ using Elastic . Xunit . XunitPlumbing ;
34using FluentAssertions ;
45using Nest ;
56using Tests . Core . Extensions ;
@@ -13,10 +14,13 @@ namespace Tests.Aggregations.Bucket.RareTerms
1314 * A multi-bucket value source based aggregation which finds "rare" terms — terms that are at the long-tail of the
1415 * distribution and are not frequent. Conceptually, this is like a terms aggregation that is sorted by _count ascending.
1516 * As noted in the terms aggregation docs, actually ordering a terms agg by count ascending has unbounded error.
16- * Instead, you should use the rare_terms aggregation
17+ * Instead, you should use the rare_terms aggregation.
18+ *
19+ * NOTE: Valid only in Elasticsearch 7.3.0+
1720 *
1821 * See the Elasticsearch documentation on {ref_current}/search-aggregations-bucket-rare-terms-aggregation.html[rare terms aggregation] for more detail.
1922 */
23+ [ SkipVersion ( "<7.3.0" , "Introduced in 7.3.0" ) ]
2024 public class RareTermsAggregationUsageTests : AggregationUsageTestBase
2125 {
2226 public RareTermsAggregationUsageTests ( ReadOnlyCluster i , EndpointUsage usage ) : base ( i , usage ) { }
You can’t perform that action at this time.
0 commit comments