Crates.io | lucene-query-syntax |
lib.rs | lucene-query-syntax |
version | 0.1.1 |
created_at | 2025-08-17 00:29:15.917624+00 |
updated_at | 2025-08-17 02:39:30.09173+00 |
description | Parses a subset of the Apache Lucene query syntax |
homepage | |
repository | https://gitea.kroltan.me/Troposphir/lucene2sql |
max_upload_size | |
id | 1799010 |
size | 12,475 |
Converts (a subset of) the Lucene query syntax to SQL queries.
Currently, it supports the following features:
potato
;"some stuff"
;<fieldname>:
;-
;{a TO b}
or [a TO b]
, for exclusive and inclusive ranges, respectively.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.