ensure lowercase metadata

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer committed 2020-07-16 17:35:22 +02:00
1 parent f9670592fb
commit 4f5989a781
1 file changed
+3 -3
+3 -3
View File
@@ -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