INSERT INTO config.internal_flag (name) VALUES ('ingest.disable_metabib_rec_descriptor');
INSERT INTO config.internal_flag (name) VALUES ('ingest.disable_metabib_field_entry');
INSERT INTO config.internal_flag (name) VALUES ('ingest.assume_inserts_only');
+INSERT INTO config.internal_flag (name) VALUES ('ingest.skip_browse_indexing');
+INSERT INTO config.internal_flag (name) VALUES ('ingest.skip_search_indexing');
+INSERT INTO config.internal_flag (name) VALUES ('ingest.skip_facet_indexing');
INSERT INTO config.internal_flag (name) VALUES ('serial.rematerialize_on_same_holding_code');
CREATE TABLE config.global_flag (
END LOOP;
- IF NOT skip_search THEN
+ IF NOT b_skip_search THEN
PERFORM metabib.update_combined_index_vectors(bib_id);
END IF;
INSERT INTO config.global_flag (name, label) -- defaults to enabled=FALSE
VALUES (
- 'ingest.skip_browse_indexing',
- oils_i18n_gettext(
- 'ingest.skip_browse_indexing',
- 'Bibliographic Record Ingest: Disable extraction and indexing of browse data',
- 'cgf',
- 'label'
- )
- );
-
-INSERT INTO config.global_flag (name, label) -- defaults to enabled=FALSE
- VALUES (
- 'ingest.skip_search_indexing',
- oils_i18n_gettext(
- 'ingest.skip_search_indexing',
- 'Bibliographic Record Ingest: Disable extraction and indexing of search data',
- 'cgf',
- 'label'
- )
- );
-
-INSERT INTO config.global_flag (name, label) -- defaults to enabled=FALSE
- VALUES (
- 'ingest.skip_facet_indexing',
- oils_i18n_gettext(
- 'ingest.skip_facet_indexing',
- 'Bibliographic Record Ingest: Disable extraction and indexing of facet data',
- 'cgf',
- 'label'
- )
- );
-
-INSERT INTO config.global_flag (name, label) -- defaults to enabled=FALSE
- VALUES (
'ingest.disable_authority_linking',
oils_i18n_gettext(
'ingest.disable_authority_linking',
SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-INSERT INTO config.global_flag (name, label) -- defaults to enabled=FALSE
- VALUES (
- 'ingest.skip_browse_indexing',
- oils_i18n_gettext(
- 'ingest.skip_browse_indexing',
- 'Bibliographic Record Ingest: Disable extraction and indexing of browse data',
- 'cgf',
- 'label'
- )
- );
-
-INSERT INTO config.global_flag (name, label) -- defaults to enabled=FALSE
- VALUES (
- 'ingest.skip_search_indexing',
- oils_i18n_gettext(
- 'ingest.skip_search_indexing',
- 'Bibliographic Record Ingest: Disable extraction and indexing of search data',
- 'cgf',
- 'label'
- )
- );
-
-INSERT INTO config.global_flag (name, label) -- defaults to enabled=FALSE
- VALUES (
- 'ingest.skip_facet_indexing',
- oils_i18n_gettext(
- 'ingest.skip_facet_indexing',
- 'Bibliographic Record Ingest: Disable extraction and indexing of facet data',
- 'cgf',
- 'label'
- )
- );
+INSERT INTO config.internal_flag (name) VALUES ('ingest.skip_browse_indexing');
+INSERT INTO config.internal_flag (name) VALUES ('ingest.skip_search_indexing');
+INSERT INTO config.internal_flag (name) VALUES ('ingest.skip_facet_indexing');
CREATE OR REPLACE FUNCTION metabib.reingest_metabib_field_entries( bib_id BIGINT, skip_facet BOOL DEFAULT FALSE, skip_browse BOOL DEFAULT FALSE, skip_search BOOL DEFAULT FALSE ) RETURNS VOID AS $func$
DECLARE
END LOOP;
+ IF NOT b_skip_search THEN
+ PERFORM metabib.update_combined_index_vectors(bib_id);
+ END IF;
+
RETURN;
END;
$func$ LANGUAGE PLPGSQL;