gate.creole.annic.apache.lucene.index
Class FieldsWriter

java.lang.Object
  extended by gate.creole.annic.apache.lucene.index.FieldsWriter

final class FieldsWriter
extends Object


Field Summary
private  FieldInfos fieldInfos
           
private  OutputStream fieldsStream
           
private  OutputStream indexStream
           
 
Constructor Summary
FieldsWriter(Directory d, String segment, FieldInfos fn)
           
 
Method Summary
(package private)  void addDocument(Document doc)
           
(package private)  void close()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldInfos

private FieldInfos fieldInfos

fieldsStream

private OutputStream fieldsStream

indexStream

private OutputStream indexStream
Constructor Detail

FieldsWriter

FieldsWriter(Directory d,
             String segment,
             FieldInfos fn)
       throws IOException
Throws:
IOException
Method Detail

close

final void close()
          throws IOException
Throws:
IOException

addDocument

final void addDocument(Document doc)
                throws IOException
Throws:
IOException