allowCompressionOfIntegerArray
false
'allowCompressionOfIntegerArray' => true|false
Can be used in these methods:
setSettings
set_settings
setSettings
set_settings
setSettings
setSettings
setSettingsAsync
SetSettings
setSettings
SetSettings
setSettings
About this parameter
Enables compression of large integer arrays.
In data-intensive use-cases, we recommended enabling this feature to reach a better compression ratio on arrays exclusively containing non-negative integers (as is typical of lists of user IDs or ACLs).
Usage notes:
- When enabled, the compressed integer arrays may be reordered. Non-compressed arrays are left intact.
Examples
Enable compression of large integer arrays
1
2
3
$index->setSettings([
'allowCompressionOfIntegerArray' => true
]);