tantivyr: Fast Full-Text Search for R with 'Tantivy'

Index data frames and document collections and run fast full-text search entirely on your machine. 'tantivyr' wraps the 'Tantivy' 'Rust' search engine (a 'Lucene'-inspired library) to provide 'BM25' ranking, structured filters, snippet highlighting and incremental updates over an on-disk or in-memory index. First-class support is provided for stemming and stop words in Portuguese and English, making it well suited to public documents, news clippings, extracted 'PDF' text, transcripts and legal acts.

Version: 0.1.0
Depends: R (≥ 4.2)
Imports: cli, rlang (≥ 1.1.0), tibble, tidyselect
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2026-07-15
DOI: 10.32614/CRAN.package.tantivyr (may not be active yet)
Author: Andre Leite [aut, cre], Marcos Wasilew [aut], Hugo Vasconcelos [aut], Carlos Amorim [aut], Diogo Bezerra [aut]
Maintainer: Andre Leite <leite at castlab.org>
BugReports: https://github.com/StrategicProjects/tantivyr/issues
License: MIT + file LICENSE
URL: https://strategicprojects.github.io/tantivyr/, https://github.com/StrategicProjects/tantivyr
NeedsCompilation: yes
SystemRequirements: Cargo (Rust's package manager), rustc
Materials: README, NEWS
CRAN checks: tantivyr results

Documentation:

Reference manual: tantivyr.html , tantivyr.pdf
Vignettes: Getting started with tantivyr (source, R code)

Downloads:

Package source: tantivyr_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): tantivyr_0.1.0.tgz, r-oldrel (arm64): tantivyr_0.1.0.tgz, r-release (x86_64): tantivyr_0.1.0.tgz, r-oldrel (x86_64): tantivyr_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tantivyr to link to this page.