@Internal public class AttachmentExtractedTextExtractor extends Object implements Extractor2
Modifier and Type | Field and Description |
---|---|
static String |
ATLASSIAN_INDEXING_ATTACHMENT_MAXSIZE |
static long |
ATLASSIAN_INDEXING_ATTACHMENT_MAXSIZE_DEFAULT |
Constructor and Description |
---|
AttachmentExtractedTextExtractor(AttachmentExtractedTextManager attachmentExtractedTextManager,
AttachmentStatusManager attachmentStatusManager,
ApplicationStatusService applicationStatusService,
AttachmentTextExtractionService remoteAttachmentTextExtractionService,
PluginAttachmentTextExtractorsProvider pluginAttachmentTextExtractorsProvider,
ShouldExtractAttachmentTextPredicate shouldExtractAttachmentTextPredicate) |
Modifier and Type | Method and Description |
---|---|
Collection<FieldDescriptor> |
extractFields(Object searchable)
Extract fields from the searchable object.
|
StringBuilder |
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.
|
public static final String ATLASSIAN_INDEXING_ATTACHMENT_MAXSIZE
public static final long ATLASSIAN_INDEXING_ATTACHMENT_MAXSIZE_DEFAULT
public AttachmentExtractedTextExtractor(AttachmentExtractedTextManager attachmentExtractedTextManager, AttachmentStatusManager attachmentStatusManager, ApplicationStatusService applicationStatusService, AttachmentTextExtractionService remoteAttachmentTextExtractionService, PluginAttachmentTextExtractorsProvider pluginAttachmentTextExtractorsProvider, ShouldExtractAttachmentTextPredicate shouldExtractAttachmentTextPredicate)
public StringBuilder extractText(Object searchable)
Extractor2
extractText
in interface Extractor2
searchable
- a searchable objectpublic Collection<FieldDescriptor> extractFields(Object searchable)
Extractor2
extractFields
in interface Extractor2
searchable
- a searchable objectCopyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences