Package | Description |
---|---|
com.atlassian.confluence.internal.index.lucene | |
com.atlassian.confluence.plugins.index.api | |
com.atlassian.confluence.search.lucene | |
com.atlassian.confluence.search.v2 |
Provides an extensible, flexible search API.
|
com.atlassian.confluence.search.v2.analysis | |
com.atlassian.confluence.search.v2.lucene | |
com.atlassian.confluence.search.v2.query |
Modifier and Type | Method and Description |
---|---|
SearchIndexAccessor |
DefaultCustomSearchIndexRegistry.add(String name,
String relativeIndexPath,
ScoringStrategy scoringStrategy,
AnalyzerDescriptorProvider analyzerDescriptorProvider) |
com.atlassian.bonnie.LuceneConnection |
CustomLuceneConnectionFactory.create(String relativePath,
ScoringStrategy scoringStrategy,
AnalyzerDescriptorProvider analyzerDescriptorProvider) |
com.atlassian.bonnie.LuceneConnection |
CustomLuceneConnectionFactoryImpl.create(String relativePath,
ScoringStrategy scoringStrategy,
AnalyzerDescriptorProvider analyzerDescriptorProvider) |
Modifier and Type | Interface and Description |
---|---|
interface |
MappingAnalyzerDescriptor
Lucene agnostic class for representing concrete, individual representations of Lucene
Analyzer
See LuceneAnalyzerMapper map() methods for how class-to-class mappings work. |
Modifier and Type | Class and Description |
---|---|
class |
AnalyzerDescriptor
An analyzer is a combination of a
TokenizerDescriptor and some (possibly no) CharFilterDescriptor and
TokenFilterDescriptor that collectively specifies how to break a text into token. |
class |
KeywordAnalyzerDescriptor |
class |
LanguageAnalyzerDescriptor
An analyzer, that can behave differently depending on a given language.
|
class |
StandardAnalyzerDescriptor |
class |
WhitespaceAnalyzerDescriptor |
Modifier and Type | Method and Description |
---|---|
AnalyzerDescriptorProvider |
TextFieldDescriptor.getAnalyzerProvider() |
Constructor and Description |
---|
TextFieldDescriptor(String name,
String value,
FieldDescriptor.Store store,
AnalyzerDescriptorProvider analyzerProvider)
Create a text field with a custom analyzer.
|
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.queryparser.flexible.standard.StandardQueryParser |
ConfluenceLuceneQueryParserFactory.createQueryParser(Map<String,? extends AnalyzerDescriptorProvider> analyzerProviders) |
default org.apache.lucene.queryparser.flexible.standard.StandardQueryParser |
LuceneQueryParserFactory.createQueryParser(Map<String,? extends AnalyzerDescriptorProvider> analyzerProviders)
Create a analyzer that uses a field
AnalyzerDescriptorProvider specified bin analyzerProviders . |
Modifier and Type | Method and Description |
---|---|
SearchIndexAccessor |
CustomSearchIndexRegistry.add(String name,
String relativeIndexPath,
ScoringStrategy scoringStrategy,
@Nullable AnalyzerDescriptorProvider analyzerDescriptorProvider)
This method can be called multiple times but a new
SearchIndexAccessor instance will be created only once
for the first call. |
Constructor and Description |
---|
DelegatingSearchIndexAccessor(CustomSearchIndexRegistry customSearchIndexRegistry,
String indexName,
String relativeIndexPath,
ScoringStrategy scoringStrategy,
AnalyzerDescriptorProvider analyzerDescriptorProvider) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
SearchQueryTokenizer.tokenize(String fieldName,
AnalyzerDescriptorProvider analyzerProvider,
String text)
Tokenize a string using the given analyzer.
|
Modifier and Type | Method and Description |
---|---|
Collection<String> |
LuceneSearchQueryTokenizer.tokenize(String fieldName,
AnalyzerDescriptorProvider analyzerProvider,
String text) |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
TextFieldQuery(String fieldName,
AnalyzerDescriptorProvider analyzerProvider,
BooleanOperator operator,
String query)
Construct a query with a custom analyzer.
|
Constructor and 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.
|
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences