diff --git a/client/client.go b/client/client.go index 9a92c2f73..beb9caf61 100644 --- a/client/client.go +++ b/client/client.go @@ -1701,6 +1701,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 { @@ -1727,6 +1728,7 @@ func (so SchemaOptions) asFieldOptions() *FieldOptions { timeUnit: so.TimeUnit, base: so.Base, epoch: so.Epoch, + foreignIndex: so.ForeignIndex, } }