pub fn chunk_index_range(chunks: &[ChunkMeta], range: TimeRange) -> Range<usize> ⓘExpand description
Index range of the chunks of a series that can hold samples in range.
Chunk metadata is a closed interval ([min_time, max_time]) while the query
range is half-open, which is why the comparisons below are not symmetric.
Returns an empty range when nothing overlaps.