Uses of Interface
com.atlassian.confluence.plugins.index.api.AnalyzerDescriptorProvider
-
Packages that use AnalyzerDescriptorProvider Package Description com.atlassian.confluence.impl.search.v2.lucene com.atlassian.confluence.internal.index.lucene com.atlassian.confluence.internal.search.v2.lucene Provides a Lucene-backed implementation of theSearchManager
.com.atlassian.confluence.plugins.index.api com.atlassian.confluence.plugins.index.api.mapping com.atlassian.confluence.plugins.opensearch com.atlassian.confluence.search.v2 Provides an extensible, flexible search API.com.atlassian.confluence.search.v2.analysis com.atlassian.confluence.search.v2.query -
-
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 AnalyzerDescriptorProvider Modifier and Type Method Description org.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 AnalyzerDescriptorProvider Modifier and Type Method Description SearchIndexAccessor
DefaultCustomSearchIndexRegistry. add(String name, String relativeIndexPath, ScoringStrategy scoringStrategy, AnalyzerDescriptorProvider analyzerDescriptorProvider)
LuceneConnection
CustomLuceneConnectionFactory. create(String relativePath, ScoringStrategy scoringStrategy, AnalyzerDescriptorProvider analyzerDescriptorProvider)
LuceneConnection
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 AnalyzerDescriptorProvider Modifier and Type Method Description Collection<String>
LuceneSearchQueryTokenizer. tokenize(String fieldName, AnalyzerDescriptorProvider analyzerProvider, String text)
Method parameters in com.atlassian.confluence.internal.search.v2.lucene with type arguments of type AnalyzerDescriptorProvider Modifier and Type Method Description default 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.api Modifier and Type Interface Description interface
MappingAnalyzerDescriptor
Lucene agnostic class for representing concrete, individual representations of LuceneAnalyzer
Classes in com.atlassian.confluence.plugins.index.api that implement AnalyzerDescriptorProvider Modifier and Type Class Description class
AnalyzerDescriptor
An AnalyzerDescriptor is a combination of aTokenizerDescriptor
and some (possibly no)CharFilterDescriptor
s andTokenFilterDescriptor
s that collectively describe how to analyse text into tokens.class
ExactAnalyzerDescriptor
Analyzer that supports exact matching.class
ExactFilenameAnalyzerDescriptor
class
KeywordAnalyzerDescriptor
class
LanguageAnalyzerDescriptor
An analyzer, that can behave differently depending on a given language.class
StandardAnalyzerDescriptor
class
UnstemmedAnalyzerDescriptor
class
WhitespaceAnalyzerDescriptor
Fields in com.atlassian.confluence.plugins.index.api declared as AnalyzerDescriptorProvider Modifier and Type Field Description static AnalyzerDescriptorProvider
AnalyzerDescriptorProvider. EMPTY
Methods in com.atlassian.confluence.plugins.index.api that return AnalyzerDescriptorProvider Modifier and Type Method Description AnalyzerDescriptorProvider
TextFieldDescriptor. getAnalyzerProvider()
Deprecated.Constructors in com.atlassian.confluence.plugins.index.api with parameters of type AnalyzerDescriptorProvider Constructor Description TextFieldDescriptor(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 AnalyzerDescriptorProvider Modifier and Type Method Description AnalyzerDescriptorProvider
TextFieldMapping. getAnalyzer()
Analyzer to be used when indexing and searching the fieldMethods in com.atlassian.confluence.plugins.index.api.mapping with parameters of type AnalyzerDescriptorProvider Modifier and Type Method Description TextFieldMapping.Builder
TextFieldMapping.Builder. analyzer(AnalyzerDescriptorProvider analyzerProvider)
Specifies the analyzer to be used when indexing and searching the field -
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.plugins.opensearch
Methods in com.atlassian.confluence.plugins.opensearch with parameters of type AnalyzerDescriptorProvider Modifier and Type Method Description SearchIndexAccessor
OpenSearchCustomSearchIndexRegistry. add(String name, String relativeIndexPath, ScoringStrategy scoringStrategy, @Nullable AnalyzerDescriptorProvider analyzerDescriptorProvider)
String
OpenSearchAnalyzerMapper. map(AnalyzerDescriptorProvider provider)
-
Uses of AnalyzerDescriptorProvider in com.atlassian.confluence.search.v2
Methods in com.atlassian.confluence.search.v2 with parameters of type AnalyzerDescriptorProvider Modifier and Type Method Description default SearchIndexAccessor
CustomSearchIndexRegistry. add(String name, ScoringStrategy scoringStrategy, @Nullable AnalyzerDescriptorProvider analyzerDescriptorProvider)
This method can be called multiple times but a newSearchIndexAccessor
instance will be created only once for the first call.SearchIndexAccessor
CustomSearchIndexRegistry. add(String name, String relativeIndexPath, ScoringStrategy scoringStrategy, @Nullable AnalyzerDescriptorProvider analyzerDescriptorProvider)
Deprecated.Constructors in com.atlassian.confluence.search.v2 with parameters of type AnalyzerDescriptorProvider Constructor Description DelegatingSearchIndexAccessor(CustomSearchIndexRegistry customSearchIndexRegistry, String indexName, ScoringStrategy scoringStrategy, AnalyzerDescriptorProvider analyzerDescriptorProvider)
DelegatingSearchIndexAccessor(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 AnalyzerDescriptorProvider Modifier and Type Method Description Collection<String>
SearchQueryTokenizer. 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 AnalyzerDescriptorProvider Modifier and Type Method Description AnalyzerDescriptorProvider
PhraseQuery. getAnalyzerDescriptorProvider()
Methods in com.atlassian.confluence.search.v2.query that return types with arguments of type AnalyzerDescriptorProvider Modifier and Type Method Description Map<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 AnalyzerDescriptorProvider Constructor Description PhraseQuery(String fieldName, String text, int slop, AnalyzerDescriptorProvider analyzerDescriptorProvider)
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 AnalyzerDescriptorProvider Constructor Description MultiTextFieldQuery(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.
-