Information Retrieval: Assignment 1: Problem 1
Information Retrieval: Assignment 1: Problem 1
Information Retrieval: Assignment 1: Problem 1
Which document(s) (if any) match each of the following queries where each
expression within quotes is a phrase query? (i) “fools rush in” (ii) “fools
rush in” AND “angels fear to tread”. At which positions do the queries
match? (iii) There is something wrong with this positional index. What is
the problem?
1
f a s t
0 1 1 2 2 3 3 4 4
1 1 2 2 3 3 4 4 5
c
1 2 1 2 2 3 3 4 4
2 2 2 1 3 3 4 4 5
a
2 3 2 3 1 2 2 3 3
3 3 3 3 2 2 3 2 4
t
3 4 3 4 2 3 2 3 2
4 4 4 4 3 2 3 3 3
s
4 5 4 5 3 4 2 3 3
Problem 5. (1 points)
If you wanted to search for s*ng in a permuterm wildcard index, what
key(s) would one do the lookup on?