From 0a64745cafe03a9347b1fcd1f04a98c5e2dd2840 Mon Sep 17 00:00:00 2001 From: Suzanne Vogt Date: Fri, 3 Mar 2023 16:23:31 -0500 Subject: [PATCH] Add contacts index to the rake task that seeds the data layer for dev. --- lib/tasks/elasticsearch.rake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/tasks/elasticsearch.rake b/lib/tasks/elasticsearch.rake index 1ac8ec86f..0e23c31db 100644 --- a/lib/tasks/elasticsearch.rake +++ b/lib/tasks/elasticsearch.rake @@ -32,6 +32,9 @@ namespace :elasticsearch do Rake::Task["event:create_alias"].invoke Rake::Task["activity:create_index"].invoke + + Rake::Task["contact:create_index"].invoke + Rake::Task["contact:create_alias"].invoke end desc "delete all indexes" @@ -48,5 +51,6 @@ namespace :elasticsearch do Rake::Task["doi:delete_index"].invoke Rake::Task["event:delete_index"].invoke Rake::Task["activity:delete_index"].invoke + Rake::Task["contact:delete_index"].invoke end end