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

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

Introduction

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

Usage

From source file cc.solr.lucene.store.hdfs.HdfsDirectory.java

public class HdfsDirectory extends Directory {

    public static final int BUFFER_SIZE = 8192;

    private static final String LF_EXT = ".hd";
    protected static final String SEGMENTS_GEN = "segments.gen";

From source file cc.wikitools.lucene.hadoop.FileSystemDirectory.java

/**
 * This class implements a Lucene Directory on top of a general FileSystem.
 * Currently it does not support locking.
 */
public class FileSystemDirectory extends Directory {

From source file collene.ColDirectory.java

/**
 * This is where the work is done. ColDirectory leverages the data access provided by IO implementations to provide
 * a Lucene compatible API experience.
 */
public class ColDirectory extends Directory {
    // I'm starting to think that the concept of "name" should be baked in at the IO level and not exposed here. This

From source file com.bah.lucene.blockcache.BlockDirectory.java

public class BlockDirectory extends Directory implements DirectoryDecorator {

    public static final long BLOCK_SHIFT = 13; // 2^13 = 8,192 bytes per block
    public static final long BLOCK_MOD = 0x1FFF;
    public static final int BLOCK_SIZE = 1 << BLOCK_SHIFT;

From source file com.bah.lucene.blockcache_v2.CacheDirectory.java

public class CacheDirectory extends Directory implements DirectoryDecorator, LastModified {

    private final Directory _internal;
    private final String _directoryName;
    private final Cache _cache;
    private final String _shard;

From source file com.bah.lucene.hdfs.HdfsDirectory.java

public class HdfsDirectory extends Directory implements LastModified {

    private static final Log LOG = LogFactory.getLog(HdfsDirectory.class);

    public static AtomicInteger fetchImpl = new AtomicInteger(3);

From source file com.browseengine.bobo.geosearch.index.impl.DeletePairedExtensionDirectory.java

/**
 * A directory implementation that wraps another directory
 * and pairs two extensions together on delete.  
 * For each paiered extension (A, B), anytime fileName.B is deleted, 
 * PairedDeleteDirectory will first delete fileName.A, if it exists 
 * 

From source file com.devwebsphere.wxslucene.GridDirectory.java

/**
 * This is a Lucene Directory implementation to store the directory and its files in an IBM WebSphere
 * eXtreme Scale grid. The class can use an optional property file to configure it which must
 * be called wxslucene.properties and must be in the root class path. This property file allows
 * the performance of the Directory to be tuned.
 * 

From source file com.foundationdb.lucene.FDBDirectory.java

public class FDBDirectory extends Directory {
    /** See {@link RAMInputStream#BUFFER_SIZE} */
    private static final int BUFFER_SIZE = 1024;

    public Transaction txn;
    public final Tuple subspace;

From source file com.github.lucene.store.jdbc.JdbcDirectory.java

/**
 * A Jdbc based implementation of a Lucene <code>Directory</code> allowing the
 * storage of a Lucene index within a database. Uses a jdbc
 * <code>DataSource</code>, {@link org.apache.lucene.store.jdbc.dialect.Dialect}
 * specific for the database used, and an optional {@link JdbcDirectorySettings}
 * and {@link org.apache.lucene.store.jdbc.support.JdbcTable} for configuration.