List of usage examples for org.apache.lucene.analysis.path PathHierarchyTokenizer PathHierarchyTokenizer
public PathHierarchyTokenizer(AttributeFactory factory, int bufferSize, char delimiter, char replacement, int skip)
From source file:org.elasticsearch.index.analysis.PathHierarchyTokenizerFactory.java
License:Apache License
@Override public Tokenizer create(Reader reader) { if (reverse) { return new ReversePathHierarchyTokenizer(reader, bufferSize, delimiter, replacement, skip); }//from ww w .j ava 2s.co m return new PathHierarchyTokenizer(reader, bufferSize, delimiter, replacement, skip); }