public class IndexDataWriter extends Object
| Constructor and Description |
|---|
IndexDataWriter(OutputStream os) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
write(IndexingContext context,
List<Integer> docIndexes) |
boolean |
writeDocument(org.apache.lucene.document.Document document) |
void |
writeDocumentFields(List<org.apache.lucene.document.Fieldable> fields) |
int |
writeDocuments(org.apache.lucene.index.IndexReader r,
List<Integer> docIndexes) |
void |
writeField(org.apache.lucene.document.Fieldable field) |
void |
writeGroupFields() |
void |
writeHeader(IndexingContext context) |
public IndexDataWriter(OutputStream os) throws IOException
IOExceptionpublic int write(IndexingContext context, List<Integer> docIndexes) throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic void writeHeader(IndexingContext context) throws IOException
IOExceptionpublic void writeGroupFields()
throws IOException
IOExceptionpublic int writeDocuments(org.apache.lucene.index.IndexReader r,
List<Integer> docIndexes)
throws IOException
IOExceptionpublic boolean writeDocument(org.apache.lucene.document.Document document)
throws IOException
IOExceptionpublic void writeDocumentFields(List<org.apache.lucene.document.Fieldable> fields) throws IOException
IOExceptionpublic void writeField(org.apache.lucene.document.Fieldable field)
throws IOException
IOExceptionCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.