FoundatioFx / Foundatio.Parsers

A lucene style query parser that is extensible and allows modifying the query.
https://www.nuget.org/packages/Foundatio.Parsers.LuceneQueries/
Apache License 2.0
66 stars 19 forks source link

Fix for parsing NOT before parens #52

Closed LucidSage closed 4 years ago

LucidSage commented 4 years ago

Getting an error when trying to parse something like "cat NOT (dog parrot)", which is valid syntax according to apache lucene parser and elastic systems i have tried it directly with. This change adds NOT before parens as a valid option in the peg file.

CLAassistant commented 4 years ago

CLA assistant check
All committers have signed the CLA.

ejsmith commented 4 years ago

Thank you @LucidSage!

LucidSage commented 4 years ago

@ejsmith Your welcome! I appreciate the fact that this project is well maintained :)