Qdrant alternative with embedded vector search

Narsil vs Qdrant

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

3.0×

Qdrant's rate

1,971Narsil Rust searches a second

On DBpedia 1M vector search with equal settings, Narsil answers 3.0 times as many searches a second as Qdrant.

  • Narsil Rust1,971
  • Narsil TypeScript1,659
  • Qdrant647

ANN recall@10 is 0.992 for Narsil TypeScript, 0.992 for Narsil Rust, and 0.993 for Qdrant.

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 Qdrant 1.20.2.

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

What each engine is for

Qdrant

Qdrant is a vector database written in Rust. It stores vectors with a JSON payload for each point, filters on that payload during a search, and runs as a server that you can deploy yourself or use through Qdrant 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
Qdrant0.6240.9230.9921,5280.500.6112,58512,514 to 12,588
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
Qdrant0.3150.3090.9931,2740.540.6910,93710,928 to 10,957
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
Qdrantn/an/a0.9957981.822.751,5251,517 to 1,536
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
Qdrantn/an/a0.9938174.046.67647643 to 661

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
Qdrant0.7100.9581,6400.770.898,5758,521 to 8,575
NFCorpusNarsil TypeScript0.3560.3241,5900.631.0211,60411,578 to 11,613
Narsil Rust0.3560.3242,0930.490.6318,91318,884 to 18,916
Qdrant0.3500.3241,3330.730.867,8667,854 to 7,870
DBpedia 100KNarsil TypeScriptn/an/a8551.622.373,2183,172 to 3,228
Narsil Rustn/an/a8791.461.984,6474,423 to 4,736
Qdrantn/an/a7982.233.431,4041,389 to 1,410
DBpedia 1MNarsil TypeScriptn/an/a7044.016.181,3041,280 to 1,310
Narsil Rustn/an/a8803.765.501,6141,596 to 1,650
Qdrantn/an/a8105.509.52599592 to 599

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
Qdrant0.6240.9230.995TurboQuant 4-bit1,4950.470.5614,40014,381 to 14,497
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
Qdrant0.3150.3090.993TurboQuant 4-bit1,3310.500.5912,85512,847 to 12,877
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
Qdrantn/an/a0.993TurboQuant 4-bit8130.851.484,6484,600 to 4,666
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
Qdrantn/an/a0.992TurboQuant 4-bit8242.044.062,5962,566 to 2,636

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
Qdrant0.7160.958TurboQuant 4-bit1,6620.720.838,9738,956 to 8,974
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
Qdrant0.3500.324TurboQuant 4-bit1,3310.690.798,7838,782 to 8,784
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
Qdrantn/an/aTurboQuant 4-bit8231.261.953,6063,512 to 3,616
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
Qdrantn/an/aTurboQuant 4-bit8222.976.171,5981,575 to 1,625

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.
  • Narsil's embedding adapters create the vectors when you insert a document and when you search. A companion package lets you use a local model, which needs no API key.

Of the 112 measurements that the harness recorded for both engines, Narsil came out ahead in 94 and Qdrant in 10, 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 Qdrant is better

  • Qdrant's developers built it for vector search first, so it offers sparse vectors, multivector points, and binary and product quantisation alongside scalar quantisation.
  • Qdrant shards and replicates each collection across the nodes of a cluster.
  • Qdrant Cloud operates Qdrant clusters for you.

Measurements that Qdrant 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 qdrant