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.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
ExactFilenameAnalyzerDescriptor
class
KeywordAnalyzerDescriptor
class
LanguageAnalyzerDescriptor
An analyzer, that can behave differently depending on a given language.class
StandardAnalyzerDescriptor
class
WhitespaceAnalyzerDescriptor
Methods in com.atlassian.confluence.plugins.index.api that return AnalyzerDescriptorProvider Modifier and Type Method Description AnalyzerDescriptorProvider
TextFieldDescriptor. getAnalyzerProvider()
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)
Create a text field with a custom analyzer. -
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 SearchIndexAccessor
CustomSearchIndexRegistry. add(String name, String relativeIndexPath, 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.Constructors in com.atlassian.confluence.search.v2 with parameters of type AnalyzerDescriptorProvider Constructor Description DelegatingSearchIndexAccessor(CustomSearchIndexRegistry customSearchIndexRegistry, String indexName, String relativeIndexPath, ScoringStrategy scoringStrategy, AnalyzerDescriptorProvider analyzerDescriptorProvider)
-
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.
-