Class ContentPropertiesExtractor
java.lang.Object
com.atlassian.confluence.plugins.contentproperty.index.extractor.ContentPropertiesExtractor
- All Implemented Interfaces:
Extractor2
Extracts v2 API Field Descriptors from content properties associated with given content, based on a dynamic schema.
- Since:
- 7.14
-
Constructor Summary
ConstructorDescriptionContentPropertiesExtractor
(ContentPropertyIndexSchemaManager contentPropertyIndexSchemaManager, ContentPropertyExtractionManager contentPropertyExtractionManager, ContentPropertyFinderFactory contentPropertyFinderFactory, com.atlassian.plugin.PluginAccessor pluginAccessor, BatchOperationManager batchOperationManager) -
Method Summary
Modifier and TypeMethodDescriptionextractFields
(Object searchable) Extract fields from the searchable object.extractText
(Object searchable) Returns a buffer of text that will be appended onto the end of a larger buffer of text that will eventually become the searchable body text.
-
Constructor Details
-
ContentPropertiesExtractor
public ContentPropertiesExtractor(ContentPropertyIndexSchemaManager contentPropertyIndexSchemaManager, ContentPropertyExtractionManager contentPropertyExtractionManager, ContentPropertyFinderFactory contentPropertyFinderFactory, com.atlassian.plugin.PluginAccessor pluginAccessor, BatchOperationManager batchOperationManager)
-
-
Method Details
-
extractText
Description copied from interface:Extractor2
Returns a buffer of text that will be appended onto the end of a larger buffer of text that will eventually become the searchable body text.- Specified by:
extractText
in interfaceExtractor2
- Parameters:
searchable
- a searchable object- Returns:
- Returns a buffer of text that will be appended onto the end of a larger buffer of text that will eventually become the searchable body text.
-
extractFields
Description copied from interface:Extractor2
Extract fields from the searchable object.- Specified by:
extractFields
in interfaceExtractor2
- Parameters:
searchable
- a searchable object- Returns:
- list of fields extracted from the searchable object
-