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
// Analyzer The name of an Analyzer to use by default. This Analyzer is applied to the values of the indexed fields for which you don’t define Analyzers explicitly.
228
+
Analyzerstring`json:"analyzer,omitempty"`
222
229
// Features list of analyzer features, default []
223
230
Features []ArangoSearchAnalyzerFeature`json:"features,omitempty"`
224
231
// IncludeAllFields If set to true, all fields of this element will be indexed. Defaults to false.
// This option only applies if you use the inverted index in a search-alias Views.
236
+
// You can set the option to true to get the same behavior as with arangosearch Views regarding the indexing of array values as the default.
237
+
// If enabled, both, array and primitive values (strings, numbers, etc.) are accepted. Every element of an array is indexed according to the trackListPositions option.
238
+
// If set to false, it depends on the attribute path. If it explicitly expand an array ([*]), then the elements are indexed separately.
239
+
// Otherwise, the array is indexed as a whole, but only geopoint and aql Analyzers accept array inputs.
240
+
// You cannot use an array expansion if searchField is enabled.
241
+
SearchFieldbool`json:"searchField,omitempty"`
228
242
// Fields contains the properties for individual fields of the element.
// WriteBufferSizeMax Maximum memory byte size per writer (segment) before a writer (segment) flush is triggered.
262
+
// 0 value turns off this limit for any writer (buffer) and data will be flushed periodically based on the value defined for the flush thread (ArangoDB server startup option).
263
+
// 0 value should be used carefully due to high potential memory consumption (default: 33554432, use 0 to disable)
// IncludeAllFields If set to true, all fields of this element will be indexed. Defaults to false.
278
+
// Analyzer indicating the name of an analyzer instance
279
+
// Default: the value defined by the top-level analyzer option, or if not set, the default identity Analyzer.
280
+
Analyzerstring`json:"analyzer,omitempty"`
281
+
// IncludeAllFields This option only applies if you use the inverted index in a search-alias Views.
282
+
// If set to true, then all sub-attributes of this field are indexed, excluding any sub-attributes that are configured separately by other elements in the fields array (and their sub-attributes). The analyzer and features properties apply to the sub-attributes.
283
+
// If set to false, then sub-attributes are ignored. The default value is defined by the top-level includeAllFields option, or false if not set.
// TrackListPositions If set to true, values in a listed are treated as separate values. Defaults to false.
285
+
// SearchField This option only applies if you use the inverted index in a search-alias Views.
286
+
// You can set the option to true to get the same behavior as with arangosearch Views regarding the indexing of array values for this field. If enabled, both, array and primitive values (strings, numbers, etc.) are accepted. Every element of an array is indexed according to the trackListPositions option.
287
+
// If set to false, it depends on the attribute path. If it explicitly expand an array ([*]), then the elements are indexed separately. Otherwise, the array is indexed as a whole, but only geopoint and aql Analyzers accept array inputs. You cannot use an array expansion if searchField is enabled.
288
+
// Default: the value defined by the top-level searchField option, or false if not set.
289
+
SearchFieldbool`json:"searchField,omitempty"`
290
+
// TrackListPositions This option only applies if you use the inverted index in a search-alias Views.
291
+
// If set to true, then track the value position in arrays for array values. For example, when querying a document like { attr: [ "valueX", "valueY", "valueZ" ] }, you need to specify the array element, e.g. doc.attr[1] == "valueY".
292
+
// If set to false, all values in an array are treated as equal alternatives. You don’t specify an array element in queries, e.g. doc.attr == "valueY", and all elements are searched for a match.
293
+
// Default: the value defined by the top-level trackListPositions option, or false if not set.
Copy file name to clipboardExpand all lines: view_arangosearch.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -319,7 +319,7 @@ type ArangoSearchViewProperties struct {
319
319
// CommitInterval ArangoSearch waits at least this many milliseconds between committing view data store changes and making documents visible to queries
0 commit comments