org.apache.jackrabbit.oak.plugins.index.lucene
Class OakAnalyzer

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by org.apache.jackrabbit.oak.plugins.index.lucene.OakAnalyzer
All Implemented Interfaces:
Closeable

public class OakAnalyzer
extends org.apache.lucene.analysis.Analyzer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy, org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy, org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
 
Field Summary
 
Fields inherited from class org.apache.lucene.analysis.Analyzer
GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY
 
Constructor Summary
OakAnalyzer(org.apache.lucene.util.Version matchVersion)
          Creates a new OakAnalyzer
 
Method Summary
protected  org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName, Reader reader)
           
 
Methods inherited from class org.apache.lucene.analysis.Analyzer
close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, initReader, tokenStream, tokenStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OakAnalyzer

public OakAnalyzer(org.apache.lucene.util.Version matchVersion)
Creates a new OakAnalyzer

Parameters:
matchVersion - Lucene version to match See above
Method Detail

createComponents

protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName,
                                                                                     Reader reader)
Specified by:
createComponents in class org.apache.lucene.analysis.Analyzer


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.