This caused:
- inconsistent data, because 'metadata' was updated while from_revision was not, when an origin has a new head revision
- corrupted data, because metadata_tsvector did not match 'metadata
- origin_url was not set for origins that were indexed before introducing the field