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.IOException
org.apache.solr.client.solrj.SolrServerException
public void close()
public static void main(String[] args) throws org.codehaus.jackson.JsonProcessingException, IOException, org.apache.solr.client.solrj.SolrServerException
org.codehaus.jackson.JsonProcessingException
IOException
org.apache.solr.client.solrj.SolrServerException
Copyright © 2014. All rights reserved.