public interface ISearch
Modifier and Type | Method and Description |
---|---|
default Optional<HightlightParams> |
getHighlight()
Provides indication as well as pre/post tag whether query terms should be highlighted in title and body of a
search result.
|
int |
getLimit() |
SearchQuery |
getQuery() |
ResultFilter |
getResultFilter()
Deprecated.
since 5.5. Please consider implemeting
SearchFilter . If you must
perform post search filtering, you can filter SearchResults returned by
the methods on SearchManager . |
SearchFilter |
getSearchFilter() |
default String |
getSearchType()
Returns type of search e.g.
|
SearchSort |
getSort() |
int |
getStartOffset() |
default boolean |
isExplain() |
SearchQuery getQuery()
SearchSort getSort()
SearchFilter getSearchFilter()
@Deprecated ResultFilter getResultFilter()
SearchFilter
. If you must
perform post search filtering, you can filter SearchResults
returned by
the methods on SearchManager
.
Note: if a non-null ResultFilter is returned here, it will override getStartOffset()
and getLimit()
int getStartOffset()
int getLimit()
default String getSearchType()
default Optional<HightlightParams> getHighlight()
SearchResult.getDisplayTitleWithHighlights()
and SearchResult.getResultExcerptWithHighlights()
.default boolean isExplain()
Copyright © 2003–2019 Atlassian. All rights reserved.