@@ -221,6 +221,9 @@ Note that the `primarySort` option is immutable: it can not be changed after
221221View creation. It is therefore not possible to configure it through the Web UI.
222222The View needs to be created via the HTTP or JavaScript API (arangosh) to set it.
223223
224+ The primary sort data is LZ4 compressed by default (`primarySortCompression` is
225+ `"lz4"`). Set it to `"none"` on View creation to trade space for speed.
226+
224227View Definition/Modification
225228----------------------------
226229
@@ -245,7 +248,7 @@ During view modification the following directives apply:
245248### Link Properties
246249
247250- **analyzers** (_optional_; type: `array`; subtype: `string`; default: `[
248- ' identity' ]`)
251+ " identity" ]`)
249252
250253 A list of Analyzers, by name as defined via the [Analyzers](arangosearch-analyzers.html),
251254 that should be applied to values of processed document attributes.
@@ -271,11 +274,11 @@ During view modification the following directives apply:
271274- **trackListPositions** (_optional_; type: `boolean`; default: `false`)
272275
273276 If set to `true`, then for array values track the value position in arrays.
274- E.g., when querying for the input `{ attr: [ ' valueX', ' valueY', ' valueZ' ]
275- }`, the user must specify: `doc.attr[1] == ' valueY' `. Otherwise, all values in
277+ E.g., when querying for the input `{ attr: [ " valueX", " valueY", " valueZ" ] }`,
278+ the user must specify: `doc.attr[1] == " valueY" `. Otherwise, all values in
276279 an array are treated as equal alternatives. E.g., when querying for the input
277- `{ attr: [ ' valueX', ' valueY', ' valueZ' ] }`, the user must specify: `doc.attr
278- == ' valueY' `.
280+ `{ attr: [ " valueX", " valueY", " valueZ" ] }`, the user must specify:
281+ `doc.attr == " valueY" `.
279282
280283- **storeValues** (_optional_; type: `string`; default: `"none"`)
281284
@@ -294,7 +297,31 @@ During view modification the following directives apply:
294297 iterates over all documents of a View, wants to sort them by attribute values
295298 and the (left-most) fields to sort by as well as their sorting direction match
296299 with the *primarySort* definition, then the `SORT` operation is optimized away.
297- Also see [Primary Sort Order](arangosearch-views.html#primary-sort-order)
300+ Also see [Primary Sort Order](#primary-sort-order)
301+
302+ - **primarySortCompression** (_optional_; type: `string`; default: `lz4`; _immutable_)
303+
304+ Defines how to compress the primary sort data (introduced in v3.7.0).
305+ ArangoDB v3.5 and v3.6 always compress the index using LZ4.
306+
307+ - `"lz4"` (default): use LZ4 fast compression.
308+ - `"none"`: disable compression to trade space for speed.
309+
310+ - **storedValues** (_optional_; type: `array`; default: `[]`; _immutable_)
311+
312+ An array of objects to describe which document attributes to store in the
313+ View index. It can then cover search queries, which means the data can be
314+ taken from the index directly and accessing the storage engine can be avoided.
315+
316+ Each object is expected in the form
317+ `{ fields: [ "attr1", "attr2", ... "attrN" ], compression: "none" }`,
318+ where the required `fields` attribute is an array of strings with one or more
319+ document attribute paths. The specified attributes are placed into a single
320+ column of the index. A column with all fields that are involved in common
321+ search queries is ideal for performance. The column should not include too
322+ many unneeded fields however. The optional `compression` attribute defines
323+ the compression type used for the internal column-store, which can be `"lz4"`
324+ (LZ4 fast compression, default) or `"none"` (no compression).
298325
299326An inverted index is the heart of ArangoSearch Views.
300327The index consists of several independent segments and the index **segment**
0 commit comments