tantivyr 0.1.1
CRAN release: 2026-09-22
- New
fold_accentsargument intnt_text()andtnt_index_df(): removes diacritics from indexed words and queries (ASCII folding), so a query typed without accents, such as"orcamento", finds"orçamento". Stored text and snippets keep their accents. - New
pt_newsdataset: 36 short, fictional news stories in Brazilian Portuguese for trying out stemming, stop words, filters and highlights. - New vignette “Searching Portuguese text” covering stemming, stop words, accents and the query syntax.
- Updated the bundled ‘Tantivy’ engine to 0.26.2 (bug-fix release; no API changes) and refreshed the vendored ‘Rust’ crates.
-
SystemRequirementsnow states the minimum supported ‘Rust’ version (rustc >= 1.88), so an outdated toolchain is reported clearly at configure time instead of failing during compilation. - Corrected the example return value in the
tantivy_version()documentation.
tantivyr 0.1.0
CRAN release: 2026-07-15
- Initial release.
-
tnt_index_df()indexes a data frame in one call (auto-schema). - Explicit schema API:
tnt_schema()withtnt_text(),tnt_i64(),tnt_u64(),tnt_f64(),tnt_bool(),tnt_date()andtnt_json(). -
tnt_index()creates or opens on-disk and in-memory indexes. -
tnt_add(),tnt_commit(),tnt_delete()andtnt_update()provide incremental updates. -
tnt_search()returns a tibble with BM25 scores, structured filters (comparison expressions or Tantivy query strings), snippet highlighting and fast-field ordering;tnt_count()returns total match counts. - Portuguese and English stemming and stop words, plus other Snowball languages.