Azure Search : Index a XML content to generate key/value automtaically/dynamic for fast retrieve ?

Eric 21 Reputation points
2021-09-09T15:35:53.24+00:00

Hi
is there a way to index a XML file content and based on the existing item, create an key /value in the index ?

Regards,

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
810 questions
0 comments No comments
{count} votes

Accepted answer
  1. ajkuma 23,826 Reputation points Microsoft Employee
    2021-09-10T17:59:11.79+00:00

    @Eric ,

    You could upload your XML files to blob storage, as outlined in this doc -Index data from Azure Blob Storage and then import your data, create the index and define which fields you would like to retrieve, also create the indexer through 'Import data wizard for Azure Cognitive Search'

    In case you would like to make some transformations to get specific values that are not part of the xml generated schema, you could use skillsets, as outlined here - Create a skillset in Azure Cognitive Search


1 additional answer

Sort by: Most helpful
  1. Halingale, Rajashree 1 Reputation point
    2021-10-20T18:22:14.037+00:00

    @Eric ,
    @ajkuma ,
    I am trying to set key/value pair my xml files. How to extract content into key value pair. I read above answer. Will someone copy example of skillset which will solve the problem?

    My XML is like below
    <DC>
    <iId>86</iId>
    <SL>3</SL>
    </DC>

    0 comments No comments