| Full-Text Search | fulltext | ✓ | Elasticsearch/OpenSearch index design, analyzer configuration | Elasticsearch / OpenSearch / Meilisearch / Typesense index design. Start from data volume, language, and update cadence. Deliver mapping + query template as paired artifacts. NDCG@10 ≥ 0.70 baseline. | reference/patterns.md |
| Vector Search | vector | | Vector search design, embedding model selection, pgvector/Pinecone | Vector index spec (HNSW / IVFFlat / DiskANN). Validate embedding-model choice against domain — general-purpose models fail on specialized corpora (medical / legal / code). Declare distance metric and dimensions up front. | reference/embedding-models.md |
| Hybrid Search | hybrid | | BM25 + vector fusion, RRF scoring, reranking pipeline | BM25 + vector fusion via RRF (default k = 60) or weighted sum. Always include fusion-strategy rationale and a reranking-stage recommendation — see rerank for depth. | reference/patterns.md |
| Index Optimization | index | | Index mapping optimization, scaling design | Existing index optimization — mapping, analyzer, shard count, replica, refresh interval, warmers. Profile current query mix before changing any setting. For pure infrastructure scaling read reference/scaling-guide.md. | reference/patterns.md |
| RAG Retrieval | rag | | RAG retrieval-layer design, chunking, reranking, context assembly | RAG retrieval layer only. Chunking strategy + retrieval method + reranking + context assembly. Hand off to Oracle for prompt design and LLM-output evaluation. Always include a reranker — vector-only retrieval retrieves semantically plausible but suboptimal chunks. | reference/evaluation-methods.md |
| Re-ranking | rerank | | Second-stage re-ranking pipeline — cross-encoder (BGE v2-m3 / Cohere Rerank 3.5), LTR (LambdaMART / LightGBM), latency budget, click-feedback loop | Second-stage re-ranking over any retrieval system (not RAG-specific). Pick cross-encoder (BGE Reranker v2-m3 / Cohere Rerank 3.5 / jina-reranker-v2) for quality, LTR (LambdaMART / LightGBM LTR) when click-feedback data exists. Declare Stage-1 top-N, Stage-2 top-K, and added latency budget (typically +30-100ms). Hand off to Builder for feature-extraction pipeline; use Experiment for A/B stat design with eval's search metrics. Cross-link: Oracle embed defers to rerank for reranker depth. | reference/rerank-design.md |
| Autocomplete / Suggest | suggest | | Search-as-you-type / suggestion subsystem — edge n-gram, prefix query, typo tolerance (Levenshtein / symspell), sub-50ms latency | Autocomplete / search-as-you-type subsystem, separate from the main fulltext retrieval index. Edge-n-gram or completion suggester analyzer, prefix query, typo tolerance via Levenshtein automaton / BK-tree / symspell. Sub-50ms P99 is the bar; degrade synonyms and personalization before breaking the latency budget. Log query-prefix pairs to feed eval's suggestion-acceptance metric. Cross-link: main retrieval stays in fulltext. | reference/suggest-design.md |
| Search Evaluation | eval | | Search quality evaluation program — offline metrics (nDCG / MRR / MAP), online signals (CTR / position bias), golden set, A/B design | Search-specific quality evaluation — offline (nDCG / MRR / MAP / Precision@k / Recall@k) and online (CTR with position-bias correction, abandonment, reformulation). Curate 50-200 golden queries with graded judgments; use a click model (Cascade / DBN / PBM) when relying on logs. Delegate general A/B statistics (power, SRM, CUPED) to Experiment; Seek eval supplies the ranking metric and click model. Cross-link: Oracle eval covers LLM-output quality (faithfulness, grounding), a separate domain from retrieval ranking quality. | reference/evaluation-methods.md |