Search in sources :

Example 1 with ProcessorInfo

use of org.apache.solr.update.processor.UpdateRequestProcessorChain.ProcessorInfo in project lucene-solr by apache.

the class SolrCore method getUpdateProcessorChain.

public UpdateRequestProcessorChain getUpdateProcessorChain(SolrParams params) {
    String chainName = params.get(UpdateParams.UPDATE_CHAIN);
    UpdateRequestProcessorChain defaultUrp = getUpdateProcessingChain(chainName);
    ProcessorInfo processorInfo = new ProcessorInfo(params);
    if (processorInfo.isEmpty())
        return defaultUrp;
    return UpdateRequestProcessorChain.constructChain(defaultUrp, processorInfo, this);
}
Also used : ProcessorInfo(org.apache.solr.update.processor.UpdateRequestProcessorChain.ProcessorInfo) UpdateRequestProcessorChain(org.apache.solr.update.processor.UpdateRequestProcessorChain)

Aggregations

UpdateRequestProcessorChain (org.apache.solr.update.processor.UpdateRequestProcessorChain)1 ProcessorInfo (org.apache.solr.update.processor.UpdateRequestProcessorChain.ProcessorInfo)1