Uses of Class
org.apache.nutch.crawl.CrawlDatum
Packages that use CrawlDatum
Package
Description
Text document language identifier.
Crawl control code and tools to run the crawler.
The Nutch multi-threaded fetching module
Index content, configure and run indexing and cleaning jobs to
add, update, and delete documents from an index.
An indexing plugin for inbound anchor text.
Indexing filter to add document arbitrary data to the index
from the output of a user-specified class.
A basic indexing plugin, adds basic fields: url, host, title, content, etc.
Indexing filter to index meta data from RSS feeds.
This plugin implements an indexing filter which takes
advantage of the
GeoIP2-java API.
This plugin implements a dynamic indexing filter which uses JEXL
expressions to allow filtering based on the page's metadata
Indexing filter to add document metadata to the index.
A more indexing plugin, adds "more" index fields:last modified
date, MIME type, content length.
Indexing filter to allow pattern replacements on metadata.
A simple plugin called at indexing that adds fields with static data.
Indexing filter to assign documents to subcollections.
Top Level Domain Indexing plugin.
URL Meta Tag Indexing Plugin
A microformats Rel-Tag
Parser/Indexer/Querier plugin.
Classes related to the
Protocol interface,
see also org.apache.nutch.net.protocols.Protocol plugin which supports retrieving local file resources.
Protocol plugin which supports retrieving documents via the ftp protocol.
Protocol plugin which supports retrieving documents via HTTP/HTTPS using
Selenium and the
HtmlUnitDriver web
driver for the for the
HtmlUnit headless browser.
Protocol plugin which supports retrieving documents via the http protocol.
Common API used by HTTP plugins (
http,
httpclient, etc.)Protocol plugin which supports retrieving documents via the HTTP andHTTPS
protocols, optionally with Basic, Digest and NTLM authentication schemes for
web server as well as proxy server.
Protocol plugin which supports retrieving documents using and interacting
with Selenium.
Protocol plugin for HTTP/HTTPS based on
okhttp, supports HTTP 1.1
and/or http/2.
Protocol plugin which supports retrieving documents via
Selenium.
The
ScoringFilter interface.Scoring filter to stop crawling at a configurable depth
(number of "hops" from seed URLs).
Scoring filter used in conjunction with
WebGraph.Metadata Scoring Plugin
Scoring filter implementing a variant of the Online Page Importance Computation
(OPIC) algorithm.
Scoring filter to modify score or status of orphaned pages (no inlinks found
for a configurable amount of time).
Implements the cosine similarity metric for scoring relevant documents
URL Meta Tag Scoring Plugin
A segment stores all data from on generate/fetch/update cycle:
fetch list, protocol status, raw content, parsed content, and extracted outgoing links.
Miscellaneous utility classes.
Sample plugins that parse and index Creative Commons metadata.
-
Uses of CrawlDatum in org.apache.nutch.analysis.lang
Methods in org.apache.nutch.analysis.lang with parameters of type CrawlDatumModifier and TypeMethodDescriptionLanguageIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of CrawlDatum in org.apache.nutch.crawl
Fields in org.apache.nutch.crawl declared as CrawlDatumMethods in org.apache.nutch.crawl that return CrawlDatumModifier and TypeMethodDescriptionAbstractFetchSchedule.forceRefetch(Text url, CrawlDatum datum, boolean asap) This method resets fetchTime, fetchInterval, modifiedTime, retriesSinceFetch and page signature, so that it forces refetching.FetchSchedule.forceRefetch(Text url, CrawlDatum datum, boolean asap) This method resets fetchTime, fetchInterval, modifiedTime and page signature, so that it forces refetching.CrawlDbReader.get(String crawlDb, String url, Configuration config) protected CrawlDatumDeduplicationJob.DedupReducer.getDuplicate(CrawlDatum existingDoc, CrawlDatum newDoc) AbstractFetchSchedule.initializeSchedule(Text url, CrawlDatum datum) Initialize fetch schedule related data.FetchSchedule.initializeSchedule(Text url, CrawlDatum datum) Initialize fetch schedule related data.static CrawlDatumAbstractFetchSchedule.setFetchSchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime, long modifiedTime, int state) Sets thefetchIntervalandfetchTimeon a successfully fetched page.AdaptiveFetchSchedule.setFetchSchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime, long modifiedTime, int state) DefaultFetchSchedule.setFetchSchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime, long modifiedTime, int state) FetchSchedule.setFetchSchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime, long modifiedTime, int state) Sets thefetchIntervalandfetchTimeon a successfully fetched page.MimeAdaptiveFetchSchedule.setFetchSchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime, long modifiedTime, int state) AbstractFetchSchedule.setPageGoneSchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime) This method specifies how to schedule refetching of pages marked as GONE.FetchSchedule.setPageGoneSchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime) This method specifies how to schedule refetching of pages marked as GONE.AbstractFetchSchedule.setPageRetrySchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime) This method adjusts the fetch schedule if fetching needs to be re-tried due to transient errors.FetchSchedule.setPageRetrySchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime) This method adjusts the fetch schedule if fetching needs to be re-tried due to transient errors.Methods in org.apache.nutch.crawl that return types with arguments of type CrawlDatumModifier and TypeMethodDescriptionCrawlDbReader.CrawlDatumCsvOutputFormat.getRecordWriter(TaskAttemptContext context) CrawlDbReader.CrawlDatumJsonOutputFormat.getRecordWriter(TaskAttemptContext context) Methods in org.apache.nutch.crawl with parameters of type CrawlDatumModifier and TypeMethodDescriptionlongAbstractFetchSchedule.calculateLastFetchTime(CrawlDatum datum) This method return the last fetch time of the CrawlDatumlongFetchSchedule.calculateLastFetchTime(CrawlDatum datum) Calculates last fetch time of the given CrawlDatum.intCrawlDatum.compareTo(CrawlDatum that) Sort twoCrawlDatumobjects by decreasing score.AbstractFetchSchedule.forceRefetch(Text url, CrawlDatum datum, boolean asap) This method resets fetchTime, fetchInterval, modifiedTime, retriesSinceFetch and page signature, so that it forces refetching.FetchSchedule.forceRefetch(Text url, CrawlDatum datum, boolean asap) This method resets fetchTime, fetchInterval, modifiedTime and page signature, so that it forces refetching.protected CrawlDatumDeduplicationJob.DedupReducer.getDuplicate(CrawlDatum existingDoc, CrawlDatum newDoc) static booleanCrawlDatum.hasDbStatus(CrawlDatum datum) Validate DB Status (ref.: CrawlDbReducer, IndexerReducer)static booleanCrawlDatum.hasFetchStatus(CrawlDatum datum) Validate Fetch Status (ref.: CrawlDbReducer, IndexerReducer, SegmentMergerReducer)AbstractFetchSchedule.initializeSchedule(Text url, CrawlDatum datum) Initialize fetch schedule related data.FetchSchedule.initializeSchedule(Text url, CrawlDatum datum) Initialize fetch schedule related data.voidCrawlDbFilter.map(Text key, CrawlDatum value, Mapper<Text, CrawlDatum, Text, CrawlDatum>.Context context) voidCrawlDbReader.CrawlDbDumpMapper.map(Text key, CrawlDatum value, Mapper<Text, CrawlDatum, Text, CrawlDatum>.Context context) voidCrawlDbReader.CrawlDbStatMapper.map(Text key, CrawlDatum value, Mapper<Text, CrawlDatum, Text, NutchWritable>.Context context) voidCrawlDbReader.CrawlDbTopNMapper.map(Text key, CrawlDatum value, Mapper<Text, CrawlDatum, FloatWritable, Text>.Context context) voidDeduplicationJob.DBFilter.map(Text key, CrawlDatum value, Mapper<Text, CrawlDatum, BytesWritable, CrawlDatum>.Context context) voidGenerator.CrawlDbUpdater.CrawlDbUpdateMapper.map(Text key, CrawlDatum value, Mapper<Text, CrawlDatum, Text, CrawlDatum>.Context context) voidGenerator.SelectorMapper.map(Text key, CrawlDatum value, Mapper<Text, CrawlDatum, FloatWritable, Generator.SelectorEntry>.Context context) voidCrawlDatum.putAllMetaData(CrawlDatum other) Add all metadata from other CrawlDatum to this CrawlDatum.voidCrawlDatum.set(CrawlDatum that) Copy the contents of another instance into this instance.AbstractFetchSchedule.setFetchSchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime, long modifiedTime, int state) Sets thefetchIntervalandfetchTimeon a successfully fetched page.AdaptiveFetchSchedule.setFetchSchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime, long modifiedTime, int state) DefaultFetchSchedule.setFetchSchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime, long modifiedTime, int state) FetchSchedule.setFetchSchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime, long modifiedTime, int state) Sets thefetchIntervalandfetchTimeon a successfully fetched page.MimeAdaptiveFetchSchedule.setFetchSchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime, long modifiedTime, int state) AbstractFetchSchedule.setPageGoneSchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime) This method specifies how to schedule refetching of pages marked as GONE.FetchSchedule.setPageGoneSchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime) This method specifies how to schedule refetching of pages marked as GONE.AbstractFetchSchedule.setPageRetrySchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime) This method adjusts the fetch schedule if fetching needs to be re-tried due to transient errors.FetchSchedule.setPageRetrySchedule(Text url, CrawlDatum datum, long prevFetchTime, long prevModifiedTime, long fetchTime) This method adjusts the fetch schedule if fetching needs to be re-tried due to transient errors.booleanAbstractFetchSchedule.shouldFetch(Text url, CrawlDatum datum, long curTime) This method provides information whether the page is suitable for selection in the current fetchlist.booleanFetchSchedule.shouldFetch(Text url, CrawlDatum datum, long curTime) This method provides information whether the page is suitable for selection in the current fetchlist.voidCrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter.write(Text key, CrawlDatum value) voidCrawlDbReader.CrawlDatumJsonOutputFormat.LineRecordWriter.write(Text key, CrawlDatum value) protected voidDeduplicationJob.DedupReducer.writeOutAsDuplicate(CrawlDatum datum, Reducer<K, CrawlDatum, Text, CrawlDatum>.Context context) Method parameters in org.apache.nutch.crawl with type arguments of type CrawlDatumModifier and TypeMethodDescriptionvoidCrawlDbMerger.Merger.reduce(Text key, Iterable<CrawlDatum> values, Reducer<Text, CrawlDatum, Text, CrawlDatum>.Context context) voidCrawlDbReducer.reduce(Text key, Iterable<CrawlDatum> values, Reducer<Text, CrawlDatum, Text, CrawlDatum>.Context context) voidDeduplicationJob.DedupReducer.reduce(K key, Iterable<CrawlDatum> values, Reducer<K, CrawlDatum, Text, CrawlDatum>.Context context) voidDeduplicationJob.StatusUpdateReducer.reduce(Text key, Iterable<CrawlDatum> values, Reducer<Text, CrawlDatum, Text, CrawlDatum>.Context context) voidGenerator.CrawlDbUpdater.CrawlDbUpdateReducer.reduce(Text key, Iterable<CrawlDatum> values, Reducer<Text, CrawlDatum, Text, CrawlDatum>.Context context) voidInjector.InjectReducer.reduce(Text key, Iterable<CrawlDatum> values, Reducer<Text, CrawlDatum, Text, CrawlDatum>.Context context) Merge the input records of one URL as per rules below : -
Uses of CrawlDatum in org.apache.nutch.fetcher
Methods in org.apache.nutch.fetcher that return CrawlDatumMethods in org.apache.nutch.fetcher with parameters of type CrawlDatumModifier and TypeMethodDescriptionorg.apache.nutch.fetcher.FetchItemQueues.QueuingStatusFetchItemQueues.addFetchItem(Text url, CrawlDatum datum) static FetchItemFetchItem.create(Text url, CrawlDatum datum, String queueMode) Create an item.static FetchItemFetchItem.create(Text url, CrawlDatum datum, String queueMode, int outlinkDepth) Create an item.Constructors in org.apache.nutch.fetcher with parameters of type CrawlDatumModifierConstructorDescriptionFetchItem(Text url, URL u, CrawlDatum datum, String queueID) FetchItem(Text url, URL u, CrawlDatum datum, String queueID, int outlinkDepth) -
Uses of CrawlDatum in org.apache.nutch.hostdb
Fields in org.apache.nutch.hostdb declared as CrawlDatumMethods in org.apache.nutch.hostdb with parameters of type CrawlDatumModifier and TypeMethodDescriptionvoidCrawlDatumProcessor.count(CrawlDatum crawlDatum) Process a single crawl datum instance to aggregate custom counts.voidFetchOverdueCrawlDatumProcessor.count(CrawlDatum crawlDatum) -
Uses of CrawlDatum in org.apache.nutch.indexer
Methods in org.apache.nutch.indexer with parameters of type CrawlDatumModifier and TypeMethodDescriptionIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) Adds fields or otherwise modifies the document that will be indexed for a parse.IndexingFilters.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) Run all defined filters.voidCleaningJob.DBFilter.map(Text key, CrawlDatum value, Mapper<Text, CrawlDatum, ByteWritable, Text>.Context context) -
Uses of CrawlDatum in org.apache.nutch.indexer.anchor
Methods in org.apache.nutch.indexer.anchor with parameters of type CrawlDatumModifier and TypeMethodDescriptionAnchorIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) TheAnchorIndexingFilterfilter object which supports boolean configuration settings for the deduplication of anchors. -
Uses of CrawlDatum in org.apache.nutch.indexer.arbitrary
Methods in org.apache.nutch.indexer.arbitrary with parameters of type CrawlDatumModifier and TypeMethodDescriptionArbitraryIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) TheArbitraryIndexingFilterfilter object uses reflection to instantiate the configured class and invoke the configured method. -
Uses of CrawlDatum in org.apache.nutch.indexer.basic
Methods in org.apache.nutch.indexer.basic with parameters of type CrawlDatumModifier and TypeMethodDescriptionBasicIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) TheBasicIndexingFilterfilter object which supports few configuration settings for adding basic searchable fields. -
Uses of CrawlDatum in org.apache.nutch.indexer.feed
Methods in org.apache.nutch.indexer.feed with parameters of type CrawlDatumModifier and TypeMethodDescriptionFeedIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) Extracts out the relevant fields: FEED_AUTHOR FEED_TAGS FEED_PUBLISHED FEED_UPDATED FEED And sends them to theIndexerfor indexing within the Nutch index. -
Uses of CrawlDatum in org.apache.nutch.indexer.filter
Methods in org.apache.nutch.indexer.filter with parameters of type CrawlDatumModifier and TypeMethodDescriptionMimeTypeIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of CrawlDatum in org.apache.nutch.indexer.geoip
Methods in org.apache.nutch.indexer.geoip with parameters of type CrawlDatumModifier and TypeMethodDescriptionGeoIPIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of CrawlDatum in org.apache.nutch.indexer.jexl
Methods in org.apache.nutch.indexer.jexl with parameters of type CrawlDatumModifier and TypeMethodDescriptionJexlIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of CrawlDatum in org.apache.nutch.indexer.links
Methods in org.apache.nutch.indexer.links with parameters of type CrawlDatumModifier and TypeMethodDescriptionLinksIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of CrawlDatum in org.apache.nutch.indexer.metadata
Methods in org.apache.nutch.indexer.metadata with parameters of type CrawlDatumModifier and TypeMethodDescriptionMetadataIndexer.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of CrawlDatum in org.apache.nutch.indexer.more
Methods in org.apache.nutch.indexer.more with parameters of type CrawlDatumModifier and TypeMethodDescriptionMoreIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of CrawlDatum in org.apache.nutch.indexer.replace
Methods in org.apache.nutch.indexer.replace with parameters of type CrawlDatumModifier and TypeMethodDescriptionReplaceIndexer.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of CrawlDatum in org.apache.nutch.indexer.staticfield
Methods in org.apache.nutch.indexer.staticfield with parameters of type CrawlDatumModifier and TypeMethodDescriptionStaticFieldIndexer.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) TheStaticFieldIndexerfilter object which adds fields as per configuration setting. -
Uses of CrawlDatum in org.apache.nutch.indexer.subcollection
Methods in org.apache.nutch.indexer.subcollection with parameters of type CrawlDatumModifier and TypeMethodDescriptionSubcollectionIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of CrawlDatum in org.apache.nutch.indexer.tld
Methods in org.apache.nutch.indexer.tld with parameters of type CrawlDatumModifier and TypeMethodDescriptionTLDIndexingFilter.filter(NutchDocument doc, Parse parse, Text urlText, CrawlDatum datum, Inlinks inlinks) -
Uses of CrawlDatum in org.apache.nutch.indexer.urlmeta
Methods in org.apache.nutch.indexer.urlmeta with parameters of type CrawlDatumModifier and TypeMethodDescriptionURLMetaIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) This will take the metatags that you have listed in your "urlmeta.tags" property, and looks for them inside the CrawlDatum object. -
Uses of CrawlDatum in org.apache.nutch.microformats.reltag
Methods in org.apache.nutch.microformats.reltag with parameters of type CrawlDatumModifier and TypeMethodDescriptionRelTagIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of CrawlDatum in org.apache.nutch.protocol
Methods in org.apache.nutch.protocol with parameters of type CrawlDatumModifier and TypeMethodDescriptionProtocol.getProtocolOutput(Text url, CrawlDatum datum) Get theProtocolOutputfor a given url and crawldatumdefault crawlercommons.robots.BaseRobotRulesProtocol.getRobotRules(URL url, CrawlDatum datum, List<Content> robotsTxtContent) Retrieve robot rules applicable for this URL.crawlercommons.robots.BaseRobotRulesProtocol.getRobotRules(Text url, CrawlDatum datum, List<Content> robotsTxtContent) Retrieve robot rules applicable for this URL. -
Uses of CrawlDatum in org.apache.nutch.protocol.file
Methods in org.apache.nutch.protocol.file with parameters of type CrawlDatumModifier and TypeMethodDescriptionFile.getProtocolOutput(Text url, CrawlDatum datum) Creates aFileResponseobject corresponding to the url and return aProtocolOutputobject as per the content receivedcrawlercommons.robots.BaseRobotRulesFile.getRobotRules(URL url, CrawlDatum datum, List<Content> robotsTxtContent) No robots parsing is done for file protocol.crawlercommons.robots.BaseRobotRulesFile.getRobotRules(Text url, CrawlDatum datum, List<Content> robotsTxtContent) No robots parsing is done for file protocol.Constructors in org.apache.nutch.protocol.file with parameters of type CrawlDatumModifierConstructorDescriptionFileResponse(URL url, CrawlDatum datum, File file, Configuration conf) Default public constructor -
Uses of CrawlDatum in org.apache.nutch.protocol.ftp
Methods in org.apache.nutch.protocol.ftp with parameters of type CrawlDatumModifier and TypeMethodDescriptionFtp.getProtocolOutput(Text url, CrawlDatum datum) Creates aFtpResponseobject corresponding to the url and returns aProtocolOutputobject as per the content receivedcrawlercommons.robots.BaseRobotRulesFtp.getRobotRules(URL url, CrawlDatum datum, List<Content> robotsTxtContent) Get the robots rules for a given urlcrawlercommons.robots.BaseRobotRulesFtp.getRobotRules(Text url, CrawlDatum datum, List<Content> robotsTxtContent) Get the robots rules for a given urlConstructors in org.apache.nutch.protocol.ftp with parameters of type CrawlDatumModifierConstructorDescriptionFtpResponse(URL url, CrawlDatum datum, Ftp ftp, Configuration conf) -
Uses of CrawlDatum in org.apache.nutch.protocol.htmlunit
Methods in org.apache.nutch.protocol.htmlunit with parameters of type CrawlDatumModifier and TypeMethodDescriptionprotected ResponseHttp.getResponse(URL url, CrawlDatum datum, boolean redirect) Constructors in org.apache.nutch.protocol.htmlunit with parameters of type CrawlDatumModifierConstructorDescriptionHttpResponse(HttpBase http, URL url, CrawlDatum datum) Default public constructor. -
Uses of CrawlDatum in org.apache.nutch.protocol.http
Methods in org.apache.nutch.protocol.http with parameters of type CrawlDatumModifier and TypeMethodDescriptionprotected ResponseHttp.getResponse(URL url, CrawlDatum datum, boolean redirect) Constructors in org.apache.nutch.protocol.http with parameters of type CrawlDatumModifierConstructorDescriptionHttpResponse(HttpBase http, URL url, CrawlDatum datum) Default public constructor. -
Uses of CrawlDatum in org.apache.nutch.protocol.http.api
Methods in org.apache.nutch.protocol.http.api with parameters of type CrawlDatumModifier and TypeMethodDescriptionHttpBase.getProtocolOutput(Text url, CrawlDatum datum) protected abstract ResponseHttpBase.getResponse(URL url, CrawlDatum datum, boolean followRedirects) crawlercommons.robots.BaseRobotRulesHttpBase.getRobotRules(URL url, CrawlDatum datum, List<Content> robotsTxtContent) crawlercommons.robots.BaseRobotRulesHttpBase.getRobotRules(Text url, CrawlDatum datum, List<Content> robotsTxtContent) -
Uses of CrawlDatum in org.apache.nutch.protocol.httpclient
Methods in org.apache.nutch.protocol.httpclient with parameters of type CrawlDatumModifier and TypeMethodDescriptionprotected ResponseHttp.getResponse(URL url, CrawlDatum datum, boolean redirect) Fetches theurlwith a configured HTTP client and gets the response. -
Uses of CrawlDatum in org.apache.nutch.protocol.interactiveselenium
Methods in org.apache.nutch.protocol.interactiveselenium with parameters of type CrawlDatumModifier and TypeMethodDescriptionprotected ResponseHttp.getResponse(URL url, CrawlDatum datum, boolean redirect) Constructors in org.apache.nutch.protocol.interactiveselenium with parameters of type CrawlDatum -
Uses of CrawlDatum in org.apache.nutch.protocol.okhttp
Methods in org.apache.nutch.protocol.okhttp with parameters of type CrawlDatumModifier and TypeMethodDescriptionprotected ResponseOkHttp.getResponse(URL url, CrawlDatum datum, boolean redirect) Constructors in org.apache.nutch.protocol.okhttp with parameters of type CrawlDatum -
Uses of CrawlDatum in org.apache.nutch.protocol.selenium
Methods in org.apache.nutch.protocol.selenium with parameters of type CrawlDatumModifier and TypeMethodDescriptionprotected ResponseHttp.getResponse(URL url, CrawlDatum datum, boolean redirect) Constructors in org.apache.nutch.protocol.selenium with parameters of type CrawlDatum -
Uses of CrawlDatum in org.apache.nutch.scoring
Methods in org.apache.nutch.scoring that return CrawlDatumModifier and TypeMethodDescriptionAbstractScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) ScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) Distribute score value from the current page to all its outlinked pages.ScoringFilters.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) Methods in org.apache.nutch.scoring with parameters of type CrawlDatumModifier and TypeMethodDescriptionAbstractScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) ScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) Distribute score value from the current page to all its outlinked pages.ScoringFilters.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) floatAbstractScoringFilter.generatorSortValue(Text url, CrawlDatum datum, float initSort) floatScoringFilter.generatorSortValue(Text url, CrawlDatum datum, float initSort) This method prepares a sort value for the purpose of sorting and selecting top N scoring pages during fetchlist generation.floatScoringFilters.generatorSortValue(Text url, CrawlDatum datum, float initSort) Calculate a sort value for Generate.floatAbstractScoringFilter.indexerScore(Text url, NutchDocument doc, CrawlDatum dbDatum, CrawlDatum fetchDatum, Parse parse, Inlinks inlinks, float initScore) floatScoringFilter.indexerScore(Text url, NutchDocument doc, CrawlDatum dbDatum, CrawlDatum fetchDatum, Parse parse, Inlinks inlinks, float initScore) This method calculates a indexed document score/boost.floatScoringFilters.indexerScore(Text url, NutchDocument doc, CrawlDatum dbDatum, CrawlDatum fetchDatum, Parse parse, Inlinks inlinks, float initScore) voidAbstractScoringFilter.initialScore(Text url, CrawlDatum datum) voidScoringFilter.initialScore(Text url, CrawlDatum datum) Set an initial score for newly discovered pages.voidScoringFilters.initialScore(Text url, CrawlDatum datum) Calculate a new initial score, used when adding newly discovered pages.voidAbstractScoringFilter.injectedScore(Text url, CrawlDatum datum) voidScoringFilter.injectedScore(Text url, CrawlDatum datum) Set an initial score for newly injected pages.voidScoringFilters.injectedScore(Text url, CrawlDatum datum) Calculate a new initial score, used when injecting new pages.default voidScoringFilter.orphanedScore(Text url, CrawlDatum datum) This method may change the score or status of CrawlDatum during CrawlDb update, when the URL is neither fetched nor has any inlinks.voidScoringFilters.orphanedScore(Text url, CrawlDatum datum) Calculate orphaned page score during CrawlDb.update().voidAbstractScoringFilter.passScoreBeforeParsing(Text url, CrawlDatum datum, Content content) voidScoringFilter.passScoreBeforeParsing(Text url, CrawlDatum datum, Content content) This method takes all relevant score information from the current datum (coming from a generated fetchlist) and stores it intoContentmetadata.voidScoringFilters.passScoreBeforeParsing(Text url, CrawlDatum datum, Content content) voidAbstractScoringFilter.updateDbScore(Text url, CrawlDatum old, CrawlDatum datum, List<CrawlDatum> inlinked) voidScoringFilter.updateDbScore(Text url, CrawlDatum old, CrawlDatum datum, List<CrawlDatum> inlinked) This method calculates a new score of CrawlDatum during CrawlDb update, based on the initial value of the original CrawlDatum, and also score values contributed by inlinked pages.voidScoringFilters.updateDbScore(Text url, CrawlDatum old, CrawlDatum datum, List<CrawlDatum> inlinked) Calculate updated page score during CrawlDb.update().Method parameters in org.apache.nutch.scoring with type arguments of type CrawlDatumModifier and TypeMethodDescriptionAbstractScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) ScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) Distribute score value from the current page to all its outlinked pages.ScoringFilters.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) voidAbstractScoringFilter.updateDbScore(Text url, CrawlDatum old, CrawlDatum datum, List<CrawlDatum> inlinked) voidScoringFilter.updateDbScore(Text url, CrawlDatum old, CrawlDatum datum, List<CrawlDatum> inlinked) This method calculates a new score of CrawlDatum during CrawlDb update, based on the initial value of the original CrawlDatum, and also score values contributed by inlinked pages.voidScoringFilters.updateDbScore(Text url, CrawlDatum old, CrawlDatum datum, List<CrawlDatum> inlinked) Calculate updated page score during CrawlDb.update(). -
Uses of CrawlDatum in org.apache.nutch.scoring.depth
Methods in org.apache.nutch.scoring.depth that return CrawlDatumModifier and TypeMethodDescriptionDepthScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) Methods in org.apache.nutch.scoring.depth with parameters of type CrawlDatumModifier and TypeMethodDescriptionDepthScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) floatDepthScoringFilter.generatorSortValue(Text url, CrawlDatum datum, float initSort) floatDepthScoringFilter.indexerScore(Text url, NutchDocument doc, CrawlDatum dbDatum, CrawlDatum fetchDatum, Parse parse, Inlinks inlinks, float initScore) voidDepthScoringFilter.initialScore(Text url, CrawlDatum datum) voidDepthScoringFilter.injectedScore(Text url, CrawlDatum datum) voidDepthScoringFilter.passScoreBeforeParsing(Text url, CrawlDatum datum, Content content) voidDepthScoringFilter.updateDbScore(Text url, CrawlDatum old, CrawlDatum datum, List<CrawlDatum> inlinked) Method parameters in org.apache.nutch.scoring.depth with type arguments of type CrawlDatumModifier and TypeMethodDescriptionDepthScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) voidDepthScoringFilter.updateDbScore(Text url, CrawlDatum old, CrawlDatum datum, List<CrawlDatum> inlinked) -
Uses of CrawlDatum in org.apache.nutch.scoring.link
Methods in org.apache.nutch.scoring.link with parameters of type CrawlDatumModifier and TypeMethodDescriptionfloatLinkAnalysisScoringFilter.generatorSortValue(Text url, CrawlDatum datum, float initSort) floatLinkAnalysisScoringFilter.indexerScore(Text url, NutchDocument doc, CrawlDatum dbDatum, CrawlDatum fetchDatum, Parse parse, Inlinks inlinks, float initScore) voidLinkAnalysisScoringFilter.initialScore(Text url, CrawlDatum datum) voidLinkAnalysisScoringFilter.passScoreBeforeParsing(Text url, CrawlDatum datum, Content content) -
Uses of CrawlDatum in org.apache.nutch.scoring.metadata
Methods in org.apache.nutch.scoring.metadata that return CrawlDatumModifier and TypeMethodDescriptionMetadataScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) This will take the metadata that you have listed in your "scoring.parse.md" property, and looks for them inside the parseData object.Methods in org.apache.nutch.scoring.metadata with parameters of type CrawlDatumModifier and TypeMethodDescriptionMetadataScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) This will take the metadata that you have listed in your "scoring.parse.md" property, and looks for them inside the parseData object.voidMetadataScoringFilter.passScoreBeforeParsing(Text url, CrawlDatum datum, Content content) Takes the metadata, specified in your "scoring.db.md" property, from the datum object and injects it into the content.Method parameters in org.apache.nutch.scoring.metadata with type arguments of type CrawlDatumModifier and TypeMethodDescriptionMetadataScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) This will take the metadata that you have listed in your "scoring.parse.md" property, and looks for them inside the parseData object. -
Uses of CrawlDatum in org.apache.nutch.scoring.opic
Methods in org.apache.nutch.scoring.opic that return CrawlDatumModifier and TypeMethodDescriptionOPICScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) Get a float value from Fetcher.SCORE_KEY, divide it by the number of outlinks and apply.Methods in org.apache.nutch.scoring.opic with parameters of type CrawlDatumModifier and TypeMethodDescriptionOPICScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) Get a float value from Fetcher.SCORE_KEY, divide it by the number of outlinks and apply.floatOPICScoringFilter.generatorSortValue(Text url, CrawlDatum datum, float initSort) UsegetScore().floatOPICScoringFilter.indexerScore(Text url, NutchDocument doc, CrawlDatum dbDatum, CrawlDatum fetchDatum, Parse parse, Inlinks inlinks, float initScore) Dampen the boost value by scorePower.voidOPICScoringFilter.initialScore(Text url, CrawlDatum datum) Set to 0.0f (unknown value) - inlink contributions will bring it to a correct level.voidOPICScoringFilter.injectedScore(Text url, CrawlDatum datum) voidOPICScoringFilter.passScoreBeforeParsing(Text url, CrawlDatum datum, Content content) Store a float value of CrawlDatum.getScore() under Fetcher.SCORE_KEY.voidOPICScoringFilter.updateDbScore(Text url, CrawlDatum old, CrawlDatum datum, List<CrawlDatum> inlinked) Increase the score by a sum of inlinked scores.Method parameters in org.apache.nutch.scoring.opic with type arguments of type CrawlDatumModifier and TypeMethodDescriptionOPICScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) Get a float value from Fetcher.SCORE_KEY, divide it by the number of outlinks and apply.voidOPICScoringFilter.updateDbScore(Text url, CrawlDatum old, CrawlDatum datum, List<CrawlDatum> inlinked) Increase the score by a sum of inlinked scores. -
Uses of CrawlDatum in org.apache.nutch.scoring.orphan
Methods in org.apache.nutch.scoring.orphan with parameters of type CrawlDatumModifier and TypeMethodDescriptionvoidOrphanScoringFilter.orphanedScore(Text url, CrawlDatum datum) voidOrphanScoringFilter.updateDbScore(Text url, CrawlDatum old, CrawlDatum datum, List<CrawlDatum> inlinks) Used for orphan control.Method parameters in org.apache.nutch.scoring.orphan with type arguments of type CrawlDatumModifier and TypeMethodDescriptionvoidOrphanScoringFilter.updateDbScore(Text url, CrawlDatum old, CrawlDatum datum, List<CrawlDatum> inlinks) Used for orphan control. -
Uses of CrawlDatum in org.apache.nutch.scoring.similarity
Methods in org.apache.nutch.scoring.similarity that return CrawlDatumModifier and TypeMethodDescriptionSimilarityModel.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) SimilarityScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) Methods in org.apache.nutch.scoring.similarity with parameters of type CrawlDatumModifier and TypeMethodDescriptionSimilarityModel.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) SimilarityScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) Method parameters in org.apache.nutch.scoring.similarity with type arguments of type CrawlDatumModifier and TypeMethodDescriptionSimilarityModel.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) SimilarityScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) -
Uses of CrawlDatum in org.apache.nutch.scoring.similarity.cosine
Methods in org.apache.nutch.scoring.similarity.cosine that return CrawlDatumModifier and TypeMethodDescriptionCosineSimilarity.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) Methods in org.apache.nutch.scoring.similarity.cosine with parameters of type CrawlDatumModifier and TypeMethodDescriptionCosineSimilarity.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) Method parameters in org.apache.nutch.scoring.similarity.cosine with type arguments of type CrawlDatumModifier and TypeMethodDescriptionCosineSimilarity.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) -
Uses of CrawlDatum in org.apache.nutch.scoring.urlmeta
Methods in org.apache.nutch.scoring.urlmeta that return CrawlDatumModifier and TypeMethodDescriptionURLMetaScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) This will take the metatags that you have listed in your "urlmeta.tags" property, and looks for them inside the parseData object.Methods in org.apache.nutch.scoring.urlmeta with parameters of type CrawlDatumModifier and TypeMethodDescriptionURLMetaScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) This will take the metatags that you have listed in your "urlmeta.tags" property, and looks for them inside the parseData object.voidURLMetaScoringFilter.passScoreBeforeParsing(Text url, CrawlDatum datum, Content content) Takes the metadata, specified in your "urlmeta.tags" property, from the datum object and injects it into the content.Method parameters in org.apache.nutch.scoring.urlmeta with type arguments of type CrawlDatumModifier and TypeMethodDescriptionURLMetaScoringFilter.distributeScoreToOutlinks(Text fromUrl, ParseData parseData, Collection<Map.Entry<Text, CrawlDatum>> targets, CrawlDatum adjust, int allCount) This will take the metatags that you have listed in your "urlmeta.tags" property, and looks for them inside the parseData object. -
Uses of CrawlDatum in org.apache.nutch.segment
Methods in org.apache.nutch.segment with parameters of type CrawlDatumModifier and TypeMethodDescriptionbooleanSegmentMergeFilter.filter(Text key, CrawlDatum generateData, CrawlDatum fetchData, CrawlDatum sigData, Content content, ParseData parseData, ParseText parseText, Collection<CrawlDatum> linked) The filtering method which gets all information being merged for a given key (URL).booleanSegmentMergeFilters.filter(Text key, CrawlDatum generateData, CrawlDatum fetchData, CrawlDatum sigData, Content content, ParseData parseData, ParseText parseText, Collection<CrawlDatum> linked) Iterates over allSegmentMergeFilterextensions and if any of them returns false, it will return false as well.Method parameters in org.apache.nutch.segment with type arguments of type CrawlDatumModifier and TypeMethodDescriptionbooleanSegmentMergeFilter.filter(Text key, CrawlDatum generateData, CrawlDatum fetchData, CrawlDatum sigData, Content content, ParseData parseData, ParseText parseText, Collection<CrawlDatum> linked) The filtering method which gets all information being merged for a given key (URL).booleanSegmentMergeFilters.filter(Text key, CrawlDatum generateData, CrawlDatum fetchData, CrawlDatum sigData, Content content, ParseData parseData, ParseText parseText, Collection<CrawlDatum> linked) Iterates over allSegmentMergeFilterextensions and if any of them returns false, it will return false as well. -
Uses of CrawlDatum in org.apache.nutch.util
Methods in org.apache.nutch.util with parameters of type CrawlDatumModifier and TypeMethodDescriptionprotected ProtocolOutputAbstractChecker.getProtocolOutput(String url, CrawlDatum datum, boolean checkRobotsTxt) -
Uses of CrawlDatum in org.creativecommons.nutch
Methods in org.creativecommons.nutch with parameters of type CrawlDatumModifier and TypeMethodDescriptionCCIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks)