punktde/elastic-assetusageinnodes

Calculate asset usages using elastic instead of slow database like search.

Installs: 479

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 5

Forks: 1

Open Issues: 1

Type:neos-package

pkg:composer/punktde/elastic-assetusageinnodes

2.0.0 2020-06-10 06:23 UTC

This package is auto-updated.

Last update: 2025-10-10 18:09:23 UTC


README

Travis Build Status Latest Stable Version Total Downloads

Problem this package solves

In order to determine which assets are used in which content elements, Neos needs to do a full like search through all properties of the Neos ContentRepository table. For larger projects, having > 100.000 nodes, this can get awfully slow. A click on an asset in the media module can take a minute and more. Scanning for unused assets using the /flow media:removeunused command can last for days.

Solution

This package extracts used assets during the Elasticsearch indexing and replaces the expensive like search through a fast and effective Elasticsearch query.

Installation

$ composer require punktde/elastic-assetusageinnodes