public interface I_CmsSearchExtractor
The job of a search extractor is to extract indexable plain text from a resource in the OpenCms VFS. This may be from the resource content, for example from a PDF file, or from the resource properties, for example the Title, Keywords and Description properties.
I_CmsExtractionResult extractContent(CmsObject cms, CmsResource resource, CmsSearchIndex index) throws CmsException
cms- the cms object
resource- the resource to extract the content from
index- the index to extract the content for
CmsException- if something goes wrong