Adapting Text Index

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
stiller
Posts: 89
Joined: 05 Mar 2016, 15:59

Adapting Text Index

Post by stiller » 30 Oct 2024, 13:31

hi there,

I want to restrict text types in the aimeos search index.

Code: Select all

module.tx_aimeos.settings.mshop.index.manager.text.types {
0 = short
1 = long
}
works fine, when saving product texts. but the index is rewritten on index rebuild.

Applying

Code: Select all

mshop.index.manager.text.types {
0 = short
1 = long
}
in the typoscript field of the scheduler task produces the following error.

array_merge(): Argument #2 must be of type array, null given
in ..../aimeos-core/src/MShop/Index/Manager/Text/Standard.php line 780

780: $map['content'] = array_merge( $map['content'], $texts['']['content'] );

what's wrong?

Aimeos Version
2022.10.8

Beside this, it would be helpful to have a configuration option to exclude variants of select products as well as rebate products from the index.