Vector Indexing Graph Structures: HNSW, IVFFlat, Product Quantization (PQ), and High-Dimensional Similarity Search

🧠 Artificial Intelligence Storage Systems & High-Dimensional Geometry An authoritative computer science dissertation on High-Dimensional Vector Similarity Search. We formulate the mathematics of Euclidean (L2), Cosine, and Inner Product metrics, evaluate the Curse of Dimensionality, dissect Hierarchical Navigable Small World (HNSW) graphs, analyze Inverted File Flat (IVFFlat) Voronoi cell partitioning, and model Product Quantization (PQ) … Read more

PostgreSQL Generalized Index Structures: GiST, GIN, SP-GiST, and BRIN Architectural Deep Dive

🐘 Advanced Relational Index Engineering & PostgreSQL Extensibility An exhaustive systems engineering dissertation dissecting PostgreSQL specialized index access methods. We formulate Generalized Search Trees (GiST), Generalized Inverted Indexes (GIN), Space-Partitioned GiST (SP-GiST), and Block Range Indexes (BRIN). We evaluate R-Tree geometric bounding boxes, JSONB document indexing, k-d trees, and multi-terabyte timeseries range pruning. While most … Read more

Inverted Indexes, Roaring Bitmaps, and Full-Text Search: Posting Lists, BM25 Scoring, and Tokenization Internals

🔍 Information Retrieval & Full-Text Search Engines An authoritative computer science dissertation on Inverted Indexes and Information Retrieval (IR) algorithms. We formulate the mathematical mechanics of Inverted Index Posting Lists, dissect Roaring Bitmap bit-slice compression, evaluate Okapi BM25 probabilistic relevance scoring, analyze lexical analysis pipelines (tokenization, stemming, lemmatization, stop words), and benchmark Elasticsearch, Apache Lucene, … Read more

B+ Trees vs. Log-Structured Merge (LSM) Trees: Storage Engine Physics, Write Amplification, and Compaction

🌲 Storage Engine Mechanics & On-Disk Index Data Structures An exhaustive computer science systems dissertation comparing B+ Tree and Log-Structured Merge (LSM) Tree storage engine physics. We analyze leaf node fanout, random vs sequential I/O patterns, page splitting mechanics, Write Amplification Factor (WAF), Bloom filters, SSTable multi-way merge-sort, and Leveled vs Size-Tiered compaction dynamics (RocksDB, … Read more