← All tools
EDTOOLKITS GUIDES

Vector Databases: Compare Exact Search with a Topic Index

By Team Edtoolkits · AI learning

Add and search small document vectors and inspect the speed-recall tradeoff in a simplified index.

Use the guide alongside the working tool.

Open Vector Database: Find the Nearest →

Explore the lesson

Watch a query point light up the points around it.

Add your own documents and search them.

Switch between a full scan and a quicker index and compare the work.

A comparison to try

Run the same query with full scanning and the topic index. Compare checked-vector counts and returned documents; try a mixed-topic query to look for a relevant result that the index misses.

Read the result

The exact mode compares every stored vector. The index narrows candidates by a dominant topic, reducing comparisons but potentially excluding a useful neighbour. Read the text of each result rather than treating distance alone as an answer.

A mistake to avoid

The eight-topic vectors are hand-made and the flat ring is a projection. This bucket index is not a real graph or tree implementation. Comparison counts are not latency measurements, and fewer candidates do not guarantee acceptable recall on another dataset.

Teaching model and privacy

The vectors are hand-made over 8 topics and the map squeezes them onto a flat ring. The index is a simple bucket-by-topic idea, not a real structure like a graph or tree index. Nothing leaves your browser.

Ready to apply this workflow?

Try Vector Database: Find the Nearest →

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE