org.apache.lucene.codecs.mockrandom
Class MockRandomPostingsFormat
java.lang.Object
org.apache.lucene.codecs.PostingsFormat
org.apache.lucene.codecs.mockrandom.MockRandomPostingsFormat
- All Implemented Interfaces:
- NamedSPILoader.NamedSPI
public final class MockRandomPostingsFormat
- extends PostingsFormat
Randomly combines terms index impl w/ postings impls.
MockRandomPostingsFormat
public MockRandomPostingsFormat()
MockRandomPostingsFormat
public MockRandomPostingsFormat(Random random)
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.