List of usage examples for org.apache.lucene.index IndexDeletionPolicy subclass-usage
From source file cn.hbu.cs.esearch.index.ZoieIndexDeletionPolicy.java
public class ZoieIndexDeletionPolicy extends IndexDeletionPolicy { private IndexCommit lastCommit; private final HashMap<String, Snapshot> currentSnapshots = new HashMap<String, Snapshot>(); public ZoieIndexDeletionPolicy() { lastCommit = null;
From source file org.apache.blur.index.IndexDeletionPolicyReader.java
public class IndexDeletionPolicyReader extends IndexDeletionPolicy { private final IndexDeletionPolicy _base; private final Set<Long> _gens = Collections.newSetFromMap(new ConcurrentHashMap<Long, Boolean>()); public IndexDeletionPolicyReader(IndexDeletionPolicy base) {
From source file org.apache.blur.manager.writer.SnapshotIndexDeletionPolicy.java
public class SnapshotIndexDeletionPolicy extends IndexDeletionPolicy { private static final Log LOG = LogFactory.getLog(SnapshotIndexDeletionPolicy.class); private final Configuration _configuration; private final Path _path;
From source file org.apache.pylucene.index.PythonIndexDeletionPolicy.java
public class PythonIndexDeletionPolicy extends IndexDeletionPolicy { private long pythonObject; public PythonIndexDeletionPolicy() { }
From source file org.apache.solr.core.FakeDeletionPolicy.java
/** * */ public class FakeDeletionPolicy extends IndexDeletionPolicy implements NamedListInitializedPlugin { private String var1;
From source file org.apache.solr.core.IndexDeletionPolicyWrapper.java
/**
* A wrapper for an IndexDeletionPolicy instance.
* <p/>
* Provides features for looking up IndexCommit given a version. Allows reserving index
* commit points for certain amounts of time to support features such as index replication
* or snapshooting directly out of a live index directory.
From source file org.apache.solr.core.SolrDeletionPolicy.java
/**
* Standard Solr deletion policy that allows reserving index commit points
* for certain amounts of time to support features such as index replication
* or snapshooting directly out of a live index directory.
*
*
From source file org.elasticsearch.index.deletionpolicy.AbstractESDeletionPolicy.java
abstract class AbstractESDeletionPolicy extends IndexDeletionPolicy implements IndexShardComponent { protected final ESLogger logger; protected final ShardId shardId;
From source file org.elasticsearch.index.engine.CombinedDeletionPolicy.java
/** * An {@link IndexDeletionPolicy} that coordinates between Lucene's commits and the retention of translog generation files, * making sure that all translog files that are needed to recover from the Lucene commit are not deleted. */ class CombinedDeletionPolicy extends IndexDeletionPolicy {
From source file perf.KeepNoCommitsDeletionPolicy.java
public final class KeepNoCommitsDeletionPolicy extends IndexDeletionPolicy { /** Sole constructor. */ public KeepNoCommitsDeletionPolicy() { }