Documentation ¶
Index ¶
- type SearchResponse
- type SearchResponseDecorationStats
- func (m *SearchResponseDecorationStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SearchResponseDecorationStats) MarshalBinary() ([]byte, error)
- func (m *SearchResponseDecorationStats) UnmarshalBinary(b []byte) error
- func (m *SearchResponseDecorationStats) Validate(formats strfmt.Registry) error
- type SearchResponseMessagesItems0
- func (m *SearchResponseMessagesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SearchResponseMessagesItems0) MarshalBinary() ([]byte, error)
- func (m *SearchResponseMessagesItems0) UnmarshalBinary(b []byte) error
- func (m *SearchResponseMessagesItems0) Validate(formats strfmt.Registry) error
- type SearchResponseMessagesItems0DecorationStats
- func (m *SearchResponseMessagesItems0DecorationStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SearchResponseMessagesItems0DecorationStats) MarshalBinary() ([]byte, error)
- func (m *SearchResponseMessagesItems0DecorationStats) UnmarshalBinary(b []byte) error
- func (m *SearchResponseMessagesItems0DecorationStats) Validate(formats strfmt.Registry) error
- type SearchResponseUsedIndicesItems0
- func (m *SearchResponseUsedIndicesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SearchResponseUsedIndicesItems0) MarshalBinary() ([]byte, error)
- func (m *SearchResponseUsedIndicesItems0) UnmarshalBinary(b []byte) error
- func (m *SearchResponseUsedIndicesItems0) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SearchResponse ¶
type SearchResponse struct { // built query BuiltQuery string `json:"built_query,omitempty"` // decoration stats DecorationStats *SearchResponseDecorationStats `json:"decoration_stats,omitempty"` // fields Fields []string `json:"fields"` // from // Format: date-time From strfmt.DateTime `json:"from,omitempty"` // messages Messages []*SearchResponseMessagesItems0 `json:"messages"` // query Query string `json:"query,omitempty"` // time Time int64 `json:"time,omitempty"` // to // Format: date-time To strfmt.DateTime `json:"to,omitempty"` // total results TotalResults int64 `json:"total_results,omitempty"` // used indices UsedIndices []*SearchResponseUsedIndicesItems0 `json:"used_indices"` }
SearchResponse search response
swagger:model SearchResponse
func (*SearchResponse) ContextValidate ¶
ContextValidate validate this search response based on the context it is used
func (*SearchResponse) MarshalBinary ¶
func (m *SearchResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchResponse) UnmarshalBinary ¶
func (m *SearchResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchResponseDecorationStats ¶
type SearchResponseDecorationStats struct { // added fields AddedFields []string `json:"added_fields"` // changed fields ChangedFields []string `json:"changed_fields"` // removed fields RemovedFields []string `json:"removed_fields"` }
SearchResponseDecorationStats search response decoration stats
swagger:model SearchResponseDecorationStats
func (*SearchResponseDecorationStats) ContextValidate ¶
func (m *SearchResponseDecorationStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this search response decoration stats based on context it is used
func (*SearchResponseDecorationStats) MarshalBinary ¶
func (m *SearchResponseDecorationStats) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchResponseDecorationStats) UnmarshalBinary ¶
func (m *SearchResponseDecorationStats) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchResponseMessagesItems0 ¶
type SearchResponseMessagesItems0 struct { // decoration stats DecorationStats *SearchResponseMessagesItems0DecorationStats `json:"decoration_stats,omitempty"` // highlight ranges HighlightRanges interface{} `json:"highlight_ranges,omitempty"` // index Index string `json:"index,omitempty"` // message Message interface{} `json:"message,omitempty"` }
SearchResponseMessagesItems0 search response messages items0
swagger:model SearchResponseMessagesItems0
func (*SearchResponseMessagesItems0) ContextValidate ¶
func (m *SearchResponseMessagesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this search response messages items0 based on the context it is used
func (*SearchResponseMessagesItems0) MarshalBinary ¶
func (m *SearchResponseMessagesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchResponseMessagesItems0) UnmarshalBinary ¶
func (m *SearchResponseMessagesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchResponseMessagesItems0DecorationStats ¶
type SearchResponseMessagesItems0DecorationStats struct { // added fields AddedFields interface{} `json:"added_fields,omitempty"` // changed fields ChangedFields interface{} `json:"changed_fields,omitempty"` // removed fields RemovedFields interface{} `json:"removed_fields,omitempty"` }
SearchResponseMessagesItems0DecorationStats search response messages items0 decoration stats
swagger:model SearchResponseMessagesItems0DecorationStats
func (*SearchResponseMessagesItems0DecorationStats) ContextValidate ¶
func (m *SearchResponseMessagesItems0DecorationStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this search response messages items0 decoration stats based on context it is used
func (*SearchResponseMessagesItems0DecorationStats) MarshalBinary ¶
func (m *SearchResponseMessagesItems0DecorationStats) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchResponseMessagesItems0DecorationStats) UnmarshalBinary ¶
func (m *SearchResponseMessagesItems0DecorationStats) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchResponseUsedIndicesItems0 ¶
type SearchResponseUsedIndicesItems0 struct { // begin // Format: date-time Begin strfmt.DateTime `json:"begin,omitempty"` // calculated at // Format: date-time CalculatedAt strfmt.DateTime `json:"calculated_at,omitempty"` // end // Format: date-time End strfmt.DateTime `json:"end,omitempty"` // index name IndexName string `json:"index_name,omitempty"` // took ms TookMs int64 `json:"took_ms,omitempty"` }
SearchResponseUsedIndicesItems0 search response used indices items0
swagger:model SearchResponseUsedIndicesItems0
func (*SearchResponseUsedIndicesItems0) ContextValidate ¶
func (m *SearchResponseUsedIndicesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this search response used indices items0 based on context it is used
func (*SearchResponseUsedIndicesItems0) MarshalBinary ¶
func (m *SearchResponseUsedIndicesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchResponseUsedIndicesItems0) UnmarshalBinary ¶
func (m *SearchResponseUsedIndicesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation