public final class PassThroughAnalyzer extends Analyzer
TODO there is probably a way to make that much more efficient by reimplementing TokenStream to take the Reader and pass through the flux as a single token
Analyzer.ReuseStrategy, Analyzer.TokenStreamComponents
Modifier and Type | Field and Description |
---|---|
static PassThroughAnalyzer |
INSTANCE |
GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY
Modifier and Type | Method and Description |
---|---|
protected Analyzer.TokenStreamComponents |
createComponents(String fieldName) |
close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, getVersion, initReader, setVersion, tokenStream, tokenStream
public static final PassThroughAnalyzer INSTANCE
protected Analyzer.TokenStreamComponents createComponents(String fieldName)
createComponents
in class Analyzer
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved