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] add support for builder constructor in neural query builder #1084

Conversation

will-hwang
Copy link
Contributor

@will-hwang will-hwang commented Jan 9, 2025

Backport 2ecd32c from #1047

will-hwang and others added 3 commits January 8, 2025 18:36
…ch-project#1047)

* add support for builder constructor in neural query builder

Signed-off-by: will-hwang <[email protected]>

* create custom builder class to enforce valid neural query builder instantiation

Signed-off-by: will-hwang <[email protected]>

* refactor code to remove duplicate

Signed-off-by: will-hwang <[email protected]>

* include new constructor in qa packages

Signed-off-by: will-hwang <[email protected]>

* refactor code to remove unnecessary code

Signed-off-by: will-hwang <[email protected]>

* fix bug in neural query builder instantiation

Signed-off-by: will-hwang <[email protected]>

---------

Signed-off-by: will-hwang <[email protected]>
(cherry picked from commit 2ecd32c)
Signed-off-by: will-hwang <[email protected]>
Signed-off-by: will-hwang <[email protected]>
@will-hwang will-hwang force-pushed the upstream/backport/backport-1047-to-2.x branch from 731232e to ff5d474 Compare January 9, 2025 02:36
@will-hwang will-hwang changed the title Upstream/backport/backport 1047 to 2.x [Backport 2.x] add support for builder constructor in neural query builder Jan 9, 2025
@will-hwang will-hwang marked this pull request as ready for review January 9, 2025 02:46
@will-hwang
Copy link
Contributor Author

created a manual backport PR, since I couldn't modify the backport pr opened on #1065

@junqiu-lei junqiu-lei merged commit 452db42 into opensearch-project:2.x Jan 9, 2025
71 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