Documentation
¶
Index ¶
Constants ¶
View Source
const ( ResultNotFound = `not_found` ResultCreated = `created` ResultUpdated = `updated` ResultDeleted = `deleted` )
View Source
const ( RelationEq = `eq` RelationGt = `gt` )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocIndex ¶
type DocIndex struct { Result Id string `json:"_id"` Version int64 `json:"_version"` Res string `json:"result"` SeqNo int64 `json:"_seq_no"` PrimaryTerm int64 `json:"_primary_term"` }
func ToDocIndex ¶
func ToDocIndex(resp *http_client.Response, err error) (*DocIndex, error)
type Documents ¶
func ToDocuments ¶
func ToDocuments(resp *http_client.Response, err error) (*Documents, error)
type IndexMapping ¶
func ToMapping ¶
func ToMapping(resp *http_client.Response, err error) (*IndexMapping, error)
type Mapping ¶
type Mapping struct {
Properties MappingProperties `json:"properties"`
}
type MappingProperties ¶
type MappingProperties map[string]MappingProperty
type MappingProperty ¶
type Search ¶
Click to show internal directories.
Click to hide internal directories.