public class LabelExtractor extends Object implements Extractor2
| Modifier and Type | Field and Description |
|---|---|
static String |
INHERITED_LABEL_FIELD
Deprecated.
since 7.20 use
SearchFieldNames.INHERITED_LABEL instead. |
static String |
INHERITED_LABEL_TEXT_FIELD
Deprecated.
since 7.20 use
SearchFieldNames.INHERITED_LABEL_TEXT instead. |
static String |
LABEL_FIELD
Deprecated.
since 7.20 use
SearchFieldNames.LABEL instead. |
static String |
LABEL_TEXT_FIELD
Deprecated.
since 7.20 use
SearchFieldNames.LABEL_TEXT instead. |
| Constructor and Description |
|---|
LabelExtractor() |
| 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.
|
@Deprecated public static final String LABEL_FIELD
SearchFieldNames.LABEL instead.@Deprecated public static final String LABEL_TEXT_FIELD
SearchFieldNames.LABEL_TEXT instead.@Deprecated public static final String INHERITED_LABEL_FIELD
SearchFieldNames.INHERITED_LABEL instead.@Deprecated public static final String INHERITED_LABEL_TEXT_FIELD
SearchFieldNames.INHERITED_LABEL_TEXT instead.public StringBuilder extractText(Object searchable)
extractText in interface Extractor2searchable - a searchable objectpublic Collection<FieldDescriptor> extractFields(Object searchable)
extractFields in interface Extractor2searchable - a searchable objectCopyright © 2003–2022 Atlassian. All rights reserved.