mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 19:07:58 +00:00
add migration for new indxing schema
This commit is contained in:
@@ -8,6 +8,23 @@ SQL statements should be executed from the PostgreSQL commandline. Execute
|
||||
|
||||
## 3.5.0 -> master
|
||||
|
||||
### Change order during indexing
|
||||
|
||||
When reindexing places during updates, there is now a different order used
|
||||
which needs a different database index. Create it with the following SQL command:
|
||||
|
||||
```sql
|
||||
CREATE INDEX idx_placex_pendingsector_rank_address
|
||||
ON placex USING BTREE (rank_address, geometry_sector) where indexed_status > 0;
|
||||
```
|
||||
|
||||
You can then drop the old index with:
|
||||
|
||||
```sql
|
||||
DROP INDEX idx_placex_pendingsector
|
||||
```
|
||||
|
||||
|
||||
### Switching to dotenv
|
||||
|
||||
As part of the work changing the configuration format, the configuration for
|
||||
|
||||
Reference in New Issue
Block a user