public class LabelExtractor extends Object implements com.atlassian.bonnie.search.Extractor
Modifier and Type | Field and Description |
---|---|
static String |
INHERITED_LABEL_FIELD
The same as LABEL_FIELD, but for labels inherited from a containing object (i.e.
|
static String |
INHERITED_LABEL_TEXT_FIELD
The same as LABEL_TEXT_FIELD, but for labels inherited from a containing object (i.e.
|
static String |
LABEL_FIELD
Assigned multiple fields of namespaced labels
|
static String |
LABEL_TEXT_FIELD
This field is assigned a value consisting of a space delimited list of all the publicly visible labels on a piece of content
|
Constructor and Description |
---|
LabelExtractor() |
Modifier and Type | Method and Description |
---|---|
void |
addFields(org.apache.lucene.document.Document document,
StringBuffer defaultSearchableText,
com.atlassian.bonnie.Searchable searchable) |
public static final String LABEL_FIELD
public static final String LABEL_TEXT_FIELD
public static final String INHERITED_LABEL_FIELD
public static final String INHERITED_LABEL_TEXT_FIELD
public void addFields(org.apache.lucene.document.Document document, StringBuffer defaultSearchableText, com.atlassian.bonnie.Searchable searchable)
addFields
in interface com.atlassian.bonnie.search.Extractor
Copyright © 2003–2021 Atlassian. All rights reserved.