Stay organized with collections Save and categorize content based on your preferences.
Class SearchResults
represents the result of executing a search request using Index.search()
.
SearchResults
is defined in the google.appengine.api.search
module.
The constructor for class SearchResults
is defined as follows:
Request the search service to query an index, specifying parameters for that query..
Arguments
The number of documents found for the query.
The list of ScoredDocument objects returned from executing a search request.
A Cursor object allowing you to continue the search from the end of the current search results.
Result value
A new instance of class SearchRequest
representing the results of executing Index.search().
Exceptions
If any of the parameters have an invalid type, or an unknown attribute is passed.
If any parameter has an invalid value.
An instance of class SearchResults
has the following properties:
Returns the list of ScoredDocument objects matching the query.
Returns an approximate number of documents matching the query. QueryOptions
defining post-processing of the search results. If the QueryOptions.number_found_accuracy
parameter were set to 100, then number_found
<= 100 is accurate.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["`SearchResults` represents the outcome of a search request made using `Index.search()` and is found within the `google.appengine.api.search` module."],["The `SearchResults` constructor takes parameters such as `number_found`, `results` (a list of `ScoredDocument` objects), and `cursor` to manage search results and pagination."],["The `results` property of `SearchResults` provides a list of `ScoredDocument` objects that match the search query."],["The `number_found` property offers an approximate count of documents that match the query, with accuracy influenced by the `QueryOptions.number_found_accuracy` parameter."],["The `cursor` property can be used to continue a search from where the last result left off if a cursor is included in the search's `QueryOptions`, otherwise it will be None."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4