Skip to content

Add lunr.js as one of the available plugins for Search #3429

Open
@Heus-Sueh

Description

@Heus-Sueh

Is your feature request related to a problem? Please describe.

I noticed that the search bar by default is pretty bad compared to the one in mkdocs, at least for me

Describe the solution you'd like

add lunr.js which has proven to be very good in conjunction with mkdocs and you hardly need to configure it extensively to get a good result
https://github.com/olivernn/lunr.js

Describe alternatives you've considered

improve default search

Additional context

Vitepress:
the desired result always appears last
image

MkDocs:
image

Validations

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