docfind
Rust document search engine that compiles a full-text index into a WebAssembly module for search in the browser.
microsoft.github.io/docfind/repository
docfind builds a search index from a JSON file of documents and writes it into a WebAssembly module, so that search runs in the visitor’s browser with no server. The index maps keywords, extracted at build time with the RAKE algorithm, to documents through a finite state transducer; the stored document text is compressed with FSST. The README describes fuzzy matching with Levenshtein distance at query time.
The command-line tool is a self-contained Rust binary that runs on the developer’s machine. Its output is a JavaScript module and a .wasm file, which a page imports as a module.
Worth knowing
The repository has no documentation site; the README is the only documentation. The project’s homepage is a demo that searches 50,000 news articles in the browser.
Identity
Rendering and deploy
- Runs as
- In the browser, Dev only6
- Install with
- shell install script6
Releases
Adoption
Sources
- 2026-10-28: links
microsoft.github.io/docfind/ - 2026-10-28: links
github.com/microsoft/docfind - 2026-10-28: Maintainer, License
github.com/microsoft/docfind/blob/main/LICENSE - 2026-10-28: Headquarters
www.microsoft.com/en-us/legal/terms-of-use - 2026-10-28: First release, Current major version
api.github.com/repos/microsoft/docfind/releases - 2026-10-28: Written in, Categories, Runs as, Install with
github.com/microsoft/docfind/blob/main/README.md - 2026-10-28: Last release
api.github.com/repos/microsoft/docfind/releases/latest - 2026-10-28: GitHub stars
api.github.com/repos/microsoft/docfind - 2026-10-28: Contributors
api.github.com/repos/microsoft/docfind/contributors?per_page=1