Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This will iterate over every metadata under authority control and create records of them in the authority index. The metadata without an authority key will each be updated with an auto generated authority key. These will not be matched in any way with other existing records. This happens as well to the The metadata with an authority key that does not already exist in the index . So on the very first run, all metadata will have their will be indexed with those authority keys updated. The metadata with an authority key that already exist in the index will be re-indexed the same way. These records remain unchanged.

...

As long as the metadata does not get indexed, there will be no changes. However every time any metadata of an item is modified, the metadata under authority control for that item will be re-indexed. When that happens a record will be inserted in the solr cache and . That record's ID will be the authority key will be replaced by the internal id of that record. The metadata value stays the same, but the previous authority key will be lostof the metadata. This can be done for all metadata at once with the index-authority script.