ioos/catalog-docker-base

Resolve SOLR schema persistence issue on restart

Closed this issue · 2 comments

@benjwadams mentioned during today's Catalog meeting that occasionally, on restart, the lastest Solr version will replace the custom schema Catalog uses with the default schema provided by the Solr distribution. This results in dataset count in Catalog being reset to 0, until the schema can be updated and the search index rebuilt.

Xref:

I think this may have to do with volume persistence, but I'm not entirely sure. The updated Solr images have some changed directories. When the container is removed or recreated anew, the index is zeroed out.

I believe 2971e89 may address this issue. I upgraded the Solr version via a Docker container upgrade and the location of the index changed.