Used Shopware Version: 6.4.8.1
I have installed the SwagEnterpriseSearchPlatform(version: 3.3.1) plugin and I am trying to Build Index by using the command 'bin/console dal:refresh: index'
I am getting the following error
Following errors occurred while indexing:
Document contains at least one immense term in field="customFields.xxx" (whose UTF8 encoding is longer than the max length 3276
6), all of which were skipped. Please correct the analyzer to not produce
such terms. The prefix of the first immense term is: '[60, 112, 62, 10, 10
, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 3
2, 32, 32, 32, 32, 32, 32]...', original message: bytes can be at most 3276
6 in length; got 44528
#Document contains at least one immense term in field="customFields. xxxx" (whose UTF8 encoding is longer than the max length 327
66), all of which were skipped. Please correct the analyzer to not produce
such terms. The prefix of the first immense term is: '[60, 112, 62, 10, 1
0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 32, 32, 32, 32]...', original message: bytes can be at most 327
66 in length; got 45540
There was an issue reported in the issue tracker Shopware Issuetracker. it shows that issue was fixed in 6.4.0.0 RC. but I am getting the same error
The following is my custom field
[ ‚name‘ => ‚xxxxx‘, ‚type‘ => CustomFieldTypes::HTML, ‚config‘ => [ ‚componentName‘ => ‚sw-text-editor‘, ‚customFieldType‘ => ‚textEditor‘, ‚label‘ => [ ‚en-GB‘ => ‚Product Information (Rich Content)‘, ‚de-DE‘ => ‚Hersteller Produkttext (Rich Content)‘, ‚de-AT‘ => ‚Hersteller Produkttext (Rich Content)‘, ], ‚customFieldPosition‘ => 5, ], ],
Plugin settings:
I have added the following environment variables in .env file SHOPWARE_ES_HOSTS=elasticsearch:9200 SHOPWARE_ES_ENABLED=1 SHOPWARE_ES_INDEXING_ENABLED=1 SHOPWARE_ES_INDEX_PREFIX=sw