public abstract class Siren10PostingsFormat
extends org.apache.lucene.codecs.PostingsFormat
Subclasses must provide a pre-configured instance of the
Siren10BlockStreamFactory.
| Modifier and Type | Field and Description |
|---|---|
protected int |
blockSize |
| Constructor and Description |
|---|
Siren10PostingsFormat(String name) |
Siren10PostingsFormat(String name,
int blockSize)
Create a SIREn 1.0 posting format.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.codecs.FieldsConsumer |
fieldsConsumer(org.apache.lucene.index.SegmentWriteState state) |
org.apache.lucene.codecs.FieldsProducer |
fieldsProducer(org.apache.lucene.index.SegmentReadState state) |
protected abstract Siren10BlockStreamFactory |
getFactory() |
public Siren10PostingsFormat(String name)
public Siren10PostingsFormat(String name, int blockSize)
The block size parameter is used only during indexing.
protected abstract Siren10BlockStreamFactory getFactory()
public org.apache.lucene.codecs.FieldsConsumer fieldsConsumer(org.apache.lucene.index.SegmentWriteState state)
throws IOException
fieldsConsumer in class org.apache.lucene.codecs.PostingsFormatIOExceptionpublic org.apache.lucene.codecs.FieldsProducer fieldsProducer(org.apache.lucene.index.SegmentReadState state)
throws IOException
fieldsProducer in class org.apache.lucene.codecs.PostingsFormatIOExceptionCopyright © 2014. All rights reserved.