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.
|Modifier and Type||Method and Description|
Extracts the content of a given index resource according to the resource file type and the configuration of the given index.
I_CmsExtractionResult extractContent(CmsObject cms, CmsResource resource, I_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