From 1306b4ded3674b6f735938ab055310be8e36f66d Mon Sep 17 00:00:00 2001 From: William Bergeron-Drouin Date: Fri, 13 Jan 2023 09:58:36 -0500 Subject: [PATCH] Add nested search fields --- view_arangosearch.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/view_arangosearch.go b/view_arangosearch.go index 3d241517..f6690181 100644 --- a/view_arangosearch.go +++ b/view_arangosearch.go @@ -488,6 +488,9 @@ type ArangoSearchElementProperties struct { // Fields contains the properties for individual fields of the element. // The key of the map are field names. Fields ArangoSearchFields `json:"fields,omitempty"` + // Nested contains the properties for nested fields (sub-objects) of the element + // Enterprise Edition only + Nested ArangoSearchFields `json:"nested,omitempty"` // If set to true, then no exclusive lock is used on the source collection during View index creation, // so that it remains basically available. inBackground is an option that can be set when adding links. // It does not get persisted as it is not a View property, but only a one-off option