Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bulk ¶
type Bulk struct { Metadata interface{} `json:",inline"` Source []byte `json:",inline"` }
Bulk is the internal representation of a elastic search bulk request.
type BulkList ¶
type BulkList []*Bulk
BulkList is a list of bulks
func ParseExportedFiles ¶
ParseExportedFiles reads jsondocuments line by line from an expected file where multiple jsons are separated by newline.
type ESMetadata ¶
type ESMetadata struct {
Index ESIndex `json:"index,omitempty"`
}
ESMetadata is the metadata of a bulk document.
Click to show internal directories.
Click to hide internal directories.