You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using postgres, if there is a product with a description field longer than 2704 bytes, this can't be indexed correctly. In this situation, trying to (re)build the search index results in the following error: ERROR: index row size 2816 exceeds btree version 4 maximum 2704 for index "IDX_9a5a6a556f75c4ac7bfdd03410" - Index row references tuple (0,3) in relation "search_index_item" - Values larger than 1/3 of a buffer page cannot be indexed
The db crashes and the product view in the admin is empty.
The issue is in the SearchIndexItem.description field that has a length limit that is not reflected (for instance) in a length limit in the Admin UI for the description field.
Expected behavior
If this limit can't be increased easily, at least there should be either a limit in the max length of description field in the Admin UI or a message that states that longer descriptions cannot be fully indexed.
Environment (please complete the following information):
@vendure/core version: 0.18.3
Database (mysql/postgres etc): Postgres
The text was updated successfully, but these errors were encountered:
Describe the bug
When using postgres, if there is a product with a description field longer than 2704 bytes, this can't be indexed correctly. In this situation, trying to (re)build the search index results in the following error:
ERROR: index row size 2816 exceeds btree version 4 maximum 2704 for index "IDX_9a5a6a556f75c4ac7bfdd03410" - Index row references tuple (0,3) in relation "search_index_item" - Values larger than 1/3 of a buffer page cannot be indexed
The db crashes and the product view in the admin is empty.
The issue is in the SearchIndexItem.description field that has a length limit that is not reflected (for instance) in a length limit in the Admin UI for the description field.
Expected behavior
If this limit can't be increased easily, at least there should be either a limit in the max length of description field in the Admin UI or a message that states that longer descriptions cannot be fully indexed.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: