# docfind

Rust document search engine that compiles a full-text index into a WebAssembly module for search in the browser.


Source: https://findsoftware.frbit.cloud/docfind/
Last reviewed: 2026-10-28
Listed since: 2026-10-28

## Record

### Links

- home: https://microsoft.github.io/docfind/
- repository: https://github.com/microsoft/docfind

### Identity

- status: active
- maintainer: Microsoft Corporation
- maintainerType: company
- parent: unknown
- firstRelease: 2025
- hqCountry: US

### Kind

- category: search
- hosting: unknown
- language: rust
- runtime: unknown
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: browser, local
- renderingModes: not applicable
- installMethod: shell install script

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 0
- latestReleaseDate: 2025-11-19

### Adoption

- githubStargazers: 697
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 5
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://microsoft.github.io/docfind/ (read 2026-10-28)
- urls: https://github.com/microsoft/docfind (read 2026-10-28)
- maintainer: https://github.com/microsoft/docfind/blob/main/LICENSE (read 2026-10-28)
- hqCountry: https://www.microsoft.com/en-us/legal/terms-of-use (read 2026-10-28)
- firstRelease: https://api.github.com/repos/microsoft/docfind/releases (read 2026-10-28)
- license: https://github.com/microsoft/docfind/blob/main/LICENSE (read 2026-10-28)
- language: https://github.com/microsoft/docfind/blob/main/README.md (read 2026-10-28)
- category: https://github.com/microsoft/docfind/blob/main/README.md (read 2026-10-28)
- runsAs: https://github.com/microsoft/docfind/blob/main/README.md (read 2026-10-28)
- runsAs: https://github.com/microsoft/docfind/blob/main/README.md (read 2026-10-28)
- installMethod: https://github.com/microsoft/docfind/blob/main/README.md (read 2026-10-28)
- installMethod: https://github.com/microsoft/docfind/blob/main/README.md (read 2026-10-28)
- installMethod: https://github.com/microsoft/docfind/blob/main/README.md (read 2026-10-28)
- installMethod: https://github.com/microsoft/docfind/blob/main/README.md (read 2026-10-28)
- currentMajor: https://api.github.com/repos/microsoft/docfind/releases (read 2026-10-28)
- latestReleaseDate: https://api.github.com/repos/microsoft/docfind/releases/latest (read 2026-10-28)
- githubStargazers: https://api.github.com/repos/microsoft/docfind (read 2026-10-28)
- contributors: https://api.github.com/repos/microsoft/docfind/contributors?per_page=1 (read 2026-10-28)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
