← Develop AI Apps and Agents o… Latent Shelf · Ch.30

Module Study Guide · Path 4 · Visual data · Final module

Create a Knowledge Mining Solution with Azure AI Search

An indexer cracks open your documents, AI skills enrich them along the way, and the result is an index you can query — and a knowledge store you can mine.

— the course's capstone

The finale: turning documents into searchable knowledge. This module covers Azure AI Search and its index, the indexer enrichment pipeline, AI skills that enrich data, querying with Lucene, and the knowledge store.

indexer pipelineskillsetsLucene queries15 quiz questions
01The service & pipeline

From data source to index

Azure AI Search indexes and queries diverse data — structured, semi-structured, unstructured — for enterprise search, RAG grounding, and knowledge mining. An index is the searchable repository of extracted insights (OCR'd text, entities, key phrases, AI-derived data), built and maintained by an indexer.

Key concept · The indexing pipeline

The flow is data source → indexer → enrichment pipeline → index. The indexer performs document cracking (extracting contents from source docs) and builds a hierarchical JSON document iteratively: base fields like content and metadata_storage_name, a normalized_images collection, and fields each skill adds. Document fields map to index fields either by direct source mapping (implicit same-name, or explicit renames/functions) or by skill output mapping from hierarchical locations.

02AI enrichment

Skills that add value

Enrichment is orchestrated by the indexer applying a skillset — AI skills in sequence, each refining the document and feeding the next.

Key concept · Built-in and custom skills

Built-in skills (backed by Azure Vision and Azure Language) include language detection, entity extraction, key-phrase extraction, translation, PII detection/removal, OCR, and image analysis (captions/tags). Using them needs a Foundry Tools resource — either the restricted included resource (≤20 documents) or an attached resource in the same region. Custom skills add your own logic, often an Azure Function wrapping a service like Document Intelligence; they take input from the document and return new enriched fields.

03Query & persist

Searching the index, and the knowledge store

Each index field has attributes — key, searchable, filterable, sortable, facetable, retrievable — that decide how it can be used. Full-text search uses Lucene syntax (Simple or Full) and runs in four stages: query parsing, lexical analysis (lowercasing, stopword removal, root forms), document retrieval, and TF/IDF scoring.

Common query parameters.
ParameterPurpose
searchThe terms to find.
queryTypeLucene syntax: simple or full.
searchFields / selectFields to search / fields to return.
$filter / $orderbyOData filtering (case-sensitive) / sorting (asc/desc).

Key concept · The knowledge store

Beyond the search index, a knowledge store persists the enriched data as projections in three forms: JSON objects (for ETL/orchestration), relational tables (for analysis/reporting), and image files (extracted embedded images). Defined within the skillset, projections are generated as the indexer runs — the same enrichment pipeline feeding both search and downstream analytics.

★Test yourself

Chapter 30 quiz

Fifteen questions on the pipeline, AI skills, querying, and the knowledge store. Answer first, then expand Show answer.

Part A · Multiple choice

Q1

What builds and maintains an Azure AI Search index?

  • A An indexer
  • B A synthesizer
  • C A recognizer
  • D A translator
Show answer

A — an indexer. Via an enrichment pipeline.

Q2

What is the indexing pipeline's order?

  • A Data source → indexer → enrichment pipeline → index
  • B Index → indexer → data source
  • C Skill → query → data source
  • D Model → prompt → output
Show answer

A.

Q3

What is "document cracking"?

  • A Extracting contents from source documents
  • B Encrypting the index
  • C Deleting duplicates
  • D Compressing images
Show answer

A. The indexer's first extraction step.

Q4

What orchestrates AI enrichment?

  • A A skillset of skills applied in sequence by the indexer
  • B A single prompt
  • C A cron job
  • D The query parser
Show answer

A. Each skill feeds the next.

Q5

Which is a built-in skill?

  • A OCR / image analysis
  • B Video remix
  • C Voice synthesis
  • D Fine-tuning
Show answer

A. Plus language detection, entities, key phrases, translation, PII.

Q6

A custom skill is commonly implemented as:

  • A An Azure Function wrapping a service (e.g. Document Intelligence)
  • B A SQL trigger
  • C A browser extension
  • D A cron job
Show answer

A. Taking document input, returning enriched fields.

Q7

Which field attribute lets a field be used in filter expressions?

  • A filterable
  • B retrievable
  • C sortable
  • D key
Show answer

A — filterable.

Q8

Which are the three projection forms in a knowledge store?

  • A JSON objects, tables, and image files
  • B PDF, DOCX, and CSV
  • C Audio, video, and text
  • D Vectors only
Show answer

A.

Part B · True or false

Q9

Azure AI Search supports enterprise search, RAG, and knowledge mining.

Show answer

True. Three primary applications.

Q10

Lexical analysis lowercases terms and removes stopwords like "the".

Show answer

True. And converts terms to root form.

Q11

OData $filter expressions are case-insensitive.

Show answer

False. They are case-sensitive.

Q12

The knowledge store lets the same pipeline feed both search and downstream analytics.

Show answer

True. Projections persist enriched data for external use.

Q13

By default, search results are sorted by relevancy score.

Show answer

True. Override with $orderby on a sortable field.

Part C · Short answer

Q14

Name the four stages of query processing.

Show answer

Query parsing, lexical analysis, document retrieval, and scoring (TF/IDF).

Q15

Name four index field attributes.

Show answer

Any four: key, searchable, filterable, sortable, facetable, retrievable.