@Override
    public I_CmsSearchDocument createEmptyDocument(CmsResource resource) {

        CmsSolrDocument doc = new CmsSolrDocument(new SolrInputDocument());
        doc.setId(resource.getStructureId());
        return doc;
    }
@ Override public I_CmsSearchDocument createEmptyDocument ( CmsResource resource ) { CmsSolrDocument doc = new CmsSolrDocument ( new SolrInputDocument ( ) ) ; doc . setId ( resource . getStructureId ( ) ) ; return doc ; }
@see org.opencms.search.CmsSearchIndex#createEmptyDocument(org.opencms.file.CmsResource)