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

Test PR #1092

Closed
Closed

Conversation

vibrantvarun
Copy link
Member

@vibrantvarun vibrantvarun commented Jan 13, 2025

Do not merge this PR

* 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]>
@vibrantvarun
Copy link
Member Author

DO not merge this PR now

Copy link

codecov bot commented Jan 13, 2025

Codecov Report

Attention: Patch coverage is 86.81319% with 12 lines in your changes missing coverage. Please review.

Project coverage is 80.35%. Comparing base (a349cf8) to head (2155d22).

Files with missing lines Patch % Lines
...nsearch/neuralsearch/query/HybridQueryBuilder.java 76.92% 1 Missing and 5 partials ⚠️
...ralsearch/search/query/HybridCollectorManager.java 77.77% 2 Missing and 2 partials ⚠️
.../opensearch/neuralsearch/util/HybridQueryUtil.java 33.33% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x    #1092      +/-   ##
============================================
+ Coverage     80.07%   80.35%   +0.28%     
- Complexity     1143     1156      +13     
============================================
  Files            87       87              
  Lines          3960     4022      +62     
  Branches        668      681      +13     
============================================
+ Hits           3171     3232      +61     
+ Misses          538      535       -3     
- Partials        251      255       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Varun Jain <[email protected]>
Signed-off-by: Varun Jain <[email protected]>
Signed-off-by: Varun Jain <[email protected]>
@vibrantvarun
Copy link
Member Author

Do not merge this PR

@vibrantvarun vibrantvarun changed the title [Backport 2.x] Pagination in hybrid query Do not merge this PR Jan 14, 2025
@vibrantvarun vibrantvarun changed the title Do not merge this PR Test PR Jan 14, 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.

1 participant