Check out the doc
Tantivy is a text search engine library written in rust. It also comes with a command-line CLI that can help you get an up and running search engine in minutes.
Getting started with the command-line util
Creating a new index
# my-index directory must be created beforehands mkdir my-index # Tantivy new will trigger a wizard, to define the schema # of your index. tantivy new -i ./my-index