Skip to content

Commit

Permalink
Bug fix and Release notes update (#1491)
Browse files Browse the repository at this point in the history
* adding tracking_total_hits in search query for findings (#1487)

Signed-off-by: Riya Saxena <[email protected]>

* updated the release notes

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
  • Loading branch information
riysaxen-amzn authored Mar 21, 2024
1 parent 441f5ae commit c0b737b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class TransportGetFindingsSearchAction @Inject constructor(
)
)
}
searchSourceBuilder.query(queryBuilder)
searchSourceBuilder.query(queryBuilder).trackTotalHits(true)

client.threadPool().threadContext.stashContext().use {
scope.launch {
Expand Down
4 changes: 2 additions & 2 deletions release-notes/opensearch-alerting.release-notes-2.13.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Compatible with OpenSearch 2.13.0
* optimize to fetch only fields relevant to doc level queries in doc level monitor instead of entire _source for each doc #[1441](https://github.com/opensearch-project/alerting/pull/1441)
* Add jvm aware setting and max num docs settings for batching docs for percolate queries #[1435](https://github.com/opensearch-project/alerting/pull/1435)
* fix for MapperException[the [enabled] parameter can't be updated for the object mapping [metadata.source_to_query_index_mapping] (#[1432](https://github.com/opensearch-project/alerting/pull/1432)) (#[1434](https://github.com/opensearch-project/alerting/pull/1434))

* adding tracking_total_hits in search query for findings (#[1487](https://github.com/opensearch-project/alerting/pull/1487))

### Enhancements
* Enhance per bucket, and per document monitor notification message ctx. (#[1450](https://github.com/opensearch-project/alerting/pull/1450)) (#[1477](https://github.com/opensearch-project/alerting/pull/1477))
Expand All @@ -20,4 +20,4 @@ Compatible with OpenSearch 2.13.0
* add distributed locking to jobs in alerting (#[1403](https://github.com/opensearch-project/alerting/pull/1403)) (#[1458](https://github.com/opensearch-project/alerting/pull/1458))

### Documentation
* Added 2.13 release notes (#[1483](https://github.com/opensearch-project/alerting/pull/1483))
* Added 2.13 release notes (#[1483](https://github.com/opensearch-project/alerting/pull/1483))

0 comments on commit c0b737b

Please sign in to comment.