Class CustomContentSearchExtractor
- java.lang.Object
-
- com.atlassian.confluence.impl.search.v2.extractor.CustomContentSearchExtractor
-
- All Implemented Interfaces:
Extractor2
public class CustomContentSearchExtractor extends Object implements Extractor2
Extracts some base "all content needs this" fields from the CustomContentEntityObject.- Since:
- 7.20
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_CONTENT_PLUGIN_KEYDeprecated.since 7.20 useSearchFieldNames.CONTENT_PLUGIN_KEYinstead.
-
Constructor Summary
Constructors Constructor Description CustomContentSearchExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<FieldDescriptor>extractFields(Object searchable)Extract fields from the searchable object.StringBuilderextractText(Object searchable)Always returns an empty buffer.
-
-
-
Field Detail
-
FIELD_CONTENT_PLUGIN_KEY
@Deprecated public static final String FIELD_CONTENT_PLUGIN_KEY
Deprecated.since 7.20 useSearchFieldNames.CONTENT_PLUGIN_KEYinstead.- See Also:
- Constant Field Values
-
-
Method Detail
-
extractText
public StringBuilder extractText(Object searchable)
Always returns an empty buffer.- Specified by:
extractTextin interfaceExtractor2- Parameters:
searchable- a searchable object- Returns:
- an empty buffer
-
extractFields
public Collection<FieldDescriptor> extractFields(Object searchable)
Extract fields from the searchable object.- Specified by:
extractFieldsin interfaceExtractor2- Parameters:
searchable- a searchable object- Returns:
- collection of fields extracted from the searchable object
-
-