TerriaJS / nationalmap

Australia's NationalMap
https://nationalmap.gov.au
122 stars 45 forks source link

Generate search index after catalog update #1173

Closed mwu2018 closed 1 year ago

mwu2018 commented 1 year ago

Currently the github action for search index generation is commented out.

nf-s commented 1 year ago

duplicate of https://github.com/TerriaJS/saas-catalogs-public/issues/118

nf-s commented 1 year ago

I generated a new catalog-index last night and there were 54224 datasets. This results in a ~40MB (uncompressed) JSON catalog index file. This is too large and makes the catalog index static file approach unsuitable.

The dramatic increase in number of datasets comes from data.gov.au - as there are some new organisations being harvested that have WMS services with over 1500 layers.

Options

nf-s commented 1 year ago

We now have a GitHub workflow in https://github.com/TerriaJS/saas-catalogs-public

  1. Go to https://github.com/TerriaJS/saas-catalogs-public/actions/workflows/generate-catalog-index-pr.yml and press "Run Workflow"
  2. Two PRs will be created - one for DEV and TEST - and another for PROD