Skip to content

Use Stork as the search backend in HTML sites #1832

@Seelengrab

Description

@Seelengrab

Hello,

at the moment, reloading the search page or reloading a page built with Documenter leads to VERY noticeable lag on the first search. Since it's kind of unusual to keep a search tab for each package open in the background, it would be very nice to improve search performance. I think the majority of this initial search lag is related to deserializing/reading an index created by Lunr, but I must admit that I don't know too much about how this works in Documenter.

In a discussion on Slack about this, a number of people mentioned stork, which is expressly built for being a fast search for static sites - which seems like the perfect application for Documenter. A small example of the experience provided can be checked out here, which really does seem to be unbelievably fast (though I don't know how long "the first 20 of the Federalist Papers" is compared to julia documentation - but I don't think our docs are longer). Is it possible to consider switching to this by default, to provide a better search experience for everyone, including users of the official Julia Documentation?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions