Skip to content

Commit d5fe94d

Browse files
committed
QAG-65: (docs) Improve DDEV Elasticsearch documentation in README
Refs: README.md
1 parent dbd1d1e commit d5fe94d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -126,34 +126,34 @@ For a complete list of all available services, URLs, and ports, use:
126126

127127
#### DDEV Elasticsearch configuration
128128

129-
This project includes Elasticsearch with the `analysis-icu` plugin for Unicode/multilingual text processing support.
129+
This project includes Elasticsearch service for robust full-text search capabilities. It's automatically set up during DDEV initialization.
130130

131-
**Configuration and customization:**
131+
##### Plugins configuration
132132

133-
Plugins are defined in `.ddev/docker-compose.elasticsearch8.yaml` as environment variables. You can install multiple plugins by adding them as space-separated values:
133+
- Pre-configured with `analysis-icu` for Unicode/multilingual text processing
134+
- Additional plugins can be defined in `.ddev/docker-compose.elasticsearch8.yaml`
134135

135136
```yaml
136137
services:
137138
elasticsearch:
138139
environment:
139-
- ELASTICSEARCH_PLUGINS=analysis-icu analysis-ukrainian
140+
- ELASTICSEARCH_PLUGINS=analysis-icu # Space-separated plugin list
140141
```
141142
142-
The installation process:
143-
1. Plugin names are defined as space-separated values
144-
2. A post-start hook installs missing plugins and sets permissions
145-
3. Elasticsearch restarts automatically if needed
146-
147-
**Useful commands:**
143+
##### Useful commands
148144
149145
```bash
146+
# Check Elasticsearch status
147+
ddev exec -s elasticsearch "curl -s localhost:9200"
148+
150149
# List installed plugins
151150
ddev exec -s elasticsearch "bin/elasticsearch-plugin list"
152-
153-
# View detailed plugin information
154-
ddev exec -s elasticsearch "curl -s localhost:9200/_nodes/plugins?pretty"
155151
```
156152

153+
##### Web interface
154+
155+
Elasticvue is included for visualization and management at <http://drupal-project.ddev.site:9005>
156+
157157
</details>
158158

159159
<details>

0 commit comments

Comments
 (0)