Class ScopedAnalyzer

java.lang.Object
org.apache.lucene.analysis.Analyzer
org.hibernate.search.util.ScopedAnalyzer
All Implemented Interfaces:
Closeable, AutoCloseable

public final class ScopedAnalyzer extends Analyzer
A ScopedAnalyzer is a wrapper class containing all analyzers for a given class. ScopedAnalyzer behaves similar to PerFieldAnalyzerWrapper by delegating requests for TokenStreams to the underlying Analyzer depending on the requested field name.