org.apache.nutch.indexer

## Interface IndexCleaningFilter

- All Superinterfaces:
    Configurable, FieldPluggable, Pluggable

      public interface IndexCleaningFilter
      extends FieldPluggable, Configurable

  Extension point for indexing. Permits one to add metadata to the indexed fields. All plugins found which implement this extension point are run sequentially on the parse.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `X_POINT_ID` The name of the extension point.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `remove(String url, WebPage page)`

    - ### Methods inherited from interface org.apache.nutch.plugin.FieldPluggable

      `getFields`

    - ### Methods inherited from interface org.apache.hadoop.conf.Configurable

      `getConf, setConf`

- - ### Field Detail

    - #### X_POINT_ID

          static final String X_POINT_ID

      The name of the extension point.

  - ### Method Detail

    - #### remove

          boolean remove(String url,
                       WebPage page)
                         throws IndexingException

      Parameters:
        `url` - page url
        `page` -
      Returns:
        true == remove false == keep
      Throws:
        `IndexingException`

Copyright © 2015 The Apache Software Foundation