Prompt
What should I use for search that scales with lots of queries?
Latest observation
If you need search that scales to lots of queries, the usual choices are:
Best general-purpose options
-
Elasticsearch / OpenSearch
Good for large-scale text search, filtering, faceting, logs, and analytics. Widely used, horizontally scalable, but operationally heavier. -
Apache Solr
Mature and powerful search platform, similar space to Elasticsearch. Good if you want a robust search server and don’t mind the setup/ops.
Managed SaaS options
-
Algolia
Very fast, easy to use, great developer experience for product/site search. Excellent for high query volume, but can get expensive and is less flexible than Elasticsearch for some use cases. -
Typesense / Meilisearch
Simpler, fast, developer-friendly. Great for small-to-medium teams and product search. Scaling is good, but they’re usually chosen for simplicity over maximum enterprise complexity.
If your “search” is more database-like
- PostgreSQL full-text search
Fine for moderate scale and simpler systems. Not usually the best choice for very high query volume or advanced search relevance, but good if you want to avoid a separate search stack.
If you need vector / semantic search
- Pinecone, Weaviate, Milvus, OpenSearch vector, pgvector
Use these if “search” means embedding-based retrieval or hybrid keyword + semantic search.
Rule of thumb
- Lots of queries + rich text search + filters: Elasticsearch/OpenSearch
- Need easy, fast product search: Algolia or Typesense
- Moderate scale and want simplicity: PostgreSQL FTS
- Semantic/vector search: a vector database or hybrid search stack
Important scaling considerations
Search performance depends on more than the engine:
- index design
- query patterns
- caching
- shard/replica strategy
- read/write ratio
- relevance tuning
- whether you need autocomplete, faceting, ranking, etc.
If you tell me:
- what you’re searching (products, docs, logs, users),
- expected QPS,
- dataset size,
- keyword vs semantic search,
- cloud/on-prem preference,
…I can recommend the best option more specifically.