@@ -18,6 +18,24 @@ view information from the server.
18
18
19
19
- ** options** : ` ArangoSearchCreateOptions `
20
20
21
+ - ** commitIntervalMsec** : ` Long `
22
+
23
+ Wait at least this many milliseconds between committing view data store changes
24
+ and making documents visible to queries (default: 1000, to disable use: 0). For
25
+ the case where there are a lot of inserts/updates, a lower value, until commit,
26
+ will cause the index not to account for them and memory usage would continue to
27
+ grow. For the case where there are a few inserts/updates, a higher value will
28
+ impact performance and waste disk space for each commit call without any added
29
+ benefits. Background: For data retrieval ArangoSearch views follow the concept
30
+ of "eventually-consistent", i.e. eventually all the data in ArangoDB will be
31
+ matched by corresponding query expressions. The concept of ArangoSearch view
32
+ "commit" operation is introduced to control the upper-bound on the time until
33
+ document addition/removals are actually reflected by corresponding query
34
+ expressions. Once a "commit" operation is complete all documents added/removed
35
+ prior to the start of the "commit" operation will be reflected by queries
36
+ invoked in subsequent ArangoDB transactions, in-progress ArangoDB transactions
37
+ will still continue to return a repeatable-read state.
38
+
21
39
- ** consolidationIntervalMsec** : ` Long `
22
40
23
41
Wait at least this many milliseconds between committing index data changes
@@ -54,10 +72,15 @@ view information from the server.
54
72
Apply the "consolidation" operation if and only if (default: 300):
55
73
` {segmentThreshold} < number_of_segments `
56
74
57
- - ** link ** : ` CollectionLink[] `
75
+ - ** links ** : ` CollectionLink[] `
58
76
59
77
A list of linked collections
60
78
79
+ - ** primarySorts** : ` CollectionLink[] `
80
+
81
+ A list of primary sort objects. When creating an ArangoSearch View, you
82
+ can optionally define a default sort order.
83
+
61
84
** Examples**
62
85
63
86
``` Java
0 commit comments