public final class Search.Result
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExecutionTime()
Returns the execution time in fractions of a second.
|
long |
getExecutionTimeMillis()
Returns the execution time in milliseconds.
|
java.util.Map<java.lang.String,Facet> |
getFacets()
Returns the facets for this search result.
|
java.util.List<Search.Hit> |
getHits() |
Search.Page |
getNextPage() |
Search.Page |
getPreviousPage() |
java.util.List<Search.Page> |
getResultPages() |
java.lang.String |
getSpellcheck() |
long |
getStartIndex() |
long |
getTotalMatches() |
java.lang.String |
getTrackerScript() |
public java.util.List<Search.Page> getResultPages() throws RepositoryException
Search.Page
es to display the navigation through the
result pages.RepositoryException
- if an error occurs while reading from
the query result.public Search.Page getPreviousPage() throws RepositoryException
null
if there is no previous page (i.e. the
current page is the first page).RepositoryException
- if an error occurs while reading from
the query result.public Search.Page getNextPage() throws RepositoryException
null
if there is no next page (i.e. the
current page is the last page).RepositoryException
- if an error occurs while reading from
the query result.public java.lang.String getTrackerScript()
public java.lang.String getSpellcheck()
null
if spell
checking is not supported or the repository thinks the spelling
is correct.public long getStartIndex()
public long getTotalMatches()
public java.lang.String getExecutionTime()
public long getExecutionTimeMillis()
public java.util.Map<java.lang.String,Facet> getFacets() throws RepositoryException
RepositoryException
- if an error occurs while executing the query
or calculating the facets.public java.util.List<Search.Hit> getHits()
Search.Hit
s to display on the result page."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"