How to use Elasticsearch analyzers to build code completion

I’m sure you must have used the advanced filters in Gmaail where you can filter a message by sender or by whether it has any attachment or exact text match in various part of the mail - the body or the subject. There are more filters and in this article we will try to create a parser based in Typescript and tie it with an API endpoint that queries Elasticsearch.