Alexander S.
Alexander S.

Reputation: 844

How to automatically update documents after index update in Azure Search

I have Azure Search service with some indexes, indexers and SQL data sources. Data source configured to use SqlIntegratedChangeTrackingPolicy, and it works fine, when any row in db updated, document updated as well.

Now I want to update index and add new field. But after I do it, field contain no data, indexer ignores it, like he has nothing to add.

How can I force indexer to fill missing data? Or the only way is to update manually each document?

Upvotes: 1

Views: 1585

Answers (1)

Eugene Shvets
Eugene Shvets

Reputation: 4671

Gaurav is correct - to update documents that are already in the index, reset the indexer. You can reset directly in the Azure portal, indexer blade. For any new or updated SQL table rows with new field, the new field will be included automatically.

Upvotes: 1

Related Questions