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
IOException
public int write(IndexingContext context, List<Integer> docIndexes) throws IOException
IOException
public void close() throws IOException
IOException
public void writeHeader(IndexingContext context) throws IOException
IOException
public void writeGroupFields() throws IOException
IOException
public int writeDocuments(org.apache.lucene.index.IndexReader r, List<Integer> docIndexes) throws IOException
IOException
public boolean writeDocument(org.apache.lucene.document.Document document) throws IOException
IOException
public void writeDocumentFields(List<org.apache.lucene.document.Fieldable> fields) throws IOException
IOException
public void writeField(org.apache.lucene.document.Fieldable field) throws IOException
IOException
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.