|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.search.SearchResult
public final class SearchResult
Represents a single search result consisting of a scored document, a cursor to continue the search from, and any expression fields.
Method Summary | |
---|---|
java.lang.String |
getCursor()
A cursor to be used continuing seach after this search result. |
Document |
getDocument()
|
java.util.List<Field> |
getExpressions()
The list of Field which are the result of any extra expressions requested. |
java.util.List<java.lang.Double> |
getSortScores()
The list of scores assigned during sort evaluation. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Document getDocument()
public java.util.List<java.lang.Double> getSortScores()
public java.util.List<Field> getExpressions()
FieldExpressions
which are named snippet
expressions, then the returned expression will be a Field with the
name specified in the request and HTML value set to the snippet.
public java.lang.String getCursor()
SearchRequest.Builder.setCursorType(com.google.appengine.api.search.SearchRequest.CursorType)
to set the value to
SearchRequest.CursorType.RESULT_CURSOR
, otherwise
getCursor()
will return null.
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |