public class OakAnalyzer
extends org.apache.lucene.analysis.Analyzer
Constructor and Description |
---|
OakAnalyzer(org.apache.lucene.util.Version matchVersion)
Creates a new
OakAnalyzer |
OakAnalyzer(org.apache.lucene.util.Version matchVersion,
boolean indexOriginalTerm)
Create a new
OakAnalyzer with configurable flag to preserve
original term being analyzed too. |
public OakAnalyzer(org.apache.lucene.util.Version matchVersion)
OakAnalyzer
matchVersion
- Lucene version to match See
above
public OakAnalyzer(org.apache.lucene.util.Version matchVersion, boolean indexOriginalTerm)
OakAnalyzer
with configurable flag to preserve
original term being analyzed too.matchVersion
- Lucene version to match See above
indexOriginalTerm
- flag to setup analyzer such that
WordDelimiterFilter.PRESERVE_ORIGINAL
is set to oonfigure word delimeterCopyright © 2010 - 2020 Adobe. All Rights Reserved