You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 years ago | |
|---|---|---|
| src | 4 years ago | |
| .gitignore | 4 years ago | |
| README.md | 4 years ago | |
| geodata-catalog.code-workspace | 4 years ago | |
| requirements-dev.txt | 4 years ago | |
| requirements.txt | 4 years ago | |
README.md
Requirements
Minimal versions
python 3.7 postgresql 11
Database schema
includes GIN index column geodata_search_idx
ALTER TABLE geodata ADD COLUMN geodata_search_ts TSVECTOR
GENERATED ALWAYS AS (to_tsvector('russian', geodata.description) STORED
(use coalese() if multiple)
CREATE INDEX geodata_search_idx ON geodata USING GIN (geodata_search_ts);