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 javax.jcr.RepositoryException
Search.Pagees to display the navigation through the
result pages.javax.jcr.RepositoryException - if an error occurs while reading from
the query result.public Search.Page getPreviousPage() throws javax.jcr.RepositoryException
null if there is no previous page (i.e. the
current page is the first page).javax.jcr.RepositoryException - if an error occurs while reading from
the query result.public Search.Page getNextPage() throws javax.jcr.RepositoryException
null if there is no next page (i.e. the
current page is the last page).javax.jcr.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 javax.jcr.RepositoryException
javax.jcr.RepositoryException - if an error occurs while executing the query
or calculating the facets.public java.util.List<Search.Hit> getHits()
Search.Hits to display on the result page.Copyright © 2010 - 2025 Adobe. All Rights Reserved