Uses of Interface
com.atlassian.confluence.plugins.index.api.AnalyzerDescriptorProvider
Packages that use 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
Method parameters in com.atlassian.confluence.impl.search.v2.lucene with type arguments of type AnalyzerDescriptorProviderModifier 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
Methods in com.atlassian.confluence.internal.index.lucene with parameters of type AnalyzerDescriptorProviderModifier and TypeMethodDescriptionDefaultCustomSearchIndexRegistry.add
(String name, String relativeIndexPath, ScoringStrategy scoringStrategy, AnalyzerDescriptorProvider analyzerDescriptorProvider) CustomLuceneConnectionFactory.create
(String relativePath, ScoringStrategy scoringStrategy, AnalyzerDescriptorProvider analyzerDescriptorProvider) CustomLuceneConnectionFactoryImpl.create
(String relativePath, ScoringStrategy scoringStrategy, AnalyzerDescriptorProvider analyzerDescriptorProvider) -
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.internal.search.v2.lucene
Methods in com.atlassian.confluence.internal.search.v2.lucene with parameters of type AnalyzerDescriptorProviderModifier and TypeMethodDescriptionLuceneSearchQueryTokenizer.tokenize
(String fieldName, AnalyzerDescriptorProvider analyzerProvider, String text) Method parameters in com.atlassian.confluence.internal.search.v2.lucene with type arguments of type AnalyzerDescriptorProviderModifier 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
Subinterfaces of AnalyzerDescriptorProvider in com.atlassian.confluence.plugins.index.apiModifier and TypeInterfaceDescriptioninterface
Lucene agnostic class for representing concrete, individual representations of LuceneAnalyzer
Classes in com.atlassian.confluence.plugins.index.api that implement AnalyzerDescriptorProviderModifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.since 8.7 as not supported by OpenSearchclass
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
Fields in com.atlassian.confluence.plugins.index.api declared as AnalyzerDescriptorProviderModifier and TypeFieldDescriptionstatic final AnalyzerDescriptorProvider
AnalyzerDescriptorProvider.EMPTY
Methods in com.atlassian.confluence.plugins.index.api that return AnalyzerDescriptorProviderModifier and TypeMethodDescription@NonNull AnalyzerDescriptorProvider
TextFieldDescriptor.getAnalyzerProvider()
Deprecated.Constructors in com.atlassian.confluence.plugins.index.api with parameters of type AnalyzerDescriptorProviderModifierConstructorDescriptionTextFieldDescriptor
(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
Methods in com.atlassian.confluence.plugins.index.api.mapping that return AnalyzerDescriptorProviderModifier and TypeMethodDescriptionTextFieldMapping.getAnalyzer()
Analyzer to be used when indexing the fieldTextFieldMapping.getSearchAnalyzer()
Analyzer to be used when searching the fieldMethods in com.atlassian.confluence.plugins.index.api.mapping with parameters of type AnalyzerDescriptorProviderModifier 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
Methods in com.atlassian.confluence.plugins.opensearch with parameters of type AnalyzerDescriptorProviderModifier and TypeMethodDescriptionOpenSearchCustomSearchIndexRegistry.add
(String name, String relativeIndexPath, ScoringStrategy scoringStrategy, @Nullable AnalyzerDescriptorProvider analyzerDescriptorProvider) OpenSearchSearchIndexAccessorFactory.createCustomIndexAccessor
(Index index, @Nullable AnalyzerDescriptorProvider analyzerProvider) Factory method to create accessor for custom index, and initialises it on OpenSearch.OpenSearchIndexManagerFactory.forCustomIndex
(Index index, AnalyzerDescriptorProvider defaultAnalyzer) OpenSearchAnalyzerMapper.getAnalyzerName
(AnalyzerDescriptorProvider provider) OpenSearchAnalyzerMapper.getAnalyzerProvider
(AnalyzerDescriptorProvider provider) -
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.plugins.opensearch.analysis
Methods in com.atlassian.confluence.plugins.opensearch.analysis with parameters of type AnalyzerDescriptorProviderModifier 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.search.v2
Methods in com.atlassian.confluence.search.v2 with parameters of type AnalyzerDescriptorProviderModifier and TypeMethodDescriptiondefault SearchIndexAccessor
CustomSearchIndexRegistry.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.default SearchIndexAccessor
CustomSearchIndexRegistry.add
(String name, ScoringStrategy scoringStrategy, @Nullable AnalyzerDescriptorProvider analyzerDescriptorProvider) Deprecated.CustomSearchIndexRegistry.add
(String name, String relativeIndexPath, ScoringStrategy scoringStrategy, @Nullable AnalyzerDescriptorProvider analyzerDescriptorProvider) Deprecated.Constructors in com.atlassian.confluence.search.v2 with parameters of type AnalyzerDescriptorProviderModifierConstructorDescriptionprotected
DelegatingSearchIndexAccessor
(CustomSearchIndexRegistry customSearchIndexRegistry, String indexName, AnalyzerDescriptorProvider analyzerDescriptorProvider) protected
DelegatingSearchIndexAccessor
(CustomSearchIndexRegistry customSearchIndexRegistry, String indexName, ScoringStrategy scoringStrategy, AnalyzerDescriptorProvider analyzerDescriptorProvider) Deprecated.since 8.7.0 useDelegatingSearchIndexAccessor(com.atlassian.confluence.search.v2.CustomSearchIndexRegistry,java.lang.String,com.atlassian.confluence.plugins.index.api.AnalyzerDescriptorProvider)
Scoring strategy is no longer relevant when using OpenSearchDelegatingSearchIndexAccessor
(CustomSearchIndexRegistry customSearchIndexRegistry, String indexName, String relativeIndexPath, ScoringStrategy scoringStrategy, AnalyzerDescriptorProvider analyzerDescriptorProvider) Deprecated.since 8.6.0 useDelegatingSearchIndexAccessor(CustomSearchIndexRegistry, String, ScoringStrategy, AnalyzerDescriptorProvider)
relative path is no longer relevant when using OpenSearch. -
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.search.v2.analysis
Methods in com.atlassian.confluence.search.v2.analysis with parameters of type AnalyzerDescriptorProviderModifier 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
Methods in com.atlassian.confluence.search.v2.query that return AnalyzerDescriptorProviderModifier and TypeMethodDescriptionPhraseQuery.getAnalyzerDescriptorProvider()
TextFieldQuery.getAnalyzerDescriptorProvider()
Methods in com.atlassian.confluence.search.v2.query that return types with arguments of type AnalyzerDescriptorProviderModifier 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.Constructors in com.atlassian.confluence.search.v2.query with parameters of type AnalyzerDescriptorProviderModifierConstructorDescriptionPhraseQuery
(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.Constructor parameters in com.atlassian.confluence.search.v2.query with type arguments of type AnalyzerDescriptorProviderModifierConstructorDescriptionMultiTextFieldQuery
(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)