Skip to content

Commit 408cc67

Browse files
author
udi
committed
adding mean and reverse_mean to terms stat facet order type
1 parent aa6185e commit 408cc67

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/Nest/DSL/Facets/TermsStatsOrder.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ public enum TermsStatsOrder
1919
min,
2020
reverse_min,
2121
max,
22-
reverse_max
22+
reverse_max,
23+
mean,
24+
reverse_mean
2325
}
2426
}

src/Nest/Enums/TermsStatsComparatorType.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ public enum TermsStatsComparatorType
1313
MIN,
1414
REVERSE_MIN,
1515
MAX,
16-
REVERSE_MAX
16+
REVERSE_MAX,
17+
MEAN,
18+
REVERSE_MEAN
1719
}
1820
}
1921
// ReSharper restore CheckNamespace

0 commit comments

Comments
 (0)