Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseInsight · On RadarQdrant Blog→ original

Poliscope Cut German Municipal Document Search from 20 Seconds to 0.87 Seconds

German councils publish decisions on wind farms and schools across thousands of scattered portals, and searching them meant doing it by hand. Poliscope put 5.6 million documents into one search on Qdrant. With 70 million records, a query could take up to 20 seconds; now a nationwide search averages 0.87 seconds. Three changes made the difference: splitting data by state, a prefix filter on region codes, and vector compression. The takeaway: 130 million records run comfortably on a single self-hosted server.

AI-processed from Qdrant Blog; edited by Hamidun News
Poliscope Cut German Municipal Document Search from 20 Seconds to 0.87 Seconds
Source: Qdrant Blog. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceQdrant Blog ↗
Editor-in-Chief
Corpus532,000 meetings, 5.6 million documents, 4.3 TB of PDFs
Key metric #2Splitting by state filters out up to 80% of the data before vector search
Hetzner server in Germany, 256 GB RAMdata stays in the EU

Imagine you need to find out which councils in Germany are currently discussing wind farms. Decisions on wind parks, new schools, and bus routes are published by roughly 11,000 municipalities, and until now, you had to open the portals one by one. The startup Poliscope put all of this into a single search box built on the Qdrant vector database, and described how it works in the Qdrant blog. The first version, with 70 million records (Qdrant calls them "points"), took up to 20 seconds to answer a query. Today, a nationwide search averages 0.87 seconds. For anyone building search over large document collections, this is a rare case with real numbers.

What they collected and why

Almost every municipality publishes agendas, minutes, and planning documents on a "council information portal." These portals run on about a dozen different software packages and are not connected to each other. Poliscope crawls around 4,800 active portals, which cover roughly 90% of municipalities and 98% of the country's population. All PDFs go through optical character recognition (OCR): a dedicated GPU machine converts each page into Markdown. The text is then split into chunks and fed into the search index.

Today the database holds about 532,000 meetings, 5.5 million agenda items, and 5.6 million documents, totaling 4.3 TB of PDFs. Roughly 20,000 more meetings are added every month. In Qdrant, this amounts to 130 million points, 117 million of which are document chunks. The first customers were developers of renewable energy projects. For them, it matters to learn about zoning for a wind or solar site before competitors do, and to reach landowners in time. Journalists, urban planners, and companies that sell services to municipalities came next.

The first version did not search at all. A language model rated meetings against several fixed topics, looking only at agenda item titles. Nobody read the content of the PDFs.

From 20 seconds to fractions of a second

When the index held around 70 million points and had barely been tuned, a single search could take up to 20 seconds. On a client call, according to CTO Kolja Martens, that is an awkward silence. Three Qdrant settings brought the speed up, and the team tested each one on real data.

The first was splitting by state. Users almost always search within one region. The team grouped the 16 states into 12 groups ("tenants") and used those same groups as 12 shards. A query that specifies a region discards up to 80% of the corpus before vector search even begins.

The second was a prefix index on region codes. German administrative codes are hierarchical: a district code starts with its state code. A single prefix index lets one condition select "everything inside this district." It replaced the slowest filter in the system.

The third was TurboQuant vector compression. At first, the team used two-bit binary compression. On September 26, 2026, the in-memory index was switched to 1.5 bits, simply by changing a setting, without reloading the data. Two days later, on Qdrant 1.19, the original vectors on disk were converted from float32 to TurboQuant by copying the data into a new collection. Server disk space was running out. After the migration, there was more room, and recall (the share of relevant documents actually found) improved.

The result: the Qdrant query itself takes 8.5 ms at the median and 12.5 ms at the 95th percentile (the time within which 95% of the heaviest queries finish, so 5% take longer). Including query vectorization and re-ranking, a nationwide search since September 29, 2026 averages 0.87 seconds, with a median of 0.59 seconds and a 95th percentile of 2.1 seconds.

How the query works and what sits underneath

The search is hybrid. German compound words are poorly matched by purely semantic search, so keyword search (BM25) and vector search run in a single query. The semantic part runs against the 1.5-bit index, then the candidates are re-checked against the original vectors with a threefold margin. The two result sets are merged, results are grouped by meeting or by agenda item, and the multilingual Jina re-ranker orders them. Each result links to the relevant pages of the source PDF.

Everything runs on a single Qdrant 1.19 node with 130 million points across 12 shards. The server is a bare-metal Hetzner machine in Germany with 256 GB of RAM, and the database and API live on the same machine. This was a deliberate choice: Poliscope wanted an EU-only stack, without a US vendor and without the risk tied to the CLOUD Act. Data sovereignty questions come up with clients. In addition, the team decides for itself which cores serve queries and which handle the optimizer, and schedules bulk loads so they do not interfere with traffic.

The price of this freedom is that decisions a managed service would make for you fall to the team. The shard scheme, for example, had to be changed: they built a new collection alongside the old one and switched over. There is no separate search team, and coding agents helped the team work through the Qdrant documentation.

What to take away

This is a case study published by the vendor itself, so the numbers should be read with caution: there is no independent verification, and Poliscope's data only starts in January 2024. Plans include archives going back to 2016, which would multiply the corpus several times over, and a second node if the workload outgrows a single machine.

The practical lessons are simple. If users almost always search within their own segment, partition the data along that segment. Filter hierarchical codes with a prefix rather than long lists. Vector compression can free up disk and preserve quality at the same time, but measure recall before and after. The team has just started doing exactly that for every change.

Story

Key Questions Answered

What they collected and why?

Almost every municipality publishes agendas, minutes, and planning documents on a "council information portal." These portals run on about a dozen different software packages and are not connected to each other. Poliscope crawls around 4,800 active portals, which cover roughly 90% of municipalities and 98% of the country's population. All PDFs go through optical character recognition (OCR): a dedicated GPU machine converts each page into Markdown. The text is then split into chunks and fed into the search index.

What are the key details on From 20 seconds to fractions of a second?

When the index held around 70 million points and had barely been tuned, a single search could take up to 20 seconds. On a client call, according to CTO Kolja Martens, that is an awkward silence. Three Qdrant settings brought the speed up, and the team tested each one on real data. The first was splitting by state. Users almost always search within one region. The team grouped the 16 states into 12 groups ("tenants") and used those same groups as 12 shards.

How the query works and what sits underneath?

The search is hybrid. German compound words are poorly matched by purely semantic search, so keyword search (BM25) and vector search run in a single query. The semantic part runs against the 1.5-bit index, then the candidates are re-checked against the original vectors with a threefold margin. The two result sets are merged, results are grouped by meeting or by agenda item, and the multilingual Jina re-ranker orders them. Each result links to the relevant pages of the source PDF.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Poliscope Cut German Municipal Document Search from 20 Seconds to 0.87 Seconds https://news.hamidun.com/en/news/16642/poliscope-cut-german-municipal-document-search-from-20-secon

What do you think?
Loading comments…