public class ContentSearch extends AbstractSearch
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_SEARCH |
static String |
CQL_SEARCH |
static String |
SITE_SEARCH |
indexes, limit, query, resultFilter, searchFilter, sort, startOffset
Constructor and Description |
---|
ContentSearch(SearchQuery query,
SearchSort sort)
Constructs a search against Confluence content.
|
ContentSearch(SearchQuery query,
SearchSort sort,
int startOffset,
int limit)
Constructs a search against Confluence content.
|
ContentSearch(SearchQuery query,
SearchSort sort,
SearchFilter searchFilter,
int startOffset,
int limit)
Deprecated.
since 7.20, use
ContentSearch(SearchQuery, SearchSort, int, int) instead.
See |
ContentSearch(SearchQuery query,
SearchSort sort,
SearchFilter searchFilter,
ResultFilter resultFilter)
Deprecated.
since 7.20, use
ContentSearch(SearchQuery, SearchSort) instead.
See |
Modifier and Type | Method and Description |
---|---|
String |
getSearchType()
Returns type of search e.g.
|
equals, getLimit, getQuery, getResultFilter, getSearchFilter, getSearchIndexes, getSort, getStartOffset, hashCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getHighlight, isExplain
public static final String SITE_SEARCH
public static final String CONTENT_SEARCH
public static final String CQL_SEARCH
public ContentSearch(@NonNull SearchQuery query, SearchSort sort)
query
- the non-null query to perform against Confluence contentsort
- how to order the results of the query
public ContentSearch(@NonNull SearchQuery query, SearchSort sort, int startOffset, int limit)
query
- the non-null query to perform against Confluence contentsort
- how to order the results of the query
startOffset
- the zero-based offset of the first content result to returnlimit
- the maximum number content results to return@Deprecated public ContentSearch(SearchQuery query, SearchSort sort, SearchFilter searchFilter, ResultFilter resultFilter)
ContentSearch(SearchQuery, SearchSort)
instead.
See SearchFilter
and ResultFilter
deprecations for context.
query
- the query to performsort
- how to order the resultssearchFilter
- filter that performs filtering during searchresultFilter
- filter that performs filtering the results after a search has complete@Deprecated public ContentSearch(SearchQuery query, SearchSort sort, SearchFilter searchFilter, int startOffset, int limit)
ContentSearch(SearchQuery, SearchSort, int, int)
instead.
See SearchFilter
and ResultFilter
deprecations for context.
public String getSearchType()
ISearch
Copyright © 2003–2022 Atlassian. All rights reserved.