whydrogen 0.1.0

A slightly opinioated search query parser/lexer.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# whydrogen — Serch Query Parser Library

Whydrogen is a slightly opinioated search query parser written in rust.

The syntax should be familiar to anyone who knows a bit about the "Advanced search" features of several popular search engines. It supports `just words`, `"Quoted tokens"`, `key:value` pairs, `!prefixed-values`, `-"negated" -key:"values and" -!prefixes`.

Which keywords and prefixes work is fully customizable. The syntax is unicode aware.

For a detailed syntax description see the [documentation in the lib.rs file](src/lib.rs).

## License

whydrogen is licensed under a [LGPL-3.0-only](./LICENSES/LGPL-3.0-only.txt) license.