/** * Send the document to buffer directly * * @param index * @param fields */ public void sendIndexToBuffer(String index, Map<String, List<String>> fields) { String doc = pyUtils.solrDocument(fields); addToBuffer(index, doc); }
return getPyUtils().solrDocument(fields); } catch (Exception e) { throw new RuleException(e);