org.apache.nutch.indexer

## Class IndexWriters

- java.lang.Object
- - org.apache.nutch.indexer.IndexWriters

-     public class IndexWriters
      extends Object

  Creates and caches `IndexWriter` implementing plugins.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static org.slf4j.Logger` | `LOG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `IndexWriters(Configuration conf)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `void` | `commit()`
    `void` | `delete(String key)`
    `String` | `describe()`
    `void` | `open(Configuration conf)`
    `void` | `update(NutchDocument doc)`
    `void` | `write(NutchDocument doc)`

    - ### Methods inherited from class java.lang.Object

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

- - ### Field Detail

    - #### LOG

          public static final org.slf4j.Logger LOG

  - ### Constructor Detail

    - #### IndexWriters

          public IndexWriters(Configuration conf)

  - ### Method Detail

    - #### open

          public void open(Configuration conf)
                    throws IOException

      Throws:
        `IOException`

    - #### write

          public void write(NutchDocument doc)
                     throws IOException

      Throws:
        `IOException`

    - #### update

          public void update(NutchDocument doc)
                      throws IOException

      Throws:
        `IOException`

    - #### delete

          public void delete(String key)
                      throws IOException

      Throws:
        `IOException`

    - #### close

          public void close()
                     throws IOException

      Throws:
        `IOException`

    - #### commit

          public void commit()
                      throws IOException

      Throws:
        `IOException`

    - #### describe

          public String describe()
                          throws IOException

      Throws:
        `IOException`

Copyright © 2015 The Apache Software Foundation