Skip to content

Commit 81a33f7

Browse files
committed
update dev-environment.md
1 parent 95d5d2b commit 81a33f7

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

docs/dev-environment.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22

33
There is a [docker-compose file](../docker-compose.yml) in the root directory that allows for serving multiple development sites locally.
44

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.
66

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.
88

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`.
1210

1311
### Start the dev environment
1412

@@ -56,6 +54,6 @@ When `$wwDockerCompose` is set some special settings are used. It is set from th
5654
#### General overview of the cluster:
5755

5856
- Overall stats: http://localhost:9200/_stats
59-
- Indices: http://localhost:9200/_indices
57+
- Indices: http://localhost:9200/_cat/indices
6058
- Aliases: http://localhost:9200/_aliases
6159
- Entries in the content index (Items, Lexemes) for `site1.localhost`: http://localhost:9200/mwdb_somedb1_content_first/_search

0 commit comments

Comments
 (0)