Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Pagination in hybrid query #1099

Merged

Conversation

vibrantvarun
Copy link
Member

backport b08483849 and bff857d6b to 2.x

* Pagination in Hybrid query

Signed-off-by: Varun Jain <[email protected]>

* Remove unwanted code

Signed-off-by: Varun Jain <[email protected]>

* Adding hybrid query context dto

Signed-off-by: Varun Jain <[email protected]>

* Adding javadoc in hybridquerycontext and addressing few comments from review

Signed-off-by: Varun Jain <[email protected]>

* rename hybrid query extraction method

Signed-off-by: Varun Jain <[email protected]>

* Refactoring to optimize extractHybridQuery method calls

Signed-off-by: Varun Jain <[email protected]>

* Changes in tests to adapt  with builder pattern in querybuilder

Signed-off-by: Varun Jain <[email protected]>

* Add mapper service mock in tests

Signed-off-by: Varun Jain <[email protected]>

* Fix error message of index.max_result_window setting

Signed-off-by: Varun Jain <[email protected]>

* Fix error message of index.max_result_window setting

Signed-off-by: Varun Jain <[email protected]>

* Fixing validation condition for lower bound

Signed-off-by: Varun Jain <[email protected]>

* fix tests

Signed-off-by: Varun Jain <[email protected]>

* Removing version check from doEquals and doHashCode method

Signed-off-by: Varun Jain <[email protected]>

---------

Signed-off-by: Varun Jain <[email protected]>
…ect#1094)

* Update pagination_depth datatype from int to Integer

Signed-off-by: Varun Jain <[email protected]>
@vibrantvarun vibrantvarun merged commit 96fa384 into opensearch-project:2.x Jan 14, 2025
64 of 66 checks passed
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