Skip to content

Commit 5c6af1d

Browse files
author
Matthew Harris
committed
Trying adding of metadata field
1 parent 719335b commit 5c6af1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Azure.AISearch.WebApp/Services/AzureCognitiveSearchConfigurationService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ private async Task CreateDocumentsIndex(AppSettingsOverride? settingsOverride, s
156156
// Map the file content to the document content.
157157
new FieldMapping("content") { TargetFieldName = nameof(Document.Content) },
158158
// Map the full blob URL as the document file path.
159-
new FieldMapping("metadata_storage_path") { TargetFieldName = nameof(Document.FilePath) }
159+
new FieldMapping("metadata_storage_path") { TargetFieldName = nameof(Document.FilePath) },
160160
// mjh Map the data source custom metadata field on the blob
161161
new FieldMapping("data_source") { TargetFieldName = nameof(Document.DataSource) }
162162
},

0 commit comments

Comments
 (0)