Sales data search: Writing a query parser / AST using pyparsing + elasticsearch (part 2)
In part 1 of this series, we built a search query parser using pyparsing which generates an abstract syntax tree (AST) that represents the structure of a search query. In this part, we will cover how to generate an Elasticsearch query by extending the code of the first part.
Thomas Steinacher
6 min read