Example usage for org.apache.lucene.index MergePolicy getMaxCFSSegmentSizeMB

List of usage examples for org.apache.lucene.index MergePolicy getMaxCFSSegmentSizeMB

Introduction

In this page you can find the example usage for org.apache.lucene.index MergePolicy getMaxCFSSegmentSizeMB.

Prototype

public double getMaxCFSSegmentSizeMB() 

Source Link

Document

Returns the largest size allowed for a compound file segment

Usage

From source file:org.apache.solr.util.RandomMergePolicy.java

License:Apache License

private RandomMergePolicy(MergePolicy inner) {
    super(inner.getNoCFSRatio(), (long) (inner.getMaxCFSSegmentSizeMB() * 1024 * 1024));
    this.inner = inner;
    log.info("RandomMergePolicy wrapping {}: {}", inner.getClass(), inner);
}