Package | Description |
---|---|
org.apache.lucene.analysis |
API and code to convert text into indexable/searchable tokens.
|
org.apache.lucene.analysis.ar |
Analyzer for Arabic.
|
org.apache.lucene.analysis.br |
Analyzer for Brazilian Portuguese.
|
org.apache.lucene.analysis.cjk |
Analyzer for Chinese, Japanese, and Korean, which indexes bigrams (overlapping groups of two adjacent Han characters).
|
org.apache.lucene.analysis.cn.smart |
Analyzer for Simplified Chinese, which indexes words.
|
org.apache.lucene.analysis.cz |
Analyzer for Czech.
|
org.apache.lucene.analysis.de |
Analyzer for German.
|
org.apache.lucene.analysis.el |
Analyzer for Greek.
|
org.apache.lucene.analysis.fa |
Analyzer for Persian.
|
org.apache.lucene.analysis.fr |
Analyzer for French.
|
org.apache.lucene.analysis.nl |
Analyzer for Dutch.
|
org.apache.lucene.analysis.query |
Automatically filter high-frequency stopwords.
|
org.apache.lucene.analysis.ru |
Analyzer for Russian.
|
org.apache.lucene.analysis.snowball |
TokenFilter and Analyzer implementations that use Snowball
stemmers. |
org.apache.lucene.analysis.standard |
A fast grammar-based tokenizer constructed with JFlex.
|
org.apache.lucene.analysis.th |
Analyzer for Thai.
|
org.apache.lucene.index.memory |
High-performance single-document main memory Apache Lucene fulltext search index.
|
org.apache.lucene.queryParser |
A simple query parser implemented with JavaCC.
|
org.apache.lucene.queryParser.analyzing |
QueryParser that passes Fuzzy-, Prefix-, Range-, and WildcardQuerys through the given analyzer.
|
org.apache.lucene.queryParser.complexPhrase |
QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*"
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
StopFilter.getEnablePositionIncrementsVersionDefault(Version matchVersion)
Returns version-dependent default for
enablePositionIncrements.
|
Constructor and Description |
---|
StopAnalyzer(Version matchVersion)
Builds an analyzer which removes words in
ENGLISH_STOP_WORDS.
|
StopAnalyzer(Version matchVersion,
java.io.File stopwordsFile)
Builds an analyzer with the stop words from the given file.
|
StopAnalyzer(Version matchVersion,
java.io.Reader stopwords)
Builds an analyzer with the stop words from the given reader.
|
StopAnalyzer(Version matchVersion,
java.util.Set stopWords)
Builds an analyzer with the stop words from the given
set.
|
Constructor and Description |
---|
ArabicAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:
ArabicAnalyzer.DEFAULT_STOPWORD_FILE . |
ArabicAnalyzer(Version matchVersion,
java.io.File stopwords)
Builds an analyzer with the given stop words.
|
ArabicAnalyzer(Version matchVersion,
java.util.Hashtable stopwords)
Builds an analyzer with the given stop words.
|
ArabicAnalyzer(Version matchVersion,
java.lang.String[] stopwords)
Builds an analyzer with the given stop words.
|
Constructor and Description |
---|
BrazilianAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words (
BrazilianAnalyzer.BRAZILIAN_STOP_WORDS ). |
BrazilianAnalyzer(Version matchVersion,
java.io.File stopwords)
Builds an analyzer with the given stop words.
|
BrazilianAnalyzer(Version matchVersion,
java.util.Map stopwords)
Builds an analyzer with the given stop words.
|
BrazilianAnalyzer(Version matchVersion,
java.lang.String[] stopwords)
Builds an analyzer with the given stop words.
|
Constructor and Description |
---|
CJKAnalyzer(Version matchVersion)
Builds an analyzer which removes words in
CJKAnalyzer.STOP_WORDS . |
CJKAnalyzer(Version matchVersion,
java.lang.String[] stopWords)
Builds an analyzer which removes words in the provided array.
|
Constructor and Description |
---|
SmartChineseAnalyzer(Version matchVersion)
Create a new SmartChineseAnalyzer, using the default stopword list.
|
SmartChineseAnalyzer(Version matchVersion,
boolean useDefaultStopWords)
Create a new SmartChineseAnalyzer, optionally using the default stopword list.
|
SmartChineseAnalyzer(Version matchVersion,
java.util.Set stopWords)
Create a new SmartChineseAnalyzer, using the provided
Set of stopwords. |
Constructor and Description |
---|
CzechAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words (
CzechAnalyzer.CZECH_STOP_WORDS ). |
CzechAnalyzer(Version matchVersion,
java.io.File stopwords)
Builds an analyzer with the given stop words.
|
CzechAnalyzer(Version matchVersion,
java.util.HashSet stopwords) |
CzechAnalyzer(Version matchVersion,
java.lang.String[] stopwords)
Builds an analyzer with the given stop words.
|
Constructor and Description |
---|
GermanAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:
GermanAnalyzer.GERMAN_STOP_WORDS . |
GermanAnalyzer(Version matchVersion,
java.io.File stopwords)
Builds an analyzer with the given stop words.
|
GermanAnalyzer(Version matchVersion,
java.util.Map stopwords)
Builds an analyzer with the given stop words.
|
GermanAnalyzer(Version matchVersion,
java.lang.String[] stopwords)
Builds an analyzer with the given stop words.
|
Constructor and Description |
---|
GreekAnalyzer(Version matchVersion) |
GreekAnalyzer(Version matchVersion,
java.util.Map stopwords)
Builds an analyzer with the given stop words.
|
GreekAnalyzer(Version matchVersion,
java.lang.String[] stopwords)
Builds an analyzer with the given stop words.
|
Constructor and Description |
---|
PersianAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words:
PersianAnalyzer.DEFAULT_STOPWORD_FILE . |
PersianAnalyzer(Version matchVersion,
java.io.File stopwords)
Builds an analyzer with the given stop words.
|
PersianAnalyzer(Version matchVersion,
java.util.Hashtable stopwords)
Builds an analyzer with the given stop words.
|
PersianAnalyzer(Version matchVersion,
java.lang.String[] stopwords)
Builds an analyzer with the given stop words.
|
Constructor and Description |
---|
FrenchAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words (
FrenchAnalyzer.FRENCH_STOP_WORDS ). |
FrenchAnalyzer(Version matchVersion,
java.io.File stopwords)
Builds an analyzer with the given stop words.
|
FrenchAnalyzer(Version matchVersion,
java.lang.String[] stopwords)
Builds an analyzer with the given stop words.
|
Constructor and Description |
---|
DutchAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words (
DutchAnalyzer.DUTCH_STOP_WORDS )
and a few default entries for the stem exclusion table. |
DutchAnalyzer(Version matchVersion,
java.io.File stopwords)
Builds an analyzer with the given stop words.
|
DutchAnalyzer(Version matchVersion,
java.util.HashSet stopwords)
Builds an analyzer with the given stop words.
|
DutchAnalyzer(Version matchVersion,
java.lang.String[] stopwords)
Builds an analyzer with the given stop words.
|
Constructor and Description |
---|
QueryAutoStopWordAnalyzer(Version matchVersion,
Analyzer delegate)
Initializes this analyzer with the Analyzer object that actually produces the tokens
|
Constructor and Description |
---|
RussianAnalyzer(Version matchVersion) |
RussianAnalyzer(Version matchVersion,
java.util.Map stopwords)
Builds an analyzer with the given stop words.
|
RussianAnalyzer(Version matchVersion,
java.lang.String[] stopwords)
Builds an analyzer with the given stop words.
|
Constructor and Description |
---|
SnowballAnalyzer(Version matchVersion,
java.lang.String name)
Builds the named analyzer with no stop words.
|
SnowballAnalyzer(Version matchVersion,
java.lang.String name,
java.util.Set stopWords)
Builds the named analyzer with the given stop words.
|
SnowballAnalyzer(Version matchVersion,
java.lang.String name,
java.lang.String[] stopWords)
Builds the named analyzer with the given stop words.
|
Constructor and Description |
---|
StandardAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words (
StandardAnalyzer.STOP_WORDS ). |
StandardAnalyzer(Version matchVersion,
java.io.File stopwords)
Builds an analyzer with the stop words from the given file.
|
StandardAnalyzer(Version matchVersion,
java.io.Reader stopwords)
Builds an analyzer with the stop words from the given reader.
|
StandardAnalyzer(Version matchVersion,
java.util.Set stopWords)
Builds an analyzer with the given stop words.
|
StandardTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
java.io.Reader input)
Creates a new StandardTokenizer with a given
AttributeSource.AttributeFactory |
StandardTokenizer(Version matchVersion,
AttributeSource source,
java.io.Reader input)
Creates a new StandardTokenizer with a given
AttributeSource . |
StandardTokenizer(Version matchVersion,
java.io.Reader input)
Creates a new instance of the
StandardTokenizer . |
Constructor and Description |
---|
ThaiAnalyzer(Version matchVersion) |
Constructor and Description |
---|
PatternAnalyzer(Version matchVersion,
java.util.regex.Pattern pattern,
boolean toLowerCase,
java.util.Set stopWords)
Constructs a new instance with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
static Query |
MultiFieldQueryParser.parse(Version matchVersion,
java.lang.String[] queries,
java.lang.String[] fields,
Analyzer analyzer)
Parses a query which searches on the fields specified.
|
static Query |
MultiFieldQueryParser.parse(Version matchVersion,
java.lang.String[] queries,
java.lang.String[] fields,
BooleanClause.Occur[] flags,
Analyzer analyzer)
Parses a query, searching on the fields specified.
|
static Query |
MultiFieldQueryParser.parse(Version matchVersion,
java.lang.String query,
java.lang.String[] fields,
BooleanClause.Occur[] flags,
Analyzer analyzer)
Parses a query, searching on the fields specified.
|
Constructor and Description |
---|
MultiFieldQueryParser(Version matchVersion,
java.lang.String[] fields,
Analyzer analyzer)
Creates a MultiFieldQueryParser.
|
MultiFieldQueryParser(Version matchVersion,
java.lang.String[] fields,
Analyzer analyzer,
java.util.Map boosts)
Creates a MultiFieldQueryParser.
|
QueryParser(Version matchVersion,
java.lang.String f,
Analyzer a)
Constructs a query parser.
|
Constructor and Description |
---|
AnalyzingQueryParser(Version matchVersion,
java.lang.String field,
Analyzer analyzer)
Constructs a query parser.
|
Constructor and Description |
---|
ComplexPhraseQueryParser(Version matchVersion,
java.lang.String f,
Analyzer a) |
Modifier and Type | Field and Description |
---|---|
static Version |
Version.LUCENE_20
Match settings and bugs in Lucene's 2.0 release.
|
static Version |
Version.LUCENE_21
Match settings and bugs in Lucene's 2.1 release.
|
static Version |
Version.LUCENE_22
Match settings and bugs in Lucene's 2.2 release.
|
static Version |
Version.LUCENE_23
Match settings and bugs in Lucene's 2.3 release.
|
static Version |
Version.LUCENE_24
Match settings and bugs in Lucene's 2.4 release.
|
static Version |
Version.LUCENE_29
Match settings and bugs in Lucene's 2.9 release.
|
static Version |
Version.LUCENE_CURRENT
Deprecated.
Use an actual version instead.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Version.onOrAfter(Version other) |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.