Skip to content

Commit d4e148a

Browse files
authored
Fix mapping settings form semantic index (#2136)
1 parent 76913dd commit d4e148a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elastic.Markdown/Exporters/Elasticsearch/ElasticsearchExporter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ DistributedTransport transport
5151
{
5252
BulkOperationIdLookup = d => d.Url,
5353
GetMapping = (inferenceId, _) => CreateMapping(inferenceId),
54-
GetMappingSettings = (_, _) => CreateMappingSetting("docs"),
54+
GetMappingSettings = (_, _) => CreateMappingSetting($"docs-{indexNamespace}"),
5555
IndexFormat = $"{endpoint.IndexNamePrefix.ToLowerInvariant()}-{indexNamespace.ToLowerInvariant()}-{{0:yyyy.MM.dd.HHmmss}}",
5656
ActiveSearchAlias = $"{endpoint.IndexNamePrefix}-{indexNamespace.ToLowerInvariant()}",
5757
IndexNumThreads = endpoint.IndexNumThreads,

0 commit comments

Comments
 (0)