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.
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 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.DelegatingAnalyzerWrapper.DelegatingReuseStrategy.getReusableComponents(Analyzer analyzer, String fieldName) 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.voidDelegatingAnalyzerWrapper.DelegatingReuseStrategy.setReusableComponents(Analyzer analyzer, String fieldName, Analyzer.TokenStreamComponents components) protected final voidAnalyzer.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 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. -
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 classAnAnalyzerthat 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 classFiltersClassicTokenizerwithClassicFilter,LowerCaseFilterandStopFilter, 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 classSmartChineseAnalyzer 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 classfinal classfinal classAn Analyzer that usesUnicodeWhitespaceTokenizer.final classAn Analyzer that usesWhitespaceTokenizer. -
Uses of Analyzer in org.apache.lucene.analysis.custom
Subclasses of Analyzer in org.apache.lucene.analysis.customModifier and TypeClassDescriptionfinal classA 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 classFiltersUAX29URLEmailTokenizerwithLowerCaseFilterandStopFilter, 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 classConfiguresKeywordTokenizerwithICUCollationAttributeFactory. -
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 TypeClassDescriptionclassAnalyzer for Japanese that uses morphological analysis.classAnalyzer for Japanese completion suggester. -
Uses of Analyzer in org.apache.lucene.analysis.ko
Subclasses of Analyzer in org.apache.lucene.analysis.koModifier and TypeClassDescriptionclassAnalyzer 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 classThis Analyzer limits the number of tokens while indexing.final classThis 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 AnalyzerPerFieldAnalyzerWrapper.defaultAnalyzerprivate final AnalyzerLimitTokenCountAnalyzer.delegateFields in org.apache.lucene.analysis.miscellaneous with type parameters of type AnalyzerMethods in org.apache.lucene.analysis.miscellaneous that return AnalyzerModifier and TypeMethodDescriptionprotected AnalyzerLimitTokenCountAnalyzer.getWrappedAnalyzer(String fieldName) protected AnalyzerPerFieldAnalyzerWrapper.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 classAnAnalyzerused 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 AnalyzerQueryAutoStopWordAnalyzer.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.defaultMaxDocFreqPercentQueryAutoStopWordAnalyzer(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 classA ShingleAnalyzerWrapper wraps aShingleFilteraround anotherAnalyzer.Fields in org.apache.lucene.analysis.shingle declared as AnalyzerMethods in org.apache.lucene.analysis.shingle that return AnalyzerModifier and TypeMethodDescriptionfinal AnalyzerShingleAnalyzerWrapper.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 classFiltersStandardTokenizerwithLowerCaseFilterandStopFilter, 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 AnalyzerSynonymFilterFactory.loadAnalyzer(ResourceLoader loader, String cname) Deprecated.private AnalyzerSynonymGraphFilterFactory.loadAnalyzer(ResourceLoader loader, String cname) Methods in org.apache.lucene.analysis.synonym with parameters of type AnalyzerModifier and TypeMethodDescriptionprotected SynonymMapSynonymFilterFactory.loadSynonyms(ResourceLoader loader, String cname, boolean dedup, Analyzer analyzer) Deprecated.Load synonyms with the givenSynonymMap.Parserclass.protected SynonymMapSynonymGraphFilterFactory.loadSynonyms(ResourceLoader loader, String cname, boolean dedup, Analyzer analyzer) Load synonyms with the givenSynonymMap.Parserclass.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 AnalyzerBM25NBClassifier.analyzerAnalyzerto be used for tokenizing unseen input textprivate final AnalyzerBooleanPerceptronClassifier.analyzerprivate final AnalyzerKNearestFuzzyClassifier.analyzerprotected final AnalyzerSimpleNaiveBayesClassifier.analyzerAnalyzerto 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 aBooleanPerceptronClassifierCachingNaiveBayesClassifier(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.field2analyzermap of per field analyzersSimpleNaiveBayesDocumentClassifier.field2analyzerAnalyzerto 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 TypeMethodDescriptionvoidDatasetSplitter.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.collation
Subclasses of Analyzer in org.apache.lucene.collationModifier and TypeClassDescriptionfinal classConfiguresKeywordTokenizerwithCollationAttributeFactory. -
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
Fields in org.apache.lucene.index declared as AnalyzerModifier and TypeFieldDescriptionprivate final AnalyzerIndexingChain.PerField.analyzerprivate final AnalyzerLiveIndexWriterConfig.analyzerMethods 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.IndexingChain.ReservedField.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, boolean reserved) -
Uses of Analyzer in org.apache.lucene.index.memory
Methods in org.apache.lucene.index.memory with parameters of type AnalyzerModifier and TypeMethodDescriptionvoidConvenience method; Tokenizes the given field text and adds the resulting terms to the index; Equivalent to adding an indexed non-keyword LuceneFieldthat is tokenized, not stored, termVectorStored with positions (or termVectorStored with positions and offsets),voidMemoryIndex.addField(IndexableField field, Analyzer analyzer) Adds a luceneIndexableFieldto the MemoryIndex using the provided analyzer.static MemoryIndexMemoryIndex.fromDocument(Iterable<? extends IndexableField> document, Analyzer analyzer) Builds a MemoryIndex from a luceneDocumentusing an analyzerstatic MemoryIndexMemoryIndex.fromDocument(Iterable<? extends IndexableField> document, Analyzer analyzer, boolean storeOffsets, boolean storePayloads) Builds a MemoryIndex from a luceneDocumentusing an analyzerstatic MemoryIndexMemoryIndex.fromDocument(Iterable<? extends IndexableField> document, Analyzer analyzer, boolean storeOffsets, boolean storePayloads, long maxReusedBytes) Builds a MemoryIndex from a luceneDocumentusing 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 DocumentBatchCreate a DocumentBatch containing a single InputDocumentstatic DocumentBatchCreate 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) privateSingletonDocumentBatch(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 IntervalsSourceIntervals.analyzedText(String text, Analyzer analyzer, String field, int maxGaps, boolean ordered) Returns intervals that correspond to tokens from aTokenStreamreturned fortextby applying the providedAnalyzeras iftextwas 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 AnalyzerMoreLikeThis.analyzerAnalyzer that will be used to parse the doc.private AnalyzerMoreLikeThisQuery.analyzerMethods 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 TypeMethodDescriptionvoidMoreLikeThis.setAnalyzer(Analyzer analyzer) Sets the analyzer to use.voidMoreLikeThisQuery.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 TypeMethodDescriptionvoidInitializes a query parser.protected QueryQueryParserBase.newFieldQuery(Analyzer analyzer, String field, String queryText, boolean quoted) static QueryParses a query which searches on the fields specified.static QueryMultiFieldQueryParser.parse(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer) Parses a query, searching on the fields specified.static QueryMultiFieldQueryParser.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 newExtendableQueryParserinstanceExtendableQueryParser(String f, Analyzer a, Extensions ext) Creates a newExtendableQueryParserinstance -
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 QueryParses a query which searches on the fields specified.static QueryQueryParserUtil.parse(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer) Parses a query, searching on the fields specified.static QueryQueryParserUtil.parse(String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer) Parses a query, searching on the fields specified.voidStandardQueryParser.setAnalyzer(Analyzer analyzer) Constructors in org.apache.lucene.queryparser.flexible.standard with parameters of type AnalyzerModifierConstructorDescriptionStandardQueryParser(Analyzer analyzer) Constructs aStandardQueryParserobject and sets anAnalyzerto 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.ANALYZERKey used to set theAnalyzerused 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 IntervalsSourceIntervalFunction.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 AnalyzerAnalyzerQueryNodeProcessor.analyzerprivate AnalyzerIntervalQueryNodeProcessor.analyzerMethods in org.apache.lucene.queryparser.flexible.standard.processors with parameters of type AnalyzerModifier and TypeMethodDescriptionprivate static StringWildcardQueryNodeProcessor.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.protectedCoreParser(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.privateCorePlusExtensionsParser(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.protectedCorePlusQueriesParser(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 AnalyzerFuzzyLikeThisQueryBuilder.analyzerprivate final AnalyzerLikeThisQueryBuilder.analyzerprivate final AnalyzerSpanOrTermsBuilder.analyzerprivate final AnalyzerTermsQueryBuilder.analyzerprivate AnalyzerUserInputQueryBuilder.analyzerMethods in org.apache.lucene.queryparser.xml.builders with parameters of type AnalyzerModifier and TypeMethodDescriptionprotected QueryParserUserInputQueryBuilder.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 TokenStreamTokenSources.getAnyTokenStream(IndexReader reader, int docId, String field, Analyzer analyzer) Deprecated.static TokenStreamTokenSources.getAnyTokenStream(IndexReader reader, int docId, String field, Document document, Analyzer analyzer) Deprecated.final StringHighlighter.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 TokenStreamTokenSources.getTokenStream(String field, String contents, Analyzer analyzer) Deprecated.static TokenStreamTokenSources.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 TokenStreamTokenSources.getTokenStream(Document doc, String field, Analyzer analyzer) Deprecated.static TokenStreamTokenSources.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 AnalyzerMatchHighlighter.analyzerprivate final AnalyzerOffsetsFromPositions.analyzerprivate final AnalyzerOffsetsFromTokens.analyzerprivate final AnalyzerOffsetsFromValues.analyzerMethods in org.apache.lucene.search.matchhighlight with parameters of type AnalyzerModifier and TypeMethodDescriptionMatchRegionRetriever.computeOffsetRetrievalStrategies(IndexReader reader, Analyzer analyzer) Compute default strategies for retrieving offsets fromMatchesIteratorinstances 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.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 AnalyzerAnalyzingInfixSuggester.indexAnalyzerAnalyzer used at index timeprivate final AnalyzerAnalyzingSuggester.indexAnalyzerAnalyzer that will be used for analyzing suggestions at index time.private final AnalyzerFreeTextSuggester.indexAnalyzerAnalyzer that will be used for analyzing suggestions at index time.protected final AnalyzerAnalyzingInfixSuggester.queryAnalyzerAnalyzer used at search timeprivate final AnalyzerAnalyzingSuggester.queryAnalyzerAnalyzer that will be used for analyzing suggestions at query time.private final AnalyzerFreeTextSuggester.queryAnalyzerAnalyzer that will be used for analyzing suggestions at query time.Methods in org.apache.lucene.search.suggest.analyzing that return AnalyzerModifier and TypeMethodDescriptionprivate AnalyzerFreeTextSuggester.addShingles(Analyzer other) private AnalyzerAnalyzingInfixSuggester.getGramAnalyzer()Methods in org.apache.lucene.search.suggest.analyzing with parameters of type AnalyzerModifier and TypeMethodDescriptionprivate AnalyzerFreeTextSuggester.addShingles(Analyzer other) protected IndexWriterConfigAnalyzingInfixSuggester.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 aFuzzySuggesterinstance initialized with default values.FuzzySuggester(Directory tempDir, String tempFileNamePrefix, Analyzer indexAnalyzer, Analyzer queryAnalyzer) Creates aFuzzySuggesterinstance 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 aFuzzySuggesterinstance. -
Uses of Analyzer in org.apache.lucene.search.suggest.document
Subclasses of Analyzer in org.apache.lucene.search.suggest.documentModifier and TypeClassDescriptionfinal classWraps anAnalyzerto 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 AnalyzerCompletionAnalyzer.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,unicodeAwareanddeterminizeWorkLimitSeeFuzzyCompletionQuery.DEFAULT_MAX_EDITS,FuzzyCompletionQuery.DEFAULT_TRANSPOSITIONS,FuzzyCompletionQuery.DEFAULT_NON_FUZZY_PREFIX,FuzzyCompletionQuery.DEFAULT_MIN_FUZZY_LENGTH,FuzzyCompletionQuery.DEFAULT_UNICODE_AWAREandOperations.DEFAULT_DETERMINIZE_WORK_LIMITfor 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 AnalyzerAnalysisOffsetStrategy.analyzerprivate final AnalyzerAnalysisOffsetStrategy.MultiValueTokenStream.indexAnalyzerprivate final AnalyzerUnifiedHighlighter.Builder.indexAnalyzerprotected final AnalyzerUnifiedHighlighter.indexAnalyzerMethods 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.BuilderUnifiedHighlighter.builder(IndexSearcher searcher, Analyzer indexAnalyzer) static UnifiedHighlighter.BuilderUnifiedHighlighter.builderWithoutSearcher(Analyzer indexAnalyzer) Creates aUnifiedHighlighter.Builderobject 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 acceptsIndexSearcherandAnalyzerobjects.MemoryIndexOffsetStrategy(UHComponents components, Analyzer analyzer) privateMultiValueTokenStream(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 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.
Class.getResourceAsStream(String)is caller sensitive and cannot load resources across Java Modules.