lucene-query-parser.js
lucene-query-parser.js copied to clipboard
Limitations on - and + operators
From Sal Palacios (via email):
Im noticing it throws errors for syntax that seems to be legit .. For example it give error on the following syntax which should be ok:
title:foo -title:bar
Or any kind of grouping with a +
or –
in front of it like such
-(foo bar)
+(foo bar)
This is related to issue #2 and could be merged into a single issue.
Documented these limitations here: https://github.com/thoward/lucene-query-parser.js/wiki#wiki-incomplete-implementation-of---and--operators