elucene
Extended Lucene query syntax adding LIMIT, FIELDS, and SORT.
Installation
$ npm install elucene
Example
var parse = ;var query = 'level:error SORT timestamp:asc LIMIT 2 5 FIELDS message code';var ret = ;
yields:
string: 'level:error' sort: 'timestamp:asc' limit: '2' '5' fields: 'message' 'code'
License
MIT