lucene-query-syntax 0.1.1

Parses a subset of the Apache Lucene query syntax
Documentation
# lucene-query-syntax

Converts (a subset of) the Lucene query syntax to SQL queries.

Currently, it supports the following features:

- Words: single words, like `potato`;
- Phrases: quoted strings, such as `"some stuff"`;
- Named words or phrases: a word or phrase prefixed by `<fieldname>:`;
- Groups: parenthesized queries of any sort;
- Negation: negates the condition of any term by prefixing it with `-`;
- Ranges: numeric ranges in the format `{a TO b}` or `[a TO b]`, for exclusive and inclusive ranges, respectively.

## Purpose

This was developed for the purpose of being used internally in the main [Troposphir], through [lucene2sql].

Advanced Lucene features such as weights and fuzzy searches are unimplemented due to not being possible in naive SQL,
and/or not used in the game's search feature.

[Troposphir]: https://github.com/Troposphir/troposphir
[lucene2sql]: https://gitea.kroltan.me/Troposphir/lucene2sql