public class OracleAnalyzer
extends 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| Constructor and Description |
|---|
OracleAnalyzer(org.apache.lucene.util.Version matchVersion)
Creates a new OracleAnalyzer object with a length filter from 1 to MAX_INT and Case sensitive filter using the given Lucene version.
|
OracleAnalyzer(org.apache.lucene.util.Version matchVersion, org.apache.lucene.analysis.util.CharArraySet stopWords)
Creates a new OracleAnalyzer object with a length filter from 1 to MAX_INT and Case sensitive filter using the given Lucene version, and list of stop words.
|
OracleAnalyzer(org.apache.lucene.util.Version matchVersion, org.apache.lucene.analysis.util.CharArraySet stopWords, int min, int max, boolean caseSensitive, boolean filterStopWords)
Creates a new OracleAnalyzer object.
|
OracleAnalyzer(org.apache.lucene.util.Version matchVersion, int min, int max, boolean caseSensitive, boolean filterStopWords)
Creates a new OracleAnalyzer object.
|
public OracleAnalyzer(org.apache.lucene.util.Version matchVersion)
matchVersion - the version of Lucene to use for this analyzer.
public OracleAnalyzer(org.apache.lucene.util.Version matchVersion,
org.apache.lucene.analysis.util.CharArraySet stopWords)
matchVersion - the version of Lucene to use for this analyzer.stopWords - a CharArraySet object with all stop words to filter.
public OracleAnalyzer(org.apache.lucene.util.Version matchVersion,
org.apache.lucene.analysis.util.CharArraySet stopWords,
int min,
int max,
boolean caseSensitive,
boolean filterStopWords)
matchVersion - the version of Lucene to use for this analyzer.stopWords - a CharArraySet object with all stop words to filter.min - the minimum allowed token length. If a token is seen that does not at least meet this length then it is discarded.max - the maximum allowed token length. If a token is seen that exceeds this length then it is discarded.caseSensitive - if false then all tokes are translated into lower case.filterStopWords - if true, then stop words are removed from the token stream.
public OracleAnalyzer(org.apache.lucene.util.Version matchVersion,
int min,
int max,
boolean caseSensitive,
boolean filterStopWords)
matchVersion - the version of Lucene to use for this analyzer.min - the minimum allowed token length. If a token is seen that does not at least meet this length then it is discarded.max - the maximum allowed token length. If a token is seen that exceeds this length then it is discarded.caseSensitive - if false then all tokes are translated into lower case.filterStopWords - if true, then stop words are removed from the token stream.Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.