Class LuceneContentExtractor
java.lang.Object
com.atlassian.confluence.internal.index.lucene.LuceneContentExtractor
- All Implemented Interfaces:
Extractor2
Extracts default fields for a CONTENT index document that represents the content
- Since:
- 7.14
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionextractFields
(Object object) 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
-
LuceneContentExtractor
-
-
Method Details
-
extractFields
Description copied from interface:Extractor2
Extract fields from the searchable object.- Specified by:
extractFields
in interfaceExtractor2
- Parameters:
object
- a searchable object- Returns:
- list of fields extracted from the searchable object
-
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.
-