Class LuceneChangeExtractor
- java.lang.Object
 - 
- com.atlassian.confluence.internal.index.lucene.LuceneChangeExtractor
 
 
- 
- All Implemented Interfaces:
 Extractor2
@Internal public class LuceneChangeExtractor extends Object implements Extractor2
Extract default fields for a CHANGE index document that represents the change of a content- Since:
 - 7.14
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLuceneChangeExtractor.Mappings 
- 
Constructor Summary
Constructors Constructor Description LuceneChangeExtractor(HandleResolver handleResolver) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<FieldDescriptor>extractFields(Object object)Extract fields from the searchable object.StringBuilderextractText(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 Detail
- 
LuceneChangeExtractor
public LuceneChangeExtractor(HandleResolver handleResolver)
 
 - 
 
- 
Method Detail
- 
extractFields
public Collection<FieldDescriptor> extractFields(Object object)
Description copied from interface:Extractor2Extract fields from the searchable object.- Specified by:
 extractFieldsin interfaceExtractor2- Parameters:
 object- a searchable object- Returns:
 - list of fields extracted from the searchable object
 
 
- 
extractText
public StringBuilder extractText(Object searchable)
Description copied from interface:Extractor2Returns 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:
 extractTextin 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.
 
 
 - 
 
 -