Weaviate alternative

Narsil vs Weaviate

The benchmark harness measured Narsil and Weaviate on the same vectors for recall, speed, and ingest. Every result is here, including Weaviate's wins.

4.2×

Weaviate's rate

1,614Narsil Rust searches a second

On DBpedia 1M hybrid search with equal settings, Narsil answers 4.2 times as many searches a second as Weaviate.

  • Narsil Rust1,614
  • Narsil TypeScript1,304
  • Weaviate380

The DBpedia 1M set contains no human relevance judgements, so the harness reports no nDCG@10 for it.

The harness recorded these figures in run 20261119T135007Z on 19 November 2026, with Narsil built from commit 3ad47df2c9c1.

The harness measured Narsil 0.4.5 against Weaviate 1.40.5.

The harness tested Narsil TypeScript on GCP c3-standard-8, us-central1-a; Narsil Rust on GCP c3-standard-8, us-east1-b; and Weaviate on GCP c3-standard-8, us-west3-b, each on the processor that its machine reports as Intel(R) Xeon(R) Platinum 8481C CPU @ 2.70GHz.

What each engine is for

Weaviate

Weaviate is an open source vector database written in Go that stores each object together with its vector. Its modules can call an embedding provider when you import data, and you can deploy it yourself or use Weaviate Cloud.

Narsil

Narsil searches vectors, full text, and both at once in one typed index. You can embed it in a TypeScript, Python, Go, or Rust process, where a vector search needs no network call, or you can deploy the same engine as a server.

Equal settings

Every engine stores full-precision vectors. On the vector track, the harness raises each engine's search effort until that engine reaches an ANN recall@10 of 0.99, before it measures the engine's speed.

Vector search

Equal settings, Vector search
DatasetEngineRanking qualitynDCG@10Relevant foundRecall@100Vector accuracyANN recall@10Ingest speedIngest docs/sMedian searchp50 msSlowest 1%p99 msPeak throughputPeak QPS
SciFactNarsil TypeScript0.6240.9230.9961,6910.460.8216,93116,925 to 16,999
Narsil Rust0.6240.9230.9962,3740.370.4927,16227,054 to 27,221
Weaviate0.6240.9230.9971,6732.294.811,7881,788 to 1,791
NFCorpusNarsil TypeScript0.3150.3090.9941,5640.500.9313,79913,794 to 14,027
Narsil Rust0.3150.3090.9912,2730.440.5421,23821,167 to 21,265
Weaviate0.3150.3090.9931,3792.405.331,6841,681 to 1,689
DBpedia 100KNarsil TypeScriptn/an/a0.9918501.492.183,5893,567 to 3,592
Narsil Rustn/an/a0.9918861.411.934,7944,660 to 5,195
Weaviaten/an/a0.9926567.3010.77616615 to 617
DBpedia 1MNarsil TypeScriptn/an/a0.9927433.454.791,6591,631 to 1,663
Narsil Rustn/an/a0.9928783.184.371,9711,849 to 2,005
Weaviaten/an/a0.99366810.8613.37476476 to 480

A highlighted figure is the best in its column for that dataset.

p50 is the median search time and p99 is the time within which 99% of searches finished, as the client measured them. The table shows each peak with its 95% interval.

The tables show n/a for nDCG@10 and Recall@100 on the DBpedia sets, because those sets contain no human relevance judgements.

Hybrid search

Equal settings, Hybrid search
DatasetEngineRanking qualitynDCG@10Relevant foundRecall@100Ingest speedIngest docs/sMedian searchp50 msSlowest 1%p99 msPeak throughputPeak QPS
SciFactNarsil TypeScript0.7050.9641,9890.681.0711,83511,798 to 11,838
Narsil Rust0.7050.9642,3330.500.6319,99819,936 to 20,005
Weaviate0.6840.9581,6523.196.87842840 to 843
NFCorpusNarsil TypeScript0.3560.3241,5900.631.0211,60411,578 to 11,613
Narsil Rust0.3560.3242,0930.490.6318,91318,884 to 18,916
Weaviate0.3430.3191,4413.067.471,0191,018 to 1,020
DBpedia 100KNarsil TypeScriptn/an/a8551.622.373,2183,172 to 3,228
Narsil Rustn/an/a8791.461.984,6474,423 to 4,736
Weaviaten/an/a6628.0011.30513509 to 520
DBpedia 1MNarsil TypeScriptn/an/a7044.016.181,3041,280 to 1,310
Narsil Rustn/an/a8803.765.501,6141,596 to 1,650
Weaviaten/an/a66816.7836.38380372 to 381

A highlighted figure is the best in its column for that dataset.

p50 is the median search time and p99 is the time within which 99% of searches finished, as the client measured them. The table shows each peak with its 95% interval.

The tables show n/a for nDCG@10 and Recall@100 on the DBpedia sets, because those sets contain no human relevance judgements.

Each engine stores vectors in the compressed form that its documentation recommends for production, which the Vector storage column shows. However, each engine has to reach an ANN recall@10 of 0.99 before the harness measures its speed.

Vector search

