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 for regex in completion suggesters #309

Open
selimt opened this issue Jun 21, 2023 · 1 comment
Open

Support for regex in completion suggesters #309

selimt opened this issue Jun 21, 2023 · 1 comment

Comments

@selimt
Copy link

selimt commented Jun 21, 2023

Elasticsearch completion suggesters support regex queries:

https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters.html#regex

Would it be possible to support that?

For now I'd have to modify the existing query dict to replace the "text" key with the "regex" key inside the suggest viewset method.

Thanks.

@selimt
Copy link
Author

selimt commented Jun 21, 2023

I also opened up an issue here:
elastic/elasticsearch-dsl-py#1650

Since without it this can not be easily supported.

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

No branches or pull requests

1 participant