datacube.index.abstract.AbstractProductResource.search_by_metadata#
- abstract AbstractProductResource.search_by_metadata(metadata)[source]#
Perform a search using arbitrary metadata, returning results as Product objects.
Caution – slow! This will usually not use indexes.
- Parameters:
metadata (
dict
[str
,None
|bool
|str
|float
|int
|list
[None
|bool
|str
|float
|int
|list
[JsonLike] |dict
[str
, JsonLike]] |dict
[str
,None
|bool
|str
|float
|int
|list
[JsonLike] |dict
[str
, JsonLike]]]) – metadata dictionary representing arbitrary search query- Return type:
- Returns:
Matching product models