This commit is contained in:
Darshan Panchal 2023-05-22 17:37:29 -05:00 committed by GitHub
commit 05d1f299b8
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 { public abstract class AbstractInMemoryTimeMapper implements TimeMapper {
// Reverse map: timestamp to first doc ID seen with that timestamp. // 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 reverseMapTimes;
protected final IntBlockPool reverseMapIds; protected final IntBlockPool reverseMapIds;
protected volatile int reverseMapLastIndex; protected volatile int reverseMapLastIndex;