matchpassedremoved by NOTskip jump / cursorintermediate entry
Couldn't start the 3D scene.

Advanced Search 3D - Boolean Queries over an Inverted Index with Skip Pointers

See how a search engine answers an advanced query such as simulation AND pendulum AND chaos. Every word owns a posting list, the sorted ids of the 2000 catalogue pages that contain it, and the engine answers the query by merging lists with two cursors that walk along the page-id axis. Choose the document frequencies, the Boolean operator (AND, OR, (A OR B) AND C, AND NOT), the merge order and the skip-pointer spacing, and watch brass cursors slide along walnut shelves of index cards while every page-id comparison is counted. The cost of a plain merge is exactly entries consumed minus matches; the intersection of independent words has about a b / N pages; a skip pointer every sqrt(2 n / m) entries on the long list beats a plain merge for a rare word against a common one; and merging the rarest words first keeps the intermediate list short. Blender-built shelves, index cards, brass cursors and card-catalogue cabinet; numerical checks on the merge against a hash-set intersection, inclusion-exclusion, De Morgan, the cost identity, the hypergeometric mean for two and three words, skip-pointer correctness and the optimal skip spacing.

Made with 🟠 Blender · Three.js