bripkens / lucene

Node.js lib to transform: lucene query → syntax tree → lucene query
MIT License
73 stars 33 forks source link

Allow quoted terms within a range expression #39

Closed maxtilford-sc closed 3 years ago

maxtilford-sc commented 3 years ago

We have some queries that can't be parsed by this library because the use quoted terms in ranges, which seem to work fine in other tools.

This seemed like the simplest fix. Happy to rework it if there's any feedback.

coveralls commented 3 years ago

Coverage Status

Coverage increased (+0.09%) to 84.383% when pulling 2a9e4e02f61557202a914e37db708e0731b087a3 on maxtilford-sc:allow-quoted-terms-within-a-range-expression into 5dd1d6c3abedefddde875ac09df5e46822557e53 on bripkens:master.