From dff98437181c229b20f87f3c457d89ab37d22db5 Mon Sep 17 00:00:00 2001 From: Eric Peterson Date: Tue, 29 Nov 2022 15:20:10 +0100 Subject: [PATCH] Changeset describing updated search indexer behavior Signed-off-by: Eric Peterson --- .changeset/search-with-alcohol.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changeset/search-with-alcohol.md diff --git a/.changeset/search-with-alcohol.md b/.changeset/search-with-alcohol.md new file mode 100644 index 0000000000..a46f33985a --- /dev/null +++ b/.changeset/search-with-alcohol.md @@ -0,0 +1,7 @@ +--- +'@backstage/plugin-search-backend-module-elasticsearch': minor +'@backstage/plugin-search-backend-module-pg': minor +'@backstage/plugin-search-backend-node': minor +--- + +The search engine now better handles the case when it receives 0 documents at index-time. Prior to this change, the indexer would replace any existing index with an empty index, effectively deleting it. Now instead, a warning is logged, and any existing index is left alone (preserving the index from the last successful indexing attempt).