webplatform/mediawiki-conversion

Attempt to reproduce search index functionality from static content

renoirb opened this issue · 2 comments

Since all will be converted into static files, we won’t have any backend to serve our content. This would effectively also any search capabilities.

(nice to have) Objective: Set in place an equivalent search feature

Expected outcome

  1. During static-site-generator script run, optionally send generated HTML into an ElasticSearch/Solr search index
  2. Set in place JavaScript client to query ElasticSearch/Solr search API
  3. Render search results

See if we can use GitHub search API instead.

See also if we could use ElasticSearch. The RobinThrift/Jekyll---elasticsearch repo has done it and it looks easy to port into our stack.