the results of methods invoked to return information about documents and indexes.
GetResponse is defined in the module
GetResponse object is returned from a call to either
You can iterate over an instance of
GetResponse, which will return the members of its
results property. The contents of the property
are determined by the type of call that created the instance of
For example, the following code shows how
GetResponse could be used to
determine which documents were successfully deleted. In this case
the iteration returns
response = index.get_range() for document in response: print "document ", document
The constructor for class
GetResponse is defined as follows:
- class GetResponse(results=None)
Construct an instance of class
Initial value of its
A new instance of class
A parameter has an invalid type, or an unknown attribute was passed.
A parameter has an invalid value.
An instance of class
GetResponse has the following property:
A list of results, whose type depends on the call that returns the object. If returning from a call to get_range(),
resultsis a list of Documents in descending order of their identifiers. If returning from a call to search.get_indexes(),
resultsis a list of Indexes.