gbif / tech-docs

This is an integrated technical documentation site for GBIF.org
https://techdocs.gbif.org
0 stars 2 forks source link

Add to ES content search index #70

Open MortenHofft opened 7 months ago

MortenHofft commented 7 months ago

I'm wondering about search now that documentation get a site of its own. Should we add the entries to the CMS index for search? Essentially just as a contentType, summary perhaps, targetUrl and an _all text field? So that we can more easily provide search results on gbif.org for the docs

MattBlissett commented 7 months ago

Currently the Lunr plugin builds a search index, https://techdocs.gbif-uat.org/en/search-index.js, one for each language.

We could extend it to write data into ES, have something else push the data into ES, or have something read this JS file.