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

Regex suggester support #1650

Open
selimt opened this issue Jun 21, 2023 · 0 comments
Open

Regex suggester support #1650

selimt opened this issue Jun 21, 2023 · 0 comments

Comments

@selimt
Copy link

selimt commented Jun 21, 2023

Elasticsearch supports regex suggesters as documented here:
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters.html#regex

But the Search.suggest API does not support that.

A while back a PR had implemented this feature but unfortunately it has been closed:

https://github.com/elastic/elasticsearch-dsl-py/pull/1098/files#diff-a051cc028fe71537806a081bbae62c89853cc5fe07c239019b78d5a371581825R608

Any chance this can be implemented? Currently we have to resort to using the Search.update_from_dict method to modify the query in place.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants