Skip to content

[Backport 2.19-dev] Add non-numeric field support for max/min functions (#4281) - #4311

Merged
vamsimanohar merged 1 commit into
opensearch-project:2.19-devfrom
ritvibhatt:backport/backport-4281-to-2.19-dev
Sep 17, 2025
Merged

vamsimanohar merged 1 commit into
opensearch-project:2.19-devfrom
ritvibhatt:backport/backport-4281-to-2.19-dev

Conversation

@ritvibhatt

Copy link
Copy Markdown
Contributor

(cherry picked from commit 7088e08)

fix switch for Java 11

…ct#4281)

* add non-numeric support for max/min

Signed-off-by: Ritvi Bhatt <[email protected]>

* fix mixed field behavior

Signed-off-by: Ritvi Bhatt <[email protected]>

* update doc

Signed-off-by: Ritvi Bhatt <[email protected]>

* update doc

Signed-off-by: Ritvi Bhatt <[email protected]>

* update formatting

Signed-off-by: Ritvi Bhatt <[email protected]>

* add tests

Signed-off-by: Ritvi Bhatt <[email protected]>

* fix formatting

Signed-off-by: Ritvi Bhatt <[email protected]>

* empty

Signed-off-by: Ritvi Bhatt <[email protected]>

* fix formatting

Signed-off-by: Ritvi Bhatt <[email protected]>

* fix

Signed-off-by: Ritvi Bhatt <[email protected]>

* support ip type max/min

Signed-off-by: Ritvi Bhatt <[email protected]>

* fix formatting

Signed-off-by: Ritvi Bhatt <[email protected]>

* use tophitsparser

Signed-off-by: Ritvi Bhatt <[email protected]>

* remove v2 explain

Signed-off-by: Ritvi Bhatt <[email protected]>

* check for numeric fields for native max/min

Signed-off-by: Ritvi Bhatt <[email protected]>

* change names

Signed-off-by: Ritvi Bhatt <[email protected]>

* fix type checking

Signed-off-by: Ritvi Bhatt <[email protected]>

---------

Signed-off-by: Ritvi Bhatt <[email protected]>
Signed-off-by: ritvibhatt <[email protected]>
(cherry picked from commit 7088e08)
@vamsimanohar
vamsimanohar merged commit 316721c into opensearch-project:2.19-dev Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants