Registry / utility / elasticlunr-rs

elasticlunr-rs

JSON →
library3.0.2rscratesunverified

A partial port of elasticlunr.js to Rust for generating static document search indexes

# Cargo.toml [dependencies] elasticlunr-rs = "3.0.2"
INSTALL
IMPORT
SIG · ELASTICLUNR-RS
E
elasticlunr-rs
utilityrustv3.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Index
use elasticlunr_rs::Index;

Creates a new search index and adds a document.

use elasticlunr_rs::Index; fn main() { let mut index = Index::new(); index.add_document("doc1", "content"); println!("Index created"); }
Debug
Known issues
gotchaOnly partial port; some elasticlunr.js features may be missing.
fix
Check documentation for supported features.
affects: >=0.1.0
Upgrade
Version history
3.0.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
elasticlunr-rs — cargo add elasticlunr-rs · libregistry