Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume a biword index. Give an example of a document which will be returned for a query of New York University but is actually a

Assume a biword index. Give an example of a document
which will be returned for a query of New York University
but is actually a false positive which should not be
returned.
Consider the following fragment of a positional
index with the format:
word: document: position, position, ...; document:
position,...>
cdots
Gates: 1:(:3:);2:(:6:);3 : (:2,17:);4 : (:1:)
IBM: 4:(:3:);7:(:14:)
Microsoft: 1: (:1:);2 : (:1,21:);3 : (:3:);5 : (:16,22,51:)
The ?k operator, word 1k word2 finds occurrences of
word 1 within k words of word2(on either side), where k is
a positive integer argument. Thus k=1 demands that
word1 be adjacent to word2.
a. Describe the set of documents that satisfy the query
Gates /2 Microsoft.
b. Describe each set of values for k for which the query
Gates ?k Microsoft returns a different set of documents as
the answer.(2) Consider the following fragment of a positional index with the format: word: document: ; document: position, ...>... Gates: 1:3>; 2:6>: 3:2,17>: 4:1>: IBM: 4:3>; 7:14> Microsoft: 1:1 ; 2:1,21>; 3:3>; 5:16,22,51 The / k operator, word1/ k word2 finds occurrences of word1 within k words of word2 lon either side), where k is a positive integer argument. Thus k=1 demands that word 1 be adjacent to word2. Describe the set of documents that satisfy the query Gates /2 Microsoft. (1,2](1,3)(2,3)(4,5)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

More Books

Students also viewed these Databases questions