Azure AI Search is the recommended search service for Foundry RAG implementations, supporting three search modes:
| Mode | How It Works | Best For |
|---|---|---|
| Keyword (BM25) | Traditional text matching | Exact terms, codes, IDs |
| Vector | Semantic similarity via embeddings | Conceptual queries, natural language |
| Hybrid | Keyword + Vector combined | Production (best overall quality) |
| Semantic Ranking | AI reranker on top of results | Maximum relevance accuracy |
{
"name": "company-docs-index",
"fields": [
{"name": "id", "type": "Edm.String", "key": true},
{"name": "content", "type": "Edm.String", "searchable": true},
{"name": "contentVector", "type": "Collection(Edm.Single)",
"dimensions": 1536, "vectorSearchProfile": "default"},
{"name": "source", "type": "Edm.String", "filterable": true},
{"name": "title", "type": "Edm.String", "searchable": true}
]
}