Class `SearchResults` represents the result of executing a search request using `https://docs.cloud.google.com/appengine/docs/standard/services/search/python/indexclass`.

`SearchResults` is defined in the `google.appengine.api.search` module.

## Constructor

The constructor for class `SearchResults` is defined as follows:


class SearchResults(number_found, results=None, cursor=None)

:

    Request the search service to query an index, specifying parameters for that query..

    <br />

:

    Arguments

    number_found

    :   The number of documents found for the query.

    results

    :   The list of [ScoredDocument](https://docs.cloud.google.com/appengine/docs/standard/services/search/python/scoreddocumentclass) objects returned from executing a search request.

    cursor

    :   A [Cursor](https://docs.cloud.google.com/appengine/docs/standard/services/search/python/cursorclass) 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()](https://docs.cloud.google.com/appengine/docs/standard/services/search/python/indexclass).

    Exceptions

    TypeError

    :   If any of the parameters have an invalid type, or an unknown attribute is passed.

    ValueError

    :   If any parameter has an invalid value.

    <br />

## Properties

An instance of class `SearchResults` has the following properties:

results

:   Returns the list of [ScoredDocument](https://docs.cloud.google.com/appengine/docs/standard/services/search/python/scoreddocumentclass) objects matching the query.

number_found

:   Returns an approximate number of documents matching the query. `https://docs.cloud.google.com/appengine/docs/standard/services/search/python/queryoptionsclass` defining post-processing of the search results. If the `QueryOptions.number_found_accuracy` parameter were set to 100, then `number_found` \<= 100 is accurate.

cursor
:   For this field to be populated, you must pass a cursor in the search's [QueryOptions](https://docs.cloud.google.com/appengine/docs/standard/services/search/python/queryoptionsclass),
    otherwise this will be None. Returns a results [Cursor](https://docs.cloud.google.com/appengine/docs/standard/services/search/python/cursorclass) that can be used to continue the search from the last result. If
    there are no more results after the current result, returns None.