public class SolrLoggerServiceImpl.ResultProcessor extends Object
| Constructor and Description |
|---|
ResultProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
void |
execute(String query) |
void |
process(List<org.apache.solr.common.SolrInputDocument> docs)
Override to manage pages of documents
|
void |
process(org.apache.solr.common.SolrInputDocument doc)
Override to manage individual documents
|
public void execute(String query) throws org.apache.solr.client.solrj.SolrServerException, IOException
org.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic void commit()
throws IOException,
org.apache.solr.client.solrj.SolrServerException
IOExceptionorg.apache.solr.client.solrj.SolrServerExceptionpublic void process(List<org.apache.solr.common.SolrInputDocument> docs) throws IOException, org.apache.solr.client.solrj.SolrServerException
docs - a list of Solr documentsIOException - A general class of exceptions produced by failed or interrupted I/O operations.org.apache.solr.client.solrj.SolrServerException - Exception from the Solr server to the solrj Java client.public void process(org.apache.solr.common.SolrInputDocument doc)
throws IOException,
org.apache.solr.client.solrj.SolrServerException
doc - Solr documentIOException - A general class of exceptions produced by failed or interrupted I/O operations.org.apache.solr.client.solrj.SolrServerException - Exception from the Solr server to the solrj Java client.Copyright © 2019 DuraSpace. All rights reserved.