traverze
A utility library and CLI for full-text search built on Tantivy and Lindera.
Features
tokenizer-ngram(default)tokenizer-lindera-ipadic(optional)
CLI
Notes:
indexdefault is fast mode (no storedcontents).index --resetwithout files only deletes the index directory.- To enable snippets, build index with
index --with-snippet. - If
search --with-snippetis used on a non-snippet index, recreate withindex --reset --with-snippet.
Library Usage
Add dependency
[]
= "0.2"
Use Lindera (IPADIC) tokenizer:
[]
= { = "0.2", = ["tokenizer-lindera-ipadic"] }
Minimal example
use PathBuf;
use Traverze;
Third-Party Notices
When distributing binaries or source artifacts (including crates.io packages),
review and include THIRD_PARTY_NOTICES.md.
This is especially important when tokenizer-lindera-ipadic is enabled,
because IPADIC dictionary data notice terms apply.