private SolrServer solr;
@Override
public void output(LocalDocument doc) throws IOException, SolrServerException, RequiredArgumentMissingException {
final Action action = doc.getAction();
if (action == Action.ADD || action == Action.UPDATE) {
add(doc);
} else if (action == Action.DELETE) {
delete(doc);