l.s.s.i.ISearchResults(Interface) : interface documentation

Part of lp.services.sitesearch.interfaces View In Hierarchy

A collection of ISearchResult items that match a search query.
Int total The total number of items that matched a search. This collection may be a slice of the total items because the search service returns the results in batches.
Int start The index of the first item in the collection relative to the total number of items. The collection may only contain a slice of the total search results.
Method __len__ The number of items in the collection returned by the search.
Method __getitem__ Return the item at index in the collection.
Method __iter__ Iterate over the items in the collection.
total =
The total number of items that matched a search. This collection may be a slice of the total items because the search service returns the results in batches.
start =
The index of the first item in the collection relative to the total number of items. The collection may only contain a slice of the total search results.
def __len__():
The number of items in the collection returned by the search.

This number may be much smaller than the total matches because the search service may batch the items.

def __getitem__(index):
Return the item at index in the collection.
def __iter__():
Iterate over the items in the collection.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.