Example usage for org.apache.lucene.store FilterDirectory subclass-usage

List of usage examples for org.apache.lucene.store FilterDirectory subclass-usage

Introduction

In this page you can find the example usage for org.apache.lucene.store FilterDirectory subclass-usage.

Usage

From source file org.elasticsearch.cloud.azure.SmbDirectoryWrapper.java

/**
 * This class is used to wrap an existing {@link org.apache.lucene.store.FSDirectory} so that
 * the new shard segment files will be opened for Read and Write access.
 * <p>
 * When storing index files on an SMB share like Azure File Service, opening the file for Read
 * access can save a lot of roundtrips to the storage server and thus offering better performance.

From source file org.elasticsearch.index.store.ByteSizeCachingDirectory.java

final class ByteSizeCachingDirectory extends FilterDirectory {

    private static class SizeAndModCount {
        final long size;
        final long modCount;
        final boolean pendingWrite;

From source file org.elasticsearch.index.store.SmbDirectoryWrapper.java

/**
 * This class is used to wrap an existing {@link org.apache.lucene.store.FSDirectory} so that
 * the new shard segment files will be opened for Read and Write access.
 * <p>
 * When storing index files on an SMB share like Azure File Service, opening the file for Read
 * access can save a lot of roundtrips to the storage server and thus offering better performance.