datacube.index.abstract.AbstractDatasetResource.search_returning#

abstract AbstractDatasetResource.search_returning(field_names, limit=None, **query)[source]#

Perform a search, returning only the specified fields.

This method can be faster than normal search() if you don’t need all fields of each dataset.

It also allows for returning rows other than datasets, such as a row per uri when requesting field ‘uri’.

Parameters
Return type

Iterable[Tuple]

Returns

Namedtuple of requested fields, for each matching dataset.