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

Removing unsupported prefix field from CompletionSuggester #812

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

VachaShah
Copy link
Collaborator

Description

CompletionSuggester does not support prefix field. prefix can be added to FieldSuggester of which CompletionSuggester is a part. An example: https://github.com/opensearch-project/opensearch-java/blob/main/samples/src/main/java/org/opensearch/client/samples/Search.java#L140-L143

Issues Resolved

Resolve #771

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.

Signed-off-by: Vacha Shah <vachshah@amazon.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>
@VachaShah VachaShah merged commit d83a2e8 into opensearch-project:main Jan 19, 2024
48 checks passed
@VachaShah VachaShah added the backport 2.x Backport to 2.x branch label Jan 19, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 19, 2024
* Removing unsupported prefix field from CompletionSuggester

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Add Changelog

Signed-off-by: Vacha Shah <vachshah@amazon.com>

---------

Signed-off-by: Vacha Shah <vachshah@amazon.com>
(cherry picked from commit d83a2e8)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@VachaShah VachaShah deleted the issue-771 branch January 19, 2024 00:25
VachaShah pushed a commit that referenced this pull request Jan 19, 2024
* Removing unsupported prefix field from CompletionSuggester



* Add Changelog



---------


(cherry picked from commit d83a2e8)

Signed-off-by: Vacha Shah <vachshah@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@BrendonFaleiro BrendonFaleiro mentioned this pull request Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] SearchRequest with suggest property is throwing error
2 participants