#separator:tab
#html:true
#notetype:Basic
#tags column:3
#deck:cracked.guide::TAOCP Vol 3::6.5 Retrieval on Secondary Keys
#columns:Front	Back	Tags
TAOCP §6.5 Retrieval on Secondary Keys: what does it cover?	Searching on attributes other than the primary key: inverted files, multi-attribute queries, range and partial-match queries, and superimposed coding (the idea behind Bloom filters).	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::6.5 cracked.guide::kind::about
TAOCP §6.5: why does it matter?	Inverted indexes power every search engine, and Bloom filters are everywhere from databases to network caches.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::6.5 cracked.guide::kind::why
TAOCP §6.5: what traps should you watch for?	<ul><li>Picking the number of Bloom filter hash functions without doing the math.</li></ul>	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::6.5 cracked.guide::kind::traps
TAOCP §6.5, exercise 3 (rated 19): what is it asking?	Which queries produce particular false drops in the recipe example.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::6.5 cracked.guide::kind::exercise
TAOCP §6.5, exercise 9 (rated M20): what is it asking?	Verify a construction of Steiner triple systems.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::6.5 cracked.guide::kind::exercise
TAOCP §6.5, exercise 6 (rated M20, recommended): what is it asking?	Average locations per query for composed combinatorial hash functions.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::6.5 cracked.guide::kind::exercise
TAOCP §6.5, exercise 16 (rated 25, recommended): what is it asking?	Build superimposed codes from a triple system so no codeword is covered by two others.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::6.5 cracked.guide::kind::exercise
TAOCP §6.5, exercise 14 (rated 28): what is it asking?	Deletion in quadtrees and k-d trees. A real design problem.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::6.5 cracked.guide::kind::exercise
TAOCP §6.5, exercise 1 (rated M27, recommended): what is it asking?	Construct permutations that put every small subset first somewhere.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::6.5 cracked.guide::kind::exercise
TAOCP §6.5, exercise 17 (rated M30, recommended): what is it asking?	Analyze a bit-interleaving scheme for partial-match buckets. The stretch.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::6.5 cracked.guide::kind::exercise
TAOCP §6.5: how many exercises, and how are they rated?	20 exercises, rated 19 to M47.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::6.5 cracked.guide::kind::exercises
TAOCP §6.5: what should you be comfortable with first?	<ul><li>6.4 Hashing</li></ul>	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::6.5 cracked.guide::kind::prereqs
TAOCP §6.5: how should you work through it?	Build a tiny inverted index for a folder of text files and answer AND queries. Implement a Bloom filter and measure its false positive rate.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::6.5 cracked.guide::kind::approach
