Example usage for org.apache.lucene.index IndexDeletionPolicy interface-usage

List of usage examples for org.apache.lucene.index IndexDeletionPolicy interface-usage

Introduction

In this page you can find the example usage for org.apache.lucene.index IndexDeletionPolicy interface-usage.

Usage

From source file com.liferay.portal.search.lucene.dump.DumpIndexDeletionPolicy.java

/**
 * @author Shuyang Zhou
 */
public class DumpIndexDeletionPolicy implements IndexDeletionPolicy {

    public void dump(OutputStream outputStream, IndexWriter indexWriter, Lock commitLock) throws IOException {

From source file com.nearinfinity.mele.zookeeper.ZookeeperIndexDeletionPolicy.java

/** @author Aaron McCurry (amccurry@nearinfinity.com) */
public class ZookeeperIndexDeletionPolicy implements IndexDeletionPolicy {

    private final static Log LOG = LogFactory.getLog(ZookeeperIndexDeletionPolicy.class);
    private String indexRefPath;
    private ZooKeeper zk;

From source file org.apache.hadoop.contrib.index.lucene.MixedDeletionPolicy.java

/**
 * For mixed directory. Use KeepAllDeletionPolicy for the read-only directory
 * (keep all from init) and use KeepOnlyLastCommitDeletionPolicy for the
 * writable directory (initially empty, keep latest after init).
 */
class MixedDeletionPolicy implements IndexDeletionPolicy {

From source file org.apache.jackrabbit.core.query.lucene.IndexDeletionPolicyImpl.java

/**
 * <code>IndexDeletionPolicyImpl</code>...
 */
public class IndexDeletionPolicyImpl implements IndexDeletionPolicy {

    private static final String SEGMENTS = "segments";

From source file proj.zoie.impl.indexing.internal.ZoieIndexDeletionPolicy.java

/**
 * @author ymatsuda
 *
 */
public class ZoieIndexDeletionPolicy implements IndexDeletionPolicy {
    private IndexCommit _lastCommit;