3 ms·
It would be even cooler if it found books of "Stanisław Lem" with the correct name as well as its ASCII equivalent "Stanislaw Lem".
by mordae 4y ago
It would be even cooler if it found books of "Stanisław Lem" with the correct name as well as its ASCII equivalent "Stanislaw Lem".
- mdaniel 4y agoYou may want to try building it locally without their AsciiFoldingFilter and see if it behaves as you wish: https://github.com/zlib-searcher/zlib-searcher/blob/0.6.0/crates/zlib-searcher-core/src/tokenizer.rs#L16 https://github.com/zlib-searcher/zlib-searcher/blob/0.6.0/cr... I don't know tantivy well enough to know if it'd be possible to put the folded in one field and the literal in another and then use the search syntax to choose between them