public class StripTokenPartsTokenFilter
extends org.apache.lucene.analysis.TokenFilter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TOKEN_TYPE |
| Constructor and Description |
|---|
StripTokenPartsTokenFilter(org.apache.lucene.analysis.TokenStream _in,
java.lang.String _regex) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.analysis.Token |
next() |
getOnlyUseNewAPI, incrementToken, next, setOnlyUseNewAPIaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, restoreState, toStringpublic static final java.lang.String TOKEN_TYPE
public StripTokenPartsTokenFilter(org.apache.lucene.analysis.TokenStream _in,
java.lang.String _regex)
_in - the "parent" TokenStream from which the "original" Tokens are
read._regex - a regular expression; all parts of text of Tokens which
match this regex will be removed from the Tokens' text.Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.