lucene-filter.js

Data filter for lucene queries
git clone git://git.finwo.net/lib/lucene-filter.js
Log | Files | Refs | README | LICENSE

commit 2aff13ef1f363f89ed20b362dee7715e19145e01
parent ad3e4efbc4d6e2c6b1014949f0fcd06c9d133545
Author: Tobiasz Cudnik <tobiasz.cudnik@gmail.com>
Date:   Sat, 26 Jan 2019 02:27:55 +0000

Fixed a broken ref to the operators object
Diffstat:
Msrc/index.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/index.js b/src/index.js @@ -20,7 +20,7 @@ const lucene = module.exports = function compiler(query) { // Compile combined if (query.operator) { - return operators[query.operator]( + return lucene.operators[query.operator]( lucene(query.left), lucene(query.right), );