Comment on Sales search: Writing a query parser/AST using Pyparsing+Elasticsearch (part 2)parentComments−mhluongo13yGoogle "lucene query syntax"- it's pretty common. In fact, the only reason it seems they needed pyparsing (from the last article) instead of using Lucene syntax (which Elasticsearch supports) is to support more field operators like '>'.EDIT: If you're a Python guy we've published a library to make generating such query strings easier - https://github.com/scholrly/lucene-querybuilder
Comments
Google "lucene query syntax"- it's pretty common. In fact, the only reason it seems they needed pyparsing (from the last article) instead of using Lucene syntax (which Elasticsearch supports) is to support more field operators like '>'.
EDIT: If you're a Python guy we've published a library to make generating such query strings easier - https://github.com/scholrly/lucene-querybuilder