LP1831803: Remove unused data types
authorJason Boyer <JBoyer@equinoxOLI.org>
Fri, 24 Sep 2021 13:12:20 +0000 (09:12 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 5 Nov 2021 22:23:08 +0000 (18:23 -0400)
The search.search_args and search.search_result types appear to have only
been used in combination with search.query_parser_qts, so they can also
be retired.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/src/sql/Pg/300.schema.staged_search.sql

index 5e2bbee..b3b41f9 100644 (file)
@@ -61,10 +61,6 @@ CREATE TABLE search.relevance_adjustment (
 );
 CREATE UNIQUE INDEX bump_once_per_field_idx ON search.relevance_adjustment ( field, bump_type );
 
--- XXX not required in 3.0+ ?
-CREATE TYPE search.search_result AS ( id BIGINT, rel NUMERIC, record INT, total INT, checked INT, visible INT, deleted INT, excluded INT, badges TEXT, popularity NUMERIC );
-CREATE TYPE search.search_args AS ( id INT, field_class TEXT, field_name TEXT, table_alias TEXT, term TEXT, term_type TEXT );
-
 CREATE OR REPLACE FUNCTION search.facets_for_record_set(ignore_facet_classes text[], hits bigint[]) RETURNS TABLE(id integer, value text, count bigint)
 AS $f$
     SELECT id, value, count