4 ms·
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
by mhluongo 13y ago
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 https://github.com/scholrly/lucene-querybuilder