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 tokenizerStandardTokenizerimplements the Word Break rules from the Unicode Text Segmentation algorithm, as specified in Unicode Standard Annex #29.org.apache.lucene.document The logical representation of aDocumentfor 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 classAnalyzerWrapperExtension toAnalyzersuitable for Analyzers which wrap other Analyzers.classDelegatingAnalyzerWrapperAn analyzer wrapper, that doesn't allow to wrap components or readers.classStopwordAnalyzerBaseBase 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 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 Analyzer Modifier and Type Method Description abstract Analyzer.TokenStreamComponentsAnalyzer.ReuseStrategy. getReusableComponents(Analyzer analyzer, String fieldName)Gets the reusable TokenStreamComponents for the field with the given name.protected 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 voidAnalyzer.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 CharArraySetStopwordAnalyzerBase. 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.Class.getResourceAsStream(String)is caller sensitive and cannot load resources across Java Modules. -
Uses of Analyzer in org.apache.lucene.analysis.standard
Subclasses of Analyzer in org.apache.lucene.analysis.standard Modifier and Type Class Description classStandardAnalyzerFiltersStandardTokenizerwithLowerCaseFilterandStopFilter, 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 Analyzer Modifier and Type Method Description TokenStreamFeatureField. tokenStream(Analyzer analyzer, TokenStream reuse)TokenStreamField. tokenStream(Analyzer analyzer, TokenStream reuse)TokenStreamShapeDocValuesField. 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 Analyzer Modifier and Type Method Description AnalyzerIndexWriter. getAnalyzer()Returns the analyzer used by this index.AnalyzerIndexWriterConfig. getAnalyzer()AnalyzerLiveIndexWriterConfig. 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 TokenStreamIndexableField. 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 AnalyzerQueryBuilder. analyzerMethods in org.apache.lucene.util that return Analyzer Modifier and Type Method Description AnalyzerQueryBuilder. getAnalyzer()Returns the analyzer.Methods in org.apache.lucene.util with parameters of type Analyzer Modifier and Type Method Description protected 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 Analyzer Constructor Description QueryBuilder(Analyzer analyzer)Creates a new QueryBuilder using the given analyzer.
-