Index › IT › Data platform › Vector databases › pgvector vs Elasticsearch
Vector databases · November 2026 Edition

pgvector vs Elasticsearch

Five of fourteen models named pgvector first on the direct prompt; zero named Elasticsearch. pgvector was named by fourteen of the fourteen models and Elasticsearch by eight and pgvector carries 73 labels and Elasticsearch 11, so the shares are not directly comparable.

pgvector

endorsed leader

Named in one category this edition.

Elasticsearch

accepted challenger

Named in eight categories this edition.

First-choice share34%2%Of first choices across the direct, paraphrase, budget and scale prompts, 0 to 100.
Negative rate8%0%Negative labels as a share of the product's labels, 0 to 100.
Rank in category#2#6A position in a field of 11; printed, not drawn.
Labels7311A count; the two differ.
The two percentage rows are drawn on one 0 to 100 track, pgvector reading right to left. Rank and label count are printed, not drawn.Qdrant was named alongside these two in fourteen of the fourteen direct answers. Qdrant vs pgvector · Qdrant vs Elasticsearch · pgvector vs Pinecone

Share is the count of first choices across the direct, paraphrase, budget and scale prompts over all fourteen models, for a mid-market B2B company; rank is within the category; every quote names the model and the prompt it came from. Both figures come from the vector databases page.

By framing

How many of the fourteen models made each the first choice, per way of asking, and how many argued against it.
pgvectorFirst choices, of fourteen modelsElasticsearch
Direct50
Paraphrase21
Comparative00
Budget-constrained110
Scale-constrained10
Negative206 against pgvector
Bars are first choices, 0 to 14 each sideModels that argued againstA model can name both, so the two sides of a row do not sum to fourteen.

Across every category in the November 2026 Edition, pgvector and Elasticsearch were named in the same answer twenty-five times, of the 192 answers naming pgvector and the 86 naming Elasticsearch. In those answers Elasticsearch took the first choice one time and pgvector six.

Every model, every framing

The eighty-four answers behind the chart above, one cell each: where pgvector and Elasticsearch stood in it.
ModelDirectELParaphraseELComparativeELBudget-constrainedELScale-constrainedELNegativeEL
Claude Haiku 4.5
GPT-5.4 mini
Gemini 3.5 Flash
Perplexity SonarELEL
Grok 4.20EL
Mistral Small
DeepSeek V4 FlashEL
Llama 4 MaverickEL
Qwen 3.7 Flash
Kimi K2
GLM 4.7 FlashX
MiniMax M2.5
GPT-6 LunaEL
Muse Glimmer 30B
pgvectorEL Elasticsearch first choice named as an alternative argued againstblank: not namedEach cell is one answer, pgvector on the left and Elasticsearch on the right.

The direct prompt

The plain question, one answer per model, grouped by where pgvector and Elasticsearch stood in it.

pgvector first, Elasticsearch not the choice

5 of 14 modelsElasticsearch was named in the answer but not as the choice, or not at all.
Perplexity Sonarpgvector alternatives: Pinecone, Qdrant
DeepSeek V4 Flashpgvector alternatives: Pinecone, Qdrant
Qwen 3.7 Flashpgvector alternatives: Pinecone, Qdrant
Kimi K2pgvector alternatives: Pinecone, Qdrant
Muse Glimmer 30BPinecone, pgvector alternatives: Milvus, Qdrant, Weaviate

Neither was the first choice, one was named

8 of 14 modelsThe answer put something else first and named one of the two as an alternative.
Claude Haiku 4.5Qdrant alternatives: MongoDB Atlas Vector Search, Pinecone, Weaviate, pgvector
GPT-5.4 miniPinecone alternatives: Qdrant, Weaviate, pgvector
Gemini 3.5 FlashPinecone, Qdrant alternatives: Weaviate, pgvector
Grok 4.20Qdrant alternatives: Pinecone, Weaviate, pgvector
Mistral SmallPinecone alternatives: Qdrant, Weaviate, pgvector
Llama 4 MaverickQdrant alternatives: Pinecone, Weaviate, pgvector
MiniMax M2.5Qdrant, Weaviate alternatives: Milvus, Pinecone, pgvector
GPT-6 LunaQdrant alternatives: Pinecone, pgvector

Neither was named

1 of 14 modelsThe answer made no first choice from these two in this category.
GLM 4.7 FlashXPinecone alternatives: Milvus, Qdrant, Weaviate

Bold names in an answer are the products the judge labeled a first choice; a model naming several gives each of them that label. The full answer text for every row is in the record.

By buyer segment

The same question asked on behalf of a different buyer. Each standing is computed within its segment and they are never added together. The figures above are the mid-market standing, which is the one the category orders by.
Small business
pgvector leads by thirty-five points.
pgvector35%#1 of 9
Elasticsearch0%#– of 9
The full small business standing →
Mid-marketThe figures above
pgvector leads by thirty-two points.
pgvector34%#2 of 11
Elasticsearch2%#6 of 11
The full mid-market standing →
Enterprise
pgvector leads by seven points.
pgvector7%#4 of 13
Elasticsearch0%#10 of 13
The full enterprise standing →

What the models said about pgvector

Every negative label with a quote, up to three, then the highest-weighted positives, up to three. Six of eight in this category shown.

“pgvector does not natively support GPU acceleration or disk-optimized indexes, and at billion-scale workloads typically require more advanced sharding strategies” Claude Haiku 4.5 · negative prompt · soft negative
“Using vectors beside your application data in Postgres via pgvector is often the safest default until measured retrieval requirements force a dedicated engine.” Muse Glimmer 30B · negative prompt · soft negative
“pgvector for large, high-throughput workloads with selective filters or many tenants... approximate-index filtering can return too few results” GPT-6 Luna · negative prompt · soft negative
“the recommendation is to start with pgvector unless your scale, query patterns, or operational constraints provide specific evidence otherwise” Claude Haiku 4.5 · scale prompt · first choice
“Start simple: Use pgvector (in Postgres) or SQLite with vector extensions for most apps—it's battle-tested, avoids new tech debt” Grok 4.20 · negative prompt · first choice
“If your company already uses PostgreSQL for standard application data, pgvector is almost always the most cost-effective choice.” Gemini 3.5 Flash · budget prompt · first choice

What the models said about Elasticsearch

Every negative label with a quote, up to three, then the highest-weighted positives, up to three. Three of three in this category shown.

“1. Elasticsearch: Best for combining vector, full-text, and log search.” Llama 4 Maverick · paraphrase prompt · first choice
“Your existing search platform—for example, Elasticsearch—if you already use it and need lexical search, filters, and vector retrieval in one system.” GPT-6 Luna · scale prompt · alternative
“Elasticsearch / OpenSearch | Best if you already run it for search; good hybrid search capabilities” DeepSeek V4 Flash · scale prompt · alternative
Also compared

Comparisons are drawn for the top eight products in each category, each against each. The output is the models' output; nothing here is a recommendation by the index.