lucene-query-parser.js icon indicating copy to clipboard operation
lucene-query-parser.js copied to clipboard

Limitations on - and + operators

Open thoward opened this issue 11 years ago • 2 comments

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)

thoward avatar Feb 22 '14 23:02 thoward

This is related to issue #2 and could be merged into a single issue.

thoward avatar Feb 22 '14 23:02 thoward

Documented these limitations here: https://github.com/thoward/lucene-query-parser.js/wiki#wiki-incomplete-implementation-of---and--operators

thoward avatar Feb 23 '14 00:02 thoward