Flouse/ckb-academy

Research for `Search Feature`

Flouse opened this issue · 2 comments

Flouse commented

Prototype

Image

Algolia vs Elasticsearch vs Typesense vs Meilisearch

Nervos Doc Search related Projects

Flouse commented

Solution 1

We can use an offline/local search plugin if the search index is small and can be downloaded to the users' browsers.

A list of community-supported local search plugins listed here | star-history.
docusaurus-search-local may be a potential choice.

Demo

https://easyops-cn.github.io/docusaurus-search-local/

Flouse commented

Solution 2: Algolia or Typesens

Steps

  1. Use Algolia or typesense cloud
  2. Set up DocSearch Scraper
  3. Search Model Preview
    image
  4. Run DocSearch Scraper in GitHub Action every day and for every new deployment