Uses of Interface
org.apache.nutch.parse.Parse
Packages that use Parse
Package
Description
Text document language identifier.
Crawl control code and tools to run the crawler.
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.
The
Parse interface and related classes.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.
Implements the cosine similarity metric for scoring relevant documents
URL Meta Tag Scoring Plugin
Sample plugins that parse and index Creative Commons metadata.
-
Uses of Parse in org.apache.nutch.analysis.lang
Methods in org.apache.nutch.analysis.lang with parameters of type ParseModifier and TypeMethodDescriptionLanguageIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of Parse in org.apache.nutch.crawl
Methods in org.apache.nutch.crawl with parameters of type Parse -
Uses of Parse in org.apache.nutch.indexer
Methods in org.apache.nutch.indexer with parameters of type ParseModifier 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. -
Uses of Parse in org.apache.nutch.indexer.anchor
Methods in org.apache.nutch.indexer.anchor with parameters of type ParseModifier 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 Parse in org.apache.nutch.indexer.arbitrary
Methods in org.apache.nutch.indexer.arbitrary with parameters of type ParseModifier 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 Parse in org.apache.nutch.indexer.basic
Methods in org.apache.nutch.indexer.basic with parameters of type ParseModifier 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 Parse in org.apache.nutch.indexer.feed
Methods in org.apache.nutch.indexer.feed with parameters of type ParseModifier 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 Parse in org.apache.nutch.indexer.filter
Methods in org.apache.nutch.indexer.filter with parameters of type ParseModifier and TypeMethodDescriptionMimeTypeIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of Parse in org.apache.nutch.indexer.geoip
Methods in org.apache.nutch.indexer.geoip with parameters of type ParseModifier and TypeMethodDescriptionGeoIPIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of Parse in org.apache.nutch.indexer.jexl
Methods in org.apache.nutch.indexer.jexl with parameters of type ParseModifier and TypeMethodDescriptionJexlIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of Parse in org.apache.nutch.indexer.links
Methods in org.apache.nutch.indexer.links with parameters of type ParseModifier and TypeMethodDescriptionLinksIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of Parse in org.apache.nutch.indexer.metadata
Methods in org.apache.nutch.indexer.metadata with parameters of type ParseModifier and TypeMethodDescriptionMetadataIndexer.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of Parse in org.apache.nutch.indexer.more
Methods in org.apache.nutch.indexer.more with parameters of type ParseModifier and TypeMethodDescriptionMoreIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of Parse in org.apache.nutch.indexer.replace
Methods in org.apache.nutch.indexer.replace with parameters of type ParseModifier and TypeMethodDescriptionReplaceIndexer.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of Parse in org.apache.nutch.indexer.staticfield
Methods in org.apache.nutch.indexer.staticfield with parameters of type ParseModifier and TypeMethodDescriptionStaticFieldIndexer.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) TheStaticFieldIndexerfilter object which adds fields as per configuration setting. -
Uses of Parse in org.apache.nutch.indexer.subcollection
Methods in org.apache.nutch.indexer.subcollection with parameters of type ParseModifier and TypeMethodDescriptionSubcollectionIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of Parse in org.apache.nutch.indexer.tld
Methods in org.apache.nutch.indexer.tld with parameters of type ParseModifier and TypeMethodDescriptionTLDIndexingFilter.filter(NutchDocument doc, Parse parse, Text urlText, CrawlDatum datum, Inlinks inlinks) -
Uses of Parse in org.apache.nutch.indexer.urlmeta
Methods in org.apache.nutch.indexer.urlmeta with parameters of type ParseModifier 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 Parse in org.apache.nutch.microformats.reltag
Methods in org.apache.nutch.microformats.reltag with parameters of type ParseModifier and TypeMethodDescriptionRelTagIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks) -
Uses of Parse in org.apache.nutch.parse
Classes in org.apache.nutch.parse that implement ParseMethods in org.apache.nutch.parse that return ParseModifier and TypeMethodDescriptionRetrieve a single parse output.Retrieve a single parse output.ParseStatus.getEmptyParse(Configuration conf) Creates an emptyParseinstance containing the statusMethods in org.apache.nutch.parse that return types with arguments of type ParseModifier and TypeMethodDescriptionParseOutputFormat.getRecordWriter(TaskAttemptContext context) ParseResult.iterator()Iterate over all entries in the <url, Parse> map.Methods in org.apache.nutch.parse with parameters of type ParseModifier and TypeMethodDescriptionstatic ParseResultParseResult.createParseResult(String url, Parse parse) Convenience method for obtainingParseResultfrom a singleParseoutput.Constructors in org.apache.nutch.parse with parameters of type Parse -
Uses of Parse in org.apache.nutch.scoring
Methods in org.apache.nutch.scoring with parameters of type ParseModifier and TypeMethodDescriptionfloatAbstractScoringFilter.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.passScoreAfterParsing(Text url, Content content, Parse parse) voidScoringFilter.passScoreAfterParsing(Text url, Content content, Parse parse) Currently a part of score distribution is performed using only data coming from the parsing process.voidScoringFilters.passScoreAfterParsing(Text url, Content content, Parse parse) -
Uses of Parse in org.apache.nutch.scoring.depth
Methods in org.apache.nutch.scoring.depth with parameters of type ParseModifier and TypeMethodDescriptionfloatDepthScoringFilter.indexerScore(Text url, NutchDocument doc, CrawlDatum dbDatum, CrawlDatum fetchDatum, Parse parse, Inlinks inlinks, float initScore) voidDepthScoringFilter.passScoreAfterParsing(Text url, Content content, Parse parse) -
Uses of Parse in org.apache.nutch.scoring.link
Methods in org.apache.nutch.scoring.link with parameters of type ParseModifier and TypeMethodDescriptionfloatLinkAnalysisScoringFilter.indexerScore(Text url, NutchDocument doc, CrawlDatum dbDatum, CrawlDatum fetchDatum, Parse parse, Inlinks inlinks, float initScore) voidLinkAnalysisScoringFilter.passScoreAfterParsing(Text url, Content content, Parse parse) -
Uses of Parse in org.apache.nutch.scoring.metadata
Methods in org.apache.nutch.scoring.metadata with parameters of type ParseModifier and TypeMethodDescriptionvoidMetadataScoringFilter.passScoreAfterParsing(Text url, Content content, Parse parse) Takes the metadata, which was lumped inside the content, and replicates it within your parse data. -
Uses of Parse in org.apache.nutch.scoring.opic
Methods in org.apache.nutch.scoring.opic with parameters of type ParseModifier and TypeMethodDescriptionfloatOPICScoringFilter.indexerScore(Text url, NutchDocument doc, CrawlDatum dbDatum, CrawlDatum fetchDatum, Parse parse, Inlinks inlinks, float initScore) Dampen the boost value by scorePower.voidOPICScoringFilter.passScoreAfterParsing(Text url, Content content, Parse parse) Copy the value from Content metadata under Fetcher.SCORE_KEY to parseData. -
Uses of Parse in org.apache.nutch.scoring.similarity
Methods in org.apache.nutch.scoring.similarity with parameters of type ParseModifier and TypeMethodDescriptionvoidSimilarityScoringFilter.passScoreAfterParsing(Text url, Content content, Parse parse) floatSimilarityModel.setURLScoreAfterParsing(Text url, Content content, Parse parse) -
Uses of Parse in org.apache.nutch.scoring.similarity.cosine
Methods in org.apache.nutch.scoring.similarity.cosine with parameters of type ParseModifier and TypeMethodDescriptionfloatCosineSimilarity.setURLScoreAfterParsing(Text url, Content content, Parse parse) -
Uses of Parse in org.apache.nutch.scoring.urlmeta
Methods in org.apache.nutch.scoring.urlmeta with parameters of type ParseModifier and TypeMethodDescriptionvoidURLMetaScoringFilter.passScoreAfterParsing(Text url, Content content, Parse parse) Takes the metadata, which was lumped inside the content, and replicates it within your parse data. -
Uses of Parse in org.creativecommons.nutch
Methods in org.creativecommons.nutch with parameters of type ParseModifier and TypeMethodDescriptionCCIndexingFilter.filter(NutchDocument doc, Parse parse, Text url, CrawlDatum datum, Inlinks inlinks)