Example usage for org.apache.lucene.analysis.sinks TeeSinkTokenFilter.SinkFilter subclass-usage

List of usage examples for org.apache.lucene.analysis.sinks TeeSinkTokenFilter.SinkFilter subclass-usage

Introduction

In this page you can find the example usage for org.apache.lucene.analysis.sinks TeeSinkTokenFilter.SinkFilter subclass-usage.

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 {