Skip to main content
  • Type: boolean
  • Default: false
  • Scope: settings
The allowCompressionOfIntegerArray parameter enables compression for array attributes that contain only non-negative integers. This is useful for attributes such as lists of user IDs, permissions, or access control lists.

Usage

  • Compression may alter the order of values within the array.
  • Applies to both top-level and nested attributes, as long as the values are arrays of integers.

Example

Current API clients

IndexSettings settings = new IndexSettings();
settings.AllowCompressionOfIntegerArray = true;

index.SetSettings(settings);
IndexSettings settings = new IndexSettings();
settings.AllowCompressionOfIntegerArray = true;

index.SetSettings(settings);
I