Uses of Class
org.apache.lucene.analysis.Analyzer
Packages that use Analyzer
Package
Description
Text analysis.
Analyzer for Arabic.
Analyzer for Bulgarian.
Analyzer for Bengali Language.
Analyzer for Brazilian Portuguese.
Analyzer for Catalan.
Analyzer for Chinese, Japanese, and Korean, which indexes bigrams.
Analyzer for Sorani Kurdish.
Fast, general-purpose grammar-based tokenizers.
Analyzer for Simplified Chinese, which indexes words.
Basic, general-purpose analysis components.
A general-purpose Analyzer that can be created with a builder-style API.
Analyzer for Czech.
Analyzer for Danish.
Analyzer for German.
Analyzer for Greek.
Fast, general-purpose URLs and email addresses tokenizers.
Analyzer for English.
Analyzer for Spanish.
Analyzer for Estonian.
Analyzer for Basque.
Analyzer for Persian.
Analyzer for Finnish.
Analyzer for French.
Analyzer for Irish.
Analyzer for Galician.
Analyzer for Hindi.
Analyzer for Hungarian.
Analyzer for Armenian.
Analysis components based on ICU
Analyzer for Indonesian.
Analyzer for Italian.
Analyzer for Japanese.
Analyzer for Korean.
Analyzer for Lithuanian.
Analyzer for Latvian.
Miscellaneous Tokenstreams.
Analyzer for Nepali.
Analyzer for Dutch.
Analyzer for Norwegian.
Analyzer for Polish.
Analyzer for Portuguese.
Automatically filter high-frequency stopwords.
Analyzer for Romanian.
Analyzer for Russian.
Word n-gram filters.
Analyzer for Serbian.
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.Analyzer for Swedish.
Analysis components for Synonyms.
Analyzer for Tamil.
Analyzer for Telugu Language.
Analyzer for Thai.
Analyzer for Turkish.
Uses already seen data (the indexed documents) to classify an input ( can be simple text or a
structured document).
Uses already seen data (the indexed documents) to classify new documents.
Utilities for evaluation, data preparation, etc.
Codecs API: API for customization of the encoding and structure of the index.
Unicode collation support.
The logical representation of a
Document
for indexing and
searching.Code to maintain and access indices.
High-performance single-document main memory Apache Lucene fulltext search index.
Misc extensions of the Document/Field API.
Monitoring framework
Intervals queries
Document similarity query generators.
A simple query parser implemented with JavaCC.
QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*"
Extendable QueryParser provides a simple and flexible extension mechanism by overloading query
field names.
Precedence Query Parser Implementation
Lucene Flexible Query Parser Implementation
Standard Lucene Query Configuration.
Standard Lucene Query Nodes.
This package contains classes that implement interval function support for the standard syntax
parser.
Lucene Query Node Processors.
A simple query parser for human-entered queries.
Parser that produces Lucene Query objects from XML streams.
XML Parser factories for different Lucene Query/Filters.
Additional queries (some may have caveats or limitations)
Highlighting search terms.
This package contains several components useful to build a highlighter on top of the
Matches
API.Analyzer based autosuggest.
Support for document suggestion
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term
vectors, or analysis.
Some utility classes.
-
Uses of Analyzer in org.apache.lucene.analysis
Subclasses of Analyzer in org.apache.lucene.analysisModifier 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.Methods in org.apache.lucene.analysis that return AnalyzerModifier and TypeMethodDescriptionprotected 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 AnalyzerModifier and TypeMethodDescriptionabstract Analyzer.TokenStreamComponents
Analyzer.ReuseStrategy.getReusableComponents
(Analyzer analyzer, String fieldName) Gets the reusable TokenStreamComponents for the field with the given name.DelegatingAnalyzerWrapper.DelegatingReuseStrategy.getReusableComponents
(Analyzer analyzer, String fieldName) 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.void
DelegatingAnalyzerWrapper.DelegatingReuseStrategy.setReusableComponents
(Analyzer analyzer, String fieldName, Analyzer.TokenStreamComponents components) protected final void
Analyzer.ReuseStrategy.setStoredValue
(Analyzer analyzer, Object storedValue) Sets the stored value.Method parameters in org.apache.lucene.analysis with type arguments of type AnalyzerModifier 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.ar
Subclasses of Analyzer in org.apache.lucene.analysis.ar -
Uses of Analyzer in org.apache.lucene.analysis.bg
Subclasses of Analyzer in org.apache.lucene.analysis.bg -
Uses of Analyzer in org.apache.lucene.analysis.bn
Subclasses of Analyzer in org.apache.lucene.analysis.bn -
Uses of Analyzer in org.apache.lucene.analysis.br
Subclasses of Analyzer in org.apache.lucene.analysis.br -
Uses of Analyzer in org.apache.lucene.analysis.ca
Subclasses of Analyzer in org.apache.lucene.analysis.ca -
Uses of Analyzer in org.apache.lucene.analysis.cjk
Subclasses of Analyzer in org.apache.lucene.analysis.cjkModifier and TypeClassDescriptionfinal class
AnAnalyzer
that tokenizes text withStandardTokenizer
, normalizes content withCJKWidthFilter
, folds case withLowerCaseFilter
, forms bigrams of CJK withCJKBigramFilter
, and filters stopwords withStopFilter
-
Uses of Analyzer in org.apache.lucene.analysis.ckb
Subclasses of Analyzer in org.apache.lucene.analysis.ckb -
Uses of Analyzer in org.apache.lucene.analysis.classic
Subclasses of Analyzer in org.apache.lucene.analysis.classicModifier and TypeClassDescriptionfinal class
FiltersClassicTokenizer
withClassicFilter
,LowerCaseFilter
andStopFilter
, using a list of English stop words. -
Uses of Analyzer in org.apache.lucene.analysis.cn.smart
Subclasses of Analyzer in org.apache.lucene.analysis.cn.smartModifier and TypeClassDescriptionfinal class
SmartChineseAnalyzer is an analyzer for Chinese or mixed Chinese-English text. -
Uses of Analyzer in org.apache.lucene.analysis.core
Subclasses of Analyzer in org.apache.lucene.analysis.coreModifier and TypeClassDescriptionfinal class
"Tokenizes" the entire stream as a single token.final class
final class
final class
An Analyzer that usesUnicodeWhitespaceTokenizer
.final class
An Analyzer that usesWhitespaceTokenizer
. -
Uses of Analyzer in org.apache.lucene.analysis.custom
Subclasses of Analyzer in org.apache.lucene.analysis.customModifier and TypeClassDescriptionfinal class
A general-purpose Analyzer that can be created with a builder-style API. -
Uses of Analyzer in org.apache.lucene.analysis.cz
Subclasses of Analyzer in org.apache.lucene.analysis.cz -
Uses of Analyzer in org.apache.lucene.analysis.da
Subclasses of Analyzer in org.apache.lucene.analysis.da -
Uses of Analyzer in org.apache.lucene.analysis.de
Subclasses of Analyzer in org.apache.lucene.analysis.de -
Uses of Analyzer in org.apache.lucene.analysis.el
Subclasses of Analyzer in org.apache.lucene.analysis.el -
Uses of Analyzer in org.apache.lucene.analysis.email
Subclasses of Analyzer in org.apache.lucene.analysis.emailModifier and TypeClassDescriptionfinal class
FiltersUAX29URLEmailTokenizer
withLowerCaseFilter
andStopFilter
, using a list of English stop words. -
Uses of Analyzer in org.apache.lucene.analysis.en
Subclasses of Analyzer in org.apache.lucene.analysis.en -
Uses of Analyzer in org.apache.lucene.analysis.es
Subclasses of Analyzer in org.apache.lucene.analysis.es -
Uses of Analyzer in org.apache.lucene.analysis.et
Subclasses of Analyzer in org.apache.lucene.analysis.et -
Uses of Analyzer in org.apache.lucene.analysis.eu
Subclasses of Analyzer in org.apache.lucene.analysis.eu -
Uses of Analyzer in org.apache.lucene.analysis.fa
Subclasses of Analyzer in org.apache.lucene.analysis.fa -
Uses of Analyzer in org.apache.lucene.analysis.fi
Subclasses of Analyzer in org.apache.lucene.analysis.fi -
Uses of Analyzer in org.apache.lucene.analysis.fr
Subclasses of Analyzer in org.apache.lucene.analysis.fr -
Uses of Analyzer in org.apache.lucene.analysis.ga
Subclasses of Analyzer in org.apache.lucene.analysis.ga -
Uses of Analyzer in org.apache.lucene.analysis.gl
Subclasses of Analyzer in org.apache.lucene.analysis.gl -
Uses of Analyzer in org.apache.lucene.analysis.hi
Subclasses of Analyzer in org.apache.lucene.analysis.hi -
Uses of Analyzer in org.apache.lucene.analysis.hu
Subclasses of Analyzer in org.apache.lucene.analysis.hu -
Uses of Analyzer in org.apache.lucene.analysis.hy
Subclasses of Analyzer in org.apache.lucene.analysis.hy -
Uses of Analyzer in org.apache.lucene.analysis.icu
Subclasses of Analyzer in org.apache.lucene.analysis.icuModifier and TypeClassDescriptionfinal class
ConfiguresKeywordTokenizer
withICUCollationAttributeFactory
. -
Uses of Analyzer in org.apache.lucene.analysis.id
Subclasses of Analyzer in org.apache.lucene.analysis.id -
Uses of Analyzer in org.apache.lucene.analysis.it
Subclasses of Analyzer in org.apache.lucene.analysis.it -
Uses of Analyzer in org.apache.lucene.analysis.ja
Subclasses of Analyzer in org.apache.lucene.analysis.jaModifier and TypeClassDescriptionclass
Analyzer for Japanese that uses morphological analysis.class
Analyzer for Japanese completion suggester. -
Uses of Analyzer in org.apache.lucene.analysis.ko
Subclasses of Analyzer in org.apache.lucene.analysis.koModifier and TypeClassDescriptionclass
Analyzer for Korean that uses morphological analysis. -
Uses of Analyzer in org.apache.lucene.analysis.lt
Subclasses of Analyzer in org.apache.lucene.analysis.lt -
Uses of Analyzer in org.apache.lucene.analysis.lv
Subclasses of Analyzer in org.apache.lucene.analysis.lv -
Uses of Analyzer in org.apache.lucene.analysis.miscellaneous
Subclasses of Analyzer in org.apache.lucene.analysis.miscellaneousModifier and TypeClassDescriptionfinal class
This Analyzer limits the number of tokens while indexing.final class
This analyzer is used to facilitate scenarios where different fields require different analysis techniques.Fields in org.apache.lucene.analysis.miscellaneous declared as AnalyzerModifier and TypeFieldDescriptionprivate final Analyzer
PerFieldAnalyzerWrapper.defaultAnalyzer
private final Analyzer
LimitTokenCountAnalyzer.delegate
Fields in org.apache.lucene.analysis.miscellaneous with type parameters of type AnalyzerMethods in org.apache.lucene.analysis.miscellaneous that return AnalyzerModifier and TypeMethodDescriptionprotected Analyzer
LimitTokenCountAnalyzer.getWrappedAnalyzer
(String fieldName) protected Analyzer
PerFieldAnalyzerWrapper.getWrappedAnalyzer
(String fieldName) Constructors in org.apache.lucene.analysis.miscellaneous with parameters of type AnalyzerModifierConstructorDescriptionLimitTokenCountAnalyzer
(Analyzer delegate, int maxTokenCount) Build an analyzer that limits the maximum number of tokens per field.LimitTokenCountAnalyzer
(Analyzer delegate, int maxTokenCount, boolean consumeAllTokens) Build an analyzer that limits the maximum number of tokens per field.PerFieldAnalyzerWrapper
(Analyzer defaultAnalyzer) Constructs with default analyzer.PerFieldAnalyzerWrapper
(Analyzer defaultAnalyzer, Map<String, Analyzer> fieldAnalyzers) Constructs with default analyzer and a map of analyzers to use for specific fields.Constructor parameters in org.apache.lucene.analysis.miscellaneous with type arguments of type AnalyzerModifierConstructorDescriptionPerFieldAnalyzerWrapper
(Analyzer defaultAnalyzer, Map<String, Analyzer> fieldAnalyzers) Constructs with default analyzer and a map of analyzers to use for specific fields. -
Uses of Analyzer in org.apache.lucene.analysis.ne
Subclasses of Analyzer in org.apache.lucene.analysis.ne -
Uses of Analyzer in org.apache.lucene.analysis.nl
Subclasses of Analyzer in org.apache.lucene.analysis.nl -
Uses of Analyzer in org.apache.lucene.analysis.no
Subclasses of Analyzer in org.apache.lucene.analysis.no -
Uses of Analyzer in org.apache.lucene.analysis.pl
Subclasses of Analyzer in org.apache.lucene.analysis.pl -
Uses of Analyzer in org.apache.lucene.analysis.pt
Subclasses of Analyzer in org.apache.lucene.analysis.pt -
Uses of Analyzer in org.apache.lucene.analysis.query
Subclasses of Analyzer in org.apache.lucene.analysis.queryModifier and TypeClassDescriptionfinal class
AnAnalyzer
used primarily at query time to wrap another analyzer and provide a layer of protection which prevents very common words from being passed into queries.Fields in org.apache.lucene.analysis.query declared as AnalyzerMethods in org.apache.lucene.analysis.query that return AnalyzerModifier and TypeMethodDescriptionprotected Analyzer
QueryAutoStopWordAnalyzer.getWrappedAnalyzer
(String fieldName) Constructors in org.apache.lucene.analysis.query with parameters of type AnalyzerModifierConstructorDescriptionQueryAutoStopWordAnalyzer
(Analyzer delegate, IndexReader indexReader) Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for all indexed fields from terms with a document frequency percentage greater thanQueryAutoStopWordAnalyzer.defaultMaxDocFreqPercent
QueryAutoStopWordAnalyzer
(Analyzer delegate, IndexReader indexReader, float maxPercentDocs) Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for all indexed fields from terms with a document frequency percentage greater than the given maxPercentDocsQueryAutoStopWordAnalyzer
(Analyzer delegate, IndexReader indexReader, int maxDocFreq) Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for all indexed fields from terms with a document frequency greater than the given maxDocFreqQueryAutoStopWordAnalyzer
(Analyzer delegate, IndexReader indexReader, Collection<String> fields, float maxPercentDocs) Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for the given selection of fields from terms with a document frequency percentage greater than the given maxPercentDocsQueryAutoStopWordAnalyzer
(Analyzer delegate, IndexReader indexReader, Collection<String> fields, int maxDocFreq) Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for the given selection of fields from terms with a document frequency greater than the given maxDocFreq -
Uses of Analyzer in org.apache.lucene.analysis.ro
Subclasses of Analyzer in org.apache.lucene.analysis.ro -
Uses of Analyzer in org.apache.lucene.analysis.ru
Subclasses of Analyzer in org.apache.lucene.analysis.ru -
Uses of Analyzer in org.apache.lucene.analysis.shingle
Subclasses of Analyzer in org.apache.lucene.analysis.shingleModifier and TypeClassDescriptionfinal class
A ShingleAnalyzerWrapper wraps aShingleFilter
around anotherAnalyzer
.Fields in org.apache.lucene.analysis.shingle declared as AnalyzerMethods in org.apache.lucene.analysis.shingle that return AnalyzerModifier and TypeMethodDescriptionfinal Analyzer
ShingleAnalyzerWrapper.getWrappedAnalyzer
(String fieldName) Constructors in org.apache.lucene.analysis.shingle with parameters of type AnalyzerModifierConstructorDescriptionShingleAnalyzerWrapper
(Analyzer defaultAnalyzer) ShingleAnalyzerWrapper
(Analyzer defaultAnalyzer, int maxShingleSize) ShingleAnalyzerWrapper
(Analyzer defaultAnalyzer, int minShingleSize, int maxShingleSize) ShingleAnalyzerWrapper
(Analyzer delegate, int minShingleSize, int maxShingleSize, String tokenSeparator, boolean outputUnigrams, boolean outputUnigramsIfNoShingles, String fillerToken) Creates a new ShingleAnalyzerWrapper -
Uses of Analyzer in org.apache.lucene.analysis.sr
Subclasses of Analyzer in org.apache.lucene.analysis.sr -
Uses of Analyzer in org.apache.lucene.analysis.standard
Subclasses of Analyzer in org.apache.lucene.analysis.standardModifier and TypeClassDescriptionfinal class
FiltersStandardTokenizer
withLowerCaseFilter
andStopFilter
, using a configurable list of stop words. -
Uses of Analyzer in org.apache.lucene.analysis.sv
Subclasses of Analyzer in org.apache.lucene.analysis.sv -
Uses of Analyzer in org.apache.lucene.analysis.synonym
Fields in org.apache.lucene.analysis.synonym declared as AnalyzerMethods in org.apache.lucene.analysis.synonym that return AnalyzerModifier and TypeMethodDescriptionprivate Analyzer
SynonymFilterFactory.loadAnalyzer
(ResourceLoader loader, String cname) Deprecated.private Analyzer
SynonymGraphFilterFactory.loadAnalyzer
(ResourceLoader loader, String cname) Methods in org.apache.lucene.analysis.synonym with parameters of type AnalyzerModifier and TypeMethodDescriptionprotected SynonymMap
SynonymFilterFactory.loadSynonyms
(ResourceLoader loader, String cname, boolean dedup, Analyzer analyzer) Deprecated.Load synonyms with the givenSynonymMap.Parser
class.protected SynonymMap
SynonymGraphFilterFactory.loadSynonyms
(ResourceLoader loader, String cname, boolean dedup, Analyzer analyzer) Load synonyms with the givenSynonymMap.Parser
class.Constructors in org.apache.lucene.analysis.synonym with parameters of type AnalyzerModifierConstructorDescriptionSolrSynonymParser
(boolean dedup, boolean expand, Analyzer analyzer) WordnetSynonymParser
(boolean dedup, boolean expand, Analyzer analyzer) -
Uses of Analyzer in org.apache.lucene.analysis.ta
Subclasses of Analyzer in org.apache.lucene.analysis.ta -
Uses of Analyzer in org.apache.lucene.analysis.te
Subclasses of Analyzer in org.apache.lucene.analysis.te -
Uses of Analyzer in org.apache.lucene.analysis.th
Subclasses of Analyzer in org.apache.lucene.analysis.th -
Uses of Analyzer in org.apache.lucene.analysis.tr
Subclasses of Analyzer in org.apache.lucene.analysis.tr -
Uses of Analyzer in org.apache.lucene.classification
Fields in org.apache.lucene.classification declared as AnalyzerModifier and TypeFieldDescriptionprivate final Analyzer
BM25NBClassifier.analyzer
Analyzer
to be used for tokenizing unseen input textprivate final Analyzer
BooleanPerceptronClassifier.analyzer
private final Analyzer
KNearestFuzzyClassifier.analyzer
protected final Analyzer
SimpleNaiveBayesClassifier.analyzer
Analyzer
to be used for tokenizing unseen input textConstructors in org.apache.lucene.classification with parameters of type AnalyzerModifierConstructorDescriptionBM25NBClassifier
(IndexReader indexReader, Analyzer analyzer, Query query, String classFieldName, String... textFieldNames) Creates a new NaiveBayes classifier.BooleanPerceptronClassifier
(IndexReader indexReader, Analyzer analyzer, Query query, Integer batchSize, Double bias, String classFieldName, String textFieldName) Creates aBooleanPerceptronClassifier
CachingNaiveBayesClassifier
(IndexReader indexReader, Analyzer analyzer, Query query, String classFieldName, String... textFieldNames) Creates a new NaiveBayes classifier with inside caching.KNearestFuzzyClassifier
(IndexReader indexReader, Similarity similarity, Analyzer analyzer, Query query, int k, String classFieldName, String... textFieldNames) Creates aKNearestFuzzyClassifier
.KNearestNeighborClassifier
(IndexReader indexReader, Similarity similarity, Analyzer analyzer, Query query, int k, int minDocsFreq, int minTermFreq, String classFieldName, String... textFieldNames) Creates aKNearestNeighborClassifier
.SimpleNaiveBayesClassifier
(IndexReader indexReader, Analyzer analyzer, Query query, String classFieldName, String... textFieldNames) Creates a new NaiveBayes classifier. -
Uses of Analyzer in org.apache.lucene.classification.document
Fields in org.apache.lucene.classification.document with type parameters of type AnalyzerModifier and TypeFieldDescriptionKNearestNeighborDocumentClassifier.field2analyzer
map of per field analyzersSimpleNaiveBayesDocumentClassifier.field2analyzer
Analyzer
to be used for tokenizing document fieldsConstructor parameters in org.apache.lucene.classification.document with type arguments of type AnalyzerModifierConstructorDescriptionKNearestNeighborDocumentClassifier
(IndexReader indexReader, Similarity similarity, Query query, int k, int minDocsFreq, int minTermFreq, String classFieldName, Map<String, Analyzer> field2analyzer, String... textFieldNames) Creates aKNearestNeighborClassifier
.SimpleNaiveBayesDocumentClassifier
(IndexReader indexReader, Query query, String classFieldName, Map<String, Analyzer> field2analyzer, String... textFieldNames) Creates a new NaiveBayes classifier. -
Uses of Analyzer in org.apache.lucene.classification.utils
Fields in org.apache.lucene.classification.utils declared as AnalyzerMethods in org.apache.lucene.classification.utils with parameters of type AnalyzerModifier and TypeMethodDescriptionvoid
DatasetSplitter.split
(IndexReader originalIndex, Directory trainingIndex, Directory testIndex, Directory crossValidationIndex, Analyzer analyzer, boolean termVectors, String classFieldName, String... fieldNames) Split a given index into 3 indexes for training, test and cross validation tasks respectivelyConstructors in org.apache.lucene.classification.utils with parameters of type Analyzer -
Uses of Analyzer in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type AnalyzerModifier and TypeMethodDescriptionStoredFieldsWriter.MergeVisitor.tokenStream
(Analyzer analyzer, TokenStream reuse) -
Uses of Analyzer in org.apache.lucene.collation
Subclasses of Analyzer in org.apache.lucene.collationModifier and TypeClassDescriptionfinal class
ConfiguresKeywordTokenizer
withCollationAttributeFactory
. -
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) -
Uses of Analyzer in org.apache.lucene.index
Fields in org.apache.lucene.index declared as AnalyzerModifier and TypeFieldDescriptionprivate final Analyzer
IndexingChain.PerField.analyzer
private final Analyzer
LiveIndexWriterConfig.analyzer
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.SortingStoredFieldsConsumer.CopyVisitor.tokenStream
(Analyzer analyzer, TokenStream reuse) Constructors in org.apache.lucene.index with parameters of type AnalyzerModifierConstructorDescriptionIndexWriterConfig
(Analyzer analyzer) Creates a new config that with the providedAnalyzer
.(package private)
LiveIndexWriterConfig
(Analyzer analyzer) (package private)
PerField
(String fieldName, int indexCreatedVersionMajor, IndexingChain.FieldSchema schema, Similarity similarity, InfoStream infoStream, Analyzer analyzer) -
Uses of Analyzer in org.apache.lucene.index.memory
Methods in org.apache.lucene.index.memory with parameters of type AnalyzerModifier and TypeMethodDescriptionvoid
Convenience method; Tokenizes the given field text and adds the resulting terms to the index; Equivalent to adding an indexed non-keyword LuceneField
that is tokenized, not stored, termVectorStored with positions (or termVectorStored with positions and offsets),void
MemoryIndex.addField
(IndexableField field, Analyzer analyzer) Adds a luceneIndexableField
to the MemoryIndex using the provided analyzer.static MemoryIndex
MemoryIndex.fromDocument
(Iterable<? extends IndexableField> document, Analyzer analyzer) Builds a MemoryIndex from a luceneDocument
using an analyzerstatic MemoryIndex
MemoryIndex.fromDocument
(Iterable<? extends IndexableField> document, Analyzer analyzer, boolean storeOffsets, boolean storePayloads) Builds a MemoryIndex from a luceneDocument
using an analyzerstatic MemoryIndex
MemoryIndex.fromDocument
(Iterable<? extends IndexableField> document, Analyzer analyzer, boolean storeOffsets, boolean storePayloads, long maxReusedBytes) Builds a MemoryIndex from a luceneDocument
using an analyzer -
Uses of Analyzer in org.apache.lucene.misc.document
Methods in org.apache.lucene.misc.document with parameters of type AnalyzerModifier and TypeMethodDescriptionLazyDocument.LazyField.tokenStream
(Analyzer analyzer, TokenStream reuse) -
Uses of Analyzer in org.apache.lucene.monitor
Fields in org.apache.lucene.monitor declared as AnalyzerMethods in org.apache.lucene.monitor with parameters of type AnalyzerModifier and TypeMethodDescriptionstatic DocumentBatch
Create a DocumentBatch containing a single InputDocumentstatic DocumentBatch
Create a DocumentBatch containing a set of InputDocumentsConstructors in org.apache.lucene.monitor with parameters of type AnalyzerModifierConstructorDescriptionCreate a non-persistent Monitor instance with the default term-filtering PresearcherMonitor
(Analyzer analyzer, MonitorConfiguration config) Create a new Monitor instance with a specific configurationMonitor
(Analyzer analyzer, Presearcher presearcher) Create a new non-persistent Monitor instanceMonitor
(Analyzer analyzer, Presearcher presearcher, MonitorConfiguration configuration) Create a new Monitor instance(package private)
MultiDocumentBatch
(Analyzer analyzer, Document... docs) private
SingletonDocumentBatch
(Analyzer analyzer, Document doc) -
Uses of Analyzer in org.apache.lucene.queries.intervals
Methods in org.apache.lucene.queries.intervals with parameters of type AnalyzerModifier and TypeMethodDescriptionstatic IntervalsSource
Intervals.analyzedText
(String text, Analyzer analyzer, String field, int maxGaps, boolean ordered) Returns intervals that correspond to tokens from aTokenStream
returned fortext
by applying the providedAnalyzer
as iftext
was the content of the givenfield
. -
Uses of Analyzer in org.apache.lucene.queries.mlt
Fields in org.apache.lucene.queries.mlt declared as AnalyzerModifier and TypeFieldDescriptionprivate Analyzer
MoreLikeThis.analyzer
Analyzer that will be used to parse the doc.private Analyzer
MoreLikeThisQuery.analyzer
Methods in org.apache.lucene.queries.mlt that return AnalyzerModifier and TypeMethodDescriptionMoreLikeThis.getAnalyzer()
Returns an analyzer that will be used to parse source doc with.MoreLikeThisQuery.getAnalyzer()
Methods in org.apache.lucene.queries.mlt with parameters of type AnalyzerModifier and TypeMethodDescriptionvoid
MoreLikeThis.setAnalyzer
(Analyzer analyzer) Sets the analyzer to use.void
MoreLikeThisQuery.setAnalyzer
(Analyzer analyzer) Constructors in org.apache.lucene.queries.mlt with parameters of type AnalyzerModifierConstructorDescriptionMoreLikeThisQuery
(String likeText, String[] moreLikeFields, Analyzer analyzer, String fieldName) -
Uses of Analyzer in org.apache.lucene.queryparser.classic
Methods in org.apache.lucene.queryparser.classic with parameters of type AnalyzerModifier and TypeMethodDescriptionvoid
Initializes a query parser.protected Query
QueryParserBase.newFieldQuery
(Analyzer analyzer, String field, String queryText, boolean quoted) static Query
Parses a query which searches on the fields specified.static Query
MultiFieldQueryParser.parse
(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer) Parses a query, searching on the fields specified.static Query
MultiFieldQueryParser.parse
(String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer) Parses a query, searching on the fields specified.Constructors in org.apache.lucene.queryparser.classic with parameters of type AnalyzerModifierConstructorDescriptionMultiFieldQueryParser
(String[] fields, Analyzer analyzer) Creates a MultiFieldQueryParser.Creates a MultiFieldQueryParser.QueryParser
(String f, Analyzer a) Create a query parser. -
Uses of Analyzer in org.apache.lucene.queryparser.complexPhrase
Constructors in org.apache.lucene.queryparser.complexPhrase with parameters of type Analyzer -
Uses of Analyzer in org.apache.lucene.queryparser.ext
Constructors in org.apache.lucene.queryparser.ext with parameters of type AnalyzerModifierConstructorDescriptionCreates a newExtendableQueryParser
instanceExtendableQueryParser
(String f, Analyzer a, Extensions ext) Creates a newExtendableQueryParser
instance -
Uses of Analyzer in org.apache.lucene.queryparser.flexible.precedence
Constructors in org.apache.lucene.queryparser.flexible.precedence with parameters of type Analyzer -
Uses of Analyzer in org.apache.lucene.queryparser.flexible.standard
Methods in org.apache.lucene.queryparser.flexible.standard that return AnalyzerModifier and TypeMethodDescriptionCommonQueryParserConfiguration.getAnalyzer()
StandardQueryParser.getAnalyzer()
Methods in org.apache.lucene.queryparser.flexible.standard with parameters of type AnalyzerModifier and TypeMethodDescriptionstatic Query
Parses a query which searches on the fields specified.static Query
QueryParserUtil.parse
(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer) Parses a query, searching on the fields specified.static Query
QueryParserUtil.parse
(String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer) Parses a query, searching on the fields specified.void
StandardQueryParser.setAnalyzer
(Analyzer analyzer) Constructors in org.apache.lucene.queryparser.flexible.standard with parameters of type AnalyzerModifierConstructorDescriptionStandardQueryParser
(Analyzer analyzer) Constructs aStandardQueryParser
object and sets anAnalyzer
to it. -
Uses of Analyzer in org.apache.lucene.queryparser.flexible.standard.config
Fields in org.apache.lucene.queryparser.flexible.standard.config with type parameters of type AnalyzerModifier and TypeFieldDescriptionstatic final ConfigurationKey<Analyzer>
StandardQueryConfigHandler.ConfigurationKeys.ANALYZER
Key used to set theAnalyzer
used for terms found in the query -
Uses of Analyzer in org.apache.lucene.queryparser.flexible.standard.nodes
Fields in org.apache.lucene.queryparser.flexible.standard.nodes declared as AnalyzerMethods in org.apache.lucene.queryparser.flexible.standard.nodes with parameters of type Analyzer -
Uses of Analyzer in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
Methods in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn with parameters of type AnalyzerModifier and TypeMethodDescriptionAfter.toIntervalSource
(String field, Analyzer analyzer) AnalyzedText.toIntervalSource
(String field, Analyzer analyzer) AtLeast.toIntervalSource
(String field, Analyzer analyzer) Before.toIntervalSource
(String field, Analyzer analyzer) ContainedBy.toIntervalSource
(String field, Analyzer analyzer) Containing.toIntervalSource
(String field, Analyzer analyzer) Extend.toIntervalSource
(String field, Analyzer analyzer) FuzzyTerm.toIntervalSource
(String field, Analyzer analyzer) abstract IntervalsSource
IntervalFunction.toIntervalSource
(String field, Analyzer analyzer) MaxGaps.toIntervalSource
(String field, Analyzer analyzer) MaxWidth.toIntervalSource
(String field, Analyzer analyzer) NonOverlapping.toIntervalSource
(String field, Analyzer analyzer) NotContainedBy.toIntervalSource
(String field, Analyzer analyzer) NotContaining.toIntervalSource
(String field, Analyzer analyzer) NotWithin.toIntervalSource
(String field, Analyzer analyzer) Or.toIntervalSource
(String field, Analyzer analyzer) Ordered.toIntervalSource
(String field, Analyzer analyzer) Overlapping.toIntervalSource
(String field, Analyzer analyzer) Phrase.toIntervalSource
(String field, Analyzer analyzer) Unordered.toIntervalSource
(String field, Analyzer analyzer) UnorderedNoOverlaps.toIntervalSource
(String field, Analyzer analyzer) Wildcard.toIntervalSource
(String field, Analyzer analyzer) Within.toIntervalSource
(String field, Analyzer analyzer) -
Uses of Analyzer in org.apache.lucene.queryparser.flexible.standard.processors
Fields in org.apache.lucene.queryparser.flexible.standard.processors declared as AnalyzerModifier and TypeFieldDescriptionprivate Analyzer
AnalyzerQueryNodeProcessor.analyzer
private Analyzer
IntervalQueryNodeProcessor.analyzer
Methods in org.apache.lucene.queryparser.flexible.standard.processors with parameters of type AnalyzerModifier and TypeMethodDescriptionprivate static String
WildcardQueryNodeProcessor.analyzeWildcard
(Analyzer a, String field, String wildcard) -
Uses of Analyzer in org.apache.lucene.queryparser.simple
Constructors in org.apache.lucene.queryparser.simple with parameters of type AnalyzerModifierConstructorDescriptionSimpleQueryParser
(Analyzer analyzer, String field) Creates a new parser searching over a single field.SimpleQueryParser
(Analyzer analyzer, Map<String, Float> weights) Creates a new parser searching over multiple fields with different weights.SimpleQueryParser
(Analyzer analyzer, Map<String, Float> weights, int flags) Creates a new parser with custom flags used to enable/disable certain features. -
Uses of Analyzer in org.apache.lucene.queryparser.xml
Fields in org.apache.lucene.queryparser.xml declared as AnalyzerConstructors in org.apache.lucene.queryparser.xml with parameters of type AnalyzerModifierConstructorDescriptionCoreParser
(String defaultField, Analyzer analyzer) Constructs an XML parser that creates a QueryParser for each UserQuery request.protected
CoreParser
(String defaultField, Analyzer analyzer, QueryParser parser) CoreParser
(Analyzer analyzer, QueryParser parser) Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronised on this parserCorePlusExtensionsParser
(String defaultField, Analyzer analyzer) Constructs an XML parser that creates a QueryParser for each UserQuery request.private
CorePlusExtensionsParser
(String defaultField, Analyzer analyzer, QueryParser parser) CorePlusExtensionsParser
(Analyzer analyzer, QueryParser parser) Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronized on this parserCorePlusQueriesParser
(String defaultField, Analyzer analyzer) Constructs an XML parser that creates a QueryParser for each UserQuery request.protected
CorePlusQueriesParser
(String defaultField, Analyzer analyzer, QueryParser parser) CorePlusQueriesParser
(Analyzer analyzer, QueryParser parser) Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronized on this parser -
Uses of Analyzer in org.apache.lucene.queryparser.xml.builders
Fields in org.apache.lucene.queryparser.xml.builders declared as AnalyzerModifier and TypeFieldDescriptionprivate final Analyzer
FuzzyLikeThisQueryBuilder.analyzer
private final Analyzer
LikeThisQueryBuilder.analyzer
private final Analyzer
SpanOrTermsBuilder.analyzer
private final Analyzer
TermsQueryBuilder.analyzer
private Analyzer
UserInputQueryBuilder.analyzer
Methods in org.apache.lucene.queryparser.xml.builders with parameters of type AnalyzerModifier and TypeMethodDescriptionprotected QueryParser
UserInputQueryBuilder.createQueryParser
(String fieldName, Analyzer analyzer) Method to create a QueryParser - designed to be overriddenConstructors in org.apache.lucene.queryparser.xml.builders with parameters of type AnalyzerModifierConstructorDescriptionFuzzyLikeThisQueryBuilder
(Analyzer analyzer) LikeThisQueryBuilder
(Analyzer analyzer, String[] defaultFieldNames) SpanOrTermsBuilder
(Analyzer analyzer) TermsQueryBuilder
(Analyzer analyzer) UserInputQueryBuilder
(String defaultField, Analyzer analyzer) -
Uses of Analyzer in org.apache.lucene.sandbox.queries
Fields in org.apache.lucene.sandbox.queries declared as AnalyzerConstructors in org.apache.lucene.sandbox.queries with parameters of type Analyzer -
Uses of Analyzer in org.apache.lucene.search.highlight
Methods in org.apache.lucene.search.highlight with parameters of type AnalyzerModifier and TypeMethodDescriptionstatic TokenStream
TokenSources.getAnyTokenStream
(IndexReader reader, int docId, String field, Analyzer analyzer) Deprecated.static TokenStream
TokenSources.getAnyTokenStream
(IndexReader reader, int docId, String field, Document document, Analyzer analyzer) Deprecated.final String
Highlighter.getBestFragment
(Analyzer analyzer, String fieldName, String text) Highlights chosen terms in a text, extracting the most relevant section.final String[]
Highlighter.getBestFragments
(Analyzer analyzer, String fieldName, String text, int maxNumFragments) Highlights chosen terms in a text, extracting the most relevant sections.static TokenStream
TokenSources.getTokenStream
(String field, String contents, Analyzer analyzer) Deprecated.static TokenStream
TokenSources.getTokenStream
(String field, Fields tvFields, String text, Analyzer analyzer, int maxStartOffset) Get a token stream from either un-inverting a term vector if possible, or by analyzing the text.static TokenStream
TokenSources.getTokenStream
(Document doc, String field, Analyzer analyzer) Deprecated.static TokenStream
TokenSources.getTokenStream
(IndexReader reader, int docId, String field, Analyzer analyzer) Deprecated. -
Uses of Analyzer in org.apache.lucene.search.matchhighlight
Fields in org.apache.lucene.search.matchhighlight declared as AnalyzerModifier and TypeFieldDescriptionprivate final Analyzer
MatchHighlighter.analyzer
private final Analyzer
OffsetsFromPositions.analyzer
private final Analyzer
OffsetsFromTokens.analyzer
private final Analyzer
OffsetsFromValues.analyzer
Methods in org.apache.lucene.search.matchhighlight with parameters of type AnalyzerModifier and TypeMethodDescriptionMatchRegionRetriever.computeOffsetRetrievalStrategies
(IndexReader reader, Analyzer analyzer) Compute default strategies for retrieving offsets fromMatchesIterator
instances for a set of given fields.Constructors in org.apache.lucene.search.matchhighlight with parameters of type AnalyzerModifierConstructorDescriptionMatchHighlighter
(IndexSearcher searcher, Analyzer analyzer) MatchHighlighter
(IndexSearcher searcher, Analyzer analyzer, OffsetsRetrievalStrategySupplier offsetsRetrievalStrategies) MatchRegionRetriever
(IndexSearcher searcher, Query query, Analyzer analyzer) A constructor with the default offset strategy supplier.(package private)
OffsetsFromPositions
(String field, Analyzer analyzer) OffsetsFromTokens
(String field, Analyzer analyzer) OffsetsFromValues
(String field, Analyzer analyzer) -
Uses of Analyzer in org.apache.lucene.search.suggest.analyzing
Fields in org.apache.lucene.search.suggest.analyzing declared as AnalyzerModifier and TypeFieldDescriptionprotected final Analyzer
AnalyzingInfixSuggester.indexAnalyzer
Analyzer used at index timeprivate final Analyzer
AnalyzingSuggester.indexAnalyzer
Analyzer that will be used for analyzing suggestions at index time.private final Analyzer
FreeTextSuggester.indexAnalyzer
Analyzer that will be used for analyzing suggestions at index time.protected final Analyzer
AnalyzingInfixSuggester.queryAnalyzer
Analyzer used at search timeprivate final Analyzer
AnalyzingSuggester.queryAnalyzer
Analyzer that will be used for analyzing suggestions at query time.private final Analyzer
FreeTextSuggester.queryAnalyzer
Analyzer that will be used for analyzing suggestions at query time.Methods in org.apache.lucene.search.suggest.analyzing that return AnalyzerModifier and TypeMethodDescriptionprivate Analyzer
FreeTextSuggester.addShingles
(Analyzer other) private Analyzer
AnalyzingInfixSuggester.getGramAnalyzer()
Methods in org.apache.lucene.search.suggest.analyzing with parameters of type AnalyzerModifier and TypeMethodDescriptionprivate Analyzer
FreeTextSuggester.addShingles
(Analyzer other) protected IndexWriterConfig
AnalyzingInfixSuggester.getIndexWriterConfig
(Analyzer indexAnalyzer, IndexWriterConfig.OpenMode openMode) Override this to customize index settings, e.g.Constructors in org.apache.lucene.search.suggest.analyzing with parameters of type AnalyzerModifierConstructorDescriptionAnalyzingInfixSuggester
(Directory dir, Analyzer analyzer) Create a new instance, loading from a previously built AnalyzingInfixSuggester directory, if it exists.AnalyzingInfixSuggester
(Directory dir, Analyzer indexAnalyzer, Analyzer queryAnalyzer, int minPrefixChars, boolean commitOnBuild) Create a new instance, loading from a previously built AnalyzingInfixSuggester directory, if it exists.AnalyzingInfixSuggester
(Directory dir, Analyzer indexAnalyzer, Analyzer queryAnalyzer, int minPrefixChars, boolean commitOnBuild, boolean allTermsRequired, boolean highlight) Create a new instance, loading from a previously built AnalyzingInfixSuggester directory, if it exists.AnalyzingInfixSuggester
(Directory dir, Analyzer indexAnalyzer, Analyzer queryAnalyzer, int minPrefixChars, boolean commitOnBuild, boolean allTermsRequired, boolean highlight, boolean closeIndexWriterOnBuild) Create a new instance, loading from a previously built AnalyzingInfixSuggester directory, if it exists.AnalyzingSuggester
(Directory tempDir, String tempFileNamePrefix, Analyzer analyzer) AnalyzingSuggester
(Directory tempDir, String tempFileNamePrefix, Analyzer indexAnalyzer, Analyzer queryAnalyzer) AnalyzingSuggester
(Directory tempDir, String tempFileNamePrefix, Analyzer indexAnalyzer, Analyzer queryAnalyzer, int options, int maxSurfaceFormsPerAnalyzedForm, int maxGraphExpansions, boolean preservePositionIncrements) Creates a new suggester.BlendedInfixSuggester
(Directory dir, Analyzer analyzer) Create a new instance, loading from a previously built directory, if it exists.BlendedInfixSuggester
(Directory dir, Analyzer indexAnalyzer, Analyzer queryAnalyzer, int minPrefixChars, BlendedInfixSuggester.BlenderType blenderType, int numFactor, boolean commitOnBuild) Create a new instance, loading from a previously built directory, if it exists.BlendedInfixSuggester
(Directory dir, Analyzer indexAnalyzer, Analyzer queryAnalyzer, int minPrefixChars, BlendedInfixSuggester.BlenderType blenderType, int numFactor, Double exponent, boolean commitOnBuild, boolean allTermsRequired, boolean highlight) Create a new instance, loading from a previously built directory, if it exists.FreeTextSuggester
(Analyzer analyzer) Instantiate, using the provided analyzer for both indexing and lookup, using bigram model by default.FreeTextSuggester
(Analyzer indexAnalyzer, Analyzer queryAnalyzer) Instantiate, using the provided indexing and lookup analyzers, using bigram model by default.FreeTextSuggester
(Analyzer indexAnalyzer, Analyzer queryAnalyzer, int grams) Instantiate, using the provided indexing and lookup analyzers, with the specified model (2 = bigram, 3 = trigram, etc.).FreeTextSuggester
(Analyzer indexAnalyzer, Analyzer queryAnalyzer, int grams, byte separator) Instantiate, using the provided indexing and lookup analyzers, and specified model (2 = bigram, 3 = trigram ,etc.).FuzzySuggester
(Directory tempDir, String tempFileNamePrefix, Analyzer analyzer) Creates aFuzzySuggester
instance initialized with default values.FuzzySuggester
(Directory tempDir, String tempFileNamePrefix, Analyzer indexAnalyzer, Analyzer queryAnalyzer) Creates aFuzzySuggester
instance with an index and query analyzer initialized with default values.FuzzySuggester
(Directory tempDir, String tempFileNamePrefix, Analyzer indexAnalyzer, Analyzer queryAnalyzer, int options, int maxSurfaceFormsPerAnalyzedForm, int maxGraphExpansions, boolean preservePositionIncrements, int maxEdits, boolean transpositions, int nonFuzzyPrefix, int minFuzzyLength, boolean unicodeAware) Creates aFuzzySuggester
instance. -
Uses of Analyzer in org.apache.lucene.search.suggest.document
Subclasses of Analyzer in org.apache.lucene.search.suggest.documentModifier and TypeClassDescriptionfinal class
Wraps anAnalyzer
to provide additional completion-only tuning (e.g.Fields in org.apache.lucene.search.suggest.document declared as AnalyzerMethods in org.apache.lucene.search.suggest.document that return AnalyzerModifier and TypeMethodDescriptionPrefixCompletionQuery.getAnalyzer()
Gets the analyzer used to analyze the prefix.protected Analyzer
CompletionAnalyzer.getWrappedAnalyzer
(String fieldName) Methods in org.apache.lucene.search.suggest.document with parameters of type AnalyzerConstructors in org.apache.lucene.search.suggest.document with parameters of type AnalyzerModifierConstructorDescriptionCompletionAnalyzer
(Analyzer analyzer) CallsCompletionAnalyzer(org.apache.lucene.analysis.Analyzer, boolean, boolean, int)
preserving token separation, position increments and no limit on graph expansionsCompletionAnalyzer
(Analyzer analyzer, boolean preserveSep, boolean preservePositionIncrements) CallsCompletionAnalyzer(org.apache.lucene.analysis.Analyzer, boolean, boolean, int)
with no limit on graph expansionsCompletionAnalyzer
(Analyzer analyzer, boolean preserveSep, boolean preservePositionIncrements, int maxGraphExpansions) Wraps an analyzer to convert its output token stream to an automatonCompletionAnalyzer
(Analyzer analyzer, int maxGraphExpansions) CallsCompletionAnalyzer(org.apache.lucene.analysis.Analyzer, boolean, boolean, int)
preserving token separation and position incrementsFuzzyCompletionQuery
(Analyzer analyzer, Term term) CallsFuzzyCompletionQuery(Analyzer, Term, BitsProducer)
with no filterFuzzyCompletionQuery
(Analyzer analyzer, Term term, BitsProducer filter) CallsFuzzyCompletionQuery(Analyzer, Term, BitsProducer, int, boolean, int, int, boolean, int)
with defaults formaxEdits
,transpositions
,nonFuzzyPrefix
,minFuzzyLength
,unicodeAware
anddeterminizeWorkLimit
SeeFuzzyCompletionQuery.DEFAULT_MAX_EDITS
,FuzzyCompletionQuery.DEFAULT_TRANSPOSITIONS
,FuzzyCompletionQuery.DEFAULT_NON_FUZZY_PREFIX
,FuzzyCompletionQuery.DEFAULT_MIN_FUZZY_LENGTH
,FuzzyCompletionQuery.DEFAULT_UNICODE_AWARE
andOperations.DEFAULT_DETERMINIZE_WORK_LIMIT
for defaultsFuzzyCompletionQuery
(Analyzer analyzer, Term term, BitsProducer filter, int maxEdits, boolean transpositions, int nonFuzzyPrefix, int minFuzzyLength, boolean unicodeAware, int determinizeWorkLimit) Constructs an analyzed fuzzy prefix completion queryPrefixCompletionQuery
(Analyzer analyzer, Term term) CallsPrefixCompletionQuery(Analyzer, Term, BitsProducer)
with no filterPrefixCompletionQuery
(Analyzer analyzer, Term term, BitsProducer filter) Constructs an analyzed prefix completion query -
Uses of Analyzer in org.apache.lucene.search.uhighlight
Fields in org.apache.lucene.search.uhighlight declared as AnalyzerModifier and TypeFieldDescriptionprotected final Analyzer
AnalysisOffsetStrategy.analyzer
private final Analyzer
AnalysisOffsetStrategy.MultiValueTokenStream.indexAnalyzer
private final Analyzer
UnifiedHighlighter.Builder.indexAnalyzer
protected final Analyzer
UnifiedHighlighter.indexAnalyzer
Methods in org.apache.lucene.search.uhighlight that return AnalyzerModifier and TypeMethodDescriptionUnifiedHighlighter.Builder.getIndexAnalyzer()
...UnifiedHighlighter.getIndexAnalyzer()
...Methods in org.apache.lucene.search.uhighlight with parameters of type AnalyzerModifier and TypeMethodDescriptionstatic UnifiedHighlighter.Builder
UnifiedHighlighter.builder
(IndexSearcher searcher, Analyzer indexAnalyzer) static UnifiedHighlighter.Builder
UnifiedHighlighter.builderWithoutSearcher
(Analyzer indexAnalyzer) Creates aUnifiedHighlighter.Builder
object in which you can only useUnifiedHighlighter.highlightWithoutSearcher(String, Query, String, int)
for highlighting.Constructors in org.apache.lucene.search.uhighlight with parameters of type AnalyzerModifierConstructorDescriptionAnalysisOffsetStrategy
(UHComponents components, Analyzer analyzer) Builder
(IndexSearcher searcher, Analyzer indexAnalyzer) Constructor for UH builder which acceptsIndexSearcher
andAnalyzer
objects.MemoryIndexOffsetStrategy
(UHComponents components, Analyzer analyzer) private
MultiValueTokenStream
(TokenStream subTokenStream, String fieldName, Analyzer indexAnalyzer, String content, char splitChar, int splitCharIdx) TokenStreamOffsetStrategy
(UHComponents components, Analyzer indexAnalyzer) UnifiedHighlighter
(IndexSearcher indexSearcher, Analyzer indexAnalyzer) Deprecated. -
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 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 AnalyzerModifierConstructorDescriptionQueryBuilder
(Analyzer analyzer) Creates a new QueryBuilder using the given analyzer.
Class.getResourceAsStream(String)
is caller sensitive and cannot load resources across Java Modules.