|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchResult
SearchResult represents a search result of a JCR query, returned
by Query and SimpleSearch.
| Method Summary | |
|---|---|
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()
|
ResultPage |
getPreviousPage()
|
String |
getQueryStatement()
Returns the actual query string run against the repository, eg. |
List<ResultPage> |
getResultPages()
|
long |
getStartIndex()
|
long |
getTotalMatches()
|
| Method Detail |
|---|
long getTotalMatches()
long getStartIndex()
long getHitsPerPage()
List<Hit> getHits()
Hits to display on the result page.List<ResultPage> getResultPages()
ResultPagees 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||