org.elasticsearch.index.analysis
Class NamedCustomAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.elasticsearch.index.analysis.NamedAnalyzer
org.elasticsearch.index.analysis.NamedCustomAnalyzer
- All Implemented Interfaces:
- Closeable
public class NamedCustomAnalyzer
- extends NamedAnalyzer
Methods inherited from class org.apache.lucene.analysis.Analyzer |
getPreviousTokenStream, setPreviousTokenStream |
NamedCustomAnalyzer
public NamedCustomAnalyzer(NamedAnalyzer analyzer,
int positionOffsetGap)
getPositionIncrementGap
public int getPositionIncrementGap(String fieldName)
- Overrides:
getPositionIncrementGap
in class NamedAnalyzer
Copyright © 2009-2012. All Rights Reserved.