Sales search: Writing a query parser/AST using Pyparsing+Elasticsearch (part 2)(blog.close.io)
blog.close.io
Sales search: Writing a query parser/AST using Pyparsing+Elasticsearch (part 2)
http://blog.close.io/post/49711234004/sales-data-search-writing-a-query-parser-ast-using
1 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
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
Does anyone know of any specification of a colon-style query syntax that other projects could reuse? Even something semi-formal would be better than nothing.