django-elasticsearch-dsl-drf
django-elasticsearch-dsl-drf copied to clipboard
Support for regex in completion suggesters
trafficstars
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.
I also opened up an issue here: https://github.com/elastic/elasticsearch-dsl-py/issues/1650
Since without it this can not be easily supported.