Compare commits

...

2 Commits

Author SHA1 Message Date
Darshan Panchal
05d1f299b8
Merge a30c0aea82 into fb54d8b549 2023-05-22 17:37:29 -05:00
Darshan Panchal
a30c0aea82
Update AbstractInMemoryTimeMapper.java 2023-04-03 12:30:04 +05:30

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;