Skip to content

Commit

Permalink
Update Changelog for execution_hint for cardinaltiy agg
Browse files Browse the repository at this point in the history
  • Loading branch information
asimmahmood1 committed Feb 10, 2025
1 parent 746df72 commit a9f838f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased 2.x]
### Added
- Add execution_hint to cardinality aggregator request (#[17301](https://github.com/opensearch-project/OpenSearch/pull/17301))
- Latency and Memory allocation improvements to Multi Term Aggregation queries ([#14993](https://github.com/opensearch-project/OpenSearch/pull/14993))
- Add support for restoring from snapshot with search replicas ([#16111](https://github.com/opensearch-project/OpenSearch/pull/16111))
- Ensure support of the transport-nio by security plugin ([#16474](https://github.com/opensearch-project/OpenSearch/pull/16474))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ protected void innerWriteTo(StreamOutput out) throws IOException {
if (hasPrecisionThreshold) {
out.writeLong(precisionThreshold);
}
out.writeOptionalString(executionHint);
if (out.getVersion().onOrAfter(Version.V_2_19_0)) {
out.writeOptionalString(executionHint);
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ public void close() {
*
* @opensearch.internal
*/
public static class DirectCollector extends Collector {
static class DirectCollector extends Collector {

private final MurmurHash3Values hashes;
private final HyperLogLogPlusPlus counts;
Expand Down Expand Up @@ -523,7 +523,7 @@ public void close() {
*
* @opensearch.internal
*/
public static class OrdinalsCollector extends Collector {
static class OrdinalsCollector extends Collector {

private static final long SHALLOW_FIXEDBITSET_SIZE = RamUsageEstimator.shallowSizeOfInstance(FixedBitSet.class);

Expand Down

0 comments on commit a9f838f

Please sign in to comment.