Is it possible to run an indexer in Azure search as and when there is a change in the blob container (like upload blobs, delete blobs, update blobs) ?

Sachitha Chithralekha 20 Reputation points Microsoft Employee
2023-06-07T15:41:00.5466667+00:00

In azure cognitive search, I have imported data from azure blob storage and indexed it using indexer. Now, in future, as changes are made to the blob container (like adding new documents, deleting existing one) ,is there a way to run indexer automatically only when these changes are made and not set a fixed interval for it to run?

If there is, please provide the steps to achieve it.

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,350 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,199 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,454 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 22,706 Reputation points Moderator
    2023-06-15T11:42:45.8766667+00:00

    @Anonymous

    Thanks for response! After further more research and discussions with PG it was clear that the built-in indexers are made to either run on schedule or if on demand.

    If you need triggered indexing, you would have to build it using Azure logic app Refer - Azure Logic App run trigger when Blob is added or modified - Stack Overflow)

    OR Azure Blob storage trigger for Azure Functions | Microsoft Learn

    And then using the Push API (Data import and data ingestion - Azure Cognitive Search | Microsoft Learn) so you build your own indexer.

    Hope this helps.

    1 person found this answer helpful.
    0 comments No comments

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.