diff --git a/pkg/proto/v0/bleve.go b/pkg/proto/v0/bleve.go index c4074c36d6..66188d84ba 100644 --- a/pkg/proto/v0/bleve.go +++ b/pkg/proto/v0/bleve.go @@ -1,13 +1,12 @@ package proto -// Bleve uses a private bleveClassifier interface to determine the type of a struct -// see https://github.com/blevesearch/bleve/blob/master/mapping/mapping.go#L32-L38 - +// BleveAccount wraps the generated Account and adds a bleve type that is used to distinguish documents in the index type BleveAccount struct { Account BleveType string `json:"bleve_type"` } +// BleveGroup wraps the generated Group and adds a bleve type that is used to distinguish documents in the index type BleveGroup struct { Group BleveType string `json:"bleve_type"`