public interface ContentNameSearcher
Modifier and Type | Method and Description |
---|---|
Map<Category,List<SearchResult>> |
search(List<QueryToken> queryTokens)
Search and expect results using the Confluence default
ResultTemplate . |
Map<Category,List<SearchResult>> |
search(List<QueryToken> queryTokens,
ResultTemplate grouping)
Search returning results meeting the specified
ResultTemplate . |
Map<Category,List<SearchResult>> |
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>> |
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>> |
search(List<QueryToken> queryTokens,
ResultTemplate grouping,
String... spaceKeys)
Search returning results in the specified space and
ResultTemplate |
List<SearchResult> |
searchNoCategorisation(List<QueryToken> queryTokens,
ResultTemplate results,
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>> search(List<QueryToken> queryTokens)
ResultTemplate
.queryTokens
- the parsed tokens to search with.IllegalArgumentException
- if the supplied queryTokens are emptyResultTemplate.DEFAULT
,
QueryTokenizer
Map<Category,List<SearchResult>> search(List<QueryToken> queryTokens, ResultTemplate grouping)
ResultTemplate
.queryTokens
- the parsed tokens to search with.grouping
- the grouping of the results you require.IllegalArgumentException
- if the supplied queryTokens are empty or the supplied grouping is null.QueryTokenizer
Map<Category,List<SearchResult>> search(List<QueryToken> queryTokens, ResultTemplate grouping, String... spaceKeys)
ResultTemplate
queryTokens
- the parsed tokens to search with.grouping
- the grouping of the results you require.IllegalArgumentException
- if the supplied queryTokens are empty or the supplied grouping is null.QueryTokenizer
Map<Category,List<SearchResult>> search(List<QueryToken> queryTokens, ResultTemplate grouping, Set<Attachment.Type> attachmentTypes, String... spaceKeys)
ResultTemplate
queryTokens
- the parsed tokens to search with.grouping
- the grouping of the results you require.attachmentTypes
- attachment types to filter attachments onIllegalArgumentException
- if the supplied queryTokens are empty or the supplied grouping is null.QueryTokenizer
Map<Category,List<SearchResult>> search(List<QueryToken> queryTokens, ResultTemplate grouping, Set<Attachment.Type> attachmentTypes, boolean searchParentName, int startIndex, Integer pageSize, Map<String,Object> params, String... spaceKeys)
ResultTemplate
include pagination and search parent name support.queryTokens
- the parsed tokens to search with.grouping
- the grouping of the results you require.attachmentTypes
- attachment types to filter attachments onsearchParentName
- also applies the search to the parent name of the object (e.g. page name)startIndex
- the start index to search frompageSize
- the number of results to return from the startIndexparams
- additional parameters to apply to the searchspaceKeys
- the spaces to include in the searchList<SearchResult> searchNoCategorisation(List<QueryToken> queryTokens, ResultTemplate results, Set<Attachment.Type> attachmentTypes, boolean searchParentName, int startIndex, Integer pageSize, Map<String,Object> params, String... spaceKeys)
ResultTemplate
include pagination and search parent name support. Results are not grouped.queryTokens
- the parsed tokens to search with.attachmentTypes
- attachment types to filter attachments onsearchParentName
- also applies the search to the parent name of the object (e.g. page name)startIndex
- the start index to search frompageSize
- the number of results to return from the startIndexparams
- additional parameters to apply to the searchspaceKeys
- the spaces to include in the searchCopyright © 2003–2016 Atlassian. All rights reserved.