oldIndex property
The index of the changed document in the result set immediately prior to this DocumentChangePlatform (i.e. supposing that all prior DocumentChange objects have been applied).
-1 for DocumentChangeType.added events.
Implementation
final int oldIndex;