Package org.apache.nutch.indexer
package org.apache.nutch.indexer
Index content, configure and run indexing and cleaning jobs to
add, update, and delete documents from an index. Two tasks are
delegated to plugins:
- indexing filters, which fill index fields of each document
- index writer plugins; which send documents to index back-ends (Solr, etc.).
-
ClassDescriptionThe class scans CrawlDB looking for entries with status DB_GONE (404) or DB_DUPLICATE and sends delete requests to indexers for those documents.This class is typically invoked from within
IndexingJoband handles all MapReduce functionality required when undertaking indexing.Extension point for indexing.Creates and cachesIndexingFilterimplementing plugins.Reads and parses a URL and run the indexers on it.Generic indexer which relies on the plugins implementing IndexWriterCreates and cachesIndexWriterimplementing plugins.ANutchDocumentis the unit of indexing.This class represents a multi-valued field with a weight.ANutchIndexActionis the new unit of indexing holding the document and action information.