Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update configure-elasticsearch.md #2998

Merged
merged 10 commits into from
Jan 3, 2025
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Configure Elasticsearch
description: Elasticsearch is a NoSQL data store that lets you predefine the structure of the data you store in it.
last_updated: Jul 24, 2022
last_updated: Dec 17, 2024
template: howto-guide-template
originalLink: https://documentation.spryker.com/2021080/docs/search-configure-elasticsearch
originalArticleId: 6aa9f4ab-25de-46bc-b734-54bccb25cf0b
Expand Down Expand Up @@ -187,3 +187,22 @@ For the default page index, the class is `\Generated\Shared\Search\PageIndexMap`
These classes provide some information from mapping, such as fields and metadata. Use these classes for references to program against something related to that mapping schema.

If you change mapping and run the installer, autogenerated classes change accordingly.

### Index update limitations

ElasticSearch is limited when it comes to updating indexes that contain data. If any issues occur, the errors provided by ElasticSearch are confusing.

To make sure an index is correct, drop, create, and sync data into it.

```bash
APPLICATION_STORE=DE console search:index:delete
APPLICATION_STORE=DE console search:setup:sources
Jackson88 marked this conversation as resolved.
Show resolved Hide resolved
```

If you had *no changes* to the data, execute:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What changes and during which period?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated.

APPLICATION_STORE=DE console sync:data
profuel marked this conversation as resolved.
Show resolved Hide resolved

If you had *any changes* to the data, execute:
APPLICATION_STORE=DE console publish:trigger-events

Please contact our support or community to get more specific help.
Loading