Skip to content

Fix completion suggester #2044

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

Merged
merged 2 commits into from
Mar 23, 2023
Merged

Fix completion suggester #2044

merged 2 commits into from
Mar 23, 2023

Conversation

stevejgordon
Copy link
Contributor

Fixes issues raised in elastic/elasticsearch-net#7454.

The completion suggester doesn't support a field named "prefix" which is a FieldSuggester container property.

After reviewing the server code, I noticed that regex is not a string but an instance of RegexOptions used to control the regex provided via the container property.

@github-actions
Copy link
Contributor

Following you can find the validation results for the API you have changed.

API Status Request Response
search 🔴 1431/1465 1408/1447

You can validate this API yourself by using the make validate target.

@stevejgordon stevejgordon merged commit 1698cd4 into main Mar 23, 2023
@stevejgordon stevejgordon deleted the fix-completion-suggester branch March 23, 2023 15:44
github-actions bot pushed a commit that referenced this pull request Mar 23, 2023
* Fix completion suggester

* Fix flags which is a union
github-actions bot pushed a commit that referenced this pull request Mar 23, 2023
* Fix completion suggester

* Fix flags which is a union
stevejgordon added a commit that referenced this pull request Mar 23, 2023
* Fix completion suggester

* Fix flags which is a union

Co-authored-by: Steve Gordon <[email protected]>
stevejgordon added a commit that referenced this pull request Mar 23, 2023
* Fix completion suggester

* Fix flags which is a union

Co-authored-by: Steve Gordon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants