pagefind
pagefind copied to clipboard
Make Pagefind available as a Rust library crate
Hello! I currently use the Node API to index custom files (EDN, in particular). It takes around 3 minutes to index 1100 files. I imagine that doing this in Rust would be much faster. Since pagefind is written in Rust, would you consider exposing a Rust API for custom indexing? Thank you!
👋 Hey @holyjak
This is definitely something that could be exposed! 🙂
One note though — the 1.0.3 release does have a performance issue with the API indexing files. If you give 1.0.4-beta.0 an install you should see much-much-much better performance.
Sorry about that! I'll look at preparing a release soon.
You were right, the 1.0.4 beta is done in 5 sec. Amazing!