Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mapping ¶
type Mapping struct { JsonDotPaths []string //all fields in jsonDotPaths ,use for index.query.default_field parameter, this parameter is to set fields to query when no fields are specified in the query. // contains filtered or unexported fields }
Mapping struct is to get the generated mapping
func MappingInit ¶
Get a new instance of Mapping struct
func (*Mapping) FieldsDefinition ¶
func (mapping *Mapping) FieldsDefinition(protofile []*descriptorpb.FileDescriptorProto) string
Click to show internal directories.
Click to hide internal directories.