LP#1251394: Reingest streamlining, schema realigning, rebasing
authorMike Rylander <mrylander@gmail.com>
Fri, 18 Aug 2017 19:32:34 +0000 (15:32 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 18 Aug 2017 19:32:34 +0000 (15:32 -0400)
commit1f5d9c82985ca9b49bb2670a1dcb21e81ec0c370
treebf9e5025a1a62d0355e3d1bf63e398e2a77d103c
parentb44eabe4692ad06ee92c5f3669b6fa6eef450290
LP#1251394: Reingest streamlining, schema realigning, rebasing

I've rebased this to master and undertake some work to allow streamlined
reingest of specific index definitions.  The API remains essentially backwards
compatable, but is reingest_metabib_field_entries() is extended to accept a
list of index definition IDs to which it should restrict its work.  If that
optional parameter is not passed, all index definitions are processed.

This has the benefit of skipping XML transformation for index definitions
which won't produce output useful to the requested reingest process, which
should provide a significant speed boost for some situations.

The upgrade schema has now been realigned with some missing bits from the
baseline, but the baseline may still be lacking some from the upgrade.

The data upgrade script has been made to use the existing index definitions
where they match the needs of the new ones, and to use the new reindexing
options.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.metabib-display-field.sql
Open-ILS/src/sql/Pg/upgrade/YYYY.data.metabib-display-field.sql