public class SolrWriter extends SolrWriter_ImplBase
SolrWriter_ImplBasePARAM_ID_FIELD, PARAM_NUM_THREADS, PARAM_OPTIMIZE_INDEX, PARAM_QUEUE_SIZE, PARAM_TARGET_LOCATION, PARAM_TEXT_FIELD, PARAM_UPDATE, PARAM_WAIT_FLUSH, PARAM_WAIT_SEARCHER| Constructor and Description |
|---|
SolrWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.solr.common.SolrInputDocument |
generateSolrDocument(org.apache.uima.jcas.JCas aJCas)
A simple implementation of a the abstract method
SolrWriter_ImplBase.generateSolrDocument(JCas). |
collectionProcessComplete, getIdField, getSolrClient, getTextField, initialize, process, updategetRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextprotected org.apache.solr.common.SolrInputDocument generateSolrDocument(org.apache.uima.jcas.JCas aJCas)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
SolrWriter_ImplBase.generateSolrDocument(JCas). It generates a
SolrInputDocument containing the document id from the JCas metadata and the document
text.generateSolrDocument in class SolrWriter_ImplBaseaJCas - a JCasSolrInputDocumentorg.apache.uima.analysis_engine.AnalysisEngineProcessException - if any subclass catches an expression within this method, it should throw this
exception type onlyCopyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.