elastic_client
elastic_client copied to clipboard
How to implement queries with autocomplete?
I'd like to implement autocomplete using one of the following strategies: https://medium.com/@mourjo_sen/a-detailed-comparison-between-autocompletion-strategies-in-elasticsearch-66cb9e9c62c4. How do I write these queries using your client?
I think you can use Client.search (https://pub.dev/documentation/elastic_client/latest/elastic_client/Client/search.html) with passing the aggregation field as it was in the example.