Documentation ¶
Index ¶
- type Action
- type Operation
- type Option
- func ErrorTrace(e bool) Option
- func FilterPath(f ...string) Option
- func Human(h bool) Option
- func Pipeline(p string) Option
- func Pretty(p bool) Option
- func Refresh(r refresh.Refresh) Option
- func RequireAlias(r bool) Option
- func Routing(r string) Option
- func Source(s string) Option
- func SourceExcludes(s ...string) Option
- func SourceIncludes(s ...string) Option
- func Timeout(t string) Option
- func WaitForActiveShards(w string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
func ErrorTrace ¶
ErrorTrace When set to `true` Elasticsearch will include the full stack trace of errors when they occur. API name: error_trace
func FilterPath ¶
FilterPath Comma-separated list of filters used to reduce the response. API name: filter_path
func Pipeline ¶
Pipeline ID of the pipeline to use to preprocess incoming documents. If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request. If a final pipeline is configured it will always run, regardless of the value of this parameter. API name: pipeline
func Refresh ¶
Refresh If `true`, Elasticsearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes. Valid values: `true`, `false`, `wait_for`. API name: refresh
func RequireAlias ¶
RequireAlias If true, requires destination to be an alias. API name: require_alias
func Source ¶
Source_ `true` or `false` to return the `_source` field or not, or a list of fields to return. API name: _source
func SourceExcludes ¶
SourceExcludes_ A comma-separated list of source fields to exclude from the response. API name: _source_excludes
func SourceIncludes ¶
SourceIncludes_ A comma-separated list of source fields to include in the response. API name: _source_includes
func WaitForActiveShards ¶
WaitForActiveShards The number of shard copies that must be active before proceeding with the operation. Set to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`). API name: wait_for_active_shards