public interface SearchResult
Modifier and Type | Method and Description |
---|---|
String |
getExecutionTime()
Returns the execution time in fractions of a second.
|
long |
getExecutionTimeMillis()
Returns the execution time in milliseconds.
|
Map<String,Facet> |
getFacets()
Returns the facets for this search result.
|
String |
getFilteringPredicates()
Returns a string with a list of the predicates that were filtering the
result set (as opposed to using XPath, see
getQueryStatement() ). |
List<Hit> |
getHits() |
long |
getHitsPerPage() |
ResultPage |
getNextPage() |
Iterator<Node> |
getNodes() |
ResultPage |
getPreviousPage() |
String |
getQueryStatement()
Returns the actual query string run against the repository, eg.
|
Iterator<Resource> |
getResources() |
List<ResultPage> |
getResultPages() |
long |
getStartIndex() |
long |
getTotalMatches() |
long getTotalMatches()
long getStartIndex()
long getHitsPerPage()
Iterator<Node> getNodes()
getHits()
but directly with the underlying nodesIterator<Resource> getResources()
getHits()
but returning Resource objectsList<ResultPage> getResultPages()
ResultPage
es to display the navigation through the
result pages.ResultPage getPreviousPage()
null
if there is no previous page (i.e. the
current page is the first page).ResultPage getNextPage()
null
if there is no next page (i.e. the
current page is the last page).String getExecutionTime()
long getExecutionTimeMillis()
Map<String,Facet> getFacets() throws RepositoryException
RepositoryException
- if an error occurs while executing the query
or calculating the facets.String getQueryStatement()
getFilteringPredicates()
.String getFilteringPredicates()
getQueryStatement()
).
The returned string is for informational purposes only and might not
fully describe the predicates and their parameters."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"