Skill 5.1.2
Configure semantic search, hybrid search, and vector search for grounding
Key Concepts
Vector search compares a query embedding with stored embeddings using an algorithm configured in the index's vector profile: HNSW (approximate nearest neighbours, fast at scale) or exhaustive KNN (exact, slower). A vectorizer on the index embeds text queries automatically. Vector compression (scalar or binary quantization) reduces storage and cost, with optional rescoring to recover accuracy.
Hybrid search sends a text query and a vector query in the same request; results are merged with Reciprocal Rank Fusion. Semantic ranker reranks the top results (up to 50) with a language model according to a semantic configuration that names the title, content and keyword fields, and returns a reranker score with captions and answers. Hybrid search with semantic ranking consistently gives the best relevance for RAG; filters restrict results before or during the vector search.