Question
Intersection algorithm, and skip pointers When searching a two-word query, the following two postings lists are returned from the inverted index: [2, 13, 18, 23,
Intersection algorithm, and skip pointers When searching a two-word query, the following two postings lists are returned from the inverted index:
[2, 13, 18, 23, 45, 78, 88, 90, 123, 178, 245, 269, 290, 313, 389, 390]
[2, 313]
1. List all the comparison pairs when using the standard postings lists
2. To speed up the intersection between the postings lists, skip pointers are considered to add to the postings listings. Suppose the skip length is (P is the length of the postings list)
a. Add the skip pointers to the first postings list
b. After the skip pointers are added to the first postings list, list all the comparison pairs
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started