Prompt
Do I need a vector database for enterprise search?
Latest observation
Not necessarily.
For enterprise search, you need a way to index, retrieve, and rank content across sources like docs, email, tickets, wikis, and knowledge bases. A vector database is one good option, but it’s not required.
When you do not need a vector database
A traditional search stack can be enough if:
- Your search is mostly keyword-based
- You need strong exact match, filters, and faceting
- Your corpus is structured or semi-structured
- You already use something like Elasticsearch/OpenSearch/Solr
- You want lower operational complexity
When a vector database helps
Vector search is useful if you want:
- Semantic search: finding relevant results even when the query wording doesn’t match the document wording
- Better handling of synonyms, paraphrases, and vague queries
- Retrieval for LLMs/RAG use cases
- Searching across unstructured text where meaning matters more than exact terms
Common enterprise patterns
-
Keyword search only
Good for: compliance, exact document lookup, filtering-heavy apps -
Hybrid search = keyword + vector
Often the best choice for enterprise search- Keyword search handles exact terms, names, IDs
- Vector search handles semantic relevance
-
Vector DB as part of a larger system
Sometimes vector search is only one layer, with metadata filters and a keyword engine still doing much of the work
Important point
A “vector database” is not the same as “vector search.”
You can do vector search in:
- Elasticsearch/OpenSearch
- PostgreSQL with pgvector
- Dedicated vector DBs like Pinecone, Weaviate, Milvus, Qdrant, etc.
Practical recommendation
- If you’re building a classic enterprise search product: start with keyword + metadata search
- If users need semantic retrieval or LLM-powered search/Q&A: add vector search
- If you’re unsure: use hybrid search rather than betting entirely on vectors
If you want, I can help you decide based on your use case, data types, scale, and whether you’re building search for humans or for an LLM.