Class SolrLoggerServiceImpl.ResultProcessor

    • Constructor Detail

      • ResultProcessor

        public ResultProcessor()
    • Method Detail

      • execute

        public void execute​(String query)
                     throws org.apache.solr.client.solrj.SolrServerException,
                            IOException
        Throws:
        org.apache.solr.client.solrj.SolrServerException
        IOException
      • commit

        public void commit()
                    throws IOException,
                           org.apache.solr.client.solrj.SolrServerException
        Throws:
        IOException
        org.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.