searches.do
Build Google-Quality Search in Minutes
Combine vector similarity, full-text search, and custom ranking with automatic query understanding and typo correction. Index millions of documents, search across multiple fields, and return results in <50ms P95 with intelligent caching, fuzzy matching, and semantic understanding at 300+ edge locations.
import { Searches } from 'searches.do' // Hybrid search: vector + full-textconst search = Searches({ index: 'products', fields: ['name', 'description'] }) on.User.search.Products(async $ => { const results = await search.query($.query, { filters: { category: 'electronics', price: { $lt: 1000 } }, facets: ['brand', 'category'], typoTolerance: 2 }) $.User.send.Results(results)})
One of 48 primitives
searches.do sits in Data: records, vocabulary and search. Every .do shares one grammar, Business-as-Code, and one SDK.
Data
Records, vocabulary and search
Insight
Measure, test and trace
Frequently asked questions
Full-text keyword search, vector semantic search, hybrid ranking combining both, and custom scoring functions. Built-in support for exact match, prefix matching, fuzzy search, phrase queries, and boolean operators (AND/OR/NOT). Automatic language detection and multi-language support for 30+ languages.
Documents automatically embed using OpenAI, Cohere, or custom models. Vector similarity finds conceptually related results even with different keywords. Hybrid mode combines vector relevance with keyword matching for best results. Supports cosine similarity, dot product, and L2 distance metrics.
Yes. Boost specific fields, apply custom scoring functions, use metadata for ranking (recency, popularity, price), and A/B test ranking algorithms. Machine learning re-ranking with user click data to improve relevance over time. Full control over result ordering with TypeScript functions.
Filter by any field with range queries, exact matches, or custom conditions. Faceting provides aggregated counts for filter options (e.g., brands, categories, price ranges). Real-time facet updates as filters change. Nested facets and hierarchical filtering supported for complex catalogs.
Sub-50ms query latency for indexes up to 10M documents with intelligent sharding and caching. Automatic index optimization, incremental updates, and background reindexing. Scales horizontally across edge locations with eventual consistency. Enterprise plans support 100M+ documents with dedicated resources.