3 ms·
Anyone know what the "pagerank" variable in here is? https://github.com/anthonyu/Sizzle/blob/master/src/proto/sizzle_document.proto https://github.com/anthonyu
by mahmud 16y ago
Anyone know what the "pagerank" variable in here is?
https://github.com/anthonyu/Sizzle/blob/master/src/proto/sizzle_document.proto https://github.com/anthonyu/Sizzle/blob/master/src/proto/siz...
- anthonyu 16y agoThat Document structure stores a URL and its pagerank for later processing. In the Sawzall paper, it's used in a program that reports the top URL from a domain, ranked by pagerank: proto "document.proto" max_pagerank_url: table maximum(1) [domain: string] of url: string weight pagerank: int; doc: Document = input; emit max_pagerank_url[domain(doc.url)] <- doc.url weight doc.pagerank;