Class PassThroughAnalyzer

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

public final class PassThroughAnalyzer extends Analyzer
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 Details

    • PassThroughAnalyzer

      public PassThroughAnalyzer()
  • Method Details