Skip to content

Latest commit

 

History

History
17 lines (17 loc) · 972 Bytes

2023-10-02-easier-admin-way-to-only-reindex-indices-without-selection-inversion.md

File metadata and controls

17 lines (17 loc) · 972 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 4 column 16
---
title: Add easier way to admin to only reindex some indices without inversion of selection
author: Joshua Behrens
author_email: [email protected]
author_github: @JoshuaBehrens
issue: NEXT-31920
---

Core

  • Added \Shopware\Core\Framework\DataAbstractionLayer\Indexing\MessageQueue\FullEntityIndexerMessage, that will be handled as dal:refresh:index
  • Changed api.action.cache.index route to dispatch \Shopware\Core\Framework\DataAbstractionLayer\Indexing\MessageQueue\FullEntityIndexerMessage instead of \Shopware\Core\Framework\DataAbstractionLayer\Indexing\MessageQueue\IterateEntityIndexerMessage

API

  • Added body parameter only to api/_action/index to reduce complexity when using skip instead
  • Changed api/_action/index to dispatch a single message instead of a message per indexer

Administration

  • Added mode selection in sw-settings-cache-index to either skip indices like before or only run selected indexers and updaters