
Comprehensive Detailed Explanation
When an indexer runs in Azure AI Search, it processes each document through a fixed series of stages:
Document cracking
The indexer opens the item (file/row) and extracts text, images, and metadata, creating the root of the enriched document (/document). This is always the first stage.
Field mappings
Next, source fields are mapped directly to target index fields before any transformations . Field mappings occur after document cracking but before skillset execution . Microsoft Learn
Skillset execution
Built-in or custom skills (for example, language and sentiment analysis in your scenario) run and write outputs into the in-memory enriched document. Microsoft Learn
Output field mappings
Because skill outputs live only in memory, you must define output field mappings to route selected nodes of the enriched document into index fields. This step comes after skillset execution.
Push to index
Finally, the indexer hands off raw and enriched content to the search index (the physical data structures) so it becomes searchable—i.e., the content is “pushed to the index.” Microsoft Learn
This order— document cracking → field mappings → skillset execution → output field mappings → push to index —ensures raw content is extracted, direct source-to-index mappings are applied, AI enrichment is performed, enriched outputs are projected to fields, and the completed documents are written into the index.
Microsoft Azure AI References
Indexers in Azure AI Search – Stages of indexing (Document cracking; Field mappings; Skillset execution; Output field mappings, with field mappings occurring before transformations). Microsoft Learn
Skillset concepts (Output of skillset is routed to the index via output field mappings after skillset execution). Microsoft Learn
AI enrichment concepts (Field mappings move raw source content to the index; output field mappings move enriched content; indexing ingests raw and enriched content into the physical index). Microsoft Learn
Annotations & enriched document tree (Enriched document is created during document cracking at /document). Microsoft Learn