Example usage for org.apache.solr.rest ManagedResourceObserver interface-usage

List of usage examples for org.apache.solr.rest ManagedResourceObserver interface-usage

Introduction

In this page you can find the example usage for org.apache.solr.rest ManagedResourceObserver interface-usage.

Usage

From source file cn.howardliu.lucene.extension.BaseManagedTokenFilterFactory.java

/**
 * Abstract based class for implementing TokenFilterFactory objects that
 * are managed by the REST API. Specifically, this base class is useful
 * for token filters that have configuration and data that needs to be
 * updated programmatically, such as to support a UI for adding synonyms.
 */

From source file org.apache.lucene.analysis.ko.managed.BaseManagedDictionaryFilterFactory.java

public abstract class BaseManagedDictionaryFilterFactory extends TokenFilterFactory
        implements ResourceLoaderAware, ManagedResourceObserver {
    protected static final String MANAGED_DEFAULT_ID = "ko";
    protected static final String MANAGED_EMPTY_WORDS = "emptyWords";

    private Dictionary dictionary;