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

Sales data search: Writing a query parser/AST using pyparsing + Elasticsearch (part 1)

For the Close sales software, we’ve built a powerful search engine which lets you find leads based on different criteria. For examples and insight on how our search works from a user’s perspective, check out our previous blog post about lead search.
Thomas Steinacher
7 min read