All Implemented Interfaces:
Closeable, AutoCloseable, Unwrappable<TokenStream>

public final class KeepWordFilter extends FilteringTokenFilter
A TokenFilter that only keeps tokens with text contained in the required words. This filter behaves like the inverse of StopFilter.
Since:
solr 1.3