Tantivy is a full-text search engine library inspired by Apache Lucene and written in Rust
Find a file
2018-06-11 22:21:58 +09:00
ci Added cross testing on different platforms 2018-06-04 09:47:53 +09:00
examples Rustfmt 2018-05-07 19:50:35 -07:00
src Reduced heap usage in unit test 2018-06-05 10:02:10 +09:00
.gitattributes Mark "cpp" folder as linguist-vendored in .gitattributes 2017-03-30 13:43:03 +01:00
.gitignore Added bitse 2018-01-31 23:56:54 +09:00
.travis.yml Disabling ARM targets 2018-06-05 12:22:00 +09:00
appveyor.yml Display backtrace 2017-05-14 23:28:17 +09:00
AUTHORS Added an AUTHORS file. Closes #315 (#316) 2018-06-11 22:21:58 +09:00
Cargo.toml atomicwrites 2.2.0 for ARM compilation 2018-06-06 07:13:09 +09:00
CHANGELOG.md Implement StopWords Filter (#292) 2018-05-09 18:40:41 -07:00
LICENSE Added an AUTHORS file. Closes #315 (#316) 2018-06-11 22:21:58 +09:00
README.md Update README 2018-06-08 13:05:57 +09:00
rustfmt.toml rustfmt 2018-02-16 17:50:05 +09:00

Tantivy

Build Status Coverage Status Join the chat at https://gitter.im/tantivy-search/tantivy License: MIT Build status

Tantivy is a full text search engine library written in rust.

It is closer to Lucene than to Elastic Search and Solr in the sense it is not an off-the-shelf search engine server, but rather a crate that can be used to build such a search engine.

Tantivy is, in fact, strongly inspired by Lucene's design.

Features

  • Full-text search
  • Tiny startup time (<10ms), perfect for command line tools
  • BM25 scoring (the same as lucene)
  • Basic query language (+michael +jackson)
  • Phrase queries search ("michael jackson"`)
  • Incremental indexing
  • Multithreaded indexing (indexing English Wikipedia takes < 3 minutes on my desktop)
  • Mmap directory
  • SIMD integer compression when the platform/CPU includes the SSE2 instruction set.
  • Single valued and multivalued u64 and i64 fast fields (equivalent of doc values in Lucene)
  • &[u8] fast fields
  • LZ4 compressed document store
  • Range queries
  • Faceted search
  • Configurable indexing (optional term frequency and position indexing
  • Cheesy logo with a horse

Non-features

  • Distributed search and will not be in the scope of tantivy.

Supported OS

Tantivy supports Linux, MacOS and Windows.

Getting started

Compiling

Development

Tantivy now compiles on stable rust. To check out and run test, you can simply run :

git clone git@github.com:tantivy-search/tantivy.git
cd tantivy
cargo build

Contribute

Send me an email (paul.masurel at gmail.com) if you want to contribute to tantivy.