How to update existing index's single field with matching criteria?

Lovedeep Singh 165 Reputation points
2024-10-09T07:13:59.6466667+00:00

I have an Index which Have four fields named "Id", "Question", "Standard", and "Image Summary", The first three fields are already filled but "Image Summary" is empty. I want to update the 4th field by using a new Indexer which will use "Image Analysis Skill". I have saved some images in azure blob storage, which have the same names as "Id" field to which they are related. I want to make sure that the indexer push the output to the index's "Image Summary" field by matching the file name (metadata_storage_name) with the "Id" columns, if there is no image related to the id, then it should be empty. Is there any way or mapping function, to achieve this?

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.
1,067 questions
{count} votes

Accepted answer
  1. Hima Bindu 160 Reputation points
    2024-10-10T10:25:48.65+00:00

    Hi @Lovedeep Singh, Welcome to the Microsoft Q&A Platform! Create an Indexer:

    Set up an indexer that pulls images from Azure Blob Storage.

    Use the Image Analysis Skill to analyze the images.

    Match Image Names to IDs:

    Map the image file names (metadata_storage_name) to the Id field in your index.

    Field Mapping:

    Ensure the output from the image analysis is mapped to the "Image Summary" field in your index.

    Conditional Check:

    If an image doesn’t match an Id, leave the "Image Summary" field empty. https://learn.microsoft.com/en-us/azure/search/search-indexer-overview If the answer is helpful, please click " Accept Answer" and kindly upvote it.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.