Uses of Class
org.apache.lucene.analysis.Analyzer
Packages that use 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.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
Subclasses of Analyzer in org.apache.lucene.analysisModifier and TypeClassDescriptionclassExtension toAnalyzersuitable for Analyzers which wrap other Analyzers.classAn analyzer wrapper, that doesn't allow to wrap components or readers.classBase class for Analyzers that need to make use of stopword sets.Methods in org.apache.lucene.analysis that return AnalyzerModifier and TypeMethodDescriptionprotected abstract AnalyzerAnalyzerWrapper.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 AnalyzerModifier and TypeMethodDescriptionabstract Analyzer.TokenStreamComponentsAnalyzer.ReuseStrategy.getReusableComponents(Analyzer analyzer, String fieldName) Gets the reusable TokenStreamComponents for the field with the given name.protected final ObjectAnalyzer.ReuseStrategy.getStoredValue(Analyzer analyzer) Returns the currently stored value.abstract voidAnalyzer.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 voidAnalyzer.ReuseStrategy.setStoredValue(Analyzer analyzer, Object storedValue) Sets the stored value. -
Uses of Analyzer in org.apache.lucene.analysis.standard
Subclasses of Analyzer in org.apache.lucene.analysis.standardModifier and TypeClassDescriptionfinal classFiltersStandardTokenizerwithLowerCaseFilterandStopFilter, using a configurable list of stop words. -
Uses of Analyzer in org.apache.lucene.document
Methods in org.apache.lucene.document with parameters of type AnalyzerModifier and TypeMethodDescriptionFeatureField.tokenStream(Analyzer analyzer, TokenStream reuse) Field.tokenStream(Analyzer analyzer, TokenStream reuse) ShapeDocValuesField.tokenStream(Analyzer analyzer, TokenStream reuse) TokenStreams are not yet supported -
Uses of Analyzer in org.apache.lucene.index
Methods in org.apache.lucene.index that return AnalyzerModifier and TypeMethodDescriptionIndexWriter.getAnalyzer()Returns the analyzer used by this index.IndexWriterConfig.getAnalyzer()LiveIndexWriterConfig.getAnalyzer()Returns the default analyzer to use for indexing documents.Methods in org.apache.lucene.index with parameters of type AnalyzerModifier and TypeMethodDescriptionIndexableField.tokenStream(Analyzer analyzer, TokenStream reuse) Creates the TokenStream used for indexing this field.Constructors in org.apache.lucene.index with parameters of type AnalyzerModifierConstructorDescriptionIndexWriterConfig(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 AnalyzerMethods in org.apache.lucene.util that return AnalyzerMethods in org.apache.lucene.util with parameters of type AnalyzerModifier and TypeMethodDescriptionprotected QueryQueryBuilder.createFieldQuery(Analyzer analyzer, BooleanClause.Occur operator, String field, String queryText, boolean quoted, int phraseSlop) Creates a query from the analysis chain.voidQueryBuilder.setAnalyzer(Analyzer analyzer) Sets the analyzer used to tokenize text.Constructors in org.apache.lucene.util with parameters of type AnalyzerModifierConstructorDescriptionQueryBuilder(Analyzer analyzer) Creates a new QueryBuilder using the given analyzer.