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

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

Introduction

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

Usage

From source file jp.sf.fess.solr.plugin.update.FessUpdateHandler.java

public class FessUpdateHandler extends DirectUpdateHandler2 {

    protected UpdateHandlerFilter[] filters;

    public FessUpdateHandler(final SolrCore core) {
        super(core);

From source file org.alfresco.solr.AlfrescoUpdateHandler2.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.