Skip to content

Conversation

@sandeshkr419
Copy link
Member

@sandeshkr419 sandeshkr419 commented Jul 2, 2025

Description

Support for IP field in star-tree queries

Documentation changes: opensearch-project/documentation-website#10668

Related Issues

Resolves #16547

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@github-actions github-actions bot added enhancement Enhancement or improvement to existing feature or request Search:Aggregations v3.1.0 labels Jul 2, 2025
@sandeshkr419 sandeshkr419 changed the title ip field support [Star Tree] IP field support Jul 2, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jul 2, 2025

❌ Gradle check result for 24f8876: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-actions github-actions bot added the v3.1.0 label Aug 5, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2025

❌ Gradle check result for e217312: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>
@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2025

✅ Gradle check result for 9377d86: SUCCESS

Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>
@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2025

❌ Gradle check result for 4f1e398: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

@expani expani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR.

Why is there no InetAddress.nextUp/nextDown for handling IP Field range queries ?

https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/index/mapper/IpFieldMapper.java#L465

@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2025

❌ Gradle check result for 4f1e398: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@sandeshkr419 sandeshkr419 reopened this Aug 5, 2025
@expani
Copy link
Contributor

expani commented Aug 5, 2025

Why is there no InetAddress.nextUp/nextDown for handling IP Field range queries ?

Looks like it should be handled at https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/search/startree/filter/RangeMatchDimFilter.java#L52-L78 as Keyword and IP will use ordinals instead of raw values.

Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>
@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2025

❕ Gradle check result for 32725a0: UNSTABLE

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

@prudhvigodithi prudhvigodithi merged commit f0e5003 into opensearch-project:main Aug 5, 2025
31 checks passed
@sandeshkr419 sandeshkr419 deleted the ip branch August 5, 2025 23:51
vinaykpud pushed a commit to vinaykpud/OpenSearch that referenced this pull request Sep 26, 2025
* ip field changes

Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>

* increase coverage

Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>

---------

Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement or improvement to existing feature or request Search:Aggregations v3.1.0 v3.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Star Tree] [Search] Support for IP field in supported queries with star-tree supported aggregations

4 participants