Example usage for org.apache.solr.util.plugin SolrCoreAware interface-usage

List of usage examples for org.apache.solr.util.plugin SolrCoreAware interface-usage

Introduction

In this page you can find the example usage for org.apache.solr.util.plugin SolrCoreAware interface-usage.

Usage

From source file at.newmedialab.lmf.util.solr.SuggestionRequestHandler.java

/**
 * https://svn.apache.org/repos/asf/lucene/solr/branches/branch-1.4/src/java/org/apache/solr/handler/
 *
 * <p/>
 * Author: Thomas Kurz (tkurz@apache.org)
 */

From source file com.billiger.solr.handler.component.QLTBComponent.java

/**
 * Query-Local Term Boost component.
 *
 * This component inserts boosted terms into the SOLR query depending
 * on the query string.
 *

From source file com.cominvent.solr.update.processor.MappingUpdateProcessorFactory.java

/**
 * Reads a field's value and maps it to another value based on a dictionary
 * The dictionary is an external file in the same format as Solr's synonym.txt
 */
public class MappingUpdateProcessorFactory extends UpdateRequestProcessorFactory implements SolrCoreAware {

From source file com.doculibre.constellio.solr.handler.component.ConstellioAuthorizationComponent.java

/**
 * A component to elevate some documents to the top of the result set.
 * 
 * @version $Id: ConstellioElevationComponent.java 949888 2010-05-31 23:24:40Z hossman $
 * @since solr 1.3
 */

From source file com.doculibre.constellio.solr.handler.component.SearchLogComponent.java

/**
 * A SearchComponent implementation which provides support for generate log
 * index.
 * 
 * 
 * @since solr 1.3

From source file com.ifactory.press.db.solr.processor.FieldMergingProcessorFactory.java

public class FieldMergingProcessorFactory extends UpdateRequestProcessorFactory implements SolrCoreAware {

    private static Logger log = LoggerFactory.getLogger(FieldMergingProcessorFactory.class);
    private String destinationField;
    private HashMap<String, Analyzer> sourceAnalyzers;
    private IndexSchema schema;

From source file com.nominanuda.solr.SingletonSolrAware.java

public class SingletonSolrAware extends SearchComponent implements SolrCoreAware {
    private static CoreContainer coreContainer;
    private static volatile SingletonSolrAware INSTANCE;
    private Map<String, EmbeddedSolrServer> serverMap = new HashMap<String, EmbeddedSolrServer>();
    private CloseHook closeHook = new CloseHook() {
        @Override

From source file com.nominanuda.solr.SolrAware.java

public class SolrAware extends SearchComponent implements SolrCoreAware {
    private SingletonSolrAware singletonSolrAware = SingletonSolrAware.getInstance();

    public static SolrAware getInstance() {
        return new SolrAware();
    }

From source file com.o19s.solr.swan.highlight.SwanHighlightComponent.java

public class SwanHighlightComponent extends HighlightComponent implements PluginInfoInitialized, SolrCoreAware {
    private PluginInfo info = PluginInfo.EMPTY_INFO;

    @Override
    public void inform(SolrCore core) {
        SolrHighlighter highlighter;

From source file com.plugtree.solradvert.AdvertComponent.java

/**
 * WARNING! This component must be put after the QueryComponent
 * in the components chain.
 * 
 * @author salaboy
 */