Class VersionCommentExtractor

  • All Implemented Interfaces:
    Extractor2

    public class VersionCommentExtractor
    extends Object
    implements Extractor2
    Appends the version comment of a ContentEntityObject to its searchable text.
    Since:
    7.20
    • Constructor Detail

      • VersionCommentExtractor

        public VersionCommentExtractor()
    • Method Detail

      • extractText

        public 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.

        Specified by:
        extractText in interface Extractor2
        Parameters:
        searchable - a searchable object
        Returns:
        an text buffer
      • extractFields

        public Collection<FieldDescriptor> extractFields​(Object searchable)
        Extract fields from the searchable object.

        Specified by:
        extractFields in interface Extractor2
        Parameters:
        searchable - a searchable object
        Returns:
        collection of fields extracted from the searchable object