mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-01-06 01:02:55 +00:00
d40ef06ddec41731bae8d4c9275f740b345915a5
This branch is to be published as a hotfix for 5.1.0. Closes #280 Closes #274 Closes #289
Tantivy is a full text search engine library written in rust.
It is strongly inspired by Lucene's design.
Features
- configurable indexing (optional term frequency and position indexing)
- tf-idf scoring
- Basic query language
- Phrase queries
- Incremental indexing
- Multithreaded indexing (indexing English Wikipedia takes < 3 minutes on my desktop)
- mmap based
- optional SIMD integer compression
- u64 and i64 fast fields (equivalent of doc values in Lucene)
- LZ4 compressed document store
- Cheesy logo with a horse
Tantivy supports Linux, MacOS and Windows.
Getting started
- tantivy's usage example
- tantivy-cli and its tutorial. It will walk you through getting a wikipedia search engine up and running in a few minutes.
- [reference doc]
Compiling
Tantivy requires Rust Nightly because it uses requires the features box_syntax, optin_builtin_traits, and conservative_impl_trait.
The project can then be built using cargo.
git clone git@github.com:tantivy-search/tantivy.git
cd tantivy
cargo build
Alternatively, if you are trying to compile tantivy without simd compression,
you can disable this functionality. In this case, this submodule is not required
and you can compile tantivy by using the --no-default-features flag.
cargo build --no-default-features
Contribute
Send me an email (paul.masurel at gmail.com) if you want to contribute to tantivy.
Languages
Rust
100%
