mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
PHRAS-3003_large-value-32ko_es_4.1
- fix (temporary ?) : text values are kept full in metadata table, but truncated to 32Ko by indexer.
This commit is contained in:
@@ -151,6 +151,7 @@ class RecordHelper
|
||||
return (bool) $value;
|
||||
|
||||
case FieldMapping::TYPE_STRING:
|
||||
$value = substr($value, 0, 32766); // for lucene limit, before a better solution
|
||||
return str_replace("\0", '', $value);
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user