Uses of Class
org.apache.lucene.analysis.Analyzer
Package
Description
Text analysis.
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.Codecs API: API for customization of the encoding and structure of the index.
The logical representation of a
Document
for indexing and
searching.Code to maintain and access indices.
Some utility classes.
-
Uses of Analyzer in org.apache.lucene.analysis
Modifier and TypeClassDescriptionclass
Extension toAnalyzer
suitable for Analyzers which wrap other Analyzers.class
An analyzer wrapper, that doesn't allow to wrap components or readers.class
Base class for Analyzers that need to make use of stopword sets.Modifier and TypeMethodDescriptionprotected abstract Analyzer
AnalyzerWrapper.getWrappedAnalyzer
(String fieldName) Retrieves the wrapped Analyzer appropriate for analyzing the field with the given nameModifier and TypeMethodDescriptionabstract Analyzer.TokenStreamComponents
Analyzer.ReuseStrategy.getReusableComponents
(Analyzer analyzer, String fieldName) Gets the reusable TokenStreamComponents for the field with the given name.protected final 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 final void
Analyzer.ReuseStrategy.setStoredValue
(Analyzer analyzer, Object storedValue) Sets the stored value.Modifier and TypeMethodDescriptionprotected static CharArraySet
StopwordAnalyzerBase.loadStopwordSet
(boolean ignoreCase, Class<? extends Analyzer> aClass, String resource, String comment) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Analyzer in org.apache.lucene.analysis.standard
Modifier and TypeClassDescriptionfinal class
FiltersStandardTokenizer
withLowerCaseFilter
andStopFilter
, using a configurable list of stop words. -
Uses of Analyzer in org.apache.lucene.codecs
Modifier and TypeMethodDescriptionStoredFieldsWriter.MergeVisitor.tokenStream
(Analyzer analyzer, TokenStream reuse) -
Uses of Analyzer in org.apache.lucene.document
Modifier and TypeMethodDescriptionFeatureField.tokenStream
(Analyzer analyzer, TokenStream reuse) Field.tokenStream
(Analyzer analyzer, TokenStream reuse) -
Uses of Analyzer in org.apache.lucene.index
Modifier and TypeMethodDescriptionIndexWriter.getAnalyzer()
Returns the analyzer used by this index.IndexWriterConfig.getAnalyzer()
LiveIndexWriterConfig.getAnalyzer()
Returns the default analyzer to use for indexing documents.Modifier and TypeMethodDescriptionIndexableField.tokenStream
(Analyzer analyzer, TokenStream reuse) Creates the TokenStream used for indexing this field.ModifierConstructorDescriptionIndexWriterConfig
(Analyzer analyzer) Creates a new config that with the providedAnalyzer
. -
Uses of Analyzer in org.apache.lucene.util
Modifier and TypeMethodDescriptionprotected 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.ModifierConstructorDescriptionQueryBuilder
(Analyzer analyzer) Creates a new QueryBuilder using the given analyzer.
Class.getResourceAsStream(String)
is caller sensitive and cannot load resources across Java Modules.