Details
Description
OAK-1966 introduced a hint for MongoDB to either use the _id or _modified
index, depending on the time delta of the _modified constraint. The default
value is currently -1, which mean MongoDocumentStore will always pass an _id
hint. I would like to enable the _modified hint for small deltas less than
60 seconds. Now that OAK-2131 is implemented, the number of background updates
is much lower and a query with a _modified constraint will better match
documents that actually have been modified since a given timestamp.