Package org.dspace.statistics
Class SolrLoggerServiceImpl.ResultProcessor
java.lang.Object
org.dspace.statistics.SolrLoggerServiceImpl.ResultProcessor
- Enclosing class:
- SolrLoggerServiceImpl
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ResultProcessor
public ResultProcessor()
-
-
Method Details
-
execute
public void execute(String query) throws org.apache.solr.client.solrj.SolrServerException, IOException - Throws:
org.apache.solr.client.solrj.SolrServerExceptionIOException
-
commit
- Throws:
IOExceptionorg.apache.solr.client.solrj.SolrServerException
-
process
public void process(List<org.apache.solr.common.SolrInputDocument> docs) throws IOException, org.apache.solr.client.solrj.SolrServerException Override to manage pages of documents- Parameters:
docs- a list of Solr documents- Throws:
IOException- 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.
-
process
public void process(org.apache.solr.common.SolrInputDocument doc) throws IOException, org.apache.solr.client.solrj.SolrServerException Override to manage individual documents- Parameters:
doc- Solr document- Throws:
IOException- 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.
-