From d8ba398dd8aa192126b820c7d62eeaf73c7a8759 Mon Sep 17 00:00:00 2001 From: Yuce Tekol Date: Fri, 1 Mar 2019 15:02:49 +0300 Subject: [PATCH] added missing index.go changes --- index.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.go b/index.go index e06ce1732..696e81769 100644 --- a/index.go +++ b/index.go @@ -453,9 +453,10 @@ func (p indexSlice) Less(i, j int) bool { return p[i].Name() < p[j].Name() } // IndexInfo represents schema information for an index. type IndexInfo struct { - Name string `json:"name"` - Options IndexOptions `json:"options"` - Fields []*FieldInfo `json:"fields"` + Name string `json:"name"` + Options IndexOptions `json:"options"` + Fields []*FieldInfo `json:"fields"` + ShardWidth uint64 `json:"shardWidth"` } type indexInfoSlice []*IndexInfo