[TOC]

org.apache.nutch.indexer

Class IndexingFilters


public class IndexingFilters
extends Object

Creates and caches IndexingFilter implementing plugins.

Field Summary

Fields Modifier and Type Field and Description static String INDEXINGFILTER_ORDER static org.slf4j.Logger LOG

Constructor Summary

Constructors Constructor and Description IndexingFilters(org.apache.hadoop.conf.Configuration conf)

Method Summary

Methods Modifier and Type Method and Description NutchDocument filter(NutchDocument doc, Parse parse, org.apache.hadoop.io.Text url, CrawlDatum datum, Inlinks inlinks) Run all defined filters.

-    

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

-  

INDEXINGFILTER_ORDER

public static final String INDEXINGFILTER_ORDER
  - See Also:
  - [Constant Field Values](../../../../constant-values.html#org.apache.nutch.indexer.IndexingFilters.INDEXINGFILTER_ORDER)       
-  

LOG

public static final org.slf4j.Logger LOG

Constructor Detail

-  

IndexingFilters

public IndexingFilters(org.apache.hadoop.conf.Configuration conf)

Method Detail

-  

filter

public NutchDocument filter(NutchDocument doc,
                   Parse parse,
                   org.apache.hadoop.io.Text url,
                   CrawlDatum datum,
                   Inlinks inlinks)
                     throws IndexingException

Run all defined filters.

  - Throws: 
  - <code>IndexingException</code>      

Copyright © 2014 The Apache Software Foundation