Uses of Interface
com.atlassian.confluence.plugins.index.api.AnalyzerDescriptorProvider
Package
Description
Provides a Lucene-backed implementation of the
SearchManager
.Provides an extensible, flexible search API.
-
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.impl.search.v2.lucene
Modifier and TypeMethodDescriptionorg.apache.lucene.queryparser.flexible.standard.StandardQueryParser
ConfluenceLuceneQueryParserFactory.createQueryParser
(Map<String, ? extends AnalyzerDescriptorProvider> analyzerProviders) -
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.internal.index.lucene
Modifier and TypeMethodDescriptionDefaultCustomSearchIndexRegistry.add
(String name, AnalyzerDescriptorProvider analyzerDescriptorProvider) CustomLuceneConnectionFactory.create
(String relativePath, AnalyzerDescriptorProvider analyzerDescriptorProvider) Create Lucene connectionCustomLuceneConnectionFactoryImpl.create
(String relativePath, AnalyzerDescriptorProvider analyzerDescriptorProvider) -
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.internal.search.v2.lucene
Modifier and TypeMethodDescriptionLuceneSearchQueryTokenizer.tokenize
(String fieldName, AnalyzerDescriptorProvider analyzerProvider, String text) Modifier and TypeMethodDescriptiondefault org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
LuceneQueryParserFactory.createQueryParser
(Map<String, ? extends AnalyzerDescriptorProvider> analyzerProviders) Create an analyzer that uses a fieldAnalyzerDescriptorProvider
specified binanalyzerProviders
. -
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.plugins.index.api
Modifier and TypeInterfaceDescriptioninterface
Lucene agnostic class for representing concrete, individual representations of LuceneAnalyzer
Modifier and TypeClassDescriptionclass
Analyzer that supports exact matching.class
class
Custom analyzer designed for supporting matching on file names.class
final class
An analyzer, that can behave differently depending on a given language.final class
class
Descriptor for an analyzer that uses a 2-gram tokenizerclass
class
Modifier and TypeFieldDescriptionstatic final AnalyzerDescriptorProvider
AnalyzerDescriptorProvider.EMPTY
Modifier and TypeMethodDescription@NonNull AnalyzerDescriptorProvider
TextFieldDescriptor.getAnalyzerProvider()
Deprecated.ModifierConstructorDescriptionTextFieldDescriptor
(String name, String value, FieldDescriptor.Store store, AnalyzerDescriptorProvider analyzerProvider) Deprecated.Create a text field with a custom analyzer. -
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.plugins.index.api.mapping
Modifier and TypeMethodDescriptionTextFieldMapping.getAnalyzer()
Analyzer to be used when indexing the fieldTextFieldMapping.getSearchAnalyzer()
Analyzer to be used when searching the fieldModifier and TypeMethodDescriptionTextFieldMapping.Builder.analyzer
(AnalyzerDescriptorProvider analyzer) Specifies the analyzer to be used when indexing the fieldTextFieldMapping.Builder.searchAnalyzer
(AnalyzerDescriptorProvider searchAnalyzer) Specifies the analyzer to be used when searching the field -
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.plugins.opensearch
Modifier and TypeMethodDescriptionOpenSearchCustomSearchIndexRegistry.add
(String name, @Nullable AnalyzerDescriptorProvider analyzerDescriptorProvider) OpenSearchAnalyzerMapper.getAnalyzerName
(AnalyzerDescriptorProvider provider) OpenSearchAnalyzerMapper.getAnalyzerProvider
(AnalyzerDescriptorProvider provider) -
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.plugins.opensearch.analysis
Modifier and TypeMethodDescriptionorg.opensearch.client.opensearch.indices.IndexSettingsAnalysis
IndexAnalysisFactory.createForCustomIndex
(@Nullable AnalyzerDescriptorProvider defaultAnalyzerProvider) Create OpenSearch index analysis settings for custom indexes. -
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.plugins.opensearch.indexmanager
Modifier and TypeMethodDescriptionOpenSearchIndexManagerFactory.forCustomIndex
(Index index, AnalyzerDescriptorProvider defaultAnalyzer) -
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.search.v2
Modifier and TypeMethodDescriptionCustomSearchIndexRegistry.add
(String name, @Nullable AnalyzerDescriptorProvider analyzerDescriptorProvider) This method can be called multiple times but a newSearchIndexAccessor
instance will be created only once for the first call.ModifierConstructorDescriptionprotected
DelegatingSearchIndexAccessor
(CustomSearchIndexRegistry customSearchIndexRegistry, String indexName, AnalyzerDescriptorProvider analyzerDescriptorProvider) -
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.search.v2.analysis
Modifier and TypeMethodDescriptionSearchQueryTokenizer.tokenize
(String fieldName, AnalyzerDescriptorProvider analyzerProvider, String text) Tokenize a string using the given analyzer. -
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.search.v2.query
Modifier and TypeMethodDescriptionPhraseQuery.getAnalyzerDescriptorProvider()
TextFieldQuery.getAnalyzerDescriptorProvider()
Modifier and TypeMethodDescriptionMap<String,
? extends AnalyzerDescriptorProvider> MultiTextFieldQuery.getAnalyzerProviders()
Returns information required to construct analyzer for the query if it is available.Map<String,
? extends AnalyzerDescriptorProvider> QueryStringQuery.getAnalyzerProviders()
Returns information required to construct analyzer for a field if it is available.ModifierConstructorDescriptionPhraseQuery
(String fieldName, String text, int slop, AnalyzerDescriptorProvider analyzerDescriptorProvider) Create a query which matches by phrases.PhraseQuery
(String fieldName, String text, int slop, AnalyzerDescriptorProvider analyzerDescriptorProvider, float boost) Create a query which matches by phrases.TextFieldQuery
(String fieldName, AnalyzerDescriptorProvider analyzerProvider, BooleanOperator operator, String query) Construct a query with a custom analyzer.ModifierConstructorDescriptionMultiTextFieldQuery
(Collection<String> fields, Map<String, ? extends AnalyzerDescriptorProvider> analyzerProviders, BooleanOperator operator, String query) Create a query where a field can be tokenized by a provided analyzer.QueryStringQuery
(Collection<String> fieldNames, Map<String, ? extends AnalyzerDescriptorProvider> analyzerProviders, BooleanOperator operator, String query) Construct a query with a custom analyzer.QueryStringQuery
(Collection<String> fieldNames, Map<String, ? extends AnalyzerDescriptorProvider> analyzerProviders, BooleanOperator operator, String query, Map<String, Float> fieldsBoost)