Package | Description |
---|---|
org.apache.lucene.analysis |
Text analysis.
|
org.apache.lucene.analysis.standard |
Fast, general-purpose grammar-based tokenizer
StandardTokenizer
implements the Word Break rules from the Unicode Text Segmentation algorithm, as specified in
Unicode Standard Annex #29. |
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
AnalyzerWrapper
Extension to
Analyzer suitable for Analyzers which wrap
other Analyzers. |
class |
DelegatingAnalyzerWrapper
An analyzer wrapper, that doesn't allow to wrap components or readers.
|
class |
StopwordAnalyzerBase
Base class for Analyzers that need to make use of stopword sets.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Analyzer |
AnalyzerWrapper.getWrappedAnalyzer(String fieldName)
Retrieves the wrapped Analyzer appropriate for analyzing the field with
the given name
|
Modifier and Type | Method and Description |
---|---|
abstract Analyzer.TokenStreamComponents |
Analyzer.ReuseStrategy.getReusableComponents(Analyzer analyzer,
String fieldName)
Gets the reusable TokenStreamComponents for the field with the given name.
|
protected Object |
Analyzer.ReuseStrategy.getStoredValue(Analyzer analyzer)
Returns the currently stored value.
|
abstract void |
Analyzer.ReuseStrategy.setReusableComponents(Analyzer analyzer,
String fieldName,
Analyzer.TokenStreamComponents components)
Stores the given TokenStreamComponents as the reusable components for the
field with the give name.
|
protected void |
Analyzer.ReuseStrategy.setStoredValue(Analyzer analyzer,
Object storedValue)
Sets the stored value.
|
Modifier and Type | Method and Description |
---|---|
protected static CharArraySet |
StopwordAnalyzerBase.loadStopwordSet(boolean ignoreCase,
Class<? extends Analyzer> aClass,
String resource,
String comment)
Creates a CharArraySet from a file resource associated with a class.
|
Modifier and Type | Class and Description |
---|---|
class |
StandardAnalyzer
Filters
StandardTokenizer with LowerCaseFilter and
StopFilter , using a configurable list of stop words. |
Modifier and Type | Method and Description |
---|---|
TokenStream |
StoredFieldsWriter.MergeVisitor.tokenStream(Analyzer analyzer,
TokenStream reuse) |
Modifier and Type | Method and Description |
---|---|
TokenStream |
Field.tokenStream(Analyzer analyzer,
TokenStream reuse) |
TokenStream |
FeatureField.tokenStream(Analyzer analyzer,
TokenStream reuse) |
Modifier and Type | Method and Description |
---|---|
Analyzer |
LiveIndexWriterConfig.getAnalyzer()
Returns the default analyzer to use for indexing documents.
|
Analyzer |
IndexWriterConfig.getAnalyzer() |
Analyzer |
IndexWriter.getAnalyzer()
Returns the analyzer used by this index.
|
Modifier and Type | Method and Description |
---|---|
TokenStream |
IndexableField.tokenStream(Analyzer analyzer,
TokenStream reuse)
Creates the TokenStream used for indexing this field.
|
Constructor and Description |
---|
IndexWriterConfig(Analyzer analyzer)
Creates a new config that with the provided
Analyzer . |
Modifier and Type | Field and Description |
---|---|
protected Analyzer |
QueryBuilder.analyzer |
Modifier and Type | Method and Description |
---|---|
Analyzer |
QueryBuilder.getAnalyzer()
Returns the analyzer.
|
Modifier and Type | Method and Description |
---|---|
protected Query |
QueryBuilder.createFieldQuery(Analyzer analyzer,
BooleanClause.Occur operator,
String field,
String queryText,
boolean quoted,
int phraseSlop)
Creates a query from the analysis chain.
|
void |
QueryBuilder.setAnalyzer(Analyzer analyzer)
Sets the analyzer used to tokenize text.
|
Constructor and Description |
---|
QueryBuilder(Analyzer analyzer)
Creates a new QueryBuilder using the given analyzer.
|
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.