Fast Full-Text Search for R with 'Tantivy'
Overview
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.
- Updated the bundled 'Tantivy' engine to 0.27.0 and refreshed the vendored 'Rust' crates. The on-disk index format is unchanged (v7), so existing indexes keep working. This also replaces the
lrucrate with a version that fixes RUSTSEC-2026-0253 (the unsound code was never reachable from 'tantivyr'). - Fixed the macOS linker warnings reported by CRAN's M1mac additional checks ("object file was built for newer 'macOS' version than being linked"): on macOS the Cargo build now pins
MACOSX_DEPLOYMENT_TARGETto rustc's own default for the platform (11.0 on Apple silicon) unless it is already set, so the C sources compiled by Cargo carry a minimum version that is never newer than the one R links against.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-25
- ERROR12 OK, 1 ERROR2026-09-23
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-30
Show 2 earlier changesHide 2 earlier changes
- NOTE12 OK, 1 NOTE2026-07-29
- OK6 OK2026-07-16
Documentation
- Help pages
- 16 (1 internal)includes a package overview page
- Examples that run
- 100%14 run in a plain check
- Exported functions with examples
- 93%
- Documented parameters
- 95%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 91%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
Issues over time
Commits over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/strategicprojects/tantivyr on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-20 · The repository has a site deploy workflow
pkgdown site last built 2026-10-20, before release 0.1.3 (2026-10-21)
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen on or before 2026-06-28Named in .Rbuildignore: .claude, CLAUDE.mdNamed in .gitignore: .claude, CLAUDE.mdCommits: at least 26 crediting it in the message
- Claude CodePull requests: 11 from outside contributors, first on 2026-07-04
- Claude Opus 4.811 commits · Jun to Jul 2026
- Claude Fable 57 commits · Oct 2026
- Claude Fable 5.15 commits · Sep 2026
- Claude Opus 5.53 commits · Sep 2026
Dependencies
Code & Tests
Datasets
People & History
Maintainer since 0.1.0 (2026)
Package metadata
- First published
- 2026-07-15
- Total releases
- 3 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.2
- Bundled data
- 3.6 KB / 1 file
- Download size
- 20 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tantivyr")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.