diff --git a/projects/person-search-index-from-delius/container/scripts/deploy-semantic-model.sh b/projects/person-search-index-from-delius/container/scripts/deploy-semantic-model.sh index 41e79b7a6f..4678ef19f2 100755 --- a/projects/person-search-index-from-delius/container/scripts/deploy-semantic-model.sh +++ b/projects/person-search-index-from-delius/container/scripts/deploy-semantic-model.sh @@ -47,4 +47,5 @@ else fi ## Deploy model -curl_json -XPOST "${SEARCH_INDEX_HOST}/_plugins/_ml/models/${model_id}/_deploy" +echo "Deploying model with id=${model_id}..." +curl_json -XPOST "${SEARCH_INDEX_HOST}/_plugins/_ml/models/${model_id}/_deploy" || echo 'Warning: Failed to deploy model' >&2 diff --git a/projects/person-search-index-from-delius/container/scripts/startup.sh b/projects/person-search-index-from-delius/container/scripts/startup.sh index f544164aa3..d327081c6b 100755 --- a/projects/person-search-index-from-delius/container/scripts/startup.sh +++ b/projects/person-search-index-from-delius/container/scripts/startup.sh @@ -49,4 +49,5 @@ if grep -q 'contact' <<<"$PIPELINES_ENABLED"; then /scripts/setup-index.sh -i "contact-semantic-search" -p /pipelines/contact/index/ingest-pipeline.json -s /pipelines/contact/index/search-pipeline.json -t /pipelines/contact/index/index-template-semantic.json fi +echo Starting Logstash... /usr/local/bin/docker-entrypoint