Perform incremental search reindexing of users based on the last_login field.
Review Request #10645 — Created July 24, 2019 and submitted
When performing an incremental reindexing of users, Haystack emits
warnings that it has no way of determining the age of an entry for
users, since there's no sort of "last updated" field available.
We do have a workaround, in that Review Board does update the
last_loginfield when users access the site, rather than just when
they explicitly log in. We can tie updates to that.
What this basically means is that we will re-index any active accounts
(which might have information changed), but if information is changed
with an older account, it won't be noticed without performing a full
Performing an incremental reindexing and saw that the warnings went
away, and the new information on a user was indexed.
Hmm. This potentially means reindexing every user every 30 minutes. That seems excessive.