Skip to content

Commit 4b5e132

Browse files
committed
do not index links in core repository
1 parent f9916be commit 4b5e132

File tree

5 files changed

+2
-1
lines changed

5 files changed

+2
-1
lines changed

etc/migrations/2.x-3.0/migrate.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ alter table records add column themes TEXT;
66
alter table records add column illuminationelevationangle TEXT;
77
alter table records alter column cloudcover type real using cast(cloudcover as float);
88
alter table records alter column distancevalue type real using cast(distancevalue as float);
9+
drop index ix_records_links;
910
vacuum;

pycsw/core/repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ def setup(database, table, create_sfsql_tables=True, postgis_geometry_column='wk
903903

904904
# distribution
905905
# links: JSON list of dicts with properties: name, description, protocol, url
906-
Column('links', Text, index=True),
906+
Column('links', Text, index=False),
907907
# contacts: JSON list of dicts with owslib contact properties, name, organization, email, role, etc.
908908
Column('contacts', Text, index=True),
909909
)
Binary file not shown.
-4 KB
Binary file not shown.
-320 KB
Binary file not shown.

0 commit comments

Comments
 (0)