Skip to content

Consider using a search library that handles typo tolerance #764

@dguo

Description

@dguo

Hello. I recently finished reading the Rust book, and when I played around with the search feature, I realized that it doesn't handle typos. You just don't get any results. I read through #51, and I didn't see any mention of Fuse.js, which is like Elasticlunr, but is designed to handle fuzzy-searching/typos.

Would the mdBook owners be open to possibly switching to it? There might be disadvantages too, like a noticeably slower search or subjectively worse results, so it would take some investigation/experimentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions