public class OracleAnalyzer
extends org.apache.lucene.analysis.Analyzer
Constructor and Description |
---|
OracleAnalyzer()
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.analysis.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.analysis.CharArraySet stopWords,
int min,
int max,
boolean caseSensitive,
boolean filterStopWords)
Creates a new OracleAnalyzer object.
|
OracleAnalyzer(int min,
int max,
boolean caseSensitive,
boolean filterStopWords)
Creates a new OracleAnalyzer object.
|
public OracleAnalyzer()
public OracleAnalyzer(org.apache.lucene.analysis.CharArraySet stopWords)
stopWords
- a CharArraySet
object with all stop words to filter.public OracleAnalyzer(org.apache.lucene.analysis.CharArraySet stopWords, int min, int max, boolean caseSensitive, boolean filterStopWords)
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(int min, int max, boolean caseSensitive, boolean filterStopWords)
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 © 2015, 2019, Oracle and/or its afflilates. All Rights Reserved.