Class CustomContentSearchExtractor

  • All Implemented Interfaces:
    Extractor2

    public class CustomContentSearchExtractor
    extends Object
    implements Extractor2
    Extracts some base "all content needs this" fields from the CustomContentEntityObject.
    Since:
    7.20
    • Constructor Detail

      • CustomContentSearchExtractor

        public CustomContentSearchExtractor()
    • Method Detail

      • extractText

        public StringBuilder extractText​(Object searchable)
        Always returns an empty buffer.
        Specified by:
        extractText in interface Extractor2
        Parameters:
        searchable - a searchable object
        Returns:
        an empty 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