Skip to content

Docs search improvement #2362

@reynaldichernando

Description

@reynaldichernando

Currently our search feature in docs uses basic text matching. While this works, it has downsides such as it can't match similar word, and also handle some level of typos

https://docs.puter.com/

ideally the search would be something like this:

  • supports fuzzy search, we can simply use a library like pagefind, or similar for this (whichever works best)
  • still maintain our text fragment matching, this is unique to puter docs
  • if it's not an exact match (fuzzy) we still want the search result to jump somewhere, and the way it's done is to jump to the nearest subheading

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions