Class LabelExtractor

  • All Implemented Interfaces:
    com.atlassian.bonnie.search.Extractor

    @Deprecated
    public class LabelExtractor
    extends Object
    implements com.atlassian.bonnie.search.Extractor
    Deprecated.
    since 7.20. Replaced by LabelExtractor
    Extract label data from content entity objects.
    • Field Detail

      • LABEL_FIELD

        public static final String LABEL_FIELD
        Deprecated.
        Assigned multiple fields of namespaced labels
        See Also:
        Constant Field Values
      • LABEL_TEXT_FIELD

        public static final String LABEL_TEXT_FIELD
        Deprecated.
        This field is assigned a value consisting of a space delimited list of all the publicly visible labels on a piece of content
        See Also:
        Constant Field Values
      • INHERITED_LABEL_FIELD

        public static final String INHERITED_LABEL_FIELD
        Deprecated.
        The same as LABEL_FIELD, but for labels inherited from a containing object (i.e. comments will get the labels of the object they are commenting on.
        See Also:
        Constant Field Values
      • INHERITED_LABEL_TEXT_FIELD

        public static final String INHERITED_LABEL_TEXT_FIELD
        Deprecated.
        The same as LABEL_TEXT_FIELD, but for labels inherited from a containing object (i.e. comments will get the labels of the object they are commenting on.
        See Also:
        Constant Field Values
    • Constructor Detail

      • LabelExtractor

        public LabelExtractor()
        Deprecated.
    • Method Detail

      • addFields

        public void addFields​(org.apache.lucene.document.Document document,
                              StringBuffer defaultSearchableText,
                              com.atlassian.bonnie.Searchable searchable)
        Deprecated.
        Specified by:
        addFields in interface com.atlassian.bonnie.search.Extractor