org.apache.lucene.codecs.mocksep
Class MockSepPostingsFormat
java.lang.Object
org.apache.lucene.codecs.PostingsFormat
org.apache.lucene.codecs.mocksep.MockSepPostingsFormat
- All Implemented Interfaces:
- NamedSPILoader.NamedSPI
public final class MockSepPostingsFormat
- extends PostingsFormat
A silly codec that simply writes each file separately as
single vInts. Don't use this (performance will be poor)!
This is here just to test the core sep codec
classes.
MockSepPostingsFormat
public MockSepPostingsFormat()
fieldsConsumer
public FieldsConsumer fieldsConsumer(SegmentWriteState state)
throws IOException
- Specified by:
fieldsConsumer
in class PostingsFormat
- Throws:
IOException
fieldsProducer
public FieldsProducer fieldsProducer(SegmentReadState state)
throws IOException
- Specified by:
fieldsProducer
in class PostingsFormat
- Throws:
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.