/** * @see org.opencms.search.CmsSearchIndex#createIndexWriter(boolean, org.opencms.report.I_CmsReport) */ @Override public I_CmsIndexWriter createIndexWriter(boolean create, I_CmsReport report) { return new CmsSolrIndexWriter(m_solr, this); }
if (writer instanceof CmsSolrIndexWriter) { try { ((CmsSolrIndexWriter)writer).deleteAllDocuments(); } catch (IOException e) { LOG.error(e.getMessage(), e);