This is a fork of https://github.com/tantivy-search/tantivy-cli
mkdir /tmp/tantivy/wiki
cp ./data/meta.json /tmp/tantivy/wiki
tanc index --file ./data/wiki-articles-1000.json --index /tmp/tantivy/wiki
Or instead of using the tanc binary above you can run it this way...
cargo run index --file ./data/wiki-articles-1000.json --index /tmp/tantivy/wiki/
See the data dir for more details...
See the doc dir for more details...