List of usage examples for org.apache.lucene.analysis.sinks TeeSinkTokenFilter.SinkFilter subclass-usage
From source file com.shaie.annots.ColorsSinkFilter.java
/** * A {@link org.apache.lucene.analysis.sinks.TeeSinkTokenFilter.SinkFilter} which accepts colors. It stores on the * {@link AttributeSource} an {@link AnnotationSpanAttribute} recording the start position (in the original text) and * the length (usually 1) of the identified color. */ public final class ColorsSinkFilter extends TeeSinkTokenFilter.SinkFilter {