From 694fb9b048e93cd6577c4b433888399fd2c23c08 Mon Sep 17 00:00:00 2001 From: Jacob Brinlee <66123601+jrbrinlee1@users.noreply.github.com> Date: Wed, 5 Oct 2022 09:13:44 -0500 Subject: [PATCH] adding foreignIndex conf opt (#2239) --- client/client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/client.go b/client/client.go index a508f9723..1ec290e0b 100644 --- a/client/client.go +++ b/client/client.go @@ -1702,6 +1702,7 @@ type SchemaOptions struct { TimeUnit string `json:"timeUnit"` Base int64 `json:"base"` Epoch time.Time `json:"epoch"` + ForeignIndex string `json:"foreignIndex"` } func (so SchemaOptions) asIndexOptions() *IndexOptions { @@ -1728,6 +1729,7 @@ func (so SchemaOptions) asFieldOptions() *FieldOptions { timeUnit: so.TimeUnit, base: so.Base, epoch: so.Epoch, + foreignIndex: so.ForeignIndex, } }