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

enhancements: support neural_sparse query by tokens #693

Merged
merged 9 commits into from
Apr 22, 2024

Conversation

zhichao-aws
Copy link
Member

Description

support raw tokens query in neural_sparse search

Issues Resolved

#608

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed as per the DCO using --signoff

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.

@zhichao-aws zhichao-aws marked this pull request as ready for review April 18, 2024 03:21
@zhichao-aws zhichao-aws self-assigned this Apr 18, 2024
@zhichao-aws zhichao-aws added v2.14.0 Enhancements Increases software capabilities beyond original client specifications labels Apr 18, 2024
Signed-off-by: zhichao-aws <zhichaog@amazon.com>
Signed-off-by: zhichao-aws <zhichaog@amazon.com>
Signed-off-by: zhichao-aws <zhichaog@amazon.com>
Signed-off-by: zhichao-aws <zhichaog@amazon.com>
Signed-off-by: zhichao-aws <zhichaog@amazon.com>
Signed-off-by: zhichao-aws <zhichaog@amazon.com>
Copy link
Contributor

@chishui chishui left a comment

Choose a reason for hiding this comment

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

Overall, LGTM

Signed-off-by: zhichao-aws <zhichaog@amazon.com>
Signed-off-by: zhichao-aws <zhichaog@amazon.com>
Signed-off-by: zhichao-aws <zhichaog@amazon.com>
@zhichao-aws zhichao-aws merged commit f5a47a6 into opensearch-project:main Apr 22, 2024
71 checks passed
@zhichao-aws zhichao-aws added the backport 2.x Label will add auto workflow to backport PR to 2.x branch label Apr 22, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 22, 2024
* enhancements: support neural sparse query by tokens

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* add empty string logics for streams

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* fix fromXContent error case logic

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* add ut

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* ut it

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* updates for comments

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* nit

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* fix comments

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

---------

Signed-off-by: zhichao-aws <zhichaog@amazon.com>
(cherry picked from commit f5a47a6)
zhichao-aws added a commit that referenced this pull request Apr 22, 2024
* enhancements: support neural sparse query by tokens

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* add empty string logics for streams

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* fix fromXContent error case logic

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* add ut

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* ut it

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* updates for comments

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* nit

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* fix comments

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

---------

Signed-off-by: zhichao-aws <zhichaog@amazon.com>
(cherry picked from commit f5a47a6)

Co-authored-by: zhichao-aws <zhichaog@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Label will add auto workflow to backport PR to 2.x branch Enhancements Increases software capabilities beyond original client specifications v2.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants