Introducing Search for Agents
Search for Agents is a one-toggle Cloudflare zone feature that automatically creates an AI Search instance, crawls and indexes the site, and exposes a search endpoint at /.well-known/search on the customer's own domain.
Topics Backend & APIs
Search engines, indexing, ranking, full-text and semantic search.
Search for Agents is a one-toggle Cloudflare zone feature that automatically creates an AI Search instance, crawls and indexes the site, and exposes a search endpoint at /.well-known/search on the customer's own domain.
Booking.com’s search engine generates personalised hotel offers at request time instead of precomputing and indexing every possible room/date/price combination, which would be combinatorially infeasible.
Rakbank's retail digital banking platform ingests about 150 GB/day of logs from EKS microservices via a Fluent Bit DaemonSet into a cross-account, three-AZ Amazon OpenSearch Service domain reached privately over Transit Gateway, while dual-writing raw logs to S3 for 7-year compliance retention queried with Athena.
Loom is an open-source agent memory system that stores memories alongside a code index (functions, classes, call graph) in a single ClickHouse database, so facts about code are linked to definitions and flagged when that code is renamed or rewritten.
Shopify trained a single generative model, adapted from an open-weight LLM, that emits semantic-ID tokens to generate product candidates for both personalized search and recommendation across a catalog of billions.
Pooling-aware training teaches a multi-vector (ColBERT-style) encoder to keep retrieval-relevant information when document token vectors are merged by Ward hierarchical clustering, improving quality at a fixed storage budget.
Maximum inner product search can be amortized by training small neural networks offline on a known query distribution, exploiting the fact that the max-inner-product function is the convex support function of the key set, whose gradient is the best-matching key.
Neon's docs search now runs entirely on its own stack: Lakebase Postgres with the lakebase_vector (pgvector-compatible ANN) and lakebase_text (BM25) extensions, a Hono API on Neon Functions, and Neon AI Gateway for embeddings and reranking.
LLM APIs are stateless, so conversational memory must be built in the application layer, and the right design depends on scale.
CASTLE solves the cold-start problem for Airbnb's natural language search by generating synthetic queries and relevance labels together.
LangSmith's AI Search lets users find agent traces by behavior described in plain language (e.g. "did PII leak?", "did the user get frustrated?") by running a fast decision model over each candidate trace rather than relying on lossy embedding-based vector search.
TIN v1.0.6, PlanetScale's Postgres full-text search index, adds Snowball-based stemming for 18 languages via the rust_stemmers crate and extends its block-max top-k plan to queries with heap-attribute tiebreakers in ORDER BY.
Lakebase Search's new lakebase_tokenizer extension moves Postgres text-search synonym and stop-word dictionaries from server-side files into SQL tables, so managed and branchable Neon databases can define custom vocabularies with INSERT.
Lakebase Search adds vector and BM25 search to Lakebase Postgres through two extensions, lakebase_vector and lakebase_text, so agents can query operational data without a separate search system. lakebase_vector keeps its durable index in object storage, caches hot pages in NVMe and RAM, and combines hierarchical IVF with RaBitQ quantization.
Inverted indexes power full-text search by mapping each term to a sorted, compressed postings list of document IDs, with optional positional data for phrase/span queries and frequency statistics for BM25 scoring.
Airbnb moved its Transformer-based guest sequence encoder from a daily batch job, where embeddings could lag behavior by nearly two days, to a near-real-time pipeline built on two new Chronon capabilities.
Yelp moved ML-based ranking out of a standalone scoring service and into Nrtsearch, its Lucene-based search engine, via an Inference Plugin that extracts features from indexed documents and request parameters and scores them in-process on replica nodes.
Retrieve-for-Train replaces expensive inference-time LLM reasoning for query fan-out with a one-time offline RL stage.
Pinterest is evolving Manas, its in-house distributed search platform serving billions of embeddings across 80+ clusters, along three fronts: quantization, SSD-based ANN serving, and multi-embedding retrieval.
funes is an open-source, single-binary memory layer that indexes the session traces of coding agents (Claude Code, Codex, pi, Hermes) so any agent can recall past decisions and rationale with exact provenance.
ClickHouse has become a common storage and query layer for observability, and the main reason is its columnar architecture.
Sentence Transformers v6.0 adds a MultiVectorEncoder model type for ColBERT-style late-interaction retrieval, with a full training stack covering models, datasets, losses, training arguments, evaluators and the trainer.
Papers with Code search combines PostgreSQL full-text search with pgvector semantic search over Qwen3-Embedding-0.6B vectors, fused by weighted reciprocal rank fusion (k=60), with exact-title, arXiv-ID and navigational matches pinned on top.
Linear moved its delta sync read path, which lets reconnecting local-first clients fetch only changes since their last checkpoint, from a Postgres table to turbopuffer inverted indexes.
Sentence Transformers v6.0 adds MultiVectorEncoder, a fourth model type for ColBERT-style late-interaction retrieval that loads PyLate, Stanford-NLP ColBERT and (with added config) colpali-engine checkpoints.
Agent-facing search differs from human search on latency range, token efficiency, comprehensiveness and treating the web as a queryable database, according to Exa's Nitya Sridhar in a localhost talk.
Castform uses data stored in Neon Postgres, exposed through Lakebase Search's BM25 and vector functions, to RL post-train a 4B open-source model for agentic retrieval.
GitHub's Blackbird code search case-folds every byte of 480TB of source, and the fastest ASCII path came from removing the early exit at the first non-ASCII byte.
In a 288-task evaluation of the Sourcegraph MCP server, structured code retrieval raised file-level F1 from 0.091 to 0.240 and recall from 0.120 to 0.272, yet aggregate task completion was effectively unchanged.
CommSync, a unified SMS/email inbox, runs keyword, semantic and hybrid search entirely in Postgres using Neon's Lakebase Search extensions. lakebase_text provides BM25 search with top-K pushdown over tsvector, and lakebase_vector is a pgvector-compatible drop-in with an ANN index.
Neon's Lakebase Search adds two Postgres extensions, lakebase_vector (IVF partitioning plus RaBitQ quantization, pgvector-compatible) and lakebase_text (a BM25-native index with Block-Max WAND top-K pushdown), designed for Neon's separated compute and object-storage tiers.
Agentic Resource Discovery (ARD) is a draft open specification for cataloging and searching agent capabilities (MCP servers, skills, A2A agents) across federated registries, so agents find tools by intent at runtime instead of having them pre-installed or stuffed into the context window.
Palantir's Gotham document store rebuilds Elasticsearch indices from its transactional database (the source of truth) rather than using Elasticsearch's _reindex API, so search keeps serving live traffic throughout.
Indeed's user behavior model (UBM) runs heavy transformer sequence modeling over long user histories offline, distills each user into a fixed-length embedding refreshed daily via batch inference, and serves it through a feature store as one more dense feature for many compact production ranking, recommendation and bidding models.
Etsy fine-tunes Qwen3-VL-8B with GRPO to generate natural-language listing summaries that capture distinguishing product details buried in long descriptions, attributes and images.
Six Sentence Transformers CrossEncoder rerankers (17M to 1B parameters) built on the Ettin ModernBERT encoders are released with their data and full training recipe.
IBM's Granite Embedding Multilingual R2 is a pair of Apache 2.0 ModernBERT-based embedding models covering 200+ languages and 9 programming languages, with 32K-token context (64x R1).
Sourcegraph built a Slack bot that polls the GitHub Advisory Database every 15 minutes, triages advisories with CVSS, Hacker News buzz and a high-reach package list plus supply-chain keywords, and on a single 🚀 reaction generates detection queries, a blog scaffold, social drafts and an auto-edited Deep Search demo video.
Across 1,281 scored agent runs on 40+ large open-source repos (CodeScaleBench), coding agents fail in five repeatable ways: getting lost in exploration, picking the wrong file or symbol, partial completion, tool thrashing, and context overflow.
ClickHouse's redesigned inverted-index full-text search feeds matches directly into its vectorized analytical engine, and on a reproducible OpenTelemetry log benchmark at 1B, 10B and 50B rows it ran a nine-query search-plus-aggregation suite 2-6x faster than Elasticsearch, with a much smaller storage footprint.
Vinted's autocomplete service runs on Vespa and serves 4,700 queries per second at 31 ms P99 over a pool of 125 million suggestions across 50+ country-language markets.
Facebook Groups scoped search moved from keyword-only retrieval to a hybrid design that runs lexical and semantic retrieval in parallel.
Finetuning Qwen3-VL-Embedding-2B with Sentence Transformers for Visual Document Retrieval raised NDCG@10 from 0.888 to 0.947.
Sentence Transformers v5.4 extends its familiar encode/similarity and CrossEncoder APIs to images, audio, video and mixed text-image inputs, mapping them into a shared embedding space for cross-modal search, visual document retrieval and multimodal RAG.
ClickHouse redesigned its full-text index for object storage, where per-request latency rather than bandwidth is the bottleneck.
Agents lean heavily on regex search, and ripgrep's full scan can take over 15 seconds in large monorepos, so Cursor builds local indexes specifically to accelerate regex queries.
A single-GPU pipeline fine-tunes Llama-Nemotron-Embed-1B-v2 for a specific domain in under a day without manual labels.
Etsy's Ads Search ranking model replaced its shared-bottom multitask architecture (DCN feature crossing plus CTR and post-click conversion towers with Platt-scaled calibration) with a Multigate Mixture of Experts layer, adding add-to-cart as an uncalibrated auxiliary task.
Zalando validated search quality for new markets (Luxembourg, Portugal, Greece) before launch by using a multimodal LLM-as-a-judge instead of manual expert review.
ClickHouse Full-text Search is now generally available, implemented as a Lucene-style inverted index that maps tokens to row numbers using configurable tokenizers and preprocessors defined in SQL.
Turso v0.5.0 promotes MVCC-based concurrent writes (BEGIN CONCURRENT, adapted from Hekaton) to beta.
GitHub Enterprise Server's HA mode is replacing its single Elasticsearch cluster spanning primary and replica nodes with independent single-node clusters per server, linked by Elasticsearch Cross Cluster Replication (CCR).
Codemogger is an open-source code indexer and search engine for AI agents, built on a single local Turso (SQLite-compatible) file using native vector columns and full-text search.
ClickStack now supports ClickHouse's simpler bloom_filter skip index with explicit tokens() tokenization for log body search, replacing hard-to-tune tokenbf_v1 parameters with a single false-positive rate.
A reference RAG architecture on Heroku pairs pgvector cosine-similarity search (top 20 chunks) with a cross-encoder reranker (Cohere Rerank 3.5, top 5), so answers come from documents that actually address the query rather than ones that are merely semantically close.
TursoDB adds native full-text search by embedding Tantivy and implementing its Directory trait on top of Turso's B-tree, storing index "files" as 512KB chunks in an internal table.
Vinted replaced Bash scripts and Knife commands for maintaining a Vespa search fleet that grew from about a hundred to over a thousand nodes with durable workflows built on Temporal's Go SDK.
Etsy built an LLM-powered semantic relevance framework that complements engagement signals, which favor popular listings, with judgments of how well listings match query intent across three classes: relevant, partially relevant and irrelevant.
ClickHouse shipped 12 releases in 2025 with 277 new features, 319 performance optimizations and 1,051 bug fixes.
A Zalando Elasticsearch cluster serving two large markets was overwhelmed by a self-inflicted denial of service: a bug in an internal maintenance workload made an application send only 20-100 requests per second of faceting queries aggregating on SKU, a unique-per-product, extremely high-cardinality field.
Docker Model Runner can serve embedding models locally, so semantic search and RAG pipelines run without sending private data to a hosted API and without per-call costs.
Zed's project search had throughput close to ripgrep's, but the first result arrived very late.
Vinted added embedding-based dense retrieval to its multilingual, highly visual marketplace search using a two-tower model: a fine-tuned projection head on frozen multilingual CLIP for queries, and an item tower fusing CLIP image embeddings with categorical metadata, trained contrastively on 100M+ pairs.
Shopify's product search runs ML ranking models (transformers, neural rankers, CatBoost/LightGBM) at native C++ speed through RankFlow, a Python-like ranking DSL, and TurboDSL, its execution engine.
Vinted moved per-user ranking cross-features from Redis into Vespa, then hit p99+ latency spikes above 100 ms after feeding bursts (500M+ updates/hour across 50+ schemas) because data redistribution broke the second-phase document summary fetch (.fill()), causing retries across content nodes.
Etsy extracts structured product attributes such as color, material and dimensions from unstructured listing titles, descriptions and photos using LLMs.
ClickHouse 25.9 adds automatic global join reordering, which uses a greedy algorithm plus row-count estimates or manually created column statistics to pick build/probe order across many tables.
Husky, Datadog's third-generation event store, serves interactive queries over more than 100 trillion events through four multi-tenant services: a planner that splits queries into time-based steps, orchestrators that fetch fragment metadata from FoundationDB and prune with zone maps, a metadata service, and readers that execute against fragments in blob storage.
RTEB (Retrieval Embedding Benchmark), released in beta by MTEB maintainers and MongoDB, evaluates the retrieval accuracy of embedding models using a hybrid of open and private datasets.
PostgREST 13 adds spread syntax for to-many relationships so one-to-many and many-to-many joins can be returned as flat JSON arrays, automatic to_tsvector conversion that enables full text search on text and json/jsonb columns (backed by a GIN index on the expression), and a maxAffected limit that throws an error when an update, delete or rpc touches too many rows.
OLX replaced a growing chain of fallback keyword-search extensions with hybrid retrieval: SOLR BM25 keyword matches plus a fixed allocation of vector-search results (embeddings from off-the-shelf mCLIP and multilingual-e5-small), capped at 1,000 ads and re-ranked by an XGBoost learning-to-rank model.
mmBERT is a massively multilingual encoder built on the ModernBERT architecture with the Gemma 2 tokenizer, trained on over 3T tokens covering 1,833 languages.
Etsy is experimenting with LLM-generated buyer profiles that infer each shopper's style, category interests and current shopping missions from recent searches, views, purchases and favorites, emitting structured output with confidence scores and an explanation.
Linear's Triage Intelligence suggests duplicates, related issues, labels and assignees for incoming issues by combining a rebuilt semantic search backend for candidate retrieval with LLM reasoning over those candidates.
ClickHouse rebuilt its full-text search around a native inverted "text" index that replaces the earlier Bloom-filter indexes (tokenbf_v1, ngrambf_v1), which were hard to tune, returned false positives and supported few predicates.
Ettin is a suite of paired encoder-only and decoder-only models (17M–1B parameters) trained on identical open data (2T tokens), architecture and three-phase recipe derived from ModernBERT, differing only in attention pattern and objective (MLM vs CLM).
Lansweeper moved its asset-analytics layer from MongoDB plus Elasticsearch to self-hosted ClickHouse and then to ClickHouse Cloud as it grew to 50M assets, 1.4B software records and 5.5B vulnerabilities.
A minimal CMS built on Postgres with Next.js, Prisma and Zod, using the pg_search extension's BM25 index for full-text search instead of a hosted CMS.
Sentence Transformers' SparseEncoder API can train and finetune neural sparse embedding models such as SPLADE, inference-free SPLADE and Contrastive Sparse Representation (CSR).
Native Postgres full-text search (tsvector/tsquery with GIN indexes) breaks down at scale because ranking by ts_rank must score every matching row and lacks BM25, fuzzy matching and per-field relevance.
GitHub rebuilt Issues search to support AND/OR operators and nested parentheses by replacing the flat-list parser with a PEG grammar (via the Ruby parslet library) that produces an abstract syntax tree.
Swapping the OpenAI-embedding semantic search in Vercel's Next.js Book Inventory template for pg_search's BM25 full-text index on Neon Postgres made title searches over a million Goodreads books roughly 180–236x faster, dropping from about 2.7 seconds to 11–14 ms. The setup loads the dataset into a books table, prewarms the table and index with pg_prewarm, creates a covering bm25 index, and queries with the @@@ operator and paradedb.match in conjunction_mode.
Sentence Transformers can finetune reranker (cross-encoder) models on domain data.
ParadeDB's pg_search extension, now available on Neon in AWS regions, adds a Tantivy-powered BM25 inverted index to Postgres, bringing relevance ranking, fuzzy matching, faceting, highlighting and JSON-aware search that native tsvector/GIN full-text search lacks.
Slack's enterprise search, which brings Google Drive and GitHub results into Slack search and AI Answers, uses a federated, real-time design instead of an index.
Canva built a reverse image search system to replace IP-restricted images in templates, after ruling out its recommendation engine, perceptual hashing, metadata text search and AI-generated images.
Static embedding models, which replace the attention-based encoder with a token embedding lookup plus mean pooling (an EmbeddingBag), can be trained with modern contrastive losses and Matryoshka Representation Learning to run 100x to 400x faster on CPU than models like all-mpnet-base-v2 and multilingual-e5-small, while keeping at least 85% of their benchmark quality.
Glean is Meta's open-source code indexing system that stores arbitrary language-specific facts about source code in RocksDB and exposes them through Angle, a declarative logic-based query language that can derive language-neutral views, much like SQL views.
Slack's Astra log search engine replaced fixed-size chunk slots on cache nodes with dynamically sized chunks, because undersized chunks wasted allocated disk space and oversized chunks from recovery tasks could overflow their slots.
Zalando uses multimodal LLMs to judge query-product relevance for search evaluation and reaches agreement comparable to human annotators on 20,000 multilingual (English and German) examples.
Figma pivoted from an AI design-autocomplete prototype to shipping visual and semantic search after research showed 75% of objects added to the canvas come from other files and designers struggle to find mid-level frames.
Shopify generates about 2,500 text and image embeddings per second (216M/day) in near real time with Google Cloud Dataflow and Apache Beam's RunInference on T4 GPUs, feeding Storefront Semantic Search and a BigQuery warehouse.
Figma's AI search embeds frames and published components with a CLIP-based multimodal model, so screenshots, layer selections and text all query one vector space.
Figma's search slowness traced mostly to its own stack, not OpenSearch: OpenSearch's headline 8 ms metric was per-shard time, and only the "took" field in responses reveals overall query latency, which accounted for under 30% of API time.
A hybrid search app over California combines timestamps, geolocation and satellite image embeddings using Modal, MongoDB Atlas and Clay's foundation model.
Five overlooked Hugging Face Hub features (ZeroGPU, multi-process Docker Spaces, the Gradio API client, Hub webhooks and Nomic Atlas) can be combined into a free, automatically updating semantic search pipeline, demonstrated over a subreddit data source.