Skip to content

[BUG] RangeRelation class removed #1833

@fire2

Description

@fire2

What is the bug?

The RangeRelation class was removed in https://github.com/opensearch-project/opensearch-java/pull/1697/changes#diff-3f9a4d6d34b3ee2b1cb2d00990c85c5c4d6b47564874ddcd76764c8d8aaad5cb
Why? I don't see any reason since the relation property still exists in RangeQuery but now just expects a string instead of the enum.

How can one reproduce the bug?

Use opensearch-java 3.3.0 or higher

What is the expected behavior?

The RangeRelation class exists and can be used to build RangeQuery queries..

What is your host/environment?

AWS OpenSearch 3.x

Do you have any screenshots?

Do you have any additional context?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions