Azure Search on blobs retrieve the blob itself after search -


how retrieve actual blob (pdf) via azure search? know there lookup possibilities these give me text representation of content. want pdf download/stream of underlaying document. how go on this? im using .net sdk.

do need index filename (to retrieve via blob storage directly)? , if how?

answer is: add field called metadata_storage_path index! sdk:

new field() { name = "metadata_storage_path", type = "edm.string", issearchable = false, isfilterable = false, issortable = false, isfacetable = false }

a list of metadata properties can add index here: https://docs.microsoft.com/azure/search/search-howto-indexing-azure-blob-storage#how-azure-search-indexes-blobs

alternatively, default azure search populates key field in index url-safe base64 encoded value of metadata_storage_path property. can decode encoded blob path value (for details, see base64decode mapping function , retrieve blob.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -