Package org.apache.lucene.analysis.pattern
package org.apache.lucene.analysis.pattern
Set of components for pattern-based (regex) analysis.
-
ClassesClassDescriptionFactory for
PatternCaptureGroupTokenFilter
.CaptureGroup uses Java regexes to emit multiple tokens - one for each capture group in one or more patterns.CharFilter that uses a regular expression for the target of replace string.Factory forPatternReplaceCharFilter
.A TokenFilter which applies a Pattern to each token in the stream, replacing match occurances with the specified replacement string.Factory forPatternReplaceFilter
.This tokenizer uses regex pattern matching to construct distinct tokens for the input stream.Factory forPatternTokenizer
.