Add several IDXENTRY flags that need to be checked in order to properly implement update-index --refresh.