<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def each_indexed_object(collection, index_name, **where):
 """Yields each object indexed by the index with name ``name`` with ``values`` matching on indexed field values."""

    index = _db[collection].indexes[index_name]
    for id in index.value_map.get(indexed_value(index, where), []):
        yield get_object(collection, id)