Skip to content

Lunr.js as a search for static websites? #26

@arafalov

Description

@arafalov

It would be super-amazing to have a Lunr.js run with statically generated websites. I can imagine it running effectively in two modes:

  1. Server-side mode during static site generation - when it does indexing, similar to how SASS precompiler works. That would generate a compressed index.
  2. Client side which loads the index and does the search.

At the moment, statically generated sites work without search or use Google embedded search. This would open up a lot more options for them, including in presentation and faceting, avoiding generic template elements, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions