SDKits / ExamineX

Issue tracker for ExamineX
https://examinex.online
5 stars 0 forks source link

BlobMedia package isn't narrowing down the media data source to ~/media #72

Closed Shazwazza closed 1 year ago

Shazwazza commented 1 year ago

This isn't problematic unless you have non-media in this same blob storage location. Else an exception may occur:

{"error":{"code":"","message":"Data source does not contain column '__NodeId', which is required because it maps to the document key field 'x__NodeId' in the index 'test-external'. Ensure that the '__NodeId' column is present in the data source, or add a field mapping that maps one of the existing column names to 'x__NodeId'."}}

This is because there will be files in the blob storage area that don't have the required metadata for this data source. To work around this issue and fix this manually, you can update the data source definition by adding media to the Blob folder value:

image

related: #68