Package | Description |
---|---|
org.apache.lucene.analysis |
API and code to convert text into indexable/searchable tokens.
|
org.apache.lucene.analysis.standard |
A fast grammar-based tokenizer constructed with JFlex.
|
org.apache.lucene.queryParser |
A simple query parser implemented with JavaCC.
|
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 |
---|
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 . |
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.
|
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.