From 4f5989a7812f0bd00afdbe7fcc7da9d7ec7c9257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Thu, 16 Jul 2020 16:01:31 +0200 Subject: [PATCH] ensure lowercase metadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- pkg/service/v0/service.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/service/v0/service.go b/pkg/service/v0/service.go index 5ebd11c9b8..28fdfac07e 100644 --- a/pkg/service/v0/service.go +++ b/pkg/service/v0/service.go @@ -19,9 +19,9 @@ import ( // BleveDocument wraps the generated Record.Metadata and adds a property that is used to distinguish documents in the index. type BleveDocument struct { - Metadata map[string]*proto.Field - Database string `json:"database"` - Table string `json:"table"` + Metadata map[string]*proto.Field `json:"metadata"` + Database string `json:"database"` + Table string `json:"table"` } // New returns a new instance of Service