Reindexing all of the data in Elasticsearch due to changes to the underlying data model has become very time-consuming. As such we should add an additional endpoint to trigger the process only for select indices in order to save some time during development and deployment.
Right now we can call
/api/search/recreate
to recreate all indices (data_packages, related_publications, instruments, etc).
Reindexing all of the data in Elasticsearch due to changes to the underlying data model has become very time-consuming. As such we should add an additional endpoint to trigger the process only for select indices in order to save some time during development and deployment.
Right now we can call
to recreate all indices (
data_packages
,related_publications
,instruments
, etc).I'd would be helpful to be able to call, e.g.
in order to trigger the reindexing of data packages and related publications.
Additionally we should investigate if we can add a log message to indicate that the reindexing process has completed or is still ongoing.