Uses of Class
org.apache.lucene.analysis.Analyzer
-
Packages that use Analyzer Package Description org.apache.lucene.analysis Text analysis.org.apache.lucene.analysis.standard Fast, general-purpose grammar-based tokenizerStandardTokenizer
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 aDocument
for indexing and searching.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.util Some utility classes. -
-
Uses of Analyzer in org.apache.lucene.analysis
Subclasses of Analyzer in org.apache.lucene.analysis Modifier and Type Class Description class
AnalyzerWrapper
Extension toAnalyzer
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.Methods in org.apache.lucene.analysis that return Analyzer Modifier and Type Method Description protected abstract Analyzer
AnalyzerWrapper. getWrappedAnalyzer(String fieldName)
Retrieves the wrapped Analyzer appropriate for analyzing the field with the given nameMethods in org.apache.lucene.analysis with parameters of type Analyzer Modifier and Type Method 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.Method parameters in org.apache.lucene.analysis with type arguments of type Analyzer Modifier and Type Method 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. -
Uses of Analyzer in org.apache.lucene.analysis.standard
Subclasses of Analyzer in org.apache.lucene.analysis.standard Modifier and Type Class Description class
StandardAnalyzer
FiltersStandardTokenizer
withLowerCaseFilter
andStopFilter
, using a configurable list of stop words. -
Uses of Analyzer in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type Analyzer Modifier and Type Method Description TokenStream
StoredFieldsWriter.MergeVisitor. tokenStream(Analyzer analyzer, TokenStream reuse)
-
Uses of Analyzer in org.apache.lucene.document
Methods in org.apache.lucene.document with parameters of type Analyzer Modifier and Type Method Description TokenStream
FeatureField. tokenStream(Analyzer analyzer, TokenStream reuse)
TokenStream
Field. tokenStream(Analyzer analyzer, TokenStream reuse)
-
Uses of Analyzer in org.apache.lucene.index
Methods in org.apache.lucene.index that return Analyzer Modifier and Type Method Description Analyzer
IndexWriter. getAnalyzer()
Returns the analyzer used by this index.Analyzer
IndexWriterConfig. getAnalyzer()
Analyzer
LiveIndexWriterConfig. getAnalyzer()
Returns the default analyzer to use for indexing documents.Methods in org.apache.lucene.index with parameters of type Analyzer Modifier and Type Method Description TokenStream
IndexableField. tokenStream(Analyzer analyzer, TokenStream reuse)
Creates the TokenStream used for indexing this field.Constructors in org.apache.lucene.index with parameters of type Analyzer Constructor Description IndexWriterConfig(Analyzer analyzer)
Creates a new config that with the providedAnalyzer
. -
Uses of Analyzer in org.apache.lucene.util
Fields in org.apache.lucene.util declared as Analyzer Modifier and Type Field Description protected Analyzer
QueryBuilder. analyzer
Methods in org.apache.lucene.util that return Analyzer Modifier and Type Method Description Analyzer
QueryBuilder. getAnalyzer()
Returns the analyzer.Methods in org.apache.lucene.util with parameters of type Analyzer Modifier and Type Method 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.Constructors in org.apache.lucene.util with parameters of type Analyzer Constructor Description QueryBuilder(Analyzer analyzer)
Creates a new QueryBuilder using the given analyzer.
-