Skip to content

Commit

Permalink
Update UPGRADE for 2.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jul 1, 2020
1 parent c4ab50c commit a9650d4
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
# Upgrade

## dev-release/2.0
## 2.1.0

### Elasticsearch Upgrade

We now use an own fork of the elasticsearch packages to provide Elasticsearch 7 support.
For upgrading you can use the following commands:

```bash
# Remove ongr packages:
composer remove ongr/elasticsearch-bundle --no-update
composer remove ongr/elasticsearch-dsl --no-update

# Use your matching elasticsearch version here ( ^5, ^6 or ^7 ):
composer require elasticsearch/elasticsearch:"^7" --no-update

# Update article bundle to newest version:
composer require sulu/article-bundle:"^1.2" --with-dependencies

# Reindex your articles when upgrading elasticsearch version:
bin/adminconsole ongr:es:index:create --manager default
bin/adminconsole ongr:es:index:create --manager live
bin/adminconsole sulu:article:reindex
bin/websiteconsole sulu:article:reindex
```

### Mapping of index changed

Expand Down

0 comments on commit a9650d4

Please sign in to comment.