Class LastModifierNameExtractor

    • Field Detail

      • ANONYMOUS_LAST_MODIFIER_ID

        @Deprecated
        public static final String ANONYMOUS_LAST_MODIFIER_ID
        Deprecated.
        Constant to represent the value for an anonymous last modifier in the index. We want to record anonymous users, so we can remove change documents by them (also because you cannot use lucene to search for documents that don't have a field).
        See Also:
        Constant Field Values
    • Constructor Detail

      • LastModifierNameExtractor

        public LastModifierNameExtractor()
    • Method Detail

      • extractText

        public StringBuilder extractText​(Object searchable)
        Description copied from interface: Extractor2
        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:
        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.
      • extractFields

        public Collection<FieldDescriptor> extractFields​(Object searchable)
        Description copied from interface: Extractor2
        Extract fields from the searchable object.
        Specified by:
        extractFields in interface Extractor2
        Parameters:
        searchable - a searchable object
        Returns:
        list of fields extracted from the searchable object