Example usage for org.apache.solr.update UpdateHandler subclass-usage

List of usage examples for org.apache.solr.update UpdateHandler subclass-usage

Introduction

In this page you can find the example usage for org.apache.solr.update UpdateHandler subclass-usage.

Usage

From source file org.alfresco.solr.AlfrescoUpdateHandler.java

/**
 * <code>DirectUpdateHandler2</code> implements an UpdateHandler where documents are added directly to the main Lucene
 * index as opposed to adding to a separate smaller index. For this reason, not all combinations to/from pending and
 * committed are supported. This version supports efficient removal of duplicates on a commit. It works by maintaining a
 * related count for every document being added or deleted. At commit time, for every id with a count, all but the last
 * "count" docs with that id are deleted.

From source file org.solbase.SolbaseIndexWriter.java

public class SolbaseIndexWriter extends UpdateHandler {
    // To manage cached reads
    private static final LinkedBlockingQueue<String> flushQueue = new LinkedBlockingQueue<String>();
    private final ExecutorService flushMonitor = Executors.newSingleThreadExecutor();

    private final org.solbase.lucenehbase.IndexWriter writer;

From source file solandra.SolandraIndexWriter.java

public class SolandraIndexWriter extends UpdateHandler {

    private lucandra.IndexWriter writer;

    // stats
    AtomicLong addCommands = new AtomicLong();