Azure AI Search
Azure AI Search is a fully managed, cloud-hosted service that connects your data to AI. The service unifies access to enterprise and web content so agents and LLMs can use context, chat history, and multi-source signals to produce reliable, grounded answers.Classic Search
Traditional search with full-text, vector, and hybrid queries
Agentic Retrieval
LLM-assisted multi-query retrieval for agent workflows
AI Enrichment
Extract and structure content with AI processing
Enterprise Ready
Security, compliance, and scale for production workloads
What is Azure AI Search?
Common use cases include classic search for traditional search applications and agentic retrieval for modern retrieval-augmented generation (RAG) scenarios. This makes Azure AI Search suitable for both enterprise and consumer scenarios.Key Capabilities
When you create a search service, you unlock:- Search Engines
- Content Processing
- Enterprise Features
- Classic search for single requests
- Agentic retrieval for parallel, iterative, LLM-assisted search
- Full-text search with BM25 ranking
- Vector search with similarity matching
- Hybrid search combining text and vectors
- Multimodal queries over text and images
Why Use Azure AI Search?
Ground AI Responses
Provide agents and chatbots with accurate, context-aware responses grounded in your data.
Multi-Source Access
Connect to Azure Blob Storage, Cosmos DB, SharePoint, OneLake, and more.
Intelligent Processing
Enrich content with AI skills for chunking, embedding, and transformation.
Hybrid Search
Combine full-text and vector search to balance precision and recall.
Multimodal Search
Query content containing both text and images in a single pipeline.
Enterprise Security
Implement document-level access control, private networks, and compliance.
Classic Search
Classic search is an index-first retrieval model for predictable, low-latency queries.How It Works
1
Create an Index
Define the schema with fields, data types, and attributes.
2
Load Content
Use push or pull methods to populate the index.Push Method (direct upload):Pull Method (indexer):
3
Query the Index
Execute searches with various query types.
Query Types
Full-Text Search
Full-Text Search
Traditional keyword-based search with BM25 ranking.Features:
- Tokenization and lexical analysis
- Fuzzy matching and wildcards
- Phrase queries and proximity search
- Boolean operators (AND, OR, NOT)
- Field-weighted scoring
Vector Search
Vector Search
Similarity-based search using embedding vectors.Features:
- Semantic similarity matching
- Support for multiple vector fields
- Exhaustive or approximate (HNSW) algorithms
- Configurable distance metrics (cosine, dot product, Euclidean)
Hybrid Search
Hybrid Search
Combine text and vector search for best results.Features:
- Reciprocal Rank Fusion (RRF) for result merging
- Balanced precision and recall
- Configurable weight between text and vector
- Optimal for RAG applications
Semantic Search
Semantic Search
Microsoft’s semantic ranker for improved relevance.Features:
- Deep learning re-ranking
- Semantic captions and highlights
- Query understanding
- Multilingual support
Agentic Retrieval
Agentic retrieval is a multi-query pipeline designed for complex agent-to-agent workflows.Knowledge Bases
A knowledge base represents a complete domain of knowledge:Query Flow
1
Planning
LLM analyzes the query and creates a retrieval plan.
2
Decomposition
Break complex queries into focused subqueries.
3
Parallel Retrieval
Execute subqueries across multiple knowledge sources simultaneously.
4
Semantic Reranking
Apply semantic understanding to improve result quality.
5
Results Merging
Combine and deduplicate results from all sources.
6
Response Generation
Return answer, sources, and activity log optimized for agents.
Agent Integration
AI Enrichment
AI enrichment uses skills to extract and transform content during indexing:Built-in Skills
Text Skills
- Text splitting (chunking)
- Language detection
- Key phrase extraction
- Entity recognition
- Sentiment analysis
- PII detection
Vision Skills
- OCR (text extraction)
- Image analysis
- Object detection
- Brand detection
- Face detection
- Handwriting recognition
AI Skills
- Azure OpenAI embeddings
- Multimodal embeddings
- Text translation
- Custom models
Utility Skills
- Conditional logic
- Document extraction
- Shaper (structure data)
- Merge fields
Skillset Example
Integrated Vectorization
Automate embedding generation during indexing:Security Features
Document-Level Security
Implement fine-grained access control:Network Security
- Private Endpoints
- Firewall Rules
- Managed Identity
Connect to search service over private network:
- Azure Private Link integration
- No public internet exposure
- Network traffic stays on Azure backbone
- Compatible with VNet peering
Monitoring and Optimization
Search Analytics
Track usage patterns and optimize:Performance Tuning
Relevance Tuning
Relevance Tuning
Improve search result quality:
- Scoring Profiles: Boost fields or apply functions
- Synonym Maps: Handle terminology variations
- Custom Analyzers: Language-specific tokenization
- Semantic Ranking: Deep learning re-ranking
Scale Configuration
Scale Configuration
Optimize for throughput and storage:
- Replicas: Handle more queries per second
- Partitions: Store more documents
- Auto-scaling: Adjust capacity based on load
- Index Optimization: Reduce field count and analyzers
Pricing Tiers
Pricing is based on search units (replicas × partitions). Free tier includes 10,000 documents and 50 MB storage.
Getting Started
1
Create Search Service
Provision a search service in the Azure portal or via CLI.
2
Define Index Schema
Create an index with fields matching your data structure.
3
Load Data
Use indexers or push API to populate the index.
4
Query and Test
Use Search Explorer or SDK to test queries.
5
Integrate
Add search to your application or agent.
Resources
Quickstart
Create your first search index
RAG Tutorial
Build a RAG application
REST API Reference
Complete API documentation
Vector Search Guide
Implement vector search