Closed sindre-bouvet closed 2 months ago
For anybody experiencing the same issue: the way to reference metadata is just the name of the metadata-field, in the blobs. So instead of "metadata_sourceUrl" or "metadata_storage_sourceUrl" just use "sourceUrl".
I have some data in a storage container that I want to create a search index for. This data has a metadata field called "sourceUrl" that I want to add to the search index, such that when a file is returned, then we can fetch this information as well.
I have added a couple of lines to the notebook to accomplish this:
in the fields-list
in the SearchIndexerIndexProjectionSelector()
in the field-mappings list for the SearchIndexer.
But I am unable to populate the field sourceUrl in the indexer - it's just null.
Note: I've tried without "storage" also: metadata_sourceUrl.
I get this warning in the Indexer:
And I have verified that all of the files has the metadata sourceUrl:![image](https://github.com/Azure/azure-search-vector-samples/assets/73282798/bb014b76-31bb-41c6-b80b-e45bdda33595)