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

Support of new k-NN query parameter, expand_nested #1013

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bzhangam
Copy link

Description

Support new knn query parameter expand_nested_docs.

Related Issues

Resolves #1008

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

Copy link

@yizheliu-amazon yizheliu-amazon left a comment

Choose a reason for hiding this comment

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

LGTM overall

CHANGELOG.md Outdated Show resolved Hide resolved
@heemin32 heemin32 added the backport 2.x Label will add auto workflow to backport PR to 2.x branch label Dec 16, 2024
@bzhangam bzhangam changed the title [FEATURE]Support of new k-NN query parameter, expand_nested_docs #1008 [FEATURE]Support of new k-NN query parameter, expand_nested_docs Dec 16, 2024
@heemin32
Copy link
Collaborator

Please resolve the changelog conflict

@heemin32
Copy link
Collaborator

heemin32 commented Dec 16, 2024

  1. Remove [FEATURE] from PR title.
  2. Keep the CHANGELOG entry to be same as PR title.

@bzhangam bzhangam changed the title [FEATURE]Support of new k-NN query parameter, expand_nested_docs Support of new k-NN query parameter, expand_nested Dec 16, 2024
@bzhangam bzhangam reopened this Dec 16, 2024
@martin-gaievski
Copy link
Member

Overall code looks good to me.
One additional point - I think we have reached the point of NeuralQueryBuild having that always growing constructor of gazillion fields. Can you please add a builder class similar to one in KNNQueryBuilder, or log a new issue for this repo if the effort is beyond your bandwidth?

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 enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE]Support of new k-NN query parameter, expand_nested_docs
4 participants