—16—Inverted Indexes: The Search Narrows

The gentle tinkle of a bell announced Frank’s arrival at Cloaks and More in the center of the capital the next morning. Nearly every square inch of the small shop was packed tight with racks of cloaks. Frank forced his way through a narrow gap between racks toward the counter in the back.

A small balding man peered up through thick glasses. “Welcome to Cloaks and More. I am Gilbert Cloaksworth. How can I help you today?”

He looked Frank up and down. His eyes flicked repeatedly to Frank’s well-worn trench cloak, and when he noticed a patch near the shoulder, the shop owner shuddered.

“I see you are in the market for a new cloak,” he ventured with the fake cheeriness perfected by snobby shopkeepers the world ...

Get The CS Detective now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.