Package org.hibernate.search.util
Class PassThroughAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.hibernate.search.util.PassThroughAnalyzer
- All Implemented Interfaces:
Closeable,AutoCloseable
Analyzer that applies no operation whatsoever to the flux
This is useful for queries operating on non tokenized fields.
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
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.analysis.Analyzer
close, getOffsetGap, getPositionIncrementGap, getPreviousTokenStream, reusableTokenStream, setPreviousTokenStream
-
Constructor Details
-
PassThroughAnalyzer
public PassThroughAnalyzer()
-
-
Method Details
-
tokenStream
- Specified by:
tokenStreamin classAnalyzer
-