public class IndexDataWriter extends Object
Constructor and Description |
---|
IndexDataWriter(OutputStream os) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
write(IndexingContext context,
org.apache.lucene.index.IndexReader indexReader,
List<Integer> docIndexes) |
boolean |
writeDocument(org.apache.lucene.document.Document document) |
void |
writeDocumentFields(List<org.apache.lucene.index.IndexableField> fields) |
int |
writeDocuments(org.apache.lucene.index.IndexReader r,
List<Integer> docIndexes) |
void |
writeField(org.apache.lucene.index.IndexableField field) |
void |
writeGroupFields() |
void |
writeHeader(IndexingContext context) |
public IndexDataWriter(OutputStream os) throws IOException
IOException
public int write(IndexingContext context, org.apache.lucene.index.IndexReader indexReader, 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.index.IndexableField> fields) throws IOException
IOException
public void writeField(org.apache.lucene.index.IndexableField field) throws IOException
IOException
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.