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
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
[DOCS] MCLOUD-7322: Removing elasticsearch plugins from services.yaml (#8336)
* MCLOUD-7322 initial draft
* MCLOUD-7322 updates based on conversation
* MCLOUD-7322 updates based on conversation
* MCLOUD-7322 updates based on review
* Update src/cloud/project/services-elastic.md
Co-authored-by: Margaret Eker <meker@adobe.com>
* MCLOUD-7322 updates based on review
Co-authored-by: Margaret Eker <meker@adobe.com>
Copy file name to clipboardExpand all lines: src/cloud/project/services-elastic.md
+35-2Lines changed: 35 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -182,9 +182,9 @@ If you need to restart the [Elasticsearch](https://www.elastic.co) service, you
182
182
183
183
- After you set up the Elasticsearch service for your project, use the Magento Admin UI to test the Elasticsearch connection and customize Elasticsearch settings for {{ site.data.var.ee }}.
184
184
185
-
### Elasticsearch plugins
185
+
### Add plugins for Elasticsearch
186
186
187
-
Optionally, you can add Elasticsearch plugins by adding the `configuration:plugins` section to the `.magento/services.yaml` file. For example, the following code enables the ICU analysis and Phonetic analysis plugins.
187
+
Optionally, you can add plugins for Elasticsearch by adding the `configuration:plugins` section to the Elasticsearch service in the `.magento/services.yaml` file. For example, the following code enables the ICU analysis and Phonetic analysis plugins.
188
188
189
189
```yaml
190
190
elasticsearch:
@@ -199,5 +199,38 @@ elasticsearch:
199
199
If you use the ElasticSuite third-party plugin, you must [update the `{{site.data.var.ct}}` package]({{ site.baseurl }}/cloud/project/ece-tools-update.html) to version 2002.0.19 or later.
200
200
When setting up ElasticSuite, add the configuration settings to the `ELASTICSUITE_CONFIGURATION` deploy variable. This configuration saves the settings across deployments.
201
201
202
+
### Remove plugins for Elasticsearch
203
+
Removing the plugin entries from `elasticsearch:` in `.magento/services.yaml` does not uninstall or disable them as you might expect. You must take the additional step of reindexing your Elasticsearch data. This behavior is intentional to prevent possible loss or corruption of data that depends on these plugins.
204
+
205
+
**To remove Elasticsearch plugins:**
206
+
207
+
1. Remove the Elasticsearch plugin entries from your `.magento/services.yaml` file.
208
+
1. Add, commit, and push your code changes.
209
+
210
+
```bash
211
+
git add -A
212
+
```
213
+
214
+
```bash
215
+
git commit -m "Remove Elasticsearch plugin"
216
+
```
217
+
218
+
```bash
219
+
git push origin <branch-name>
220
+
```
221
+
222
+
1. Commit the `.magento/services.yaml` changes to your Cloud repo.
For details on using or troubleshooting the Elasticsuite plugin with Magento, see the [Elasticsuite documentation](https://github.com/Smile-SA/elasticsuite).
0 commit comments