public class NCPRIndexer extends Object
public void index(File input) throws IOException, org.apache.solr.client.solrj.SolrServerException
SolrInputDocument for each
JSON object, add it to the index, and commit the documents at the end of
the process.IOExceptionorg.apache.solr.client.solrj.SolrServerExceptionpublic void close()
public static void main(String[] args) throws org.codehaus.jackson.JsonProcessingException, IOException, org.apache.solr.client.solrj.SolrServerException
org.codehaus.jackson.JsonProcessingExceptionIOExceptionorg.apache.solr.client.solrj.SolrServerExceptionCopyright © 2014. All rights reserved.