Quering data stream by timestamp

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Describe the issue:
Could you please explain me, how does queries work on data stream by timestamp?
How does opensearch now, which backing indexes to skip and which ones to read from?
each backing index has unique name with auto generated number added each time on rollover and it is impossible to query just the specific index instead of all data stream…

Configuration:

Relevant Logs or Screenshots:

@fisherijus As per the documentation search in the data stream is done against all the backing indices.