You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dev-environment.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,11 @@
2
2
3
3
There is a [docker-compose file](../docker-compose.yml) in the root directory that allows for serving multiple development sites locally.
4
4
5
-
These are currently not using the real api but rather gets their settings from the static json files included in the data folder.
5
+
These are currently not using the real API but instead get their settings from the static JSON files included in the data folder.
6
6
7
-
The fake api is served by the [server.php](test/server.php) script and reads the corresponding [subdomain](data/WikiInfo-site1.json) from each request.
7
+
The fake API is served by the [server.php](test/server.php) script and reads the corresponding [subdomain](data/WikiInfo-site1.json) from each request.
8
8
9
-
ElasticSearch in docker compose environment uses non-shared index setup and the `mul` works as expected. Howerver the page should be refreshed a few time before ES content indexes got updated.
10
-
11
-
The Elasticsearch index names are based on the name of the MediaWiki database in the format `{database_name}_{index_name}`, e.g. `mwdb_somedb1_general_first`.
9
+
ElasticSearch index names are based on the wiki database name (not the domain). This is why indices appear in the format `{db_name}_content_first` and `{db_name}_general_first`, for example `mwdb_somedb1_content_first`.
12
10
13
11
### Start the dev environment
14
12
@@ -56,6 +54,6 @@ When `$wwDockerCompose` is set some special settings are used. It is set from th
56
54
#### General overview of the cluster:
57
55
58
56
- Overall stats: http://localhost:9200/_stats
59
-
- Indices: http://localhost:9200/_indices
57
+
- Indices: http://localhost:9200/_cat/indices
60
58
- Aliases: http://localhost:9200/_aliases
61
59
- Entries in the content index (Items, Lexemes) for `site1.localhost`: http://localhost:9200/mwdb_somedb1_content_first/_search
0 commit comments