Update AbstractInMemoryTimeMapper.java

This commit is contained in:
Darshan Panchal 2023-04-03 12:30:04 +05:30 committed by GitHub
parent ec83d01dca
commit a30c0aea82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ import com.twitter.search.earlybird.search.queries.SinceUntilFilter;
public abstract class AbstractInMemoryTimeMapper implements TimeMapper {
// Reverse map: timestamp to first doc ID seen with that timestamp.
// This is two arrays: the timestamps (sorted), and the doc ids.
// These are two arrays: the timestamps (sorted), and the doc ids.
protected final IntBlockPool reverseMapTimes;
protected final IntBlockPool reverseMapIds;
protected volatile int reverseMapLastIndex;