Ejemplo n.º 1
0
 private void addLazy(SolrCore core, String... fieldValues) throws IOException {
   UpdateHandler updater = core.getUpdateHandler();
   AddUpdateCommand cmd = new AddUpdateCommand(makeReq(core));
   cmd.solrDoc = sdoc((Object[]) fieldValues);
   updater.addDoc(cmd);
 }