File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Indexes
2
2
3
- PgOSM Flex allows the indexes on the tables using ` .ini ` files. The default
3
+ PgOSM Flex allows customizing the indexes on the tables using ` .ini ` files. The default
4
4
index configuration files are stored under ` flex-config/indexes/ ` .
5
5
The default indexing strategy is baked into the Docker
6
6
image, to use the defaults you can follow the instructions throughout the
7
7
documentation without any adjustments.
8
8
9
+ > Custom indexes added in PgOSM Flex 0.10.0.
10
+
9
11
## Map Volume in ` docker run `
10
12
11
13
To customize indexes, map the path of your custom index definitions folder
@@ -34,6 +36,7 @@ docker run --name pgosm -d --rm \
34
36
35
37
Each Lua style (` flex-config/style/*.lua ` ) must have a matching INI file
36
38
under ` flex-config/indexes/ ` . Each ` .ini ` file should have 4 sections defined.
39
+ These sections can all be empty.
37
40
38
41
39
42
``` ini
@@ -61,6 +64,8 @@ PgOSM Flex database. `<name>` is the name of the column in the database.
61
64
* ` <name>_where `
62
65
* ` <name>_method `
63
66
67
+ > See the section [ Most Columns can be Indexed] ( custom-indexes.md#most-columns-can-be-indexed ) for details about which columns can be indexed.
68
+
64
69
### To index or not to index
65
70
66
71
The ` <name> ` variable is the column's name and is set to boolean.
You can’t perform that action at this time.
0 commit comments