Modifier and Type | Method and Description |
---|---|
Map<Category,ContentNameSearchSectionSpec> |
CoreContentNameSearchSectionSpecsProvider.get() |
Map<Category,ContentNameSearchSectionSpec> |
ContentNameSearchSectionSpecsProvider.get() |
Constructor and Description |
---|
ContentNameSearchSectionSpecsProvider(Supplier<Map<Category,ContentNameSearchSectionSpec>> coreSectionSpecsProvider,
com.atlassian.plugin.PluginAccessor pluginAccessor) |
Modifier and Type | Field and Description |
---|---|
static Category |
Category.ATTACHMENTS
A category for attachment results.
|
static Category |
Category.BLOGS
A category for blog results.
|
static Category |
Category.COMMENTS
A category for comments.
|
static Category |
Category.CONTENT
A category for page and blog results combined.
|
static Category |
Category.CUSTOM
A category for custom content.
|
static Category |
Category.PAGES
A category for page results.
|
static Category |
Category.PEOPLE
A category for people results.
|
static Category |
Category.PERSONAL_SPACE
A category for personal spaces.
|
static Category |
Category.SPACES
A category for space results.
|
Modifier and Type | Method and Description |
---|---|
Category |
ContentNameSearchSectionSpec.getCategory()
Content category usually one per content type.
|
Category |
SearchResult.getCategory() |
static Category |
Category.getCategory(String type)
Return a Category for the supplied type.
|
Modifier and Type | Method and Description |
---|---|
Set<Category> |
ResultTemplate.getCategories()
Returns the names of all categories defined in this configuration.
|
default Map<Category,List<SearchResult>> |
ContentNameSearcher.search(List<QueryToken> queryTokens)
Search and expect results using the Confluence default
ResultTemplate . |
default Map<Category,List<SearchResult>> |
ContentNameSearcher.search(List<QueryToken> queryTokens,
ResultTemplate grouping)
Search returning results meeting the specified
ResultTemplate . |
Map<Category,List<SearchResult>> |
ContentNameSearcher.search(List<QueryToken> queryTokens,
ResultTemplate grouping,
Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
int startIndex,
Integer pageSize,
Map<String,Object> params,
String... spaceKeys)
Search returning results in the specified space and
ResultTemplate
include pagination and search parent name support. |
default Map<Category,List<SearchResult>> |
ContentNameSearcher.search(List<QueryToken> queryTokens,
ResultTemplate resultTemplate,
Set<Attachment.Type> attachmentTypes,
String... spaceKeys)
Search returning results in the specified space and
ResultTemplate |
default Map<Category,List<SearchResult>> |
ContentNameSearcher.search(List<QueryToken> queryTokens,
ResultTemplate grouping,
String... spaceKeys)
Search returning results in the specified space and
ResultTemplate |
Modifier and Type | Method and Description |
---|---|
void |
ResultTemplate.addCategory(Category category,
int maxResultCount)
Add a category.
|
int |
ResultTemplate.getMaxResultCount(Category category)
The maximum number of results for this category.
|
boolean |
ResultTemplate.hasCategory(Category category)
Returns true if the specified category is defined, false otherwise.
|
void |
SearchResult.setCategory(Category category) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultContentNameSearchSectionsProvider.setContentNameSearchSectionSpecsProvider(Supplier<Map<Category,ContentNameSearchSectionSpec>> contentNameSearchSectionSpecsProvider) |
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.search.Filter |
ContentCategoryFilter.of(Category category) |
Modifier and Type | Method and Description |
---|---|
Category |
ContentCategorySearchFilter.getContentCategory() |
Constructor and Description |
---|
ContentCategorySearchFilter(Category contentCategory) |
Copyright © 2003–2020 Atlassian. All rights reserved.