Merge pull request #779 from leplatrem/patch-1
Fix typos on Install docs
This commit is contained in:
commit
06a06e9fce
1 changed files with 3 additions and 3 deletions
|
@ -77,8 +77,8 @@ Start the server
|
||||||
|
|
||||||
## Search
|
## Search
|
||||||
|
|
||||||
UMap uses Postgresql tsvector for searching. It case your database is big, you
|
UMap uses Postgresql tsvector for searching. In case your database is big, you
|
||||||
may want to add an index. For that, you sould do so:
|
may want to add an index. For that, you should do so:
|
||||||
|
|
||||||
CREATE EXTENSION unaccent;
|
CREATE EXTENSION unaccent;
|
||||||
CREATE EXTENSION btree_gin;
|
CREATE EXTENSION btree_gin;
|
||||||
|
@ -89,6 +89,6 @@ may want to add an index. For that, you sould do so:
|
||||||
|
|
||||||
## Optimisations
|
## Optimisations
|
||||||
|
|
||||||
To speep up umap home page rendering on large instance, the following index can be added too (make sure you set the center to your default instance map center):
|
To speed up uMap homepage rendering on a large instance, the following index can be added too (make sure you set the center to your default instance map center):
|
||||||
|
|
||||||
CREATE INDEX leaflet_storage_map_optim ON leaflet_storage_map (modified_at) WHERE ("leaflet_storage_map"."share_status" = 1 AND ST_Distance("leaflet_storage_map"."center", ST_GeomFromEWKT('SRID=4326;POINT(2 51)')) > 1000.0);
|
CREATE INDEX leaflet_storage_map_optim ON leaflet_storage_map (modified_at) WHERE ("leaflet_storage_map"."share_status" = 1 AND ST_Distance("leaflet_storage_map"."center", ST_GeomFromEWKT('SRID=4326;POINT(2 51)')) > 1000.0);
|
||||||
|
|
Loading…
Reference in a new issue