Problem/Motivation
Proposed change will update the taxonomy index for unpublished entities. Example use case is where editors manipulate the taxonomy terms of unpublished nodes to be used by a view that searches unpublished nodes by taxonomy term name (as opposed to tid, which can be search by taxonomy_field_name_instance).
Fairly trivial patch. Has added test coverage.
Steps to reproduce
See issue summary.
Proposed resolution
See patch for Drupal 10.0
Remaining tasks
See #179.