From 8b2e64e49972fc1a28ba792a30ba036cdd311ce3 Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Tue, 14 Apr 2026 10:36:02 +0200 Subject: [PATCH] Search: Remove shard/replica settings for serverless compatibility Co-Authored-By: Claude Opus 4.6 (1M context) --- .../Exporters/Elasticsearch/ContentDateEnrichment.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Elastic.Markdown/Exporters/Elasticsearch/ContentDateEnrichment.cs b/src/Elastic.Markdown/Exporters/Elasticsearch/ContentDateEnrichment.cs index b4d16d699..5b0f8f21b 100644 --- a/src/Elastic.Markdown/Exporters/Elasticsearch/ContentDateEnrichment.cs +++ b/src/Elastic.Markdown/Exporters/Elasticsearch/ContentDateEnrichment.cs @@ -71,7 +71,6 @@ private async Task EnsureLookupIndexAsync(Cancel ct) var mapping = new JsonObject { - ["settings"] = new JsonObject { ["number_of_shards"] = 1, ["number_of_replicas"] = 0 }, ["mappings"] = new JsonObject { ["properties"] = new JsonObject