- All Known Subinterfaces:
- All Known Implementing Classes:
public interface Processor
A processor implementation may modify the data belonging to a document. Whether changes are made and what exactly is modified is up to the implementation. Processors may get called concurrently and thus need to be thread-safe.
Nested Class SummaryModifier and TypeInterfaceDescription
static interfaceA factory that knows how to construct a processor based on a map of maps.
static classInfrastructure class that holds services that can be used by processor factories to create processor instances and that gets passed around to all
Method SummaryModifier and TypeMethodDescriptionIntrospect and potentially modify the incoming data.
default voidIntrospect and potentially modify the incoming data.Gets the description of a processor.
getTag()Gets the tag of a processor.
getType()Gets the type of a processor
executeIntrospect and potentially modify the incoming data. Expert method: only override this method if a processor implementation needs to make an asynchronous call, otherwise just overwrite
executeIntrospect and potentially modify the incoming data.
nullis returned then the current document will be dropped and not be indexed, otherwise this document will be kept and indexed
getTypeString getType()Gets the type of a processor
getTagString getTag()Gets the tag of a processor.
getDescriptionString getDescription()Gets the description of a processor.