Class CustomContentSearchExtractor
java.lang.Object
com.atlassian.confluence.impl.search.v2.extractor.CustomContentSearchExtractor
- All Implemented Interfaces:
Extractor2
Extracts some base "all content needs this" fields from the CustomContentEntityObject.
- Since:
- 7.20
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionextractFields
(Object searchable) Extract fields from the searchable object.extractText
(Object searchable) Always returns an empty buffer.
-
Field Details
-
FIELD_CONTENT_PLUGIN_KEY
Deprecated.since 7.20 useSearchFieldMappings.CONTENT_PLUGIN_KEY
instead.
-
-
Constructor Details
-
CustomContentSearchExtractor
public CustomContentSearchExtractor()
-
-
Method Details
-
extractText
Always returns an empty buffer.- Specified by:
extractText
in interfaceExtractor2
- Parameters:
searchable
- a searchable object- Returns:
- an empty buffer
-
extractFields
Extract fields from the searchable object.- Specified by:
extractFields
in interfaceExtractor2
- Parameters:
searchable
- a searchable object- Returns:
- collection of fields extracted from the searchable object
-
SearchFieldMappings.CONTENT_PLUGIN_KEY
instead.