Recommended production settings, Vector search
DatasetEngineRanking qualitynDCG@10Relevant foundRecall@100Vector accuracyANN recall@10Vector storageIngest speedIngest docs/sMedian searchp50 msSlowest 1%p99 msPeak throughputPeak QPS
SciFactNarsil TypeScript0.6240.9230.993OSQ 4-bit2,1000.390.7615,80915,756 to 15,840
Narsil Rust0.6240.9230.995OSQ 4-bit2,3670.340.4730,67130,602 to 30,696
Weaviate0.6240.9230.9978-bit RQ1,7682.385.741,6631,653 to 1,667
NFCorpusNarsil TypeScript0.3150.3090.993OSQ 4-bit1,5620.430.8013,30913,273 to 13,336
Narsil Rust0.3150.3090.993OSQ 4-bit1,9950.410.5423,79523,768 to 23,836
Weaviate0.3150.3090.9938-bit RQ1,4242.465.561,6061,605 to 1,606
DBpedia 100KNarsil TypeScriptn/an/a0.992OSQ 4-bit8180.861.385,5225,462 to 5,536
Narsil Rustn/an/a0.991OSQ 4-bit8790.781.019,3419,285 to 9,465
Weaviaten/an/a0.9928-bit RQ6576.8712.01609608 to 609
DBpedia 1MNarsil TypeScriptn/an/a0.992OSQ 4-bit5421.582.333,7663,586 to 3,931
Narsil Rustn/an/a0.992OSQ 4-bit8821.772.363,8473,716 to 3,879
Weaviaten/an/a0.9928-bit RQ6688.8611.82534531 to 537

A highlighted figure is the best in its column for that dataset.

p50 is the median search time and p99 is the time within which 99% of searches finished, as the client measured them. The table shows each peak with its 95% interval.

The tables show n/a for nDCG@10 and Recall@100 on the DBpedia sets, because those sets contain no human relevance judgements.

Hybrid search

Recommended production settings, Hybrid search
DatasetEngineRanking qualitynDCG@10Relevant foundRecall@100Vector storageIngest speedIngest docs/sMedian searchp50 msSlowest 1%p99 msPeak throughputPeak QPS
SciFactNarsil TypeScript0.7050.964OSQ 4-bit2,0120.610.9210,57210,571 to 10,709
Narsil Rust0.7050.964OSQ 4-bit2,3980.470.6121,78221,769 to 21,888
Weaviate0.6840.9588-bit RQ1,7013.358.57781779 to 792
NFCorpusNarsil TypeScript0.3560.324OSQ 4-bit1,6260.610.9510,78410,711 to 10,926
Narsil Rust0.3560.324OSQ 4-bit1,9390.430.5821,49421,487 to 21,504
Weaviate0.3430.3198-bit RQ1,4293.228.03953952 to 955
DBpedia 100KNarsil TypeScriptn/an/aOSQ 4-bit8121.021.624,7894,749 to 4,795
Narsil Rustn/an/aOSQ 4-bit8760.911.218,4338,425 to 8,540
Weaviaten/an/a8-bit RQ6647.7515.20478477 to 479
DBpedia 1MNarsil TypeScriptn/an/aOSQ 4-bit5722.566.422,4922,471 to 2,508
Narsil Rustn/an/aOSQ 4-bit8812.494.142,7562,752 to 2,761
Weaviaten/an/a8-bit RQ66910.1313.62371369 to 374

A highlighted figure is the best in its column for that dataset.

p50 is the median search time and p99 is the time within which 99% of searches finished, as the client measured them. The table shows each peak with its 95% interval.

The tables show n/a for nDCG@10 and Recall@100 on the DBpedia sets, because those sets contain no human relevance judgements.

Where Narsil is better

  • Narsil ranks keyword matches with BM25 in the same index as your vectors, then fuses both rankings into one list for a hybrid search.
  • Narsil can work inside your application process, where it answers each search without a network call. Once you need a server, a Narsil server can load that same index without any change.
  • The same engine works in a browser and stores its index in IndexedDB, so your users can search while their device is offline.

Of the 112 measurements that the harness recorded for both engines, Narsil came out ahead in 102 and Weaviate in 2, while 8 came out level.

A peak is level when the two 95% intervals overlap, or when the load generator capped the lower peak, because that figure is then a lower bound. Every other measure is level when the tables above show the same figure for both engines.

Where Weaviate is better

  • Weaviate's modules can create embeddings for you at import and at query time.
  • Weaviate accepts queries over GraphQL, REST, and gRPC, through official client libraries for several languages.
  • Weaviate Cloud operates Weaviate for you.

Measurements that Weaviate won

Try Narsil

When you paste this prompt into your coding agent, the agent will install the Narsil skill and the package, then build and test the search that your project needs.

See what your agent does with it

If you prefer to write the code yourself, you can use the Narsil package for TypeScript, Python, Go, or Rust, since every package searches with the same engine. Each program indexes three films and finds the films from 1990 onwards whose title matches ronin, before it finds the two films whose embeddings are closest to a query vector.

Serve Narsil over HTTP
pnpm add @delali/narsil
import { createNarsil } from '@delali/narsil'
 
const narsil = await createNarsil()
 
await narsil.createIndex('films', {
  schema: { title: 'string', year: 'number', embedding: 'vector[3]' },
})
 
await narsil.insertBatch('films', [
  { id: 'heat', title: 'Heat', year: 1995, embedding: [0.9, 0.1, 0.2] },
  { id: 'ronin', title: 'Ronin', year: 1998, embedding: [0.8, 0.3, 0.1] },
  { id: 'solaris', title: 'Solaris', year: 1972, embedding: [0.1, 0.9, 0.7] },
])
 
const keyword = await narsil.query('films', { term: 'ronin', filters: { fields: { year: { gte: 1990 } } } })
console.log(keyword.count, keyword.hits[0].id)
 
const nearest = await narsil.query('films', {
  vector: { field: 'embedding', value: [0.85, 0.2, 0.15] },
  limit: 2,
})
for (const hit of nearest.hits) {
  console.log(hit.id, hit.score)
}
 
await narsil.shutdown()

Reproduce these numbers

The benchmark harness is in the Narsil repository, where it writes every figure that it measures into a new run directory.

git clone https://github.com/assetcorp/narsil.git
cd narsil/benchmarks/server
./run-all.sh narsil narsil-rust weaviate