Class TurNutchIndexWriter

Object
TurNutchIndexWriter
All Implemented Interfaces:
Configurable, IndexWriter, Pluggable

public class TurNutchIndexWriter extends Object implements IndexWriter
  • Field Details

  • Constructor Details

    • TurNutchIndexWriter

      public TurNutchIndexWriter()
  • Method Details

    • open

      public void open(Configuration conf, String name)
      Specified by:
      open in interface IndexWriter
    • open

      public void open(IndexWriterParams parameters)
      Specified by:
      open in interface IndexWriter
    • delete

      public void delete(String key) throws IOException
      Specified by:
      delete in interface IndexWriter
      Throws:
      IOException
    • update

      public void update(NutchDocument doc) throws IOException
      Specified by:
      update in interface IndexWriter
      Throws:
      IOException
    • write

      public void write(NutchDocument doc) throws IOException
      Specified by:
      write in interface IndexWriter
      Throws:
      IOException
    • commit

      public void commit() throws IOException
      Specified by:
      commit in interface IndexWriter
      Throws:
      IOException
    • close

      public void close()
      Specified by:
      close in interface IndexWriter
    • getConf

      public Configuration getConf()
      Specified by:
      getConf in interface Configurable
    • setConf

      public void setConf(Configuration conf)
      Specified by:
      setConf in interface Configurable
    • describe

      public Map<String,Map.Entry<String,Object>> describe()
      Specified by:
      describe in interface IndexWriter