You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// EnsureMDIIndex creates a multidimensional index for the collection, if it does not already exist.
71
63
// The index is returned, together with a boolean indicating if the index was newly created (true) or pre-existing (false).
72
64
// Available in ArangoDB 3.12 and later.
@@ -114,12 +106,6 @@ const (
114
106
// Documents which are expired are eventually removed by a background thread.
115
107
TTLIndexType=IndexType("ttl")
116
108
117
-
// ZKDIndexType == multi-dimensional index. The zkd index type is an experimental index for indexing two- or higher dimensional data such as time ranges,
118
-
// for efficient intersection of multiple range queries.
119
-
//
120
-
// Deprecated: since 3.12 version use MDIIndexType instead.
121
-
ZKDIndexType=IndexType("zkd")
122
-
123
109
// MDIIndexType is multidimensional index for indexing two- or higher dimensional data such as time ranges,
124
110
// for efficient intersection of multiple range queries.
125
111
// Available in ArangoDB 3.12 and later.
@@ -132,26 +118,6 @@ const (
132
118
133
119
// InvertedIndexType can be used to speed up a broad range of AQL queries, from simple to complex, including full-text search
134
120
InvertedIndexType=IndexType("inverted")
135
-
136
-
// FullTextIndex
137
-
//
138
-
// Deprecated: since 3.10 version. Use ArangoSearch view instead.
139
-
// It is ued just for the read compatibility with older versions.
140
-
FullTextIndex=IndexType("fulltext")
141
-
142
-
// HashIndex are an aliases for the persistent index type and should no longer be used to create new indexes.
143
-
// The aliases will be removed in a future version.
144
-
// It is ued just for the read compatibility with older versions.
145
-
//
146
-
// Deprecated: use PersistentIndexType instead
147
-
HashIndex=IndexType("hash")
148
-
149
-
// SkipListIndex are an aliases for the persistent index type and should no longer be used to create new indexes.
150
-
// The aliases will be removed in a future version.
151
-
// It is ued just for the read compatibility with older versions.
152
-
//
153
-
// Deprecated: use PersistentIndexType instead
154
-
SkipListIndex=IndexType("skiplist")
155
121
)
156
122
157
123
// IndexResponse is the response from the Index list method
@@ -302,29 +268,10 @@ type CreateTTLIndexOptions struct {
302
268
InBackground*bool`json:"inBackground,omitempty"`
303
269
}
304
270
305
-
// ZKDFieldType
306
-
//
307
-
// Deprecated: use MDIFieldType instead
308
-
typeZKDFieldTypestring
309
-
310
-
// ZKDDoubleFieldType
311
-
//
312
-
// Deprecated: use MDIDoubleFieldType instead
313
-
constZKDDoubleFieldTypeZKDFieldType="double"
314
-
315
271
typeMDIFieldTypestring
316
272
317
273
constMDIDoubleFieldTypeMDIFieldType="double"
318
274
319
-
// CreateZKDIndexOptions provides specific options for creating a ZKD index
320
-
typeCreateZKDIndexOptionsstruct {
321
-
// Name optional user defined name used for hints in AQL queries
322
-
Namestring`json:"name,omitempty"`
323
-
324
-
// FieldValueTypes is required and the only allowed value is "double". Future extensions of the index will allow other types.
// Deprecated: use 'SetCollectionPropertiesOptionsV2' instead
188
-
//
189
159
// SetCollectionPropertiesOptions contains data for Collection.SetProperties.
190
-
typeSetCollectionPropertiesOptionsstruct {
191
-
// If true then creating or changing a document will wait until the data has been synchronized to disk.
192
-
WaitForSync*bool`json:"waitForSync,omitempty"`
193
-
194
-
// The maximal size of a journal or datafile in bytes. The value must be at least 1048576 (1 MB). Note that when changing the journalSize value, it will only have an effect for additional journals or datafiles that are created. Already existing journals or datafiles will not be affected.
195
-
JournalSizeint64`json:"journalSize,omitempty"`
196
-
197
-
// ReplicationFactor contains how many copies of each shard are kept on different DBServers.
0 commit comments