@Override public void add(SearchDocument doc) throws IOException { SolrDocument document = ((SolrSearchDocument) doc).getDocument(); addOrUpdateList.add(ClientUtils.toSolrInputDocument(document)); }