Example usage for org.apache.lucene.codecs.compressing CompressingStoredFieldsFormat subclass-usage

List of usage examples for org.apache.lucene.codecs.compressing CompressingStoredFieldsFormat subclass-usage

Introduction

In this page you can find the example usage for org.apache.lucene.codecs.compressing CompressingStoredFieldsFormat subclass-usage.

Usage

From source file com.lucenetutorial.apps.CompressingCodec.java

class MyStoredFieldFormat extends CompressingStoredFieldsFormat {

    public MyStoredFieldFormat() {
        super("MyStoredFieldFormat", CompressionMode.HIGH_COMPRESSION, 1 << 28, 1 << 28, 1 << 27);
        // super(null, CompressionMode.FAST, chunkSize, maxDocsPerChunk, blockSize)
        //For a chunk size of chunkSize bytes, this StoredFieldsFormat does not support documents larger than (2^31 - chunkSize) bytes.

From source file com.lucure.core.codec.LucureStoredFieldsFormat.java

/**
 * Lucene 4.1 stored fields format.
 *
 * <p><b>Principle</b></p>
 * <p>This {@link StoredFieldsFormat} compresses blocks of 16KB of documents in
 * order to improve the compression ratio compared to document-level

From source file net.semanticmetadata.lire.indexers.LireFeatureStoredFieldFormat.java

/**
 * Custom stored fields compression configuration. Smaller chunk size and faster compression routine.
 * Code based on the suggestions of Savia Beson.
 *
 * @autor Mathias Lux, mathias@juggle.at, 2013-06-24
 */

From source file net.semanticmetadata.lire.indexing.LireFeatureStoredFieldFormat.java

/**
 * Custom stored fields compression configuration. Smaller chunk size and faster compression routine.
 * Code based on the suggestions of Savia Beson.
 *
 * @autor Mathias Lux, mathias@juggle.at, 2013-06-24
 */

From source file org.exist.xquery.modules.mpeg7.net.semanticmetadata.lire.indexing.LireFeatureStoredFieldFormat.java

/**
 * Custom stored fields compression configuration. Smaller chunk size and faster compression routine.
 * Code based on the suggestions of Savia Beson.
 *
 * @autor Mathias Lux, mathias@juggle.at, 2013-06-24
 */