



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




3
Google… Web | Images | Groups | Directory Google Search | I’m Feeling Lucky Advanced Search | Preferences | Language Tools…
Association for Computing Machinery Founded in 1947, ACM is the world’s first educational and scientific computing society. Today, our members—…
CPS 216: Advanced Database Systems (Fall 2001) Course Information Course Description / Time and Place / Books Resources: Staff…
The Internet Movie Database (IMDb)…
… Search the Internet Movie Database. For more search options, please visit Search central…
database AND search Search
What are the documents containing both “database” and “search”?
4
1 1 1 … 1 1 1 0 … 0 0 0 1 … 0 0 1 0 … 1 0 0 1 … 0 … … … … …
Document 1Document 2Document 3Document
n
All documents
“a”
“database”
“cat”
“dog” “search”
All keywords
1 means keyword appears in the document 0 means otherwise
5
6
… that actually appear in documents!
Alternative: approximate phrase search by proximity
They appear in nearly every document, e.g., a, of, the, it Not useful in search
Example: database, databases They can be treated as the same for the purpose of search
9
hash (“database”) = 0110 hash (“dog”) = 1100 hash (“cat”) = 0010
doc 1 contains “database”: 0110 doc 2 contains “dog”: 1100 doc 3 contains “cat” and “dog”: 1110
Does doc 3 contain “database”?
10
To check if a document contains a word, we only need to check the bits that are set in the word’s hash value So why bother retrieving all w bits of the signature?
doc signature 1 0 0 0 0 1 0 0 0 2 0 0 0 0 1 0 0 0 3 0 0 0 1 1 0 1 0 4 0 1 1 0 1 1 0 0 … … n 0 0 0 0 1 0 1 0
Bit-sliced signature files
Slice 7 …Slice 0
Starting to look like an inverted list again!
11
False positives Hard to use because s , w , and the hash function need tuning to work well Long documents will likely have mostly 1’s in signatures Common words will create mostly 1’s for their slices Difficult to extend with features such as frequency, proximity
Sizes are tunable Good for lots of search terms Good for computing similarity of documents
12
A user will not look at all result pages Complete result may be unnecessary )Result pages need to be ranked
Based on content
Netscape
Amazon Microsoft
Netscape
Amazon Microsoft
21
22
Type-weight: depends on the type of the occurrence
Capitalization
Relative font size In URL/title/meta tag In anchor text
Within the page Within the page Within the anchor URL associated with the anchor
23
a
c (^) l
b p
p
e e l
a
c
b pp
le e l
What’s the max fan-out?
24