Package | Description |
---|---|
com.atlassian.confluence.search.contentnames | |
com.atlassian.confluence.search.contentnames.lucene | |
com.atlassian.confluence.search.contentnames.lucene.mappers |
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.MAIL
A category for mail.
|
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 |
SearchResult.getCategory() |
static Category |
Category.getCategory(String type)
Return a Category for the supplied type.
|
Modifier and Type | Method and Description |
---|---|
Map<Category,org.apache.lucene.search.TopScoreDocCollector> |
ResultCategoriser.categorise(DocumentResultScores documentResultScores,
ResultTemplate resultTemplate)
Categorises documentScores into categories defined in the specified resultTemplate.
|
Set<Category> |
ResultTemplate.getCategories()
Returns the names of all categories defined in this configuration.
|
Map<Category,List<SearchResult>> |
ContentNameSearcher.search(List<QueryToken> queryTokens)
Search and expect results using the Confluence default
ResultTemplate . |
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. |
Map<Category,List<SearchResult>> |
ContentNameSearcher.search(List<QueryToken> queryTokens,
ResultTemplate grouping,
Set<Attachment.Type> attachmentTypes,
String... spaceKeys)
Search returning results in the specified space and
ResultTemplate |
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 |
---|---|
Map<Category,List<SearchResult>> |
ResultConverter.categorise(Map<Category,org.apache.lucene.search.TopDocsCollector> results)
Convert search results and categorise
|
Map<Category,List<SearchResult>> |
DefaultResultConverter.categorise(Map<Category,org.apache.lucene.search.TopDocsCollector> results) |
Map<Category,List<SearchResult>> |
LuceneContentNameSearcher.search(List<QueryToken> queryTokens) |
Map<Category,List<SearchResult>> |
LuceneContentNameSearcher.search(List<QueryToken> queryTokens,
ResultTemplate grouping) |
Map<Category,List<SearchResult>> |
LuceneContentNameSearcher.search(List<QueryToken> queryTokens,
ResultTemplate resultTemplate,
Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
int startIndex,
Integer pageSize,
Map<String,Object> params,
String... spaceKeys) |
Map<Category,List<SearchResult>> |
LuceneContentNameSearcher.search(List<QueryToken> queryTokens,
ResultTemplate resultTemplate,
Set<Attachment.Type> attachmentTypes,
String... spaceKeys) |
Map<Category,List<SearchResult>> |
LuceneContentNameSearcher.search(List<QueryToken> queryTokens,
ResultTemplate grouping,
String... spaceKeys) |
Modifier and Type | Method and Description |
---|---|
Map<Category,List<SearchResult>> |
ResultConverter.categorise(Map<Category,org.apache.lucene.search.TopDocsCollector> results)
Convert search results and categorise
|
Map<Category,List<SearchResult>> |
DefaultResultConverter.categorise(Map<Category,org.apache.lucene.search.TopDocsCollector> results) |
Modifier and Type | Method and Description |
---|---|
Category |
ContentTypeCategoryMapper.getCategory(int docId,
Set<Category> categories) |
Category |
CategoryMapper.getCategory(int docId,
Set<Category> categories)
Returns the
Category that this docId belongs to. |
Modifier and Type | Method and Description |
---|---|
Category |
ContentTypeCategoryMapper.getCategory(int docId,
Set<Category> categories) |
Category |
CategoryMapper.getCategory(int docId,
Set<Category> categories)
Returns the
Category that this docId belongs to. |
Copyright © 2003–2016 Atlassian. All rights reserved.