List of usage examples for org.apache.solr.update.processor UpdateRequestProcessorFactory subclass-usage
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.francelabs.datafari.updateprocessor.DatafariUpdateProcessorFactory.java
public class DatafariUpdateProcessorFactory extends UpdateRequestProcessorFactory { private SolrParams params = null; @Override public void init(final NamedList args) {
From source file com.gu.solr.MergeUpdateRequestProcessorFactory.java
public class MergeUpdateRequestProcessorFactory extends UpdateRequestProcessorFactory { @Override public UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse response, UpdateRequestProcessor next) { if (req.getParams().getBool("merge", false)) { return new MergeUpdateRequestProcessor(req, next);
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.sindicetech.siren.solr.facet.SirenFacetProcessorFactory.java
/**
* <p>A simple factory that simply instantiates the {@link SirenFacetProcessor}.
*
* <p>It reads configuration of the following format (to be added to solrconfig*.xml):
*
<pre style="overflow:auto;">{@code
From source file com.tamingtext.classifier.bayes.BayesUpdateRequestProcessorFactory.java
/** A Solr <code>UpdateRequestProcessorFactory</code> that uses the Mahout Bayes
* Classifier to add a category label to documents at index time.
* <p>
* To use, add the following to solrconfig.xml
*
* <pre>
From source file edu.harvard.gis.hhypermap.bop.solrplugins.DateShardingURPFactory.java
/**
* Routes docs to a date based shard, possibly creating new shards and removing old ones on the
* fly. "Route" means to set the special field "_route_" to the name of the shard, after which
* {@link DistributedUpdateProcessor} will know what to do. This special field should be
* removed later, as it's not intended to be stored. The collection needs to be created with the
* "implicit" router instead of the hash based router.
From source file elhuyar.bilakit.ElhuyarTextProcessorFactory.java
public class ElhuyarTextProcessorFactory extends UpdateRequestProcessorFactory { private String lemmatizer; private IxaPipesLemmatizer IPLemmatizer = new IxaPipesLemmatizer(); private EustaggerLemmatizer ELemmatizer = new EustaggerLemmatizer(); //For MWU dics private Map<String, Map<String, String>> MWUs = new LinkedHashMap<String, Map<String, String>>();
From source file io.yucca.solr.processor.HierarchyExtractorUpdateProcessorFactory.java
/**
* Factory for HierarchyExtractorProcessor
*
* @author <a href="mailto:rob@yucca.io">Rob Sessink</a>
* @version $Id$
*/
From source file io.yucca.solr.processor.RegexExtractorUpdateProcessorFactory.java
/**
* RegexExtractorUpdateProcessorFactory
*
* @author <a href="mailto:rob@yucca.io">Rob Sessink</a>
* @version $Id$
*/