Package com.flaptor.hounder.crawler.pagedb

Examples of com.flaptor.hounder.crawler.pagedb.Page.addAnchor()


                                        child.setLastAttempt(0L);
                                        child.setLastSuccess(0L);
                                        if (recordParents) {
                                            child.addParent(pageurl);
                                        }
                                        child.addAnchor(link.getAnchor()); // at this point it can only be one anchor
                                        child.setScore(PageRank.parentContribution(page.getScore(), links.length));
                              
                                        // unless the child is a hotspot, it is removed from the fetched page by 1 level
                                        child.setDistance(page.getDistance() + 1);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.