massiveart / MassiveSearchBundle

MIT License
67 stars 24 forks source link

Store block values in one field #168

Closed thomasduenser closed 1 year ago

thomasduenser commented 1 year ago

Problem

When at least one property inside a block (or nested block) had a search tag, a new field for each of the properties was created.

With the ElasticSearch adapter, this could lead to following error:

Limit of total fields [1000] has been exceeded

Solution

This Pull Request collects only the tagged properties inside blocks (or nested blocks) and stores these values in one field called contentBlocks.

Solves following issue

https://github.com/sulu/sulu/issues/6501

Related PR

https://github.com/sulu/sulu/pull/6868