org.elasticsearch.index.analysis
Class NamedCustomAnalyzer

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by org.elasticsearch.index.analysis.NamedAnalyzer
          extended by org.elasticsearch.index.analysis.NamedCustomAnalyzer
All Implemented Interfaces:
Closeable

public class NamedCustomAnalyzer
extends NamedAnalyzer


Constructor Summary
NamedCustomAnalyzer(NamedAnalyzer analyzer, int positionOffsetGap)
           
 
Method Summary
 int getPositionIncrementGap(String fieldName)
           
 
Methods inherited from class org.elasticsearch.index.analysis.NamedAnalyzer
analyzer, close, getOffsetGap, name, reusableTokenStream, scope, tokenStream, toString
 
Methods inherited from class org.apache.lucene.analysis.Analyzer
getPreviousTokenStream, setPreviousTokenStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamedCustomAnalyzer

public NamedCustomAnalyzer(NamedAnalyzer analyzer,
                           int positionOffsetGap)
Method Detail

getPositionIncrementGap

public int getPositionIncrementGap(String fieldName)
Overrides:
getPositionIncrementGap in class NamedAnalyzer


Copyright © 2009-2012. All Rights Reserved.