Blog

Field notes on AI, agents and search.

Practical write-ups from production work: retrieval, relevance, performance and the engineering it takes to ship AI that holds up.

All posts

Performance12 min read

Qdrant TurboQuant vs scalar vs binary quantization, and when to rescore

TurboQuant arrived in Qdrant 1.18, and Qdrant calls 4-bit a good default for many collections. Compression per bit depth, which encodings rescore by default, how oversampling works, and a script that measures recall@10 on your data.

Abhilash B
Performance11 min read

turbopuffer cold start latency: hint_cache_warm and designing agents around cold namespaces

The first query to a cold turbopuffer namespace reads object storage and is tens of times slower than a cached one. Here is why, what the hint_cache_warm endpoint costs, and where to call it in an agent loop.

Abhilash B
Tutorials11 min read

Reciprocal rank fusion in Vespa: hybrid search in global-phase, and the rerank-count trap

Vespa runs reciprocal rank fusion in the global-phase, over the top rerank-count hits from first-phase. We tested it on Vespa 8.778 and show how a small rerank-count drops a strong keyword match from the fusion.

Abhilash B
AI & Agents5 min read

Your AI agent is only as good as its retriever

When an agent gets answers wrong, teams reach for a bigger model. Published benchmarks point somewhere cheaper: the same agent with a better retriever jumped from 55.9% to 70.1% accuracy and searched less doing it.

Abhilash B
AI & Agents6 min read

The reliability math of AI agents: why 95% per step is not good enough

A 20-step agent that gets each step right 95% of the time finishes cleanly only 36% of the time. Here is the arithmetic, what benchmarks show, and the five design levers that actually move reliability.

Abhilash B
AI & Agents7 min read

How RAG fails in production: a field guide to eight failure modes

Most RAG systems that disappoint in production fail in a handful of predictable ways. For each one: the symptom, the metric that catches it, and the fix.

Abhilash B
Tutorials12 min read

Hybrid search scoring, explained: Elasticsearch 9.5 vs OpenSearch 3.9

We ran the same hybrid queries on Elasticsearch 9.5.5 and OpenSearch 3.9.0 with identical data and vectors. Raw scores differ by exactly 2.2x, fused scores match to four decimals, and your page size can change the ranking.

Abhilash B
Tutorials12 min read

Elasticsearch to OpenSearch Migration Guide - Part 1: Why Migrate and Pre-Migration Planning

Migrate to OpenSearch when Apache 2.0 licensing, cost or vendor neutrality matter more than Elastic-only features. Plan with a compatibility check, a migration method and a rollback plan.

Abhilash B
Tutorials10 min read

Unlocking the Power of Search Pipelines in OpenSearch

An OpenSearch search pipeline is a chain of processors that rewrites search requests and transforms results inside OpenSearch, so query logic lives in the cluster instead of your app.

Abhilash B
Tutorials10 min read

Mastering Hybrid Search in OpenSearch: The Best of Both Worlds

OpenSearch hybrid search runs a BM25 query and a vector query together, then a search pipeline normalizes and combines their scores (or fuses ranks with RRF) into one ranked list.

Abhilash B
Performance3 min read

10 Elasticsearch Performance Tuning Tips

The biggest Elasticsearch performance wins come from right-sized shards (10-50GB), correct field types, filter context, bulk indexing, and leaving heap auto-sizing on.

Abhilash B
Performance14 min read

Elasticsearch Query Performance Optimization: A Complete Guide

Speed up Elasticsearch queries by moving non-scoring clauses to filter context, mapping exact-match fields as keyword, returning less data, sizing shards at 10-50GB and profiling slow queries.

Abhilash B
Architecture4 min read

Implementing Zero-Downtime Deployments for Elasticsearch

Upgrade Elasticsearch without downtime with a rolling upgrade: one node at a time, data tiers first and master-eligible nodes last, waiting for green health between nodes.

Abhilash B
Tutorials6 min read

Advanced Search Relevancy Techniques with Elasticsearch

Improve Elasticsearch relevance by boosting fields and signals with function_score, adding search-time synonyms, combining BM25 with vector search, and measuring every change.

Abhilash B
Security4 min read

Elasticsearch Security Best Practices for Enterprise

Secure Elasticsearch by keeping the default security on, using TLS on both layers, least-privilege roles with field and document security, scoped API keys, and audit logging.

Abhilash B
Browse by topic

Start with the topic you are building

We write about the retrieval layer behind AI: RAG, agents, vector and hybrid search, and the engines that run them, drawn from production work.

RAG and retrieval

Retrieval-augmented generation (RAG) is only as good as the search behind it. These posts cover why RAG systems fail in production, how to fix retrieval and relevance, and what separates a demo from a system you can trust.

RAG implementation services

AI agents

Agents multiply small errors across steps, so reliability, tool design and retrieval quality decide whether they work. Read the math, then model your own agent with the free calculator.

AI agent development services

Vector and hybrid search

Vector search finds results by meaning, and hybrid search blends it with keyword matching. These posts explain how hybrid scores are combined and ranked, with tools to size your index and test fusion yourself.

Vector sizing calculator