types

package
v8.4.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 164 Imported by: 2,176

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type AcknowledgeStateBuilder ¶

type AcknowledgeStateBuilder struct {
	// contains filtered or unexported fields
}

AcknowledgeStateBuilder holds AcknowledgeState struct and provides a builder API.

func NewAcknowledgeStateBuilder ¶

func NewAcknowledgeStateBuilder() *AcknowledgeStateBuilder

NewAcknowledgeState provides a builder for the AcknowledgeState struct.

func (*AcknowledgeStateBuilder) Build ¶

Build finalize the chain and returns the AcknowledgeState struct

func (*AcknowledgeStateBuilder) Timestamp ¶

type AcknowledgedResponseBase ¶

type AcknowledgedResponseBase struct {
	// Acknowledged For a successful response, this value is always true. On failure, an
	// exception is returned instead.
	Acknowledged bool `json:"acknowledged"`
}

AcknowledgedResponseBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Base.ts#L47-L50

type AcknowledgedResponseBaseBuilder ¶

type AcknowledgedResponseBaseBuilder struct {
	// contains filtered or unexported fields
}

AcknowledgedResponseBaseBuilder holds AcknowledgedResponseBase struct and provides a builder API.

func NewAcknowledgedResponseBaseBuilder ¶

func NewAcknowledgedResponseBaseBuilder() *AcknowledgedResponseBaseBuilder

NewAcknowledgedResponseBase provides a builder for the AcknowledgedResponseBase struct.

func (*AcknowledgedResponseBaseBuilder) Acknowledged ¶

func (*AcknowledgedResponseBaseBuilder) Build ¶

Build finalize the chain and returns the AcknowledgedResponseBase struct

type Acknowledgement ¶

type Acknowledgement struct {
	License []string `json:"license"`
	Message string   `json:"message"`
}

Acknowledgement type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/license/post/types.ts#L20-L23

type AcknowledgementBuilder ¶

type AcknowledgementBuilder struct {
	// contains filtered or unexported fields
}

AcknowledgementBuilder holds Acknowledgement struct and provides a builder API.

func NewAcknowledgementBuilder ¶

func NewAcknowledgementBuilder() *AcknowledgementBuilder

NewAcknowledgement provides a builder for the Acknowledgement struct.

func (*AcknowledgementBuilder) Build ¶

Build finalize the chain and returns the Acknowledgement struct

func (*AcknowledgementBuilder) License ¶

func (rb *AcknowledgementBuilder) License(license ...string) *AcknowledgementBuilder

func (*AcknowledgementBuilder) Message ¶

type Action ¶

type Action struct {
	ActionType             *actiontype.ActionType   `json:"action_type,omitempty"`
	Condition              *ConditionContainer      `json:"condition,omitempty"`
	Email                  *EmailAction             `json:"email,omitempty"`
	Foreach                *string                  `json:"foreach,omitempty"`
	Index                  *IndexAction             `json:"index,omitempty"`
	Logging                *LoggingAction           `json:"logging,omitempty"`
	MaxIterations          *int                     `json:"max_iterations,omitempty"`
	Name                   *Name                    `json:"name,omitempty"`
	Pagerduty              *PagerDutyAction         `json:"pagerduty,omitempty"`
	Slack                  *SlackAction             `json:"slack,omitempty"`
	ThrottlePeriod         *Duration                `json:"throttle_period,omitempty"`
	ThrottlePeriodInMillis *DurationValueUnitMillis `json:"throttle_period_in_millis,omitempty"`
	Transform              *TransformContainer      `json:"transform,omitempty"`
	Webhook                *WebhookAction           `json:"webhook,omitempty"`
}

Action type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Action.ts#L41-L57

type ActionBuilder ¶

type ActionBuilder struct {
	// contains filtered or unexported fields
}

ActionBuilder holds Action struct and provides a builder API.

func NewActionBuilder ¶

func NewActionBuilder() *ActionBuilder

NewAction provides a builder for the Action struct.

func (*ActionBuilder) ActionType ¶

func (rb *ActionBuilder) ActionType(actiontype actiontype.ActionType) *ActionBuilder

func (*ActionBuilder) Build ¶

func (rb *ActionBuilder) Build() Action

Build finalize the chain and returns the Action struct

func (*ActionBuilder) Condition ¶

func (rb *ActionBuilder) Condition(condition *ConditionContainerBuilder) *ActionBuilder

func (*ActionBuilder) Email ¶

func (rb *ActionBuilder) Email(email *EmailActionBuilder) *ActionBuilder

func (*ActionBuilder) Foreach ¶

func (rb *ActionBuilder) Foreach(foreach string) *ActionBuilder

func (*ActionBuilder) Index ¶

func (rb *ActionBuilder) Index(index *IndexActionBuilder) *ActionBuilder

func (*ActionBuilder) Logging ¶

func (rb *ActionBuilder) Logging(logging *LoggingActionBuilder) *ActionBuilder

func (*ActionBuilder) MaxIterations ¶

func (rb *ActionBuilder) MaxIterations(maxiterations int) *ActionBuilder

func (*ActionBuilder) Name ¶

func (rb *ActionBuilder) Name(name Name) *ActionBuilder

func (*ActionBuilder) Pagerduty ¶

func (rb *ActionBuilder) Pagerduty(pagerduty *PagerDutyActionBuilder) *ActionBuilder

func (*ActionBuilder) Slack ¶

func (rb *ActionBuilder) Slack(slack *SlackActionBuilder) *ActionBuilder

func (*ActionBuilder) ThrottlePeriod ¶

func (rb *ActionBuilder) ThrottlePeriod(throttleperiod *DurationBuilder) *ActionBuilder

func (*ActionBuilder) ThrottlePeriodInMillis ¶

func (rb *ActionBuilder) ThrottlePeriodInMillis(throttleperiodinmillis *DurationValueUnitMillisBuilder) *ActionBuilder

func (*ActionBuilder) Transform ¶

func (rb *ActionBuilder) Transform(transform *TransformContainerBuilder) *ActionBuilder

func (*ActionBuilder) Webhook ¶

func (rb *ActionBuilder) Webhook(webhook *WebhookActionBuilder) *ActionBuilder

type ActionStatus ¶

type ActionStatus struct {
	Ack                     AcknowledgeState `json:"ack"`
	LastExecution           *ExecutionState  `json:"last_execution,omitempty"`
	LastSuccessfulExecution *ExecutionState  `json:"last_successful_execution,omitempty"`
	LastThrottle            *ThrottleState   `json:"last_throttle,omitempty"`
}

ActionStatus type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Action.ts#L128-L133

type ActionStatusBuilder ¶

type ActionStatusBuilder struct {
	// contains filtered or unexported fields
}

ActionStatusBuilder holds ActionStatus struct and provides a builder API.

func NewActionStatusBuilder ¶

func NewActionStatusBuilder() *ActionStatusBuilder

NewActionStatus provides a builder for the ActionStatus struct.

func (*ActionStatusBuilder) Ack ¶

func (*ActionStatusBuilder) Build ¶

func (rb *ActionStatusBuilder) Build() ActionStatus

Build finalize the chain and returns the ActionStatus struct

func (*ActionStatusBuilder) LastExecution ¶

func (rb *ActionStatusBuilder) LastExecution(lastexecution *ExecutionStateBuilder) *ActionStatusBuilder

func (*ActionStatusBuilder) LastSuccessfulExecution ¶

func (rb *ActionStatusBuilder) LastSuccessfulExecution(lastsuccessfulexecution *ExecutionStateBuilder) *ActionStatusBuilder

func (*ActionStatusBuilder) LastThrottle ¶

func (rb *ActionStatusBuilder) LastThrottle(lastthrottle *ThrottleStateBuilder) *ActionStatusBuilder

type ActionsBuilder ¶

type ActionsBuilder struct {
	// contains filtered or unexported fields
}

ActionsBuilder holds Actions struct and provides a builder API.

func NewActionsBuilder ¶

func NewActionsBuilder() *ActionsBuilder

NewActions provides a builder for the Actions struct.

func (*ActionsBuilder) Actions ¶

func (b *ActionsBuilder) Actions(value Actions) *ActionsBuilder

func (*ActionsBuilder) Build ¶

func (b *ActionsBuilder) Build() Actions

Build finalize the chain and returns the Actions struct

type ActivationStateBuilder ¶

type ActivationStateBuilder struct {
	// contains filtered or unexported fields
}

ActivationStateBuilder holds ActivationState struct and provides a builder API.

func NewActivationStateBuilder ¶

func NewActivationStateBuilder() *ActivationStateBuilder

NewActivationState provides a builder for the ActivationState struct.

func (*ActivationStateBuilder) Active ¶

func (*ActivationStateBuilder) Build ¶

Build finalize the chain and returns the ActivationState struct

func (*ActivationStateBuilder) Timestamp ¶

type ActivationStatus ¶

type ActivationStatus struct {
	Actions Actions         `json:"actions"`
	State   ActivationState `json:"state"`
	Version VersionNumber   `json:"version"`
}

ActivationStatus type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Activation.ts#L29-L33

type ActivationStatusBuilder ¶

type ActivationStatusBuilder struct {
	// contains filtered or unexported fields
}

ActivationStatusBuilder holds ActivationStatus struct and provides a builder API.

func NewActivationStatusBuilder ¶

func NewActivationStatusBuilder() *ActivationStatusBuilder

NewActivationStatus provides a builder for the ActivationStatus struct.

func (*ActivationStatusBuilder) Actions ¶

func (*ActivationStatusBuilder) Build ¶

Build finalize the chain and returns the ActivationStatus struct

func (*ActivationStatusBuilder) State ¶

func (*ActivationStatusBuilder) Version ¶

type AdaptiveSelection ¶

type AdaptiveSelection struct {
	AvgQueueSize      *int64  `json:"avg_queue_size,omitempty"`
	AvgResponseTime   *int64  `json:"avg_response_time,omitempty"`
	AvgResponseTimeNs *int64  `json:"avg_response_time_ns,omitempty"`
	AvgServiceTime    *string `json:"avg_service_time,omitempty"`
	AvgServiceTimeNs  *int64  `json:"avg_service_time_ns,omitempty"`
	OutgoingSearches  *int64  `json:"outgoing_searches,omitempty"`
	Rank              *string `json:"rank,omitempty"`
}

AdaptiveSelection type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L163-L171

type AdaptiveSelectionBuilder ¶

type AdaptiveSelectionBuilder struct {
	// contains filtered or unexported fields
}

AdaptiveSelectionBuilder holds AdaptiveSelection struct and provides a builder API.

func NewAdaptiveSelectionBuilder ¶

func NewAdaptiveSelectionBuilder() *AdaptiveSelectionBuilder

NewAdaptiveSelection provides a builder for the AdaptiveSelection struct.

func (*AdaptiveSelectionBuilder) AvgQueueSize ¶

func (rb *AdaptiveSelectionBuilder) AvgQueueSize(avgqueuesize int64) *AdaptiveSelectionBuilder

func (*AdaptiveSelectionBuilder) AvgResponseTime ¶

func (rb *AdaptiveSelectionBuilder) AvgResponseTime(avgresponsetime int64) *AdaptiveSelectionBuilder

func (*AdaptiveSelectionBuilder) AvgResponseTimeNs ¶

func (rb *AdaptiveSelectionBuilder) AvgResponseTimeNs(avgresponsetimens int64) *AdaptiveSelectionBuilder

func (*AdaptiveSelectionBuilder) AvgServiceTime ¶

func (rb *AdaptiveSelectionBuilder) AvgServiceTime(avgservicetime string) *AdaptiveSelectionBuilder

func (*AdaptiveSelectionBuilder) AvgServiceTimeNs ¶

func (rb *AdaptiveSelectionBuilder) AvgServiceTimeNs(avgservicetimens int64) *AdaptiveSelectionBuilder

func (*AdaptiveSelectionBuilder) Build ¶

Build finalize the chain and returns the AdaptiveSelection struct

func (*AdaptiveSelectionBuilder) OutgoingSearches ¶

func (rb *AdaptiveSelectionBuilder) OutgoingSearches(outgoingsearches int64) *AdaptiveSelectionBuilder

func (*AdaptiveSelectionBuilder) Rank ¶

type AddAction ¶

type AddAction struct {
	Alias         *IndexAlias     `json:"alias,omitempty"`
	Aliases       []IndexAlias    `json:"aliases,omitempty"`
	Filter        *QueryContainer `json:"filter,omitempty"`
	Index         *IndexName      `json:"index,omitempty"`
	IndexRouting  *Routing        `json:"index_routing,omitempty"`
	Indices       *Indices        `json:"indices,omitempty"`
	IsHidden      *bool           `json:"is_hidden,omitempty"`
	IsWriteIndex  *bool           `json:"is_write_index,omitempty"`
	MustExist     *bool           `json:"must_exist,omitempty"`
	Routing       *Routing        `json:"routing,omitempty"`
	SearchRouting *Routing        `json:"search_routing,omitempty"`
}

AddAction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/update_aliases/types.ts#L30-L44

type AddActionBuilder ¶

type AddActionBuilder struct {
	// contains filtered or unexported fields
}

AddActionBuilder holds AddAction struct and provides a builder API.

func NewAddActionBuilder ¶

func NewAddActionBuilder() *AddActionBuilder

NewAddAction provides a builder for the AddAction struct.

func (*AddActionBuilder) Alias ¶

func (rb *AddActionBuilder) Alias(alias IndexAlias) *AddActionBuilder

func (*AddActionBuilder) Aliases ¶

func (rb *AddActionBuilder) Aliases(arg []IndexAlias) *AddActionBuilder

func (*AddActionBuilder) Build ¶

func (rb *AddActionBuilder) Build() AddAction

Build finalize the chain and returns the AddAction struct

func (*AddActionBuilder) Filter ¶

func (*AddActionBuilder) Index ¶

func (rb *AddActionBuilder) Index(index IndexName) *AddActionBuilder

func (*AddActionBuilder) IndexRouting ¶

func (rb *AddActionBuilder) IndexRouting(indexrouting Routing) *AddActionBuilder

func (*AddActionBuilder) Indices ¶

func (rb *AddActionBuilder) Indices(indices *IndicesBuilder) *AddActionBuilder

func (*AddActionBuilder) IsHidden ¶

func (rb *AddActionBuilder) IsHidden(ishidden bool) *AddActionBuilder

func (*AddActionBuilder) IsWriteIndex ¶

func (rb *AddActionBuilder) IsWriteIndex(iswriteindex bool) *AddActionBuilder

func (*AddActionBuilder) MustExist ¶

func (rb *AddActionBuilder) MustExist(mustexist bool) *AddActionBuilder

func (*AddActionBuilder) Routing ¶

func (rb *AddActionBuilder) Routing(routing Routing) *AddActionBuilder

func (*AddActionBuilder) SearchRouting ¶

func (rb *AddActionBuilder) SearchRouting(searchrouting Routing) *AddActionBuilder

type AdjacencyMatrixAggregateBuilder ¶

type AdjacencyMatrixAggregateBuilder struct {
	// contains filtered or unexported fields
}

AdjacencyMatrixAggregateBuilder holds AdjacencyMatrixAggregate struct and provides a builder API.

func NewAdjacencyMatrixAggregateBuilder ¶

func NewAdjacencyMatrixAggregateBuilder() *AdjacencyMatrixAggregateBuilder

NewAdjacencyMatrixAggregate provides a builder for the AdjacencyMatrixAggregate struct.

func (*AdjacencyMatrixAggregateBuilder) Buckets ¶

func (*AdjacencyMatrixAggregateBuilder) Build ¶

Build finalize the chain and returns the AdjacencyMatrixAggregate struct

func (*AdjacencyMatrixAggregateBuilder) Meta ¶

type AdjacencyMatrixAggregation ¶

type AdjacencyMatrixAggregation struct {
	Filters map[string]QueryContainer `json:"filters,omitempty"`
	Meta    *Metadata                 `json:"meta,omitempty"`
	Name    *string                   `json:"name,omitempty"`
}

AdjacencyMatrixAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L48-L50

type AdjacencyMatrixAggregationBuilder ¶

type AdjacencyMatrixAggregationBuilder struct {
	// contains filtered or unexported fields
}

AdjacencyMatrixAggregationBuilder holds AdjacencyMatrixAggregation struct and provides a builder API.

func NewAdjacencyMatrixAggregationBuilder ¶

func NewAdjacencyMatrixAggregationBuilder() *AdjacencyMatrixAggregationBuilder

NewAdjacencyMatrixAggregation provides a builder for the AdjacencyMatrixAggregation struct.

func (*AdjacencyMatrixAggregationBuilder) Build ¶

Build finalize the chain and returns the AdjacencyMatrixAggregation struct

func (*AdjacencyMatrixAggregationBuilder) Filters ¶

func (*AdjacencyMatrixAggregationBuilder) Meta ¶

func (*AdjacencyMatrixAggregationBuilder) Name ¶

type AdjacencyMatrixBucket ¶

type AdjacencyMatrixBucket struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
}

AdjacencyMatrixBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L556-L556

type AdjacencyMatrixBucketBuilder ¶

type AdjacencyMatrixBucketBuilder struct {
	// contains filtered or unexported fields
}

AdjacencyMatrixBucketBuilder holds AdjacencyMatrixBucket struct and provides a builder API.

func NewAdjacencyMatrixBucketBuilder ¶

func NewAdjacencyMatrixBucketBuilder() *AdjacencyMatrixBucketBuilder

NewAdjacencyMatrixBucket provides a builder for the AdjacencyMatrixBucket struct.

func (*AdjacencyMatrixBucketBuilder) Aggregations ¶

func (*AdjacencyMatrixBucketBuilder) Build ¶

Build finalize the chain and returns the AdjacencyMatrixBucket struct

func (*AdjacencyMatrixBucketBuilder) DocCount ¶

type Aggregate ¶

type Aggregate interface{}

Aggregate holds the union for the following types:

AdjacencyMatrixAggregate
AutoDateHistogramAggregate
AvgAggregate
BoxPlotAggregate
BucketMetricValueAggregate
CardinalityAggregate
ChildrenAggregate
CompositeAggregate
CumulativeCardinalityAggregate
DateHistogramAggregate
DateRangeAggregate
DerivativeAggregate
DoubleTermsAggregate
ExtendedStatsAggregate
ExtendedStatsBucketAggregate
FilterAggregate
FiltersAggregate
GeoBoundsAggregate
GeoCentroidAggregate
GeoDistanceAggregate
GeoHashGridAggregate
GeoLineAggregate
GeoTileGridAggregate
GlobalAggregate
HdrPercentileRanksAggregate
HdrPercentilesAggregate
HistogramAggregate
InferenceAggregate
IpRangeAggregate
LongRareTermsAggregate
LongTermsAggregate
MatrixStatsAggregate
MaxAggregate
MedianAbsoluteDeviationAggregate
MinAggregate
MissingAggregate
MultiTermsAggregate
NestedAggregate
ParentAggregate
PercentilesBucketAggregate
RangeAggregate
RateAggregate
ReverseNestedAggregate
SamplerAggregate
ScriptedMetricAggregate
SignificantLongTermsAggregate
SignificantStringTermsAggregate
SimpleValueAggregate
StatsAggregate
StatsBucketAggregate
StringRareTermsAggregate
StringStatsAggregate
StringTermsAggregate
SumAggregate
TDigestPercentileRanksAggregate
TDigestPercentilesAggregate
TTestAggregate
TopHitsAggregate
TopMetricsAggregate
UnmappedRareTermsAggregate
UnmappedSamplerAggregate
UnmappedSignificantTermsAggregate
UnmappedTermsAggregate
ValueCountAggregate
VariableWidthHistogramAggregate
WeightedAvgAggregate

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L30-L112

type AggregateBaseBuilder ¶

type AggregateBaseBuilder struct {
	// contains filtered or unexported fields
}

AggregateBaseBuilder holds AggregateBase struct and provides a builder API.

func NewAggregateBaseBuilder ¶

func NewAggregateBaseBuilder() *AggregateBaseBuilder

NewAggregateBase provides a builder for the AggregateBase struct.

func (*AggregateBaseBuilder) Build ¶

func (rb *AggregateBaseBuilder) Build() AggregateBase

Build finalize the chain and returns the AggregateBase struct

func (*AggregateBaseBuilder) Meta ¶

type AggregateBuilder ¶

type AggregateBuilder struct {
	// contains filtered or unexported fields
}

AggregateBuilder holds Aggregate struct and provides a builder API.

func NewAggregateBuilder ¶

func NewAggregateBuilder() *AggregateBuilder

NewAggregate provides a builder for the Aggregate struct.

func (*AggregateBuilder) AdjacencyMatrixAggregate ¶

func (u *AggregateBuilder) AdjacencyMatrixAggregate(adjacencymatrixaggregate *AdjacencyMatrixAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) AutoDateHistogramAggregate ¶

func (u *AggregateBuilder) AutoDateHistogramAggregate(autodatehistogramaggregate *AutoDateHistogramAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) AvgAggregate ¶

func (u *AggregateBuilder) AvgAggregate(avgaggregate *AvgAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) BoxPlotAggregate ¶

func (u *AggregateBuilder) BoxPlotAggregate(boxplotaggregate *BoxPlotAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) BucketMetricValueAggregate ¶

func (u *AggregateBuilder) BucketMetricValueAggregate(bucketmetricvalueaggregate *BucketMetricValueAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) Build ¶

func (u *AggregateBuilder) Build() Aggregate

Build finalize the chain and returns the Aggregate struct

func (*AggregateBuilder) CardinalityAggregate ¶

func (u *AggregateBuilder) CardinalityAggregate(cardinalityaggregate *CardinalityAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) ChildrenAggregate ¶

func (u *AggregateBuilder) ChildrenAggregate(childrenaggregate *ChildrenAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) CompositeAggregate ¶

func (u *AggregateBuilder) CompositeAggregate(compositeaggregate *CompositeAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) CumulativeCardinalityAggregate ¶

func (u *AggregateBuilder) CumulativeCardinalityAggregate(cumulativecardinalityaggregate *CumulativeCardinalityAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) DateHistogramAggregate ¶

func (u *AggregateBuilder) DateHistogramAggregate(datehistogramaggregate *DateHistogramAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) DateRangeAggregate ¶

func (u *AggregateBuilder) DateRangeAggregate(daterangeaggregate *DateRangeAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) DerivativeAggregate ¶

func (u *AggregateBuilder) DerivativeAggregate(derivativeaggregate *DerivativeAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) DoubleTermsAggregate ¶

func (u *AggregateBuilder) DoubleTermsAggregate(doubletermsaggregate *DoubleTermsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) ExtendedStatsAggregate ¶

func (u *AggregateBuilder) ExtendedStatsAggregate(extendedstatsaggregate *ExtendedStatsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) ExtendedStatsBucketAggregate ¶

func (u *AggregateBuilder) ExtendedStatsBucketAggregate(extendedstatsbucketaggregate *ExtendedStatsBucketAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) FilterAggregate ¶

func (u *AggregateBuilder) FilterAggregate(filteraggregate *FilterAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) FiltersAggregate ¶

func (u *AggregateBuilder) FiltersAggregate(filtersaggregate *FiltersAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) GeoBoundsAggregate ¶

func (u *AggregateBuilder) GeoBoundsAggregate(geoboundsaggregate *GeoBoundsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) GeoCentroidAggregate ¶

func (u *AggregateBuilder) GeoCentroidAggregate(geocentroidaggregate *GeoCentroidAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) GeoDistanceAggregate ¶

func (u *AggregateBuilder) GeoDistanceAggregate(geodistanceaggregate *GeoDistanceAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) GeoHashGridAggregate ¶

func (u *AggregateBuilder) GeoHashGridAggregate(geohashgridaggregate *GeoHashGridAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) GeoLineAggregate ¶

func (u *AggregateBuilder) GeoLineAggregate(geolineaggregate *GeoLineAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) GeoTileGridAggregate ¶

func (u *AggregateBuilder) GeoTileGridAggregate(geotilegridaggregate *GeoTileGridAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) GlobalAggregate ¶

func (u *AggregateBuilder) GlobalAggregate(globalaggregate *GlobalAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) HdrPercentileRanksAggregate ¶

func (u *AggregateBuilder) HdrPercentileRanksAggregate(hdrpercentileranksaggregate *HdrPercentileRanksAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) HdrPercentilesAggregate ¶

func (u *AggregateBuilder) HdrPercentilesAggregate(hdrpercentilesaggregate *HdrPercentilesAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) HistogramAggregate ¶

func (u *AggregateBuilder) HistogramAggregate(histogramaggregate *HistogramAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) InferenceAggregate ¶

func (u *AggregateBuilder) InferenceAggregate(inferenceaggregate *InferenceAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) IpRangeAggregate ¶

func (u *AggregateBuilder) IpRangeAggregate(iprangeaggregate *IpRangeAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) LongRareTermsAggregate ¶

func (u *AggregateBuilder) LongRareTermsAggregate(longraretermsaggregate *LongRareTermsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) LongTermsAggregate ¶

func (u *AggregateBuilder) LongTermsAggregate(longtermsaggregate *LongTermsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) MatrixStatsAggregate ¶

func (u *AggregateBuilder) MatrixStatsAggregate(matrixstatsaggregate *MatrixStatsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) MaxAggregate ¶

func (u *AggregateBuilder) MaxAggregate(maxaggregate *MaxAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) MedianAbsoluteDeviationAggregate ¶

func (u *AggregateBuilder) MedianAbsoluteDeviationAggregate(medianabsolutedeviationaggregate *MedianAbsoluteDeviationAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) MinAggregate ¶

func (u *AggregateBuilder) MinAggregate(minaggregate *MinAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) MissingAggregate ¶

func (u *AggregateBuilder) MissingAggregate(missingaggregate *MissingAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) MultiTermsAggregate ¶

func (u *AggregateBuilder) MultiTermsAggregate(multitermsaggregate *MultiTermsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) NestedAggregate ¶

func (u *AggregateBuilder) NestedAggregate(nestedaggregate *NestedAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) ParentAggregate ¶

func (u *AggregateBuilder) ParentAggregate(parentaggregate *ParentAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) PercentilesBucketAggregate ¶

func (u *AggregateBuilder) PercentilesBucketAggregate(percentilesbucketaggregate *PercentilesBucketAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) RangeAggregate ¶

func (u *AggregateBuilder) RangeAggregate(rangeaggregate *RangeAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) RateAggregate ¶

func (u *AggregateBuilder) RateAggregate(rateaggregate *RateAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) ReverseNestedAggregate ¶

func (u *AggregateBuilder) ReverseNestedAggregate(reversenestedaggregate *ReverseNestedAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) SamplerAggregate ¶

func (u *AggregateBuilder) SamplerAggregate(sampleraggregate *SamplerAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) ScriptedMetricAggregate ¶

func (u *AggregateBuilder) ScriptedMetricAggregate(scriptedmetricaggregate *ScriptedMetricAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) SignificantLongTermsAggregate ¶

func (u *AggregateBuilder) SignificantLongTermsAggregate(significantlongtermsaggregate *SignificantLongTermsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) SignificantStringTermsAggregate ¶

func (u *AggregateBuilder) SignificantStringTermsAggregate(significantstringtermsaggregate *SignificantStringTermsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) SimpleValueAggregate ¶

func (u *AggregateBuilder) SimpleValueAggregate(simplevalueaggregate *SimpleValueAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) StatsAggregate ¶

func (u *AggregateBuilder) StatsAggregate(statsaggregate *StatsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) StatsBucketAggregate ¶

func (u *AggregateBuilder) StatsBucketAggregate(statsbucketaggregate *StatsBucketAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) StringRareTermsAggregate ¶

func (u *AggregateBuilder) StringRareTermsAggregate(stringraretermsaggregate *StringRareTermsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) StringStatsAggregate ¶

func (u *AggregateBuilder) StringStatsAggregate(stringstatsaggregate *StringStatsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) StringTermsAggregate ¶

func (u *AggregateBuilder) StringTermsAggregate(stringtermsaggregate *StringTermsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) SumAggregate ¶

func (u *AggregateBuilder) SumAggregate(sumaggregate *SumAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) TDigestPercentileRanksAggregate ¶

func (u *AggregateBuilder) TDigestPercentileRanksAggregate(tdigestpercentileranksaggregate *TDigestPercentileRanksAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) TDigestPercentilesAggregate ¶

func (u *AggregateBuilder) TDigestPercentilesAggregate(tdigestpercentilesaggregate *TDigestPercentilesAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) TTestAggregate ¶

func (u *AggregateBuilder) TTestAggregate(ttestaggregate *TTestAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) TopHitsAggregate ¶

func (u *AggregateBuilder) TopHitsAggregate(tophitsaggregate *TopHitsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) TopMetricsAggregate ¶

func (u *AggregateBuilder) TopMetricsAggregate(topmetricsaggregate *TopMetricsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) UnmappedRareTermsAggregate ¶

func (u *AggregateBuilder) UnmappedRareTermsAggregate(unmappedraretermsaggregate *UnmappedRareTermsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) UnmappedSamplerAggregate ¶

func (u *AggregateBuilder) UnmappedSamplerAggregate(unmappedsampleraggregate *UnmappedSamplerAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) UnmappedSignificantTermsAggregate ¶

func (u *AggregateBuilder) UnmappedSignificantTermsAggregate(unmappedsignificanttermsaggregate *UnmappedSignificantTermsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) UnmappedTermsAggregate ¶

func (u *AggregateBuilder) UnmappedTermsAggregate(unmappedtermsaggregate *UnmappedTermsAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) ValueCountAggregate ¶

func (u *AggregateBuilder) ValueCountAggregate(valuecountaggregate *ValueCountAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) VariableWidthHistogramAggregate ¶

func (u *AggregateBuilder) VariableWidthHistogramAggregate(variablewidthhistogramaggregate *VariableWidthHistogramAggregateBuilder) *AggregateBuilder

func (*AggregateBuilder) WeightedAvgAggregate ¶

func (u *AggregateBuilder) WeightedAvgAggregate(weightedavgaggregate *WeightedAvgAggregateBuilder) *AggregateBuilder

type AggregateMetricDoubleProperty ¶

type AggregateMetricDoubleProperty struct {
	DefaultMetric string                         `json:"default_metric"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Metrics       []string                       `json:"metrics"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

AggregateMetricDoubleProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/complex.ts#L58-L62

type AggregateMetricDoublePropertyBuilder ¶

type AggregateMetricDoublePropertyBuilder struct {
	// contains filtered or unexported fields
}

AggregateMetricDoublePropertyBuilder holds AggregateMetricDoubleProperty struct and provides a builder API.

func NewAggregateMetricDoublePropertyBuilder ¶

func NewAggregateMetricDoublePropertyBuilder() *AggregateMetricDoublePropertyBuilder

NewAggregateMetricDoubleProperty provides a builder for the AggregateMetricDoubleProperty struct.

func (*AggregateMetricDoublePropertyBuilder) Build ¶

Build finalize the chain and returns the AggregateMetricDoubleProperty struct

func (*AggregateMetricDoublePropertyBuilder) DefaultMetric ¶

func (*AggregateMetricDoublePropertyBuilder) Dynamic ¶

func (*AggregateMetricDoublePropertyBuilder) Fields ¶

func (*AggregateMetricDoublePropertyBuilder) IgnoreAbove ¶

func (*AggregateMetricDoublePropertyBuilder) LocalMetadata ¶

func (*AggregateMetricDoublePropertyBuilder) Meta ¶

func (*AggregateMetricDoublePropertyBuilder) Metrics ¶

func (*AggregateMetricDoublePropertyBuilder) Properties ¶

type AggregateNameBuilder ¶

type AggregateNameBuilder struct {
	// contains filtered or unexported fields
}

AggregateNameBuilder holds AggregateName struct and provides a builder API.

func NewAggregateNameBuilder ¶

func NewAggregateNameBuilder() *AggregateNameBuilder

NewAggregateName provides a builder for the AggregateName struct.

func (*AggregateNameBuilder) AggregateName ¶

func (b *AggregateNameBuilder) AggregateName(value AggregateName) *AggregateNameBuilder

func (*AggregateNameBuilder) Build ¶

Build finalize the chain and returns the AggregateName struct

type AggregateOrder ¶

type AggregateOrder interface{}

AggregateOrder holds the union for the following types:

map[Field]sortorder.SortOrder
[]map[Field]sortorder.SortOrder

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L399-L401

type AggregateOrderBuilder ¶

type AggregateOrderBuilder struct {
	// contains filtered or unexported fields
}

AggregateOrderBuilder holds AggregateOrder struct and provides a builder API.

func NewAggregateOrderBuilder ¶

func NewAggregateOrderBuilder() *AggregateOrderBuilder

NewAggregateOrder provides a builder for the AggregateOrder struct.

func (*AggregateOrderBuilder) Build ¶

Build finalize the chain and returns the AggregateOrder struct

func (*AggregateOrderBuilder) Map ¶

func (*AggregateOrderBuilder) SortOrders ¶

type AggregateOutput ¶

type AggregateOutput struct {
	Exponent           *Weights `json:"exponent,omitempty"`
	LogisticRegression *Weights `json:"logistic_regression,omitempty"`
	WeightedMode       *Weights `json:"weighted_mode,omitempty"`
	WeightedSum        *Weights `json:"weighted_sum,omitempty"`
}

AggregateOutput type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/put_trained_model/types.ts#L101-L106

type AggregateOutputBuilder ¶

type AggregateOutputBuilder struct {
	// contains filtered or unexported fields
}

AggregateOutputBuilder holds AggregateOutput struct and provides a builder API.

func NewAggregateOutputBuilder ¶

func NewAggregateOutputBuilder() *AggregateOutputBuilder

NewAggregateOutput provides a builder for the AggregateOutput struct.

func (*AggregateOutputBuilder) Build ¶

Build finalize the chain and returns the AggregateOutput struct

func (*AggregateOutputBuilder) Exponent ¶

func (*AggregateOutputBuilder) LogisticRegression ¶

func (rb *AggregateOutputBuilder) LogisticRegression(logisticregression *WeightsBuilder) *AggregateOutputBuilder

func (*AggregateOutputBuilder) WeightedMode ¶

func (rb *AggregateOutputBuilder) WeightedMode(weightedmode *WeightsBuilder) *AggregateOutputBuilder

func (*AggregateOutputBuilder) WeightedSum ¶

func (rb *AggregateOutputBuilder) WeightedSum(weightedsum *WeightsBuilder) *AggregateOutputBuilder

type AggregationBreakdown ¶

type AggregationBreakdown struct {
	BuildAggregation        int64  `json:"build_aggregation"`
	BuildAggregationCount   int64  `json:"build_aggregation_count"`
	BuildLeafCollector      int64  `json:"build_leaf_collector"`
	BuildLeafCollectorCount int64  `json:"build_leaf_collector_count"`
	Collect                 int64  `json:"collect"`
	CollectCount            int64  `json:"collect_count"`
	Initialize              int64  `json:"initialize"`
	InitializeCount         int64  `json:"initialize_count"`
	PostCollection          *int64 `json:"post_collection,omitempty"`
	PostCollectionCount     *int64 `json:"post_collection_count,omitempty"`
	Reduce                  int64  `json:"reduce"`
	ReduceCount             int64  `json:"reduce_count"`
}

AggregationBreakdown type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/profile.ts#L23-L36

type AggregationBreakdownBuilder ¶

type AggregationBreakdownBuilder struct {
	// contains filtered or unexported fields
}

AggregationBreakdownBuilder holds AggregationBreakdown struct and provides a builder API.

func NewAggregationBreakdownBuilder ¶

func NewAggregationBreakdownBuilder() *AggregationBreakdownBuilder

NewAggregationBreakdown provides a builder for the AggregationBreakdown struct.

func (*AggregationBreakdownBuilder) Build ¶

Build finalize the chain and returns the AggregationBreakdown struct

func (*AggregationBreakdownBuilder) BuildAggregation ¶

func (rb *AggregationBreakdownBuilder) BuildAggregation(buildaggregation int64) *AggregationBreakdownBuilder

func (*AggregationBreakdownBuilder) BuildAggregationCount ¶

func (rb *AggregationBreakdownBuilder) BuildAggregationCount(buildaggregationcount int64) *AggregationBreakdownBuilder

func (*AggregationBreakdownBuilder) BuildLeafCollector ¶

func (rb *AggregationBreakdownBuilder) BuildLeafCollector(buildleafcollector int64) *AggregationBreakdownBuilder

func (*AggregationBreakdownBuilder) BuildLeafCollectorCount ¶

func (rb *AggregationBreakdownBuilder) BuildLeafCollectorCount(buildleafcollectorcount int64) *AggregationBreakdownBuilder

func (*AggregationBreakdownBuilder) Collect ¶

func (*AggregationBreakdownBuilder) CollectCount ¶

func (rb *AggregationBreakdownBuilder) CollectCount(collectcount int64) *AggregationBreakdownBuilder

func (*AggregationBreakdownBuilder) Initialize ¶

func (*AggregationBreakdownBuilder) InitializeCount ¶

func (rb *AggregationBreakdownBuilder) InitializeCount(initializecount int64) *AggregationBreakdownBuilder

func (*AggregationBreakdownBuilder) PostCollection ¶

func (rb *AggregationBreakdownBuilder) PostCollection(postcollection int64) *AggregationBreakdownBuilder

func (*AggregationBreakdownBuilder) PostCollectionCount ¶

func (rb *AggregationBreakdownBuilder) PostCollectionCount(postcollectioncount int64) *AggregationBreakdownBuilder

func (*AggregationBreakdownBuilder) Reduce ¶

func (*AggregationBreakdownBuilder) ReduceCount ¶

func (rb *AggregationBreakdownBuilder) ReduceCount(reducecount int64) *AggregationBreakdownBuilder

type AggregationBuilder ¶

type AggregationBuilder struct {
	// contains filtered or unexported fields
}

AggregationBuilder holds Aggregation struct and provides a builder API.

func NewAggregationBuilder ¶

func NewAggregationBuilder() *AggregationBuilder

NewAggregation provides a builder for the Aggregation struct.

func (*AggregationBuilder) Build ¶

func (rb *AggregationBuilder) Build() Aggregation

Build finalize the chain and returns the Aggregation struct

func (*AggregationBuilder) Meta ¶

func (*AggregationBuilder) Name ¶

type AggregationContainer ¶

type AggregationContainer struct {
	AdjacencyMatrix *AdjacencyMatrixAggregation `json:"adjacency_matrix,omitempty"`
	// Aggregations Sub-aggregations for this aggregation. Only applies to bucket aggregations.
	Aggregations            map[string]AggregationContainer     `json:"aggregations,omitempty"`
	AutoDateHistogram       *AutoDateHistogramAggregation       `json:"auto_date_histogram,omitempty"`
	Avg                     *AverageAggregation                 `json:"avg,omitempty"`
	AvgBucket               *AverageBucketAggregation           `json:"avg_bucket,omitempty"`
	Boxplot                 *BoxplotAggregation                 `json:"boxplot,omitempty"`
	BucketCorrelation       *BucketCorrelationAggregation       `json:"bucket_correlation,omitempty"`
	BucketCountKsTest       *BucketKsAggregation                `json:"bucket_count_ks_test,omitempty"`
	BucketScript            *BucketScriptAggregation            `json:"bucket_script,omitempty"`
	BucketSelector          *BucketSelectorAggregation          `json:"bucket_selector,omitempty"`
	BucketSort              *BucketSortAggregation              `json:"bucket_sort,omitempty"`
	Cardinality             *CardinalityAggregation             `json:"cardinality,omitempty"`
	CategorizeText          *CategorizeTextAggregation          `json:"categorize_text,omitempty"`
	Children                *ChildrenAggregation                `json:"children,omitempty"`
	Composite               *CompositeAggregation               `json:"composite,omitempty"`
	CumulativeCardinality   *CumulativeCardinalityAggregation   `json:"cumulative_cardinality,omitempty"`
	CumulativeSum           *CumulativeSumAggregation           `json:"cumulative_sum,omitempty"`
	DateHistogram           *DateHistogramAggregation           `json:"date_histogram,omitempty"`
	DateRange               *DateRangeAggregation               `json:"date_range,omitempty"`
	Derivative              *DerivativeAggregation              `json:"derivative,omitempty"`
	DiversifiedSampler      *DiversifiedSamplerAggregation      `json:"diversified_sampler,omitempty"`
	ExtendedStats           *ExtendedStatsAggregation           `json:"extended_stats,omitempty"`
	ExtendedStatsBucket     *ExtendedStatsBucketAggregation     `json:"extended_stats_bucket,omitempty"`
	Filter                  *QueryContainer                     `json:"filter,omitempty"`
	Filters                 *FiltersAggregation                 `json:"filters,omitempty"`
	GeoBounds               *GeoBoundsAggregation               `json:"geo_bounds,omitempty"`
	GeoCentroid             *GeoCentroidAggregation             `json:"geo_centroid,omitempty"`
	GeoDistance             *GeoDistanceAggregation             `json:"geo_distance,omitempty"`
	GeoLine                 *GeoLineAggregation                 `json:"geo_line,omitempty"`
	GeohashGrid             *GeoHashGridAggregation             `json:"geohash_grid,omitempty"`
	GeohexGrid              *GeohexGridAggregation              `json:"geohex_grid,omitempty"`
	GeotileGrid             *GeoTileGridAggregation             `json:"geotile_grid,omitempty"`
	Global                  *GlobalAggregation                  `json:"global,omitempty"`
	Histogram               *HistogramAggregation               `json:"histogram,omitempty"`
	Inference               *InferenceAggregation               `json:"inference,omitempty"`
	IpRange                 *IpRangeAggregation                 `json:"ip_range,omitempty"`
	Line                    *GeoLineAggregation                 `json:"line,omitempty"`
	MatrixStats             *MatrixStatsAggregation             `json:"matrix_stats,omitempty"`
	Max                     *MaxAggregation                     `json:"max,omitempty"`
	MaxBucket               *MaxBucketAggregation               `json:"max_bucket,omitempty"`
	MedianAbsoluteDeviation *MedianAbsoluteDeviationAggregation `json:"median_absolute_deviation,omitempty"`
	Meta                    *Metadata                           `json:"meta,omitempty"`
	Min                     *MinAggregation                     `json:"min,omitempty"`
	MinBucket               *MinBucketAggregation               `json:"min_bucket,omitempty"`
	Missing                 *MissingAggregation                 `json:"missing,omitempty"`
	MovingAvg               *MovingAverageAggregation           `json:"moving_avg,omitempty"`
	MovingFn                *MovingFunctionAggregation          `json:"moving_fn,omitempty"`
	MovingPercentiles       *MovingPercentilesAggregation       `json:"moving_percentiles,omitempty"`
	MultiTerms              *MultiTermsAggregation              `json:"multi_terms,omitempty"`
	Nested                  *NestedAggregation                  `json:"nested,omitempty"`
	Normalize               *NormalizeAggregation               `json:"normalize,omitempty"`
	Parent                  *ParentAggregation                  `json:"parent,omitempty"`
	PercentileRanks         *PercentileRanksAggregation         `json:"percentile_ranks,omitempty"`
	Percentiles             *PercentilesAggregation             `json:"percentiles,omitempty"`
	PercentilesBucket       *PercentilesBucketAggregation       `json:"percentiles_bucket,omitempty"`
	Range                   *RangeAggregation                   `json:"range,omitempty"`
	RareTerms               *RareTermsAggregation               `json:"rare_terms,omitempty"`
	Rate                    *RateAggregation                    `json:"rate,omitempty"`
	ReverseNested           *ReverseNestedAggregation           `json:"reverse_nested,omitempty"`
	Sampler                 *SamplerAggregation                 `json:"sampler,omitempty"`
	ScriptedMetric          *ScriptedMetricAggregation          `json:"scripted_metric,omitempty"`
	SerialDiff              *SerialDifferencingAggregation      `json:"serial_diff,omitempty"`
	SignificantTerms        *SignificantTermsAggregation        `json:"significant_terms,omitempty"`
	SignificantText         *SignificantTextAggregation         `json:"significant_text,omitempty"`
	Stats                   *StatsAggregation                   `json:"stats,omitempty"`
	StatsBucket             *StatsBucketAggregation             `json:"stats_bucket,omitempty"`
	StringStats             *StringStatsAggregation             `json:"string_stats,omitempty"`
	Sum                     *SumAggregation                     `json:"sum,omitempty"`
	SumBucket               *SumBucketAggregation               `json:"sum_bucket,omitempty"`
	TTest                   *TTestAggregation                   `json:"t_test,omitempty"`
	Terms                   *TermsAggregation                   `json:"terms,omitempty"`
	TopHits                 *TopHitsAggregation                 `json:"top_hits,omitempty"`
	TopMetrics              *TopMetricsAggregation              `json:"top_metrics,omitempty"`
	ValueCount              *ValueCountAggregation              `json:"value_count,omitempty"`
	VariableWidthHistogram  *VariableWidthHistogramAggregation  `json:"variable_width_histogram,omitempty"`
	WeightedAvg             *WeightedAverageAggregation         `json:"weighted_avg,omitempty"`
}

AggregationContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/AggregationContainer.ts#L104-L207

type AggregationContainerBuilder ¶

type AggregationContainerBuilder struct {
	// contains filtered or unexported fields
}

AggregationContainerBuilder holds AggregationContainer struct and provides a builder API.

func NewAggregationContainerBuilder ¶

func NewAggregationContainerBuilder() *AggregationContainerBuilder

NewAggregationContainer provides a builder for the AggregationContainer struct.

func (*AggregationContainerBuilder) AdjacencyMatrix ¶

func (*AggregationContainerBuilder) Aggregations ¶

func (*AggregationContainerBuilder) AutoDateHistogram ¶

func (*AggregationContainerBuilder) Avg ¶

func (*AggregationContainerBuilder) AvgBucket ¶

func (*AggregationContainerBuilder) Boxplot ¶

func (*AggregationContainerBuilder) BucketCorrelation ¶

func (*AggregationContainerBuilder) BucketCountKsTest ¶

func (rb *AggregationContainerBuilder) BucketCountKsTest(bucketcountkstest *BucketKsAggregationBuilder) *AggregationContainerBuilder

func (*AggregationContainerBuilder) BucketScript ¶

func (*AggregationContainerBuilder) BucketSelector ¶

func (*AggregationContainerBuilder) BucketSort ¶

func (*AggregationContainerBuilder) Build ¶

Build finalize the chain and returns the AggregationContainer struct

func (*AggregationContainerBuilder) Cardinality ¶

func (*AggregationContainerBuilder) CategorizeText ¶

func (*AggregationContainerBuilder) Children ¶

func (*AggregationContainerBuilder) Composite ¶

func (*AggregationContainerBuilder) CumulativeCardinality ¶

func (rb *AggregationContainerBuilder) CumulativeCardinality(cumulativecardinality *CumulativeCardinalityAggregationBuilder) *AggregationContainerBuilder

func (*AggregationContainerBuilder) CumulativeSum ¶

func (*AggregationContainerBuilder) DateHistogram ¶

func (*AggregationContainerBuilder) DateRange ¶

func (*AggregationContainerBuilder) Derivative ¶

func (*AggregationContainerBuilder) DiversifiedSampler ¶

func (*AggregationContainerBuilder) ExtendedStats ¶

func (*AggregationContainerBuilder) ExtendedStatsBucket ¶

func (*AggregationContainerBuilder) Filter ¶

func (*AggregationContainerBuilder) Filters ¶

func (*AggregationContainerBuilder) GeoBounds ¶

func (*AggregationContainerBuilder) GeoCentroid ¶

func (*AggregationContainerBuilder) GeoDistance ¶

func (*AggregationContainerBuilder) GeoLine ¶

func (*AggregationContainerBuilder) GeohashGrid ¶

func (*AggregationContainerBuilder) GeohexGrid ¶

func (*AggregationContainerBuilder) GeotileGrid ¶

func (*AggregationContainerBuilder) Global ¶

func (*AggregationContainerBuilder) Histogram ¶

func (*AggregationContainerBuilder) Inference ¶

func (*AggregationContainerBuilder) IpRange ¶

func (*AggregationContainerBuilder) Line ¶

func (*AggregationContainerBuilder) MatrixStats ¶

func (*AggregationContainerBuilder) Max ¶

func (*AggregationContainerBuilder) MaxBucket ¶

func (*AggregationContainerBuilder) MedianAbsoluteDeviation ¶

func (rb *AggregationContainerBuilder) MedianAbsoluteDeviation(medianabsolutedeviation *MedianAbsoluteDeviationAggregationBuilder) *AggregationContainerBuilder

func (*AggregationContainerBuilder) Meta ¶

func (*AggregationContainerBuilder) Min ¶

func (*AggregationContainerBuilder) MinBucket ¶

func (*AggregationContainerBuilder) Missing ¶

func (*AggregationContainerBuilder) MovingAvg ¶

func (*AggregationContainerBuilder) MovingFn ¶

func (*AggregationContainerBuilder) MovingPercentiles ¶

func (*AggregationContainerBuilder) MultiTerms ¶

func (*AggregationContainerBuilder) Nested ¶

func (*AggregationContainerBuilder) Normalize ¶

func (*AggregationContainerBuilder) Parent ¶

func (*AggregationContainerBuilder) PercentileRanks ¶

func (*AggregationContainerBuilder) Percentiles ¶

func (*AggregationContainerBuilder) PercentilesBucket ¶

func (*AggregationContainerBuilder) Range_ ¶

func (*AggregationContainerBuilder) RareTerms ¶

func (*AggregationContainerBuilder) Rate ¶

func (*AggregationContainerBuilder) ReverseNested ¶

func (*AggregationContainerBuilder) Sampler ¶

func (*AggregationContainerBuilder) ScriptedMetric ¶

func (*AggregationContainerBuilder) SerialDiff ¶

func (*AggregationContainerBuilder) SignificantTerms ¶

func (*AggregationContainerBuilder) SignificantText ¶

func (*AggregationContainerBuilder) Stats ¶

func (*AggregationContainerBuilder) StatsBucket ¶

func (*AggregationContainerBuilder) StringStats ¶

func (*AggregationContainerBuilder) Sum ¶

func (*AggregationContainerBuilder) SumBucket ¶

func (*AggregationContainerBuilder) TTest ¶

func (*AggregationContainerBuilder) Terms ¶

func (*AggregationContainerBuilder) TopHits ¶

func (*AggregationContainerBuilder) TopMetrics ¶

func (*AggregationContainerBuilder) ValueCount ¶

func (*AggregationContainerBuilder) VariableWidthHistogram ¶

func (rb *AggregationContainerBuilder) VariableWidthHistogram(variablewidthhistogram *VariableWidthHistogramAggregationBuilder) *AggregationContainerBuilder

func (*AggregationContainerBuilder) WeightedAvg ¶

type AggregationProfile ¶

type AggregationProfile struct {
	Breakdown   AggregationBreakdown     `json:"breakdown"`
	Children    []AggregationProfile     `json:"children,omitempty"`
	Debug       *AggregationProfileDebug `json:"debug,omitempty"`
	Description string                   `json:"description"`
	TimeInNanos DurationValueUnitNanos   `json:"time_in_nanos"`
	Type        string                   `json:"type"`
}

AggregationProfile type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/profile.ts#L75-L82

type AggregationProfileBuilder ¶

type AggregationProfileBuilder struct {
	// contains filtered or unexported fields
}

AggregationProfileBuilder holds AggregationProfile struct and provides a builder API.

func NewAggregationProfileBuilder ¶

func NewAggregationProfileBuilder() *AggregationProfileBuilder

NewAggregationProfile provides a builder for the AggregationProfile struct.

func (*AggregationProfileBuilder) Breakdown ¶

func (*AggregationProfileBuilder) Build ¶

Build finalize the chain and returns the AggregationProfile struct

func (*AggregationProfileBuilder) Children ¶

func (*AggregationProfileBuilder) Debug ¶

func (*AggregationProfileBuilder) Description ¶

func (rb *AggregationProfileBuilder) Description(description string) *AggregationProfileBuilder

func (*AggregationProfileBuilder) TimeInNanos ¶

func (*AggregationProfileBuilder) Type_ ¶

type AggregationProfileDebug ¶

type AggregationProfileDebug struct {
	BuiltBuckets                      *int                                    `json:"built_buckets,omitempty"`
	CharsFetched                      *int                                    `json:"chars_fetched,omitempty"`
	CollectAnalyzedCount              *int                                    `json:"collect_analyzed_count,omitempty"`
	CollectAnalyzedNs                 *int                                    `json:"collect_analyzed_ns,omitempty"`
	CollectionStrategy                *string                                 `json:"collection_strategy,omitempty"`
	DeferredAggregators               []string                                `json:"deferred_aggregators,omitempty"`
	Delegate                          *string                                 `json:"delegate,omitempty"`
	DelegateDebug                     *AggregationProfileDebug                `json:"delegate_debug,omitempty"`
	EmptyCollectorsUsed               *int                                    `json:"empty_collectors_used,omitempty"`
	ExtractCount                      *int                                    `json:"extract_count,omitempty"`
	ExtractNs                         *int                                    `json:"extract_ns,omitempty"`
	Filters                           []AggregationProfileDelegateDebugFilter `json:"filters,omitempty"`
	HasFilter                         *bool                                   `json:"has_filter,omitempty"`
	NumericCollectorsUsed             *int                                    `json:"numeric_collectors_used,omitempty"`
	OrdinalsCollectorsOverheadTooHigh *int                                    `json:"ordinals_collectors_overhead_too_high,omitempty"`
	OrdinalsCollectorsUsed            *int                                    `json:"ordinals_collectors_used,omitempty"`
	ResultStrategy                    *string                                 `json:"result_strategy,omitempty"`
	SegmentsCollected                 *int                                    `json:"segments_collected,omitempty"`
	SegmentsCounted                   *int                                    `json:"segments_counted,omitempty"`
	SegmentsWithDeletedDocs           *int                                    `json:"segments_with_deleted_docs,omitempty"`
	SegmentsWithDocCountField         *int                                    `json:"segments_with_doc_count_field,omitempty"`
	SegmentsWithMultiValuedOrds       *int                                    `json:"segments_with_multi_valued_ords,omitempty"`
	SegmentsWithSingleValuedOrds      *int                                    `json:"segments_with_single_valued_ords,omitempty"`
	StringHashingCollectorsUsed       *int                                    `json:"string_hashing_collectors_used,omitempty"`
	SurvivingBuckets                  *int                                    `json:"surviving_buckets,omitempty"`
	TotalBuckets                      *int                                    `json:"total_buckets,omitempty"`
	ValuesFetched                     *int                                    `json:"values_fetched,omitempty"`
}

AggregationProfileDebug type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/profile.ts#L39-L67

type AggregationProfileDebugBuilder ¶

type AggregationProfileDebugBuilder struct {
	// contains filtered or unexported fields
}

AggregationProfileDebugBuilder holds AggregationProfileDebug struct and provides a builder API.

func NewAggregationProfileDebugBuilder ¶

func NewAggregationProfileDebugBuilder() *AggregationProfileDebugBuilder

NewAggregationProfileDebug provides a builder for the AggregationProfileDebug struct.

func (*AggregationProfileDebugBuilder) Build ¶

Build finalize the chain and returns the AggregationProfileDebug struct

func (*AggregationProfileDebugBuilder) BuiltBuckets ¶

func (rb *AggregationProfileDebugBuilder) BuiltBuckets(builtbuckets int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) CharsFetched ¶

func (rb *AggregationProfileDebugBuilder) CharsFetched(charsfetched int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) CollectAnalyzedCount ¶

func (rb *AggregationProfileDebugBuilder) CollectAnalyzedCount(collectanalyzedcount int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) CollectAnalyzedNs ¶

func (rb *AggregationProfileDebugBuilder) CollectAnalyzedNs(collectanalyzedns int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) CollectionStrategy ¶

func (rb *AggregationProfileDebugBuilder) CollectionStrategy(collectionstrategy string) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) DeferredAggregators ¶

func (rb *AggregationProfileDebugBuilder) DeferredAggregators(deferred_aggregators ...string) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) Delegate ¶

func (*AggregationProfileDebugBuilder) DelegateDebug ¶

func (*AggregationProfileDebugBuilder) EmptyCollectorsUsed ¶

func (rb *AggregationProfileDebugBuilder) EmptyCollectorsUsed(emptycollectorsused int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) ExtractCount ¶

func (rb *AggregationProfileDebugBuilder) ExtractCount(extractcount int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) ExtractNs ¶

func (*AggregationProfileDebugBuilder) HasFilter ¶

func (*AggregationProfileDebugBuilder) NumericCollectorsUsed ¶

func (rb *AggregationProfileDebugBuilder) NumericCollectorsUsed(numericcollectorsused int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) OrdinalsCollectorsOverheadTooHigh ¶

func (rb *AggregationProfileDebugBuilder) OrdinalsCollectorsOverheadTooHigh(ordinalscollectorsoverheadtoohigh int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) OrdinalsCollectorsUsed ¶

func (rb *AggregationProfileDebugBuilder) OrdinalsCollectorsUsed(ordinalscollectorsused int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) ResultStrategy ¶

func (rb *AggregationProfileDebugBuilder) ResultStrategy(resultstrategy string) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) SegmentsCollected ¶

func (rb *AggregationProfileDebugBuilder) SegmentsCollected(segmentscollected int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) SegmentsCounted ¶

func (rb *AggregationProfileDebugBuilder) SegmentsCounted(segmentscounted int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) SegmentsWithDeletedDocs ¶

func (rb *AggregationProfileDebugBuilder) SegmentsWithDeletedDocs(segmentswithdeleteddocs int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) SegmentsWithDocCountField ¶

func (rb *AggregationProfileDebugBuilder) SegmentsWithDocCountField(segmentswithdoccountfield int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) SegmentsWithMultiValuedOrds ¶

func (rb *AggregationProfileDebugBuilder) SegmentsWithMultiValuedOrds(segmentswithmultivaluedords int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) SegmentsWithSingleValuedOrds ¶

func (rb *AggregationProfileDebugBuilder) SegmentsWithSingleValuedOrds(segmentswithsinglevaluedords int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) StringHashingCollectorsUsed ¶

func (rb *AggregationProfileDebugBuilder) StringHashingCollectorsUsed(stringhashingcollectorsused int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) SurvivingBuckets ¶

func (rb *AggregationProfileDebugBuilder) SurvivingBuckets(survivingbuckets int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) TotalBuckets ¶

func (rb *AggregationProfileDebugBuilder) TotalBuckets(totalbuckets int) *AggregationProfileDebugBuilder

func (*AggregationProfileDebugBuilder) ValuesFetched ¶

func (rb *AggregationProfileDebugBuilder) ValuesFetched(valuesfetched int) *AggregationProfileDebugBuilder

type AggregationProfileDelegateDebugFilter ¶

type AggregationProfileDelegateDebugFilter struct {
	Query               *string `json:"query,omitempty"`
	ResultsFromMetadata *int    `json:"results_from_metadata,omitempty"`
	SpecializedFor      *string `json:"specialized_for,omitempty"`
}

AggregationProfileDelegateDebugFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/profile.ts#L69-L73

type AggregationProfileDelegateDebugFilterBuilder ¶

type AggregationProfileDelegateDebugFilterBuilder struct {
	// contains filtered or unexported fields
}

AggregationProfileDelegateDebugFilterBuilder holds AggregationProfileDelegateDebugFilter struct and provides a builder API.

func NewAggregationProfileDelegateDebugFilterBuilder ¶

func NewAggregationProfileDelegateDebugFilterBuilder() *AggregationProfileDelegateDebugFilterBuilder

NewAggregationProfileDelegateDebugFilter provides a builder for the AggregationProfileDelegateDebugFilter struct.

func (*AggregationProfileDelegateDebugFilterBuilder) Build ¶

Build finalize the chain and returns the AggregationProfileDelegateDebugFilter struct

func (*AggregationProfileDelegateDebugFilterBuilder) Query ¶

func (*AggregationProfileDelegateDebugFilterBuilder) ResultsFromMetadata ¶

func (*AggregationProfileDelegateDebugFilterBuilder) SpecializedFor ¶

type AggregationRange ¶

type AggregationRange struct {
	From string  `json:"from,omitempty"`
	Key  *string `json:"key,omitempty"`
	To   string  `json:"to,omitempty"`
}

AggregationRange type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L294-L298

type AggregationRangeBuilder ¶

type AggregationRangeBuilder struct {
	// contains filtered or unexported fields
}

AggregationRangeBuilder holds AggregationRange struct and provides a builder API.

func NewAggregationRangeBuilder ¶

func NewAggregationRangeBuilder() *AggregationRangeBuilder

NewAggregationRange provides a builder for the AggregationRange struct.

func (*AggregationRangeBuilder) Build ¶

Build finalize the chain and returns the AggregationRange struct

func (*AggregationRangeBuilder) From ¶

func (*AggregationRangeBuilder) Key ¶

func (*AggregationRangeBuilder) To ¶

type Alias ¶

type Alias struct {
	Filter        *QueryContainer `json:"filter,omitempty"`
	IndexRouting  *Routing        `json:"index_routing,omitempty"`
	IsHidden      *bool           `json:"is_hidden,omitempty"`
	IsWriteIndex  *bool           `json:"is_write_index,omitempty"`
	Routing       *Routing        `json:"routing,omitempty"`
	SearchRouting *Routing        `json:"search_routing,omitempty"`
}

Alias type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/Alias.ts#L23-L30

type AliasBuilder ¶

type AliasBuilder struct {
	// contains filtered or unexported fields
}

AliasBuilder holds Alias struct and provides a builder API.

func NewAliasBuilder ¶

func NewAliasBuilder() *AliasBuilder

NewAlias provides a builder for the Alias struct.

func (*AliasBuilder) Build ¶

func (rb *AliasBuilder) Build() Alias

Build finalize the chain and returns the Alias struct

func (*AliasBuilder) Filter ¶

func (rb *AliasBuilder) Filter(filter *QueryContainerBuilder) *AliasBuilder

func (*AliasBuilder) IndexRouting ¶

func (rb *AliasBuilder) IndexRouting(indexrouting Routing) *AliasBuilder

func (*AliasBuilder) IsHidden ¶

func (rb *AliasBuilder) IsHidden(ishidden bool) *AliasBuilder

func (*AliasBuilder) IsWriteIndex ¶

func (rb *AliasBuilder) IsWriteIndex(iswriteindex bool) *AliasBuilder

func (*AliasBuilder) Routing ¶

func (rb *AliasBuilder) Routing(routing Routing) *AliasBuilder

func (*AliasBuilder) SearchRouting ¶

func (rb *AliasBuilder) SearchRouting(searchrouting Routing) *AliasBuilder

type AliasDefinition ¶

type AliasDefinition struct {
	Filter        *QueryContainer `json:"filter,omitempty"`
	IndexRouting  *string         `json:"index_routing,omitempty"`
	IsHidden      *bool           `json:"is_hidden,omitempty"`
	IsWriteIndex  *bool           `json:"is_write_index,omitempty"`
	Routing       *string         `json:"routing,omitempty"`
	SearchRouting *string         `json:"search_routing,omitempty"`
}

AliasDefinition type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/AliasDefinition.ts#L22-L30

type AliasDefinitionBuilder ¶

type AliasDefinitionBuilder struct {
	// contains filtered or unexported fields
}

AliasDefinitionBuilder holds AliasDefinition struct and provides a builder API.

func NewAliasDefinitionBuilder ¶

func NewAliasDefinitionBuilder() *AliasDefinitionBuilder

NewAliasDefinition provides a builder for the AliasDefinition struct.

func (*AliasDefinitionBuilder) Build ¶

Build finalize the chain and returns the AliasDefinition struct

func (*AliasDefinitionBuilder) Filter ¶

func (*AliasDefinitionBuilder) IndexRouting ¶

func (rb *AliasDefinitionBuilder) IndexRouting(indexrouting string) *AliasDefinitionBuilder

func (*AliasDefinitionBuilder) IsHidden ¶

func (rb *AliasDefinitionBuilder) IsHidden(ishidden bool) *AliasDefinitionBuilder

func (*AliasDefinitionBuilder) IsWriteIndex ¶

func (rb *AliasDefinitionBuilder) IsWriteIndex(iswriteindex bool) *AliasDefinitionBuilder

func (*AliasDefinitionBuilder) Routing ¶

func (*AliasDefinitionBuilder) SearchRouting ¶

func (rb *AliasDefinitionBuilder) SearchRouting(searchrouting string) *AliasDefinitionBuilder

type AliasesRecord ¶

type AliasesRecord struct {
	// Alias alias name
	Alias *string `json:"alias,omitempty"`
	// Filter filter
	Filter *string `json:"filter,omitempty"`
	// Index index alias points to
	Index *IndexName `json:"index,omitempty"`
	// IsWriteIndex write index
	IsWriteIndex *string `json:"is_write_index,omitempty"`
	// RoutingIndex index routing
	RoutingIndex *string `json:"routing.index,omitempty"`
	// RoutingSearch search routing
	RoutingSearch *string `json:"routing.search,omitempty"`
}

AliasesRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/aliases/types.ts#L22-L53

type AliasesRecordBuilder ¶

type AliasesRecordBuilder struct {
	// contains filtered or unexported fields
}

AliasesRecordBuilder holds AliasesRecord struct and provides a builder API.

func NewAliasesRecordBuilder ¶

func NewAliasesRecordBuilder() *AliasesRecordBuilder

NewAliasesRecord provides a builder for the AliasesRecord struct.

func (*AliasesRecordBuilder) Alias ¶

func (*AliasesRecordBuilder) Build ¶

func (rb *AliasesRecordBuilder) Build() AliasesRecord

Build finalize the chain and returns the AliasesRecord struct

func (*AliasesRecordBuilder) Filter ¶

func (rb *AliasesRecordBuilder) Filter(filter string) *AliasesRecordBuilder

func (*AliasesRecordBuilder) Index ¶

func (*AliasesRecordBuilder) IsWriteIndex ¶

func (rb *AliasesRecordBuilder) IsWriteIndex(iswriteindex string) *AliasesRecordBuilder

func (*AliasesRecordBuilder) RoutingIndex ¶

func (rb *AliasesRecordBuilder) RoutingIndex(routingindex string) *AliasesRecordBuilder

func (*AliasesRecordBuilder) RoutingSearch ¶

func (rb *AliasesRecordBuilder) RoutingSearch(routingsearch string) *AliasesRecordBuilder

type AllField ¶

type AllField struct {
	Analyzer                 string `json:"analyzer"`
	Enabled                  bool   `json:"enabled"`
	OmitNorms                bool   `json:"omit_norms"`
	SearchAnalyzer           string `json:"search_analyzer"`
	Similarity               string `json:"similarity"`
	Store                    bool   `json:"store"`
	StoreTermVectorOffsets   bool   `json:"store_term_vector_offsets"`
	StoreTermVectorPayloads  bool   `json:"store_term_vector_payloads"`
	StoreTermVectorPositions bool   `json:"store_term_vector_positions"`
	StoreTermVectors         bool   `json:"store_term_vectors"`
}

AllField type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/meta-fields.ts#L29-L40

type AllFieldBuilder ¶

type AllFieldBuilder struct {
	// contains filtered or unexported fields
}

AllFieldBuilder holds AllField struct and provides a builder API.

func NewAllFieldBuilder ¶

func NewAllFieldBuilder() *AllFieldBuilder

NewAllField provides a builder for the AllField struct.

func (*AllFieldBuilder) Analyzer ¶

func (rb *AllFieldBuilder) Analyzer(analyzer string) *AllFieldBuilder

func (*AllFieldBuilder) Build ¶

func (rb *AllFieldBuilder) Build() AllField

Build finalize the chain and returns the AllField struct

func (*AllFieldBuilder) Enabled ¶

func (rb *AllFieldBuilder) Enabled(enabled bool) *AllFieldBuilder

func (*AllFieldBuilder) OmitNorms ¶

func (rb *AllFieldBuilder) OmitNorms(omitnorms bool) *AllFieldBuilder

func (*AllFieldBuilder) SearchAnalyzer ¶

func (rb *AllFieldBuilder) SearchAnalyzer(searchanalyzer string) *AllFieldBuilder

func (*AllFieldBuilder) Similarity ¶

func (rb *AllFieldBuilder) Similarity(similarity string) *AllFieldBuilder

func (*AllFieldBuilder) Store ¶

func (rb *AllFieldBuilder) Store(store bool) *AllFieldBuilder

func (*AllFieldBuilder) StoreTermVectorOffsets ¶

func (rb *AllFieldBuilder) StoreTermVectorOffsets(storetermvectoroffsets bool) *AllFieldBuilder

func (*AllFieldBuilder) StoreTermVectorPayloads ¶

func (rb *AllFieldBuilder) StoreTermVectorPayloads(storetermvectorpayloads bool) *AllFieldBuilder

func (*AllFieldBuilder) StoreTermVectorPositions ¶

func (rb *AllFieldBuilder) StoreTermVectorPositions(storetermvectorpositions bool) *AllFieldBuilder

func (*AllFieldBuilder) StoreTermVectors ¶

func (rb *AllFieldBuilder) StoreTermVectors(storetermvectors bool) *AllFieldBuilder

type AllJobs ¶

type AllJobs struct {
	Count     int               `json:"count"`
	CreatedBy map[string]string `json:"created_by"`
	Detectors map[string]int    `json:"detectors"`
	Forecasts map[string]int    `json:"forecasts"`
	ModelSize map[string]int    `json:"model_size"`
}

AllJobs type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L344-L350

type AllJobsBuilder ¶

type AllJobsBuilder struct {
	// contains filtered or unexported fields
}

AllJobsBuilder holds AllJobs struct and provides a builder API.

func NewAllJobsBuilder ¶

func NewAllJobsBuilder() *AllJobsBuilder

NewAllJobs provides a builder for the AllJobs struct.

func (*AllJobsBuilder) Build ¶

func (rb *AllJobsBuilder) Build() AllJobs

Build finalize the chain and returns the AllJobs struct

func (*AllJobsBuilder) Count ¶

func (rb *AllJobsBuilder) Count(count int) *AllJobsBuilder

func (*AllJobsBuilder) CreatedBy ¶

func (rb *AllJobsBuilder) CreatedBy(value map[string]string) *AllJobsBuilder

func (*AllJobsBuilder) Detectors ¶

func (rb *AllJobsBuilder) Detectors(value map[string]int) *AllJobsBuilder

func (*AllJobsBuilder) Forecasts ¶

func (rb *AllJobsBuilder) Forecasts(value map[string]int) *AllJobsBuilder

func (*AllJobsBuilder) ModelSize ¶

func (rb *AllJobsBuilder) ModelSize(value map[string]int) *AllJobsBuilder

type AllocationDecisionBuilder ¶

type AllocationDecisionBuilder struct {
	// contains filtered or unexported fields
}

AllocationDecisionBuilder holds AllocationDecision struct and provides a builder API.

func NewAllocationDecisionBuilder ¶

func NewAllocationDecisionBuilder() *AllocationDecisionBuilder

NewAllocationDecision provides a builder for the AllocationDecision struct.

func (*AllocationDecisionBuilder) Build ¶

Build finalize the chain and returns the AllocationDecision struct

func (*AllocationDecisionBuilder) Decider ¶

func (*AllocationDecisionBuilder) Explanation ¶

func (rb *AllocationDecisionBuilder) Explanation(explanation string) *AllocationDecisionBuilder

type AllocationRecord ¶

type AllocationRecord struct {
	// DiskAvail disk available
	DiskAvail ByteSize `json:"disk.avail,omitempty"`
	// DiskIndices disk used by ES indices
	DiskIndices ByteSize `json:"disk.indices,omitempty"`
	// DiskPercent percent disk used
	DiskPercent Percentage `json:"disk.percent,omitempty"`
	// DiskTotal total capacity of all volumes
	DiskTotal ByteSize `json:"disk.total,omitempty"`
	// DiskUsed disk used (total, not just ES)
	DiskUsed ByteSize `json:"disk.used,omitempty"`
	// Host host of node
	Host Host `json:"host,omitempty"`
	// Ip ip of node
	Ip Ip `json:"ip,omitempty"`
	// Node name of node
	Node *string `json:"node,omitempty"`
	// Shards number of shards on node
	Shards *string `json:"shards,omitempty"`
}

AllocationRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/allocation/types.ts#L24-L69

type AllocationRecordBuilder ¶

type AllocationRecordBuilder struct {
	// contains filtered or unexported fields
}

AllocationRecordBuilder holds AllocationRecord struct and provides a builder API.

func NewAllocationRecordBuilder ¶

func NewAllocationRecordBuilder() *AllocationRecordBuilder

NewAllocationRecord provides a builder for the AllocationRecord struct.

func (*AllocationRecordBuilder) Build ¶

Build finalize the chain and returns the AllocationRecord struct

func (*AllocationRecordBuilder) DiskAvail ¶

func (rb *AllocationRecordBuilder) DiskAvail(diskavail ByteSize) *AllocationRecordBuilder

func (*AllocationRecordBuilder) DiskIndices ¶

func (rb *AllocationRecordBuilder) DiskIndices(diskindices ByteSize) *AllocationRecordBuilder

func (*AllocationRecordBuilder) DiskPercent ¶

func (rb *AllocationRecordBuilder) DiskPercent(diskpercent Percentage) *AllocationRecordBuilder

func (*AllocationRecordBuilder) DiskTotal ¶

func (rb *AllocationRecordBuilder) DiskTotal(disktotal ByteSize) *AllocationRecordBuilder

func (*AllocationRecordBuilder) DiskUsed ¶

func (*AllocationRecordBuilder) Host ¶

func (*AllocationRecordBuilder) Ip ¶

func (*AllocationRecordBuilder) Node ¶

func (*AllocationRecordBuilder) Shards ¶

type AllocationStore ¶

type AllocationStore struct {
	AllocationId        string `json:"allocation_id"`
	Found               bool   `json:"found"`
	InSync              bool   `json:"in_sync"`
	MatchingSizeInBytes int64  `json:"matching_size_in_bytes"`
	MatchingSyncId      bool   `json:"matching_sync_id"`
	StoreException      string `json:"store_exception"`
}

AllocationStore type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/allocation_explain/types.ts#L39-L46

type AllocationStoreBuilder ¶

type AllocationStoreBuilder struct {
	// contains filtered or unexported fields
}

AllocationStoreBuilder holds AllocationStore struct and provides a builder API.

func NewAllocationStoreBuilder ¶

func NewAllocationStoreBuilder() *AllocationStoreBuilder

NewAllocationStore provides a builder for the AllocationStore struct.

func (*AllocationStoreBuilder) AllocationId ¶

func (rb *AllocationStoreBuilder) AllocationId(allocationid string) *AllocationStoreBuilder

func (*AllocationStoreBuilder) Build ¶

Build finalize the chain and returns the AllocationStore struct

func (*AllocationStoreBuilder) Found ¶

func (*AllocationStoreBuilder) InSync ¶

func (*AllocationStoreBuilder) MatchingSizeInBytes ¶

func (rb *AllocationStoreBuilder) MatchingSizeInBytes(matchingsizeinbytes int64) *AllocationStoreBuilder

func (*AllocationStoreBuilder) MatchingSyncId ¶

func (rb *AllocationStoreBuilder) MatchingSyncId(matchingsyncid bool) *AllocationStoreBuilder

func (*AllocationStoreBuilder) StoreException ¶

func (rb *AllocationStoreBuilder) StoreException(storeexception string) *AllocationStoreBuilder

type AlwaysConditionBuilder ¶

type AlwaysConditionBuilder struct {
	// contains filtered or unexported fields
}

AlwaysConditionBuilder holds AlwaysCondition struct and provides a builder API.

func NewAlwaysConditionBuilder ¶

func NewAlwaysConditionBuilder() *AlwaysConditionBuilder

NewAlwaysCondition provides a builder for the AlwaysCondition struct.

func (*AlwaysConditionBuilder) Build ¶

Build finalize the chain and returns the AlwaysCondition struct

type AnalysisConfig ¶

type AnalysisConfig struct {
	// BucketSpan The size of the interval that the analysis is aggregated into, typically
	// between `5m` and `1h`. This value should be either a whole number of days or
	// equate to a
	// whole number of buckets in one day. If the anomaly detection job uses a
	// datafeed with aggregations, this value must also be divisible by the interval
	// of the date histogram aggregation.
	// * @server_default 5m
	BucketSpan Duration `json:"bucket_span"`
	// CategorizationAnalyzer If `categorization_field_name` is specified, you can also define the analyzer
	// that is used to interpret the categorization field. This property cannot be
	// used at the same time as `categorization_filters`. The categorization
	// analyzer specifies how the `categorization_field` is interpreted by the
	// categorization process. The `categorization_analyzer` field can be specified
	// either as a string or as an object. If it is a string, it must refer to a
	// built-in analyzer or one added by another plugin.
	CategorizationAnalyzer *CategorizationAnalyzer `json:"categorization_analyzer,omitempty"`
	// CategorizationFieldName If this property is specified, the values of the specified field will be
	// categorized. The resulting categories must be used in a detector by setting
	// `by_field_name`, `over_field_name`, or `partition_field_name` to the keyword
	// `mlcategory`.
	CategorizationFieldName *Field `json:"categorization_field_name,omitempty"`
	// CategorizationFilters If `categorization_field_name` is specified, you can also define optional
	// filters. This property expects an array of regular expressions. The
	// expressions are used to filter out matching sequences from the categorization
	// field values. You can use this functionality to fine tune the categorization
	// by excluding sequences from consideration when categories are defined. For
	// example, you can exclude SQL statements that appear in your log files. This
	// property cannot be used at the same time as `categorization_analyzer`. If you
	// only want to define simple regular expression filters that are applied prior
	// to tokenization, setting this property is the easiest method. If you also
	// want to customize the tokenizer or post-tokenization filtering, use the
	// `categorization_analyzer` property instead and include the filters as
	// pattern_replace character filters. The effect is exactly the same.
	CategorizationFilters []string `json:"categorization_filters,omitempty"`
	// Detectors Detector configuration objects specify which data fields a job analyzes. They
	// also specify which analytical functions are used. You can specify multiple
	// detectors for a job. If the detectors array does not contain at least one
	// detector, no analysis can occur and an error is returned.
	Detectors []Detector `json:"detectors"`
	// Influencers A comma separated list of influencer field names. Typically these can be the
	// by, over, or partition fields that are used in the detector configuration.
	// You might also want to use a field name that is not specifically named in a
	// detector, but is available as part of the input data. When you use multiple
	// detectors, the use of influencers is recommended as it aggregates results for
	// each influencer entity.
	Influencers []Field `json:"influencers,omitempty"`
	// Latency The size of the window in which to expect data that is out of time order. If
	// you specify a non-zero value, it must be greater than or equal to one second.
	// NOTE: Latency is applicable only when you send data by using the post data
	// API.
	Latency *Duration `json:"latency,omitempty"`
	// ModelPruneWindow Advanced configuration option. Affects the pruning of models that have not
	// been updated for the given time duration. The value must be set to a multiple
	// of the `bucket_span`. If set too low, important information may be removed
	// from the model. For jobs created in 8.1 and later, the default value is the
	// greater of `30d` or 20 times `bucket_span`.
	ModelPruneWindow *Duration `json:"model_prune_window,omitempty"`
	// MultivariateByFields This functionality is reserved for internal use. It is not supported for use
	// in customer environments and is not subject to the support SLA of official GA
	// features. If set to `true`, the analysis will automatically find correlations
	// between metrics for a given by field value and report anomalies when those
	// correlations cease to hold. For example, suppose CPU and memory usage on host
	// A is usually highly correlated with the same metrics on host B. Perhaps this
	// correlation occurs because they are running a load-balanced application. If
	// you enable this property, anomalies will be reported when, for example, CPU
	// usage on host A is high and the value of CPU usage on host B is low. That is
	// to say, you’ll see an anomaly when the CPU of host A is unusual given the CPU
	// of host B. To use the `multivariate_by_fields` property, you must also
	// specify `by_field_name` in your detector.
	MultivariateByFields *bool `json:"multivariate_by_fields,omitempty"`
	// PerPartitionCategorization Settings related to how categorization interacts with partition fields.
	PerPartitionCategorization *PerPartitionCategorization `json:"per_partition_categorization,omitempty"`
	// SummaryCountFieldName If this property is specified, the data that is fed to the job is expected to
	// be pre-summarized. This property value is the name of the field that contains
	// the count of raw data points that have been summarized. The same
	// `summary_count_field_name` applies to all detectors in the job. NOTE: The
	// `summary_count_field_name` property cannot be used with the `metric`
	// function.
	SummaryCountFieldName *Field `json:"summary_count_field_name,omitempty"`
}

AnalysisConfig type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Analysis.ts#L29-L77

type AnalysisConfigBuilder ¶

type AnalysisConfigBuilder struct {
	// contains filtered or unexported fields
}

AnalysisConfigBuilder holds AnalysisConfig struct and provides a builder API.

func NewAnalysisConfigBuilder ¶

func NewAnalysisConfigBuilder() *AnalysisConfigBuilder

NewAnalysisConfig provides a builder for the AnalysisConfig struct.

func (*AnalysisConfigBuilder) BucketSpan ¶

func (rb *AnalysisConfigBuilder) BucketSpan(bucketspan *DurationBuilder) *AnalysisConfigBuilder

func (*AnalysisConfigBuilder) Build ¶

Build finalize the chain and returns the AnalysisConfig struct

func (*AnalysisConfigBuilder) CategorizationAnalyzer ¶

func (rb *AnalysisConfigBuilder) CategorizationAnalyzer(categorizationanalyzer *CategorizationAnalyzerBuilder) *AnalysisConfigBuilder

func (*AnalysisConfigBuilder) CategorizationFieldName ¶

func (rb *AnalysisConfigBuilder) CategorizationFieldName(categorizationfieldname Field) *AnalysisConfigBuilder

func (*AnalysisConfigBuilder) CategorizationFilters ¶

func (rb *AnalysisConfigBuilder) CategorizationFilters(categorization_filters ...string) *AnalysisConfigBuilder

func (*AnalysisConfigBuilder) Detectors ¶

func (rb *AnalysisConfigBuilder) Detectors(detectors []DetectorBuilder) *AnalysisConfigBuilder

func (*AnalysisConfigBuilder) Influencers ¶

func (rb *AnalysisConfigBuilder) Influencers(influencers ...Field) *AnalysisConfigBuilder

func (*AnalysisConfigBuilder) Latency ¶

func (*AnalysisConfigBuilder) ModelPruneWindow ¶

func (rb *AnalysisConfigBuilder) ModelPruneWindow(modelprunewindow *DurationBuilder) *AnalysisConfigBuilder

func (*AnalysisConfigBuilder) MultivariateByFields ¶

func (rb *AnalysisConfigBuilder) MultivariateByFields(multivariatebyfields bool) *AnalysisConfigBuilder

func (*AnalysisConfigBuilder) PerPartitionCategorization ¶

func (rb *AnalysisConfigBuilder) PerPartitionCategorization(perpartitioncategorization *PerPartitionCategorizationBuilder) *AnalysisConfigBuilder

func (*AnalysisConfigBuilder) SummaryCountFieldName ¶

func (rb *AnalysisConfigBuilder) SummaryCountFieldName(summarycountfieldname Field) *AnalysisConfigBuilder

type AnalysisConfigRead ¶

type AnalysisConfigRead struct {
	// BucketSpan The size of the interval that the analysis is aggregated into, typically
	// between `5m` and `1h`. This value should be either a whole number of days or
	// equate to a
	// whole number of buckets in one day. If the anomaly detection job uses a
	// datafeed with aggregations, this value must also be divisible by the interval
	// of the date histogram aggregation.
	// * @server_default 5m
	BucketSpan Duration `json:"bucket_span"`
	// CategorizationAnalyzer If `categorization_field_name` is specified, you can also define the analyzer
	// that is used to interpret the categorization field. This property cannot be
	// used at the same time as `categorization_filters`. The categorization
	// analyzer specifies how the `categorization_field` is interpreted by the
	// categorization process. The `categorization_analyzer` field can be specified
	// either as a string or as an object. If it is a string, it must refer to a
	// built-in analyzer or one added by another plugin.
	CategorizationAnalyzer *CategorizationAnalyzer `json:"categorization_analyzer,omitempty"`
	// CategorizationFieldName If this property is specified, the values of the specified field will be
	// categorized. The resulting categories must be used in a detector by setting
	// `by_field_name`, `over_field_name`, or `partition_field_name` to the keyword
	// `mlcategory`.
	CategorizationFieldName *Field `json:"categorization_field_name,omitempty"`
	// CategorizationFilters If `categorization_field_name` is specified, you can also define optional
	// filters. This property expects an array of regular expressions. The
	// expressions are used to filter out matching sequences from the categorization
	// field values. You can use this functionality to fine tune the categorization
	// by excluding sequences from consideration when categories are defined. For
	// example, you can exclude SQL statements that appear in your log files. This
	// property cannot be used at the same time as `categorization_analyzer`. If you
	// only want to define simple regular expression filters that are applied prior
	// to tokenization, setting this property is the easiest method. If you also
	// want to customize the tokenizer or post-tokenization filtering, use the
	// `categorization_analyzer` property instead and include the filters as
	// pattern_replace character filters. The effect is exactly the same.
	CategorizationFilters []string `json:"categorization_filters,omitempty"`
	// Detectors Detector configuration objects specify which data fields a job analyzes. They
	// also specify which analytical functions are used. You can specify multiple
	// detectors for a job. If the detectors array does not contain at least one
	// detector, no analysis can occur and an error is returned.
	Detectors []DetectorRead `json:"detectors"`
	// Influencers A comma separated list of influencer field names. Typically these can be the
	// by, over, or partition fields that are used in the detector configuration.
	// You might also want to use a field name that is not specifically named in a
	// detector, but is available as part of the input data. When you use multiple
	// detectors, the use of influencers is recommended as it aggregates results for
	// each influencer entity.
	Influencers []Field `json:"influencers"`
	// Latency The size of the window in which to expect data that is out of time order. If
	// you specify a non-zero value, it must be greater than or equal to one second.
	// NOTE: Latency is applicable only when you send data by using the post data
	// API.
	Latency *Duration `json:"latency,omitempty"`
	// ModelPruneWindow Advanced configuration option. Affects the pruning of models that have not
	// been updated for the given time duration. The value must be set to a multiple
	// of the `bucket_span`. If set too low, important information may be removed
	// from the model. For jobs created in 8.1 and later, the default value is the
	// greater of `30d` or 20 times `bucket_span`.
	ModelPruneWindow *Duration `json:"model_prune_window,omitempty"`
	// MultivariateByFields This functionality is reserved for internal use. It is not supported for use
	// in customer environments and is not subject to the support SLA of official GA
	// features. If set to `true`, the analysis will automatically find correlations
	// between metrics for a given by field value and report anomalies when those
	// correlations cease to hold. For example, suppose CPU and memory usage on host
	// A is usually highly correlated with the same metrics on host B. Perhaps this
	// correlation occurs because they are running a load-balanced application. If
	// you enable this property, anomalies will be reported when, for example, CPU
	// usage on host A is high and the value of CPU usage on host B is low. That is
	// to say, you’ll see an anomaly when the CPU of host A is unusual given the CPU
	// of host B. To use the `multivariate_by_fields` property, you must also
	// specify `by_field_name` in your detector.
	MultivariateByFields *bool `json:"multivariate_by_fields,omitempty"`
	// PerPartitionCategorization Settings related to how categorization interacts with partition fields.
	PerPartitionCategorization *PerPartitionCategorization `json:"per_partition_categorization,omitempty"`
	// SummaryCountFieldName If this property is specified, the data that is fed to the job is expected to
	// be pre-summarized. This property value is the name of the field that contains
	// the count of raw data points that have been summarized. The same
	// `summary_count_field_name` applies to all detectors in the job. NOTE: The
	// `summary_count_field_name` property cannot be used with the `metric`
	// function.
	SummaryCountFieldName *Field `json:"summary_count_field_name,omitempty"`
}

AnalysisConfigRead type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Analysis.ts#L79-L91

type AnalysisConfigReadBuilder ¶

type AnalysisConfigReadBuilder struct {
	// contains filtered or unexported fields
}

AnalysisConfigReadBuilder holds AnalysisConfigRead struct and provides a builder API.

func NewAnalysisConfigReadBuilder ¶

func NewAnalysisConfigReadBuilder() *AnalysisConfigReadBuilder

NewAnalysisConfigRead provides a builder for the AnalysisConfigRead struct.

func (*AnalysisConfigReadBuilder) BucketSpan ¶

func (*AnalysisConfigReadBuilder) Build ¶

Build finalize the chain and returns the AnalysisConfigRead struct

func (*AnalysisConfigReadBuilder) CategorizationAnalyzer ¶

func (rb *AnalysisConfigReadBuilder) CategorizationAnalyzer(categorizationanalyzer *CategorizationAnalyzerBuilder) *AnalysisConfigReadBuilder

func (*AnalysisConfigReadBuilder) CategorizationFieldName ¶

func (rb *AnalysisConfigReadBuilder) CategorizationFieldName(categorizationfieldname Field) *AnalysisConfigReadBuilder

func (*AnalysisConfigReadBuilder) CategorizationFilters ¶

func (rb *AnalysisConfigReadBuilder) CategorizationFilters(categorization_filters ...string) *AnalysisConfigReadBuilder

func (*AnalysisConfigReadBuilder) Detectors ¶

func (*AnalysisConfigReadBuilder) Influencers ¶

func (rb *AnalysisConfigReadBuilder) Influencers(influencers ...Field) *AnalysisConfigReadBuilder

func (*AnalysisConfigReadBuilder) Latency ¶

func (*AnalysisConfigReadBuilder) ModelPruneWindow ¶

func (rb *AnalysisConfigReadBuilder) ModelPruneWindow(modelprunewindow *DurationBuilder) *AnalysisConfigReadBuilder

func (*AnalysisConfigReadBuilder) MultivariateByFields ¶

func (rb *AnalysisConfigReadBuilder) MultivariateByFields(multivariatebyfields bool) *AnalysisConfigReadBuilder

func (*AnalysisConfigReadBuilder) PerPartitionCategorization ¶

func (rb *AnalysisConfigReadBuilder) PerPartitionCategorization(perpartitioncategorization *PerPartitionCategorizationBuilder) *AnalysisConfigReadBuilder

func (*AnalysisConfigReadBuilder) SummaryCountFieldName ¶

func (rb *AnalysisConfigReadBuilder) SummaryCountFieldName(summarycountfieldname Field) *AnalysisConfigReadBuilder

type AnalysisLimits ¶

type AnalysisLimits struct {
	// CategorizationExamplesLimit The maximum number of examples stored per category in memory and in the
	// results data store. If you increase this value, more examples are available,
	// however it requires that you have more storage available. If you set this
	// value to 0, no examples are stored. NOTE: The `categorization_examples_limit`
	// applies only to analysis that uses categorization.
	CategorizationExamplesLimit *int64 `json:"categorization_examples_limit,omitempty"`
	// ModelMemoryLimit The approximate maximum amount of memory resources that are required for
	// analytical processing. Once this limit is approached, data pruning becomes
	// more aggressive. Upon exceeding this limit, new entities are not modeled. If
	// the `xpack.ml.max_model_memory_limit` setting has a value greater than 0 and
	// less than 1024mb, that value is used instead of the default. The default
	// value is relatively small to ensure that high resource usage is a conscious
	// decision. If you have jobs that are expected to analyze high cardinality
	// fields, you will likely need to use a higher value. If you specify a number
	// instead of a string, the units are assumed to be MiB. Specifying a string is
	// recommended for clarity. If you specify a byte size unit of `b` or `kb` and
	// the number does not equate to a discrete number of megabytes, it is rounded
	// down to the closest MiB. The minimum valid value is 1 MiB. If you specify a
	// value less than 1 MiB, an error occurs. If you specify a value for the
	// `xpack.ml.max_model_memory_limit` setting, an error occurs when you try to
	// create jobs that have `model_memory_limit` values greater than that setting
	// value.
	ModelMemoryLimit *string `json:"model_memory_limit,omitempty"`
}

AnalysisLimits type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Analysis.ts#L104-L115

type AnalysisLimitsBuilder ¶

type AnalysisLimitsBuilder struct {
	// contains filtered or unexported fields
}

AnalysisLimitsBuilder holds AnalysisLimits struct and provides a builder API.

func NewAnalysisLimitsBuilder ¶

func NewAnalysisLimitsBuilder() *AnalysisLimitsBuilder

NewAnalysisLimits provides a builder for the AnalysisLimits struct.

func (*AnalysisLimitsBuilder) Build ¶

Build finalize the chain and returns the AnalysisLimits struct

func (*AnalysisLimitsBuilder) CategorizationExamplesLimit ¶

func (rb *AnalysisLimitsBuilder) CategorizationExamplesLimit(categorizationexampleslimit int64) *AnalysisLimitsBuilder

func (*AnalysisLimitsBuilder) ModelMemoryLimit ¶

func (rb *AnalysisLimitsBuilder) ModelMemoryLimit(modelmemorylimit string) *AnalysisLimitsBuilder

type AnalysisMemoryLimit ¶

type AnalysisMemoryLimit struct {
	// ModelMemoryLimit Limits can be applied for the resources required to hold the mathematical
	// models in memory. These limits are approximate and can be set per job. They
	// do not control the memory used by other processes, for example the
	// Elasticsearch Java processes.
	ModelMemoryLimit string `json:"model_memory_limit"`
}

AnalysisMemoryLimit type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Analysis.ts#L117-L122

type AnalysisMemoryLimitBuilder ¶

type AnalysisMemoryLimitBuilder struct {
	// contains filtered or unexported fields
}

AnalysisMemoryLimitBuilder holds AnalysisMemoryLimit struct and provides a builder API.

func NewAnalysisMemoryLimitBuilder ¶

func NewAnalysisMemoryLimitBuilder() *AnalysisMemoryLimitBuilder

NewAnalysisMemoryLimit provides a builder for the AnalysisMemoryLimit struct.

func (*AnalysisMemoryLimitBuilder) Build ¶

Build finalize the chain and returns the AnalysisMemoryLimit struct

func (*AnalysisMemoryLimitBuilder) ModelMemoryLimit ¶

func (rb *AnalysisMemoryLimitBuilder) ModelMemoryLimit(modelmemorylimit string) *AnalysisMemoryLimitBuilder

type Analytics ¶

type Analytics struct {
	Available bool                `json:"available"`
	Enabled   bool                `json:"enabled"`
	Stats     AnalyticsStatistics `json:"stats"`
}

Analytics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L313-L315

type AnalyticsBuilder ¶

type AnalyticsBuilder struct {
	// contains filtered or unexported fields
}

AnalyticsBuilder holds Analytics struct and provides a builder API.

func NewAnalyticsBuilder ¶

func NewAnalyticsBuilder() *AnalyticsBuilder

NewAnalytics provides a builder for the Analytics struct.

func (*AnalyticsBuilder) Available ¶

func (rb *AnalyticsBuilder) Available(available bool) *AnalyticsBuilder

func (*AnalyticsBuilder) Build ¶

func (rb *AnalyticsBuilder) Build() Analytics

Build finalize the chain and returns the Analytics struct

func (*AnalyticsBuilder) Enabled ¶

func (rb *AnalyticsBuilder) Enabled(enabled bool) *AnalyticsBuilder

func (*AnalyticsBuilder) Stats ¶

type AnalyticsStatistics ¶

type AnalyticsStatistics struct {
	BoxplotUsage               int64  `json:"boxplot_usage"`
	CumulativeCardinalityUsage int64  `json:"cumulative_cardinality_usage"`
	MovingPercentilesUsage     int64  `json:"moving_percentiles_usage"`
	MultiTermsUsage            *int64 `json:"multi_terms_usage,omitempty"`
	NormalizeUsage             int64  `json:"normalize_usage"`
	RateUsage                  int64  `json:"rate_usage"`
	StringStatsUsage           int64  `json:"string_stats_usage"`
	TTestUsage                 int64  `json:"t_test_usage"`
	TopMetricsUsage            int64  `json:"top_metrics_usage"`
}

AnalyticsStatistics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L56-L66

type AnalyticsStatisticsBuilder ¶

type AnalyticsStatisticsBuilder struct {
	// contains filtered or unexported fields
}

AnalyticsStatisticsBuilder holds AnalyticsStatistics struct and provides a builder API.

func NewAnalyticsStatisticsBuilder ¶

func NewAnalyticsStatisticsBuilder() *AnalyticsStatisticsBuilder

NewAnalyticsStatistics provides a builder for the AnalyticsStatistics struct.

func (*AnalyticsStatisticsBuilder) BoxplotUsage ¶

func (rb *AnalyticsStatisticsBuilder) BoxplotUsage(boxplotusage int64) *AnalyticsStatisticsBuilder

func (*AnalyticsStatisticsBuilder) Build ¶

Build finalize the chain and returns the AnalyticsStatistics struct

func (*AnalyticsStatisticsBuilder) CumulativeCardinalityUsage ¶

func (rb *AnalyticsStatisticsBuilder) CumulativeCardinalityUsage(cumulativecardinalityusage int64) *AnalyticsStatisticsBuilder

func (*AnalyticsStatisticsBuilder) MovingPercentilesUsage ¶

func (rb *AnalyticsStatisticsBuilder) MovingPercentilesUsage(movingpercentilesusage int64) *AnalyticsStatisticsBuilder

func (*AnalyticsStatisticsBuilder) MultiTermsUsage ¶

func (rb *AnalyticsStatisticsBuilder) MultiTermsUsage(multitermsusage int64) *AnalyticsStatisticsBuilder

func (*AnalyticsStatisticsBuilder) NormalizeUsage ¶

func (rb *AnalyticsStatisticsBuilder) NormalizeUsage(normalizeusage int64) *AnalyticsStatisticsBuilder

func (*AnalyticsStatisticsBuilder) RateUsage ¶

func (*AnalyticsStatisticsBuilder) StringStatsUsage ¶

func (rb *AnalyticsStatisticsBuilder) StringStatsUsage(stringstatsusage int64) *AnalyticsStatisticsBuilder

func (*AnalyticsStatisticsBuilder) TTestUsage ¶

func (rb *AnalyticsStatisticsBuilder) TTestUsage(ttestusage int64) *AnalyticsStatisticsBuilder

func (*AnalyticsStatisticsBuilder) TopMetricsUsage ¶

func (rb *AnalyticsStatisticsBuilder) TopMetricsUsage(topmetricsusage int64) *AnalyticsStatisticsBuilder

type AnalyzeDetail ¶

type AnalyzeDetail struct {
	Analyzer       *AnalyzerDetail    `json:"analyzer,omitempty"`
	Charfilters    []CharFilterDetail `json:"charfilters,omitempty"`
	CustomAnalyzer bool               `json:"custom_analyzer"`
	Tokenfilters   []TokenDetail      `json:"tokenfilters,omitempty"`
	Tokenizer      *TokenDetail       `json:"tokenizer,omitempty"`
}

AnalyzeDetail type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/analyze/types.ts#L24-L30

type AnalyzeDetailBuilder ¶

type AnalyzeDetailBuilder struct {
	// contains filtered or unexported fields
}

AnalyzeDetailBuilder holds AnalyzeDetail struct and provides a builder API.

func NewAnalyzeDetailBuilder ¶

func NewAnalyzeDetailBuilder() *AnalyzeDetailBuilder

NewAnalyzeDetail provides a builder for the AnalyzeDetail struct.

func (*AnalyzeDetailBuilder) Analyzer ¶

func (*AnalyzeDetailBuilder) Build ¶

func (rb *AnalyzeDetailBuilder) Build() AnalyzeDetail

Build finalize the chain and returns the AnalyzeDetail struct

func (*AnalyzeDetailBuilder) Charfilters ¶

func (rb *AnalyzeDetailBuilder) Charfilters(charfilters []CharFilterDetailBuilder) *AnalyzeDetailBuilder

func (*AnalyzeDetailBuilder) CustomAnalyzer ¶

func (rb *AnalyzeDetailBuilder) CustomAnalyzer(customanalyzer bool) *AnalyzeDetailBuilder

func (*AnalyzeDetailBuilder) Tokenfilters ¶

func (rb *AnalyzeDetailBuilder) Tokenfilters(tokenfilters []TokenDetailBuilder) *AnalyzeDetailBuilder

func (*AnalyzeDetailBuilder) Tokenizer ¶

type AnalyzeToken ¶

type AnalyzeToken struct {
	EndOffset      int64  `json:"end_offset"`
	Position       int64  `json:"position"`
	PositionLength *int64 `json:"position_length,omitempty"`
	StartOffset    int64  `json:"start_offset"`
	Token          string `json:"token"`
	Type           string `json:"type"`
}

AnalyzeToken type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/analyze/types.ts#L37-L44

type AnalyzeTokenBuilder ¶

type AnalyzeTokenBuilder struct {
	// contains filtered or unexported fields
}

AnalyzeTokenBuilder holds AnalyzeToken struct and provides a builder API.

func NewAnalyzeTokenBuilder ¶

func NewAnalyzeTokenBuilder() *AnalyzeTokenBuilder

NewAnalyzeToken provides a builder for the AnalyzeToken struct.

func (*AnalyzeTokenBuilder) Build ¶

func (rb *AnalyzeTokenBuilder) Build() AnalyzeToken

Build finalize the chain and returns the AnalyzeToken struct

func (*AnalyzeTokenBuilder) EndOffset ¶

func (rb *AnalyzeTokenBuilder) EndOffset(endoffset int64) *AnalyzeTokenBuilder

func (*AnalyzeTokenBuilder) Position ¶

func (rb *AnalyzeTokenBuilder) Position(position int64) *AnalyzeTokenBuilder

func (*AnalyzeTokenBuilder) PositionLength ¶

func (rb *AnalyzeTokenBuilder) PositionLength(positionlength int64) *AnalyzeTokenBuilder

func (*AnalyzeTokenBuilder) StartOffset ¶

func (rb *AnalyzeTokenBuilder) StartOffset(startoffset int64) *AnalyzeTokenBuilder

func (*AnalyzeTokenBuilder) Token ¶

func (*AnalyzeTokenBuilder) Type_ ¶

type Analyzer ¶

type Analyzer interface{}

Analyzer holds the union for the following types:

CustomAnalyzer
DutchAnalyzer
FingerprintAnalyzer
IcuAnalyzer
KeywordAnalyzer
KuromojiAnalyzer
LanguageAnalyzer
NoriAnalyzer
PatternAnalyzer
SimpleAnalyzer
SnowballAnalyzer
StandardAnalyzer
StopAnalyzer
WhitespaceAnalyzer

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/analyzers.ts#L113-L131

type AnalyzerBuilder ¶

type AnalyzerBuilder struct {
	// contains filtered or unexported fields
}

AnalyzerBuilder holds Analyzer struct and provides a builder API.

func NewAnalyzerBuilder ¶

func NewAnalyzerBuilder() *AnalyzerBuilder

NewAnalyzer provides a builder for the Analyzer struct.

func (*AnalyzerBuilder) Build ¶

func (u *AnalyzerBuilder) Build() Analyzer

Build finalize the chain and returns the Analyzer struct

func (*AnalyzerBuilder) CustomAnalyzer ¶

func (u *AnalyzerBuilder) CustomAnalyzer(customanalyzer *CustomAnalyzerBuilder) *AnalyzerBuilder

func (*AnalyzerBuilder) DutchAnalyzer ¶

func (u *AnalyzerBuilder) DutchAnalyzer(dutchanalyzer *DutchAnalyzerBuilder) *AnalyzerBuilder

func (*AnalyzerBuilder) FingerprintAnalyzer ¶

func (u *AnalyzerBuilder) FingerprintAnalyzer(fingerprintanalyzer *FingerprintAnalyzerBuilder) *AnalyzerBuilder

func (*AnalyzerBuilder) IcuAnalyzer ¶

func (u *AnalyzerBuilder) IcuAnalyzer(icuanalyzer *IcuAnalyzerBuilder) *AnalyzerBuilder

func (*AnalyzerBuilder) KeywordAnalyzer ¶

func (u *AnalyzerBuilder) KeywordAnalyzer(keywordanalyzer *KeywordAnalyzerBuilder) *AnalyzerBuilder

func (*AnalyzerBuilder) KuromojiAnalyzer ¶

func (u *AnalyzerBuilder) KuromojiAnalyzer(kuromojianalyzer *KuromojiAnalyzerBuilder) *AnalyzerBuilder

func (*AnalyzerBuilder) LanguageAnalyzer ¶

func (u *AnalyzerBuilder) LanguageAnalyzer(languageanalyzer *LanguageAnalyzerBuilder) *AnalyzerBuilder

func (*AnalyzerBuilder) NoriAnalyzer ¶

func (u *AnalyzerBuilder) NoriAnalyzer(norianalyzer *NoriAnalyzerBuilder) *AnalyzerBuilder

func (*AnalyzerBuilder) PatternAnalyzer ¶

func (u *AnalyzerBuilder) PatternAnalyzer(patternanalyzer *PatternAnalyzerBuilder) *AnalyzerBuilder

func (*AnalyzerBuilder) SimpleAnalyzer ¶

func (u *AnalyzerBuilder) SimpleAnalyzer(simpleanalyzer *SimpleAnalyzerBuilder) *AnalyzerBuilder

func (*AnalyzerBuilder) SnowballAnalyzer ¶

func (u *AnalyzerBuilder) SnowballAnalyzer(snowballanalyzer *SnowballAnalyzerBuilder) *AnalyzerBuilder

func (*AnalyzerBuilder) StandardAnalyzer ¶

func (u *AnalyzerBuilder) StandardAnalyzer(standardanalyzer *StandardAnalyzerBuilder) *AnalyzerBuilder

func (*AnalyzerBuilder) StopAnalyzer ¶

func (u *AnalyzerBuilder) StopAnalyzer(stopanalyzer *StopAnalyzerBuilder) *AnalyzerBuilder

func (*AnalyzerBuilder) WhitespaceAnalyzer ¶

func (u *AnalyzerBuilder) WhitespaceAnalyzer(whitespaceanalyzer *WhitespaceAnalyzerBuilder) *AnalyzerBuilder

type AnalyzerDetailBuilder ¶

type AnalyzerDetailBuilder struct {
	// contains filtered or unexported fields
}

AnalyzerDetailBuilder holds AnalyzerDetail struct and provides a builder API.

func NewAnalyzerDetailBuilder ¶

func NewAnalyzerDetailBuilder() *AnalyzerDetailBuilder

NewAnalyzerDetail provides a builder for the AnalyzerDetail struct.

func (*AnalyzerDetailBuilder) Build ¶

Build finalize the chain and returns the AnalyzerDetail struct

func (*AnalyzerDetailBuilder) Name ¶

func (*AnalyzerDetailBuilder) Tokens ¶

type Anomaly ¶

type Anomaly struct {
	Actual              []float64                `json:"actual,omitempty"`
	BucketSpan          DurationValueUnitSeconds `json:"bucket_span"`
	ByFieldName         *string                  `json:"by_field_name,omitempty"`
	ByFieldValue        *string                  `json:"by_field_value,omitempty"`
	Causes              []AnomalyCause           `json:"causes,omitempty"`
	DetectorIndex       int                      `json:"detector_index"`
	FieldName           *string                  `json:"field_name,omitempty"`
	Function            *string                  `json:"function,omitempty"`
	FunctionDescription *string                  `json:"function_description,omitempty"`
	Influencers         []Influence              `json:"influencers,omitempty"`
	InitialRecordScore  float64                  `json:"initial_record_score"`
	IsInterim           bool                     `json:"is_interim"`
	JobId               string                   `json:"job_id"`
	OverFieldName       *string                  `json:"over_field_name,omitempty"`
	OverFieldValue      *string                  `json:"over_field_value,omitempty"`
	PartitionFieldName  *string                  `json:"partition_field_name,omitempty"`
	PartitionFieldValue *string                  `json:"partition_field_value,omitempty"`
	Probability         float64                  `json:"probability"`
	RecordScore         float64                  `json:"record_score"`
	ResultType          string                   `json:"result_type"`
	Timestamp           EpochTimeUnitMillis      `json:"timestamp"`
	Typical             []float64                `json:"typical,omitempty"`
}

Anomaly type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Anomaly.ts#L24-L47

type AnomalyBuilder ¶

type AnomalyBuilder struct {
	// contains filtered or unexported fields
}

AnomalyBuilder holds Anomaly struct and provides a builder API.

func NewAnomalyBuilder ¶

func NewAnomalyBuilder() *AnomalyBuilder

NewAnomaly provides a builder for the Anomaly struct.

func (*AnomalyBuilder) Actual ¶

func (rb *AnomalyBuilder) Actual(actual ...float64) *AnomalyBuilder

func (*AnomalyBuilder) BucketSpan ¶

func (rb *AnomalyBuilder) BucketSpan(bucketspan *DurationValueUnitSecondsBuilder) *AnomalyBuilder

func (*AnomalyBuilder) Build ¶

func (rb *AnomalyBuilder) Build() Anomaly

Build finalize the chain and returns the Anomaly struct

func (*AnomalyBuilder) ByFieldName ¶

func (rb *AnomalyBuilder) ByFieldName(byfieldname string) *AnomalyBuilder

func (*AnomalyBuilder) ByFieldValue ¶

func (rb *AnomalyBuilder) ByFieldValue(byfieldvalue string) *AnomalyBuilder

func (*AnomalyBuilder) Causes ¶

func (rb *AnomalyBuilder) Causes(causes []AnomalyCauseBuilder) *AnomalyBuilder

func (*AnomalyBuilder) DetectorIndex ¶

func (rb *AnomalyBuilder) DetectorIndex(detectorindex int) *AnomalyBuilder

func (*AnomalyBuilder) FieldName ¶

func (rb *AnomalyBuilder) FieldName(fieldname string) *AnomalyBuilder

func (*AnomalyBuilder) Function ¶

func (rb *AnomalyBuilder) Function(function string) *AnomalyBuilder

func (*AnomalyBuilder) FunctionDescription ¶

func (rb *AnomalyBuilder) FunctionDescription(functiondescription string) *AnomalyBuilder

func (*AnomalyBuilder) Influencers ¶

func (rb *AnomalyBuilder) Influencers(influencers []InfluenceBuilder) *AnomalyBuilder

func (*AnomalyBuilder) InitialRecordScore ¶

func (rb *AnomalyBuilder) InitialRecordScore(initialrecordscore float64) *AnomalyBuilder

func (*AnomalyBuilder) IsInterim ¶

func (rb *AnomalyBuilder) IsInterim(isinterim bool) *AnomalyBuilder

func (*AnomalyBuilder) JobId ¶

func (rb *AnomalyBuilder) JobId(jobid string) *AnomalyBuilder

func (*AnomalyBuilder) OverFieldName ¶

func (rb *AnomalyBuilder) OverFieldName(overfieldname string) *AnomalyBuilder

func (*AnomalyBuilder) OverFieldValue ¶

func (rb *AnomalyBuilder) OverFieldValue(overfieldvalue string) *AnomalyBuilder

func (*AnomalyBuilder) PartitionFieldName ¶

func (rb *AnomalyBuilder) PartitionFieldName(partitionfieldname string) *AnomalyBuilder

func (*AnomalyBuilder) PartitionFieldValue ¶

func (rb *AnomalyBuilder) PartitionFieldValue(partitionfieldvalue string) *AnomalyBuilder

func (*AnomalyBuilder) Probability ¶

func (rb *AnomalyBuilder) Probability(probability float64) *AnomalyBuilder

func (*AnomalyBuilder) RecordScore ¶

func (rb *AnomalyBuilder) RecordScore(recordscore float64) *AnomalyBuilder

func (*AnomalyBuilder) ResultType ¶

func (rb *AnomalyBuilder) ResultType(resulttype string) *AnomalyBuilder

func (*AnomalyBuilder) Timestamp ¶

func (rb *AnomalyBuilder) Timestamp(timestamp *EpochTimeUnitMillisBuilder) *AnomalyBuilder

func (*AnomalyBuilder) Typical ¶

func (rb *AnomalyBuilder) Typical(typical ...float64) *AnomalyBuilder

type AnomalyCause ¶

type AnomalyCause struct {
	Actual                 []float64   `json:"actual"`
	ByFieldName            Name        `json:"by_field_name"`
	ByFieldValue           string      `json:"by_field_value"`
	CorrelatedByFieldValue string      `json:"correlated_by_field_value"`
	FieldName              Field       `json:"field_name"`
	Function               string      `json:"function"`
	FunctionDescription    string      `json:"function_description"`
	Influencers            []Influence `json:"influencers"`
	OverFieldName          Name        `json:"over_field_name"`
	OverFieldValue         string      `json:"over_field_value"`
	PartitionFieldName     string      `json:"partition_field_name"`
	PartitionFieldValue    string      `json:"partition_field_value"`
	Probability            float64     `json:"probability"`
	Typical                []float64   `json:"typical"`
}

AnomalyCause type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Anomaly.ts#L49-L64

type AnomalyCauseBuilder ¶

type AnomalyCauseBuilder struct {
	// contains filtered or unexported fields
}

AnomalyCauseBuilder holds AnomalyCause struct and provides a builder API.

func NewAnomalyCauseBuilder ¶

func NewAnomalyCauseBuilder() *AnomalyCauseBuilder

NewAnomalyCause provides a builder for the AnomalyCause struct.

func (*AnomalyCauseBuilder) Actual ¶

func (rb *AnomalyCauseBuilder) Actual(actual ...float64) *AnomalyCauseBuilder

func (*AnomalyCauseBuilder) Build ¶

func (rb *AnomalyCauseBuilder) Build() AnomalyCause

Build finalize the chain and returns the AnomalyCause struct

func (*AnomalyCauseBuilder) ByFieldName ¶

func (rb *AnomalyCauseBuilder) ByFieldName(byfieldname Name) *AnomalyCauseBuilder

func (*AnomalyCauseBuilder) ByFieldValue ¶

func (rb *AnomalyCauseBuilder) ByFieldValue(byfieldvalue string) *AnomalyCauseBuilder

func (*AnomalyCauseBuilder) CorrelatedByFieldValue ¶

func (rb *AnomalyCauseBuilder) CorrelatedByFieldValue(correlatedbyfieldvalue string) *AnomalyCauseBuilder

func (*AnomalyCauseBuilder) FieldName ¶

func (rb *AnomalyCauseBuilder) FieldName(fieldname Field) *AnomalyCauseBuilder

func (*AnomalyCauseBuilder) Function ¶

func (rb *AnomalyCauseBuilder) Function(function string) *AnomalyCauseBuilder

func (*AnomalyCauseBuilder) FunctionDescription ¶

func (rb *AnomalyCauseBuilder) FunctionDescription(functiondescription string) *AnomalyCauseBuilder

func (*AnomalyCauseBuilder) Influencers ¶

func (rb *AnomalyCauseBuilder) Influencers(influencers []InfluenceBuilder) *AnomalyCauseBuilder

func (*AnomalyCauseBuilder) OverFieldName ¶

func (rb *AnomalyCauseBuilder) OverFieldName(overfieldname Name) *AnomalyCauseBuilder

func (*AnomalyCauseBuilder) OverFieldValue ¶

func (rb *AnomalyCauseBuilder) OverFieldValue(overfieldvalue string) *AnomalyCauseBuilder

func (*AnomalyCauseBuilder) PartitionFieldName ¶

func (rb *AnomalyCauseBuilder) PartitionFieldName(partitionfieldname string) *AnomalyCauseBuilder

func (*AnomalyCauseBuilder) PartitionFieldValue ¶

func (rb *AnomalyCauseBuilder) PartitionFieldValue(partitionfieldvalue string) *AnomalyCauseBuilder

func (*AnomalyCauseBuilder) Probability ¶

func (rb *AnomalyCauseBuilder) Probability(probability float64) *AnomalyCauseBuilder

func (*AnomalyCauseBuilder) Typical ¶

func (rb *AnomalyCauseBuilder) Typical(typical ...float64) *AnomalyCauseBuilder

type AnomalyDetectors ¶

type AnomalyDetectors struct {
	CategorizationAnalyzer               CategorizationAnalyzer `json:"categorization_analyzer"`
	CategorizationExamplesLimit          int                    `json:"categorization_examples_limit"`
	DailyModelSnapshotRetentionAfterDays int                    `json:"daily_model_snapshot_retention_after_days"`
	ModelMemoryLimit                     string                 `json:"model_memory_limit"`
	ModelSnapshotRetentionDays           int                    `json:"model_snapshot_retention_days"`
}

AnomalyDetectors type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/info/types.ts#L44-L50

type AnomalyDetectorsBuilder ¶

type AnomalyDetectorsBuilder struct {
	// contains filtered or unexported fields
}

AnomalyDetectorsBuilder holds AnomalyDetectors struct and provides a builder API.

func NewAnomalyDetectorsBuilder ¶

func NewAnomalyDetectorsBuilder() *AnomalyDetectorsBuilder

NewAnomalyDetectors provides a builder for the AnomalyDetectors struct.

func (*AnomalyDetectorsBuilder) Build ¶

Build finalize the chain and returns the AnomalyDetectors struct

func (*AnomalyDetectorsBuilder) CategorizationAnalyzer ¶

func (rb *AnomalyDetectorsBuilder) CategorizationAnalyzer(categorizationanalyzer *CategorizationAnalyzerBuilder) *AnomalyDetectorsBuilder

func (*AnomalyDetectorsBuilder) CategorizationExamplesLimit ¶

func (rb *AnomalyDetectorsBuilder) CategorizationExamplesLimit(categorizationexampleslimit int) *AnomalyDetectorsBuilder

func (*AnomalyDetectorsBuilder) DailyModelSnapshotRetentionAfterDays ¶

func (rb *AnomalyDetectorsBuilder) DailyModelSnapshotRetentionAfterDays(dailymodelsnapshotretentionafterdays int) *AnomalyDetectorsBuilder

func (*AnomalyDetectorsBuilder) ModelMemoryLimit ¶

func (rb *AnomalyDetectorsBuilder) ModelMemoryLimit(modelmemorylimit string) *AnomalyDetectorsBuilder

func (*AnomalyDetectorsBuilder) ModelSnapshotRetentionDays ¶

func (rb *AnomalyDetectorsBuilder) ModelSnapshotRetentionDays(modelsnapshotretentiondays int) *AnomalyDetectorsBuilder

type ApiKey ¶

type ApiKey struct {
	Creation    *int64    `json:"creation,omitempty"`
	Expiration  *int64    `json:"expiration,omitempty"`
	Id          Id        `json:"id"`
	Invalidated *bool     `json:"invalidated,omitempty"`
	Metadata    *Metadata `json:"metadata,omitempty"`
	Name        Name      `json:"name"`
	Realm       *string   `json:"realm,omitempty"`
	Username    *Username `json:"username,omitempty"`
}

ApiKey type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/ApiKey.ts#L23-L33

type ApiKeyAuthorization ¶

type ApiKeyAuthorization struct {
	// Id The identifier for the API key.
	Id string `json:"id"`
	// Name The name of the API key.
	Name string `json:"name"`
}

ApiKeyAuthorization type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Authorization.ts#L20-L29

type ApiKeyAuthorizationBuilder ¶

type ApiKeyAuthorizationBuilder struct {
	// contains filtered or unexported fields
}

ApiKeyAuthorizationBuilder holds ApiKeyAuthorization struct and provides a builder API.

func NewApiKeyAuthorizationBuilder ¶

func NewApiKeyAuthorizationBuilder() *ApiKeyAuthorizationBuilder

NewApiKeyAuthorization provides a builder for the ApiKeyAuthorization struct.

func (*ApiKeyAuthorizationBuilder) Build ¶

Build finalize the chain and returns the ApiKeyAuthorization struct

func (*ApiKeyAuthorizationBuilder) Id ¶

func (*ApiKeyAuthorizationBuilder) Name ¶

type ApiKeyBuilder ¶

type ApiKeyBuilder struct {
	// contains filtered or unexported fields
}

ApiKeyBuilder holds ApiKey struct and provides a builder API.

func NewApiKeyBuilder ¶

func NewApiKeyBuilder() *ApiKeyBuilder

NewApiKey provides a builder for the ApiKey struct.

func (*ApiKeyBuilder) Build ¶

func (rb *ApiKeyBuilder) Build() ApiKey

Build finalize the chain and returns the ApiKey struct

func (*ApiKeyBuilder) Creation ¶

func (rb *ApiKeyBuilder) Creation(creation int64) *ApiKeyBuilder

func (*ApiKeyBuilder) Expiration ¶

func (rb *ApiKeyBuilder) Expiration(expiration int64) *ApiKeyBuilder

func (*ApiKeyBuilder) Id ¶

func (rb *ApiKeyBuilder) Id(id Id) *ApiKeyBuilder

func (*ApiKeyBuilder) Invalidated ¶

func (rb *ApiKeyBuilder) Invalidated(invalidated bool) *ApiKeyBuilder

func (*ApiKeyBuilder) Metadata ¶

func (rb *ApiKeyBuilder) Metadata(metadata *MetadataBuilder) *ApiKeyBuilder

func (*ApiKeyBuilder) Name ¶

func (rb *ApiKeyBuilder) Name(name Name) *ApiKeyBuilder

func (*ApiKeyBuilder) Realm ¶

func (rb *ApiKeyBuilder) Realm(realm string) *ApiKeyBuilder

func (*ApiKeyBuilder) Username ¶

func (rb *ApiKeyBuilder) Username(username Username) *ApiKeyBuilder

type AppendProcessor ¶

type AppendProcessor struct {
	AllowDuplicates *bool                `json:"allow_duplicates,omitempty"`
	Field           Field                `json:"field"`
	If              *string              `json:"if,omitempty"`
	IgnoreFailure   *bool                `json:"ignore_failure,omitempty"`
	OnFailure       []ProcessorContainer `json:"on_failure,omitempty"`
	Tag             *string              `json:"tag,omitempty"`
	Value           []interface{}        `json:"value"`
}

AppendProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L89-L93

type AppendProcessorBuilder ¶

type AppendProcessorBuilder struct {
	// contains filtered or unexported fields
}

AppendProcessorBuilder holds AppendProcessor struct and provides a builder API.

func NewAppendProcessorBuilder ¶

func NewAppendProcessorBuilder() *AppendProcessorBuilder

NewAppendProcessor provides a builder for the AppendProcessor struct.

func (*AppendProcessorBuilder) AllowDuplicates ¶

func (rb *AppendProcessorBuilder) AllowDuplicates(allowduplicates bool) *AppendProcessorBuilder

func (*AppendProcessorBuilder) Build ¶

Build finalize the chain and returns the AppendProcessor struct

func (*AppendProcessorBuilder) Field ¶

func (*AppendProcessorBuilder) If_ ¶

func (*AppendProcessorBuilder) IgnoreFailure ¶

func (rb *AppendProcessorBuilder) IgnoreFailure(ignorefailure bool) *AppendProcessorBuilder

func (*AppendProcessorBuilder) OnFailure ¶

func (*AppendProcessorBuilder) Tag ¶

func (*AppendProcessorBuilder) Value ¶

func (rb *AppendProcessorBuilder) Value(value ...interface{}) *AppendProcessorBuilder

type ApplicationGlobalUserPrivilegesBuilder ¶

type ApplicationGlobalUserPrivilegesBuilder struct {
	// contains filtered or unexported fields
}

ApplicationGlobalUserPrivilegesBuilder holds ApplicationGlobalUserPrivileges struct and provides a builder API.

func NewApplicationGlobalUserPrivilegesBuilder ¶

func NewApplicationGlobalUserPrivilegesBuilder() *ApplicationGlobalUserPrivilegesBuilder

NewApplicationGlobalUserPrivileges provides a builder for the ApplicationGlobalUserPrivileges struct.

func (*ApplicationGlobalUserPrivilegesBuilder) Build ¶

Build finalize the chain and returns the ApplicationGlobalUserPrivileges struct

func (*ApplicationGlobalUserPrivilegesBuilder) Manage ¶

type ApplicationPrivileges ¶

type ApplicationPrivileges struct {
	// Application The name of the application to which this entry applies.
	Application string `json:"application"`
	// Privileges A list of strings, where each element is the name of an application privilege
	// or action.
	Privileges []string `json:"privileges"`
	// Resources A list resources to which the privileges are applied.
	Resources []string `json:"resources"`
}

ApplicationPrivileges type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/Privileges.ts#L26-L39

type ApplicationPrivilegesBuilder ¶

type ApplicationPrivilegesBuilder struct {
	// contains filtered or unexported fields
}

ApplicationPrivilegesBuilder holds ApplicationPrivileges struct and provides a builder API.

func NewApplicationPrivilegesBuilder ¶

func NewApplicationPrivilegesBuilder() *ApplicationPrivilegesBuilder

NewApplicationPrivileges provides a builder for the ApplicationPrivileges struct.

func (*ApplicationPrivilegesBuilder) Application ¶

func (*ApplicationPrivilegesBuilder) Build ¶

Build finalize the chain and returns the ApplicationPrivileges struct

func (*ApplicationPrivilegesBuilder) Privileges ¶

func (rb *ApplicationPrivilegesBuilder) Privileges(privileges ...string) *ApplicationPrivilegesBuilder

func (*ApplicationPrivilegesBuilder) Resources ¶

type ApplicationPrivilegesCheck ¶

type ApplicationPrivilegesCheck struct {
	// Application The name of the application.
	Application string `json:"application"`
	// Privileges A list of the privileges that you want to check for the specified resources.
	// May be either application privilege names, or the names of actions that are
	// granted by those privileges
	Privileges []string `json:"privileges"`
	// Resources A list of resource names against which the privileges should be checked
	Resources []string `json:"resources"`
}

ApplicationPrivilegesCheck type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/has_privileges/types.ts#L24-L31

type ApplicationPrivilegesCheckBuilder ¶

type ApplicationPrivilegesCheckBuilder struct {
	// contains filtered or unexported fields
}

ApplicationPrivilegesCheckBuilder holds ApplicationPrivilegesCheck struct and provides a builder API.

func NewApplicationPrivilegesCheckBuilder ¶

func NewApplicationPrivilegesCheckBuilder() *ApplicationPrivilegesCheckBuilder

NewApplicationPrivilegesCheck provides a builder for the ApplicationPrivilegesCheck struct.

func (*ApplicationPrivilegesCheckBuilder) Application ¶

func (*ApplicationPrivilegesCheckBuilder) Build ¶

Build finalize the chain and returns the ApplicationPrivilegesCheck struct

func (*ApplicationPrivilegesCheckBuilder) Privileges ¶

func (*ApplicationPrivilegesCheckBuilder) Resources ¶

type ApplicationsPrivilegesBuilder ¶

type ApplicationsPrivilegesBuilder struct {
	// contains filtered or unexported fields
}

ApplicationsPrivilegesBuilder holds ApplicationsPrivileges struct and provides a builder API.

func NewApplicationsPrivilegesBuilder ¶

func NewApplicationsPrivilegesBuilder() *ApplicationsPrivilegesBuilder

NewApplicationsPrivileges provides a builder for the ApplicationsPrivileges struct.

func (*ApplicationsPrivilegesBuilder) ApplicationsPrivileges ¶

func (*ApplicationsPrivilegesBuilder) Build ¶

Build finalize the chain and returns the ApplicationsPrivileges struct

type Archive ¶

type Archive struct {
	Available    bool  `json:"available"`
	Enabled      bool  `json:"enabled"`
	IndicesCount int64 `json:"indices_count"`
}

Archive type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L43-L45

type ArchiveBuilder ¶

type ArchiveBuilder struct {
	// contains filtered or unexported fields
}

ArchiveBuilder holds Archive struct and provides a builder API.

func NewArchiveBuilder ¶

func NewArchiveBuilder() *ArchiveBuilder

NewArchive provides a builder for the Archive struct.

func (*ArchiveBuilder) Available ¶

func (rb *ArchiveBuilder) Available(available bool) *ArchiveBuilder

func (*ArchiveBuilder) Build ¶

func (rb *ArchiveBuilder) Build() Archive

Build finalize the chain and returns the Archive struct

func (*ArchiveBuilder) Enabled ¶

func (rb *ArchiveBuilder) Enabled(enabled bool) *ArchiveBuilder

func (*ArchiveBuilder) IndicesCount ¶

func (rb *ArchiveBuilder) IndicesCount(indicescount int64) *ArchiveBuilder

type ArrayCompareCondition ¶

type ArrayCompareCondition struct {
	ArrayPath  string                `json:"array_path"`
	Comparison string                `json:"comparison"`
	Path       string                `json:"path"`
	Quantifier quantifier.Quantifier `json:"quantifier"`
	Value      interface{}           `json:"value,omitempty"`
}

ArrayCompareCondition type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Conditions.ts#L25-L31

type ArrayCompareConditionBuilder ¶

type ArrayCompareConditionBuilder struct {
	// contains filtered or unexported fields
}

ArrayCompareConditionBuilder holds ArrayCompareCondition struct and provides a builder API.

func NewArrayCompareConditionBuilder ¶

func NewArrayCompareConditionBuilder() *ArrayCompareConditionBuilder

NewArrayCompareCondition provides a builder for the ArrayCompareCondition struct.

func (*ArrayCompareConditionBuilder) ArrayPath ¶

func (*ArrayCompareConditionBuilder) Build ¶

Build finalize the chain and returns the ArrayCompareCondition struct

func (*ArrayCompareConditionBuilder) Comparison ¶

func (*ArrayCompareConditionBuilder) Path ¶

func (*ArrayCompareConditionBuilder) Quantifier ¶

func (*ArrayCompareConditionBuilder) Value ¶

func (rb *ArrayCompareConditionBuilder) Value(value interface{}) *ArrayCompareConditionBuilder

type ArrayPercentilesItem ¶

type ArrayPercentilesItem struct {
	Key           string  `json:"key"`
	Value         float64 `json:"value,omitempty"`
	ValueAsString *string `json:"value_as_string,omitempty"`
}

ArrayPercentilesItem type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L149-L153

type ArrayPercentilesItemBuilder ¶

type ArrayPercentilesItemBuilder struct {
	// contains filtered or unexported fields
}

ArrayPercentilesItemBuilder holds ArrayPercentilesItem struct and provides a builder API.

func NewArrayPercentilesItemBuilder ¶

func NewArrayPercentilesItemBuilder() *ArrayPercentilesItemBuilder

NewArrayPercentilesItem provides a builder for the ArrayPercentilesItem struct.

func (*ArrayPercentilesItemBuilder) Build ¶

Build finalize the chain and returns the ArrayPercentilesItem struct

func (*ArrayPercentilesItemBuilder) Key ¶

func (*ArrayPercentilesItemBuilder) Value ¶

func (*ArrayPercentilesItemBuilder) ValueAsString ¶

func (rb *ArrayPercentilesItemBuilder) ValueAsString(valueasstring string) *ArrayPercentilesItemBuilder

type AsciiFoldingTokenFilter ¶

type AsciiFoldingTokenFilter struct {
	PreserveOriginal *bool          `json:"preserve_original,omitempty"`
	Type             string         `json:"type,omitempty"`
	Version          *VersionString `json:"version,omitempty"`
}

AsciiFoldingTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L167-L170

type AsciiFoldingTokenFilterBuilder ¶

type AsciiFoldingTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

AsciiFoldingTokenFilterBuilder holds AsciiFoldingTokenFilter struct and provides a builder API.

func NewAsciiFoldingTokenFilterBuilder ¶

func NewAsciiFoldingTokenFilterBuilder() *AsciiFoldingTokenFilterBuilder

NewAsciiFoldingTokenFilter provides a builder for the AsciiFoldingTokenFilter struct.

func (*AsciiFoldingTokenFilterBuilder) Build ¶

Build finalize the chain and returns the AsciiFoldingTokenFilter struct

func (*AsciiFoldingTokenFilterBuilder) PreserveOriginal ¶

func (rb *AsciiFoldingTokenFilterBuilder) PreserveOriginal(preserveoriginal bool) *AsciiFoldingTokenFilterBuilder

func (*AsciiFoldingTokenFilterBuilder) Version ¶

type AsyncSearch ¶

type AsyncSearch struct {
	Aggregations    map[AggregateName]Aggregate  `json:"aggregations,omitempty"`
	Clusters_       *ClusterStatistics           `json:"_clusters,omitempty"`
	Fields          map[string]interface{}       `json:"fields,omitempty"`
	Hits            HitsMetadata                 `json:"hits"`
	MaxScore        *float64                     `json:"max_score,omitempty"`
	NumReducePhases *int64                       `json:"num_reduce_phases,omitempty"`
	PitId           *Id                          `json:"pit_id,omitempty"`
	Profile         *Profile                     `json:"profile,omitempty"`
	ScrollId_       *ScrollId                    `json:"_scroll_id,omitempty"`
	Shards_         ShardStatistics              `json:"_shards"`
	Suggest         map[SuggestionName][]Suggest `json:"suggest,omitempty"`
	TerminatedEarly *bool                        `json:"terminated_early,omitempty"`
	TimedOut        bool                         `json:"timed_out"`
	Took            int64                        `json:"took"`
}

AsyncSearch type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/async_search/_types/AsyncSearch.ts#L30-L45

type AsyncSearchBuilder ¶

type AsyncSearchBuilder struct {
	// contains filtered or unexported fields
}

AsyncSearchBuilder holds AsyncSearch struct and provides a builder API.

func NewAsyncSearchBuilder ¶

func NewAsyncSearchBuilder() *AsyncSearchBuilder

NewAsyncSearch provides a builder for the AsyncSearch struct.

func (*AsyncSearchBuilder) Aggregations ¶

func (*AsyncSearchBuilder) Build ¶

func (rb *AsyncSearchBuilder) Build() AsyncSearch

Build finalize the chain and returns the AsyncSearch struct

func (*AsyncSearchBuilder) Clusters_ ¶

func (*AsyncSearchBuilder) Fields ¶

func (rb *AsyncSearchBuilder) Fields(value map[string]interface{}) *AsyncSearchBuilder

func (*AsyncSearchBuilder) Hits ¶

func (*AsyncSearchBuilder) MaxScore ¶

func (rb *AsyncSearchBuilder) MaxScore(maxscore float64) *AsyncSearchBuilder

func (*AsyncSearchBuilder) NumReducePhases ¶

func (rb *AsyncSearchBuilder) NumReducePhases(numreducephases int64) *AsyncSearchBuilder

func (*AsyncSearchBuilder) PitId ¶

func (rb *AsyncSearchBuilder) PitId(pitid Id) *AsyncSearchBuilder

func (*AsyncSearchBuilder) Profile ¶

func (rb *AsyncSearchBuilder) Profile(profile *ProfileBuilder) *AsyncSearchBuilder

func (*AsyncSearchBuilder) ScrollId_ ¶

func (rb *AsyncSearchBuilder) ScrollId_(scrollid_ ScrollId) *AsyncSearchBuilder

func (*AsyncSearchBuilder) Shards_ ¶

func (*AsyncSearchBuilder) Suggest ¶

func (rb *AsyncSearchBuilder) Suggest(value map[SuggestionName][]Suggest) *AsyncSearchBuilder

func (*AsyncSearchBuilder) TerminatedEarly ¶

func (rb *AsyncSearchBuilder) TerminatedEarly(terminatedearly bool) *AsyncSearchBuilder

func (*AsyncSearchBuilder) TimedOut ¶

func (rb *AsyncSearchBuilder) TimedOut(timedout bool) *AsyncSearchBuilder

func (*AsyncSearchBuilder) Took ¶

type AsyncSearchDocumentResponseBase ¶

type AsyncSearchDocumentResponseBase struct {
	ExpirationTime         *DateTime           `json:"expiration_time,omitempty"`
	ExpirationTimeInMillis EpochTimeUnitMillis `json:"expiration_time_in_millis"`
	Id                     *Id                 `json:"id,omitempty"`
	IsPartial              bool                `json:"is_partial"`
	IsRunning              bool                `json:"is_running"`
	Response               AsyncSearch         `json:"response"`
	StartTime              *DateTime           `json:"start_time,omitempty"`
	StartTimeInMillis      EpochTimeUnitMillis `json:"start_time_in_millis"`
}

AsyncSearchDocumentResponseBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/async_search/_types/AsyncSearchResponseBase.ts#L33-L37

type AsyncSearchDocumentResponseBaseBuilder ¶

type AsyncSearchDocumentResponseBaseBuilder struct {
	// contains filtered or unexported fields
}

AsyncSearchDocumentResponseBaseBuilder holds AsyncSearchDocumentResponseBase struct and provides a builder API.

func NewAsyncSearchDocumentResponseBaseBuilder ¶

func NewAsyncSearchDocumentResponseBaseBuilder() *AsyncSearchDocumentResponseBaseBuilder

NewAsyncSearchDocumentResponseBase provides a builder for the AsyncSearchDocumentResponseBase struct.

func (*AsyncSearchDocumentResponseBaseBuilder) Build ¶

Build finalize the chain and returns the AsyncSearchDocumentResponseBase struct

func (*AsyncSearchDocumentResponseBaseBuilder) ExpirationTime ¶

func (*AsyncSearchDocumentResponseBaseBuilder) ExpirationTimeInMillis ¶

func (*AsyncSearchDocumentResponseBaseBuilder) Id ¶

func (*AsyncSearchDocumentResponseBaseBuilder) IsPartial ¶

func (*AsyncSearchDocumentResponseBaseBuilder) IsRunning ¶

func (*AsyncSearchDocumentResponseBaseBuilder) Response ¶

func (*AsyncSearchDocumentResponseBaseBuilder) StartTime ¶

func (*AsyncSearchDocumentResponseBaseBuilder) StartTimeInMillis ¶

type AsyncSearchResponseBase ¶

type AsyncSearchResponseBase struct {
	ExpirationTime         *DateTime           `json:"expiration_time,omitempty"`
	ExpirationTimeInMillis EpochTimeUnitMillis `json:"expiration_time_in_millis"`
	Id                     *Id                 `json:"id,omitempty"`
	IsPartial              bool                `json:"is_partial"`
	IsRunning              bool                `json:"is_running"`
	StartTime              *DateTime           `json:"start_time,omitempty"`
	StartTimeInMillis      EpochTimeUnitMillis `json:"start_time_in_millis"`
}

AsyncSearchResponseBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/async_search/_types/AsyncSearchResponseBase.ts#L24-L32

type AsyncSearchResponseBaseBuilder ¶

type AsyncSearchResponseBaseBuilder struct {
	// contains filtered or unexported fields
}

AsyncSearchResponseBaseBuilder holds AsyncSearchResponseBase struct and provides a builder API.

func NewAsyncSearchResponseBaseBuilder ¶

func NewAsyncSearchResponseBaseBuilder() *AsyncSearchResponseBaseBuilder

NewAsyncSearchResponseBase provides a builder for the AsyncSearchResponseBase struct.

func (*AsyncSearchResponseBaseBuilder) Build ¶

Build finalize the chain and returns the AsyncSearchResponseBase struct

func (*AsyncSearchResponseBaseBuilder) ExpirationTime ¶

func (*AsyncSearchResponseBaseBuilder) ExpirationTimeInMillis ¶

func (rb *AsyncSearchResponseBaseBuilder) ExpirationTimeInMillis(expirationtimeinmillis *EpochTimeUnitMillisBuilder) *AsyncSearchResponseBaseBuilder

func (*AsyncSearchResponseBaseBuilder) Id ¶

func (*AsyncSearchResponseBaseBuilder) IsPartial ¶

func (*AsyncSearchResponseBaseBuilder) IsRunning ¶

func (*AsyncSearchResponseBaseBuilder) StartTime ¶

func (*AsyncSearchResponseBaseBuilder) StartTimeInMillis ¶

type AttachmentProcessor ¶

type AttachmentProcessor struct {
	Field             Field                `json:"field"`
	If                *string              `json:"if,omitempty"`
	IgnoreFailure     *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing     *bool                `json:"ignore_missing,omitempty"`
	IndexedChars      *int64               `json:"indexed_chars,omitempty"`
	IndexedCharsField *Field               `json:"indexed_chars_field,omitempty"`
	OnFailure         []ProcessorContainer `json:"on_failure,omitempty"`
	Properties        []string             `json:"properties,omitempty"`
	ResourceName      *string              `json:"resource_name,omitempty"`
	Tag               *string              `json:"tag,omitempty"`
	TargetField       *Field               `json:"target_field,omitempty"`
}

AttachmentProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L95-L103

type AttachmentProcessorBuilder ¶

type AttachmentProcessorBuilder struct {
	// contains filtered or unexported fields
}

AttachmentProcessorBuilder holds AttachmentProcessor struct and provides a builder API.

func NewAttachmentProcessorBuilder ¶

func NewAttachmentProcessorBuilder() *AttachmentProcessorBuilder

NewAttachmentProcessor provides a builder for the AttachmentProcessor struct.

func (*AttachmentProcessorBuilder) Build ¶

Build finalize the chain and returns the AttachmentProcessor struct

func (*AttachmentProcessorBuilder) Field ¶

func (*AttachmentProcessorBuilder) If_ ¶

func (*AttachmentProcessorBuilder) IgnoreFailure ¶

func (rb *AttachmentProcessorBuilder) IgnoreFailure(ignorefailure bool) *AttachmentProcessorBuilder

func (*AttachmentProcessorBuilder) IgnoreMissing ¶

func (rb *AttachmentProcessorBuilder) IgnoreMissing(ignoremissing bool) *AttachmentProcessorBuilder

func (*AttachmentProcessorBuilder) IndexedChars ¶

func (rb *AttachmentProcessorBuilder) IndexedChars(indexedchars int64) *AttachmentProcessorBuilder

func (*AttachmentProcessorBuilder) IndexedCharsField ¶

func (rb *AttachmentProcessorBuilder) IndexedCharsField(indexedcharsfield Field) *AttachmentProcessorBuilder

func (*AttachmentProcessorBuilder) OnFailure ¶

func (*AttachmentProcessorBuilder) Properties ¶

func (rb *AttachmentProcessorBuilder) Properties(properties ...string) *AttachmentProcessorBuilder

func (*AttachmentProcessorBuilder) ResourceName ¶

func (rb *AttachmentProcessorBuilder) ResourceName(resourcename string) *AttachmentProcessorBuilder

func (*AttachmentProcessorBuilder) Tag ¶

func (*AttachmentProcessorBuilder) TargetField ¶

func (rb *AttachmentProcessorBuilder) TargetField(targetfield Field) *AttachmentProcessorBuilder

type AuditBuilder ¶

type AuditBuilder struct {
	// contains filtered or unexported fields
}

AuditBuilder holds Audit struct and provides a builder API.

func NewAuditBuilder ¶

func NewAuditBuilder() *AuditBuilder

NewAudit provides a builder for the Audit struct.

func (*AuditBuilder) Build ¶

func (rb *AuditBuilder) Build() Audit

Build finalize the chain and returns the Audit struct

func (*AuditBuilder) Enabled ¶

func (rb *AuditBuilder) Enabled(enabled bool) *AuditBuilder

func (*AuditBuilder) Outputs ¶

func (rb *AuditBuilder) Outputs(outputs ...string) *AuditBuilder

type AuthenticatedUser ¶

type AuthenticatedUser struct {
	AuthenticationProvider *AuthenticationProvider `json:"authentication_provider,omitempty"`
	AuthenticationRealm    UserRealm               `json:"authentication_realm"`
	AuthenticationType     string                  `json:"authentication_type"`
	Email                  string                  `json:"email,omitempty"`
	Enabled                bool                    `json:"enabled"`
	FullName               Name                    `json:"full_name,omitempty"`
	LookupRealm            UserRealm               `json:"lookup_realm"`
	Metadata               Metadata                `json:"metadata"`
	Roles                  []string                `json:"roles"`
	Username               Username                `json:"username"`
}

AuthenticatedUser type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/get_token/types.ts#L40-L45

type AuthenticatedUserBuilder ¶

type AuthenticatedUserBuilder struct {
	// contains filtered or unexported fields
}

AuthenticatedUserBuilder holds AuthenticatedUser struct and provides a builder API.

func NewAuthenticatedUserBuilder ¶

func NewAuthenticatedUserBuilder() *AuthenticatedUserBuilder

NewAuthenticatedUser provides a builder for the AuthenticatedUser struct.

func (*AuthenticatedUserBuilder) AuthenticationProvider ¶

func (rb *AuthenticatedUserBuilder) AuthenticationProvider(authenticationprovider *AuthenticationProviderBuilder) *AuthenticatedUserBuilder

func (*AuthenticatedUserBuilder) AuthenticationRealm ¶

func (rb *AuthenticatedUserBuilder) AuthenticationRealm(authenticationrealm *UserRealmBuilder) *AuthenticatedUserBuilder

func (*AuthenticatedUserBuilder) AuthenticationType ¶

func (rb *AuthenticatedUserBuilder) AuthenticationType(authenticationtype string) *AuthenticatedUserBuilder

func (*AuthenticatedUserBuilder) Build ¶

Build finalize the chain and returns the AuthenticatedUser struct

func (*AuthenticatedUserBuilder) Email ¶

func (*AuthenticatedUserBuilder) Enabled ¶

func (*AuthenticatedUserBuilder) FullName ¶

func (rb *AuthenticatedUserBuilder) FullName(fullname Name) *AuthenticatedUserBuilder

func (*AuthenticatedUserBuilder) LookupRealm ¶

func (*AuthenticatedUserBuilder) Metadata ¶

func (*AuthenticatedUserBuilder) Roles ¶

func (*AuthenticatedUserBuilder) Username ¶

type AuthenticationProviderBuilder ¶

type AuthenticationProviderBuilder struct {
	// contains filtered or unexported fields
}

AuthenticationProviderBuilder holds AuthenticationProvider struct and provides a builder API.

func NewAuthenticationProviderBuilder ¶

func NewAuthenticationProviderBuilder() *AuthenticationProviderBuilder

NewAuthenticationProvider provides a builder for the AuthenticationProvider struct.

func (*AuthenticationProviderBuilder) Build ¶

Build finalize the chain and returns the AuthenticationProvider struct

func (*AuthenticationProviderBuilder) Name ¶

func (*AuthenticationProviderBuilder) Type_ ¶

type AutoDateHistogramAggregate ¶

type AutoDateHistogramAggregate struct {
	Buckets  BucketsDateHistogramBucket `json:"buckets"`
	Interval DurationLarge              `json:"interval"`
	Meta     *Metadata                  `json:"meta,omitempty"`
}

AutoDateHistogramAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L343-L347

type AutoDateHistogramAggregateBuilder ¶

type AutoDateHistogramAggregateBuilder struct {
	// contains filtered or unexported fields
}

AutoDateHistogramAggregateBuilder holds AutoDateHistogramAggregate struct and provides a builder API.

func NewAutoDateHistogramAggregateBuilder ¶

func NewAutoDateHistogramAggregateBuilder() *AutoDateHistogramAggregateBuilder

NewAutoDateHistogramAggregate provides a builder for the AutoDateHistogramAggregate struct.

func (*AutoDateHistogramAggregateBuilder) Buckets ¶

func (*AutoDateHistogramAggregateBuilder) Build ¶

Build finalize the chain and returns the AutoDateHistogramAggregate struct

func (*AutoDateHistogramAggregateBuilder) Interval ¶

func (*AutoDateHistogramAggregateBuilder) Meta ¶

type AutoDateHistogramAggregation ¶

type AutoDateHistogramAggregation struct {
	Buckets         *int                             `json:"buckets,omitempty"`
	Field           *Field                           `json:"field,omitempty"`
	Format          *string                          `json:"format,omitempty"`
	Meta            *Metadata                        `json:"meta,omitempty"`
	MinimumInterval *minimuminterval.MinimumInterval `json:"minimum_interval,omitempty"`
	Missing         *DateTime                        `json:"missing,omitempty"`
	Name            *string                          `json:"name,omitempty"`
	Offset          *string                          `json:"offset,omitempty"`
	Params          map[string]interface{}           `json:"params,omitempty"`
	Script          *Script                          `json:"script,omitempty"`
	TimeZone        *TimeZone                        `json:"time_zone,omitempty"`
}

AutoDateHistogramAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L52-L62

type AutoDateHistogramAggregationBuilder ¶

type AutoDateHistogramAggregationBuilder struct {
	// contains filtered or unexported fields
}

AutoDateHistogramAggregationBuilder holds AutoDateHistogramAggregation struct and provides a builder API.

func NewAutoDateHistogramAggregationBuilder ¶

func NewAutoDateHistogramAggregationBuilder() *AutoDateHistogramAggregationBuilder

NewAutoDateHistogramAggregation provides a builder for the AutoDateHistogramAggregation struct.

func (*AutoDateHistogramAggregationBuilder) Buckets ¶

func (*AutoDateHistogramAggregationBuilder) Build ¶

Build finalize the chain and returns the AutoDateHistogramAggregation struct

func (*AutoDateHistogramAggregationBuilder) Field ¶

func (*AutoDateHistogramAggregationBuilder) Format ¶

func (*AutoDateHistogramAggregationBuilder) Meta ¶

func (*AutoDateHistogramAggregationBuilder) MinimumInterval ¶

func (*AutoDateHistogramAggregationBuilder) Missing ¶

func (*AutoDateHistogramAggregationBuilder) Name ¶

func (*AutoDateHistogramAggregationBuilder) Offset ¶

func (*AutoDateHistogramAggregationBuilder) Params ¶

func (*AutoDateHistogramAggregationBuilder) Script ¶

func (*AutoDateHistogramAggregationBuilder) TimeZone ¶

type AutoFollowPatternBuilder ¶

type AutoFollowPatternBuilder struct {
	// contains filtered or unexported fields
}

AutoFollowPatternBuilder holds AutoFollowPattern struct and provides a builder API.

func NewAutoFollowPatternBuilder ¶

func NewAutoFollowPatternBuilder() *AutoFollowPatternBuilder

NewAutoFollowPattern provides a builder for the AutoFollowPattern struct.

func (*AutoFollowPatternBuilder) Build ¶

Build finalize the chain and returns the AutoFollowPattern struct

func (*AutoFollowPatternBuilder) Name ¶

func (*AutoFollowPatternBuilder) Pattern ¶

type AutoFollowPatternSummary ¶

type AutoFollowPatternSummary struct {
	Active bool `json:"active"`
	// FollowIndexPattern The name of follower index.
	FollowIndexPattern *IndexPattern `json:"follow_index_pattern,omitempty"`
	// LeaderIndexExclusionPatterns An array of simple index patterns that can be used to exclude indices from
	// being auto-followed.
	LeaderIndexExclusionPatterns IndexPatterns `json:"leader_index_exclusion_patterns"`
	// LeaderIndexPatterns An array of simple index patterns to match against indices in the remote
	// cluster specified by the remote_cluster field.
	LeaderIndexPatterns IndexPatterns `json:"leader_index_patterns"`
	// MaxOutstandingReadRequests The maximum number of outstanding reads requests from the remote cluster.
	MaxOutstandingReadRequests int `json:"max_outstanding_read_requests"`
	// RemoteCluster The remote cluster containing the leader indices to match against.
	RemoteCluster string `json:"remote_cluster"`
}

AutoFollowPatternSummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ccr/get_auto_follow_pattern/types.ts#L28-L51

type AutoFollowPatternSummaryBuilder ¶

type AutoFollowPatternSummaryBuilder struct {
	// contains filtered or unexported fields
}

AutoFollowPatternSummaryBuilder holds AutoFollowPatternSummary struct and provides a builder API.

func NewAutoFollowPatternSummaryBuilder ¶

func NewAutoFollowPatternSummaryBuilder() *AutoFollowPatternSummaryBuilder

NewAutoFollowPatternSummary provides a builder for the AutoFollowPatternSummary struct.

func (*AutoFollowPatternSummaryBuilder) Active ¶

func (*AutoFollowPatternSummaryBuilder) Build ¶

Build finalize the chain and returns the AutoFollowPatternSummary struct

func (*AutoFollowPatternSummaryBuilder) FollowIndexPattern ¶

func (rb *AutoFollowPatternSummaryBuilder) FollowIndexPattern(followindexpattern IndexPattern) *AutoFollowPatternSummaryBuilder

func (*AutoFollowPatternSummaryBuilder) LeaderIndexExclusionPatterns ¶

func (rb *AutoFollowPatternSummaryBuilder) LeaderIndexExclusionPatterns(leaderindexexclusionpatterns *IndexPatternsBuilder) *AutoFollowPatternSummaryBuilder

func (*AutoFollowPatternSummaryBuilder) LeaderIndexPatterns ¶

func (rb *AutoFollowPatternSummaryBuilder) LeaderIndexPatterns(leaderindexpatterns *IndexPatternsBuilder) *AutoFollowPatternSummaryBuilder

func (*AutoFollowPatternSummaryBuilder) MaxOutstandingReadRequests ¶

func (rb *AutoFollowPatternSummaryBuilder) MaxOutstandingReadRequests(maxoutstandingreadrequests int) *AutoFollowPatternSummaryBuilder

func (*AutoFollowPatternSummaryBuilder) RemoteCluster ¶

type AutoFollowStats ¶

type AutoFollowStats struct {
	AutoFollowedClusters                     []AutoFollowedCluster `json:"auto_followed_clusters"`
	NumberOfFailedFollowIndices              int64                 `json:"number_of_failed_follow_indices"`
	NumberOfFailedRemoteClusterStateRequests int64                 `json:"number_of_failed_remote_cluster_state_requests"`
	NumberOfSuccessfulFollowIndices          int64                 `json:"number_of_successful_follow_indices"`
	RecentAutoFollowErrors                   []ErrorCause          `json:"recent_auto_follow_errors"`
}

AutoFollowStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ccr/stats/types.ts.ts#L33-L39

type AutoFollowStatsBuilder ¶

type AutoFollowStatsBuilder struct {
	// contains filtered or unexported fields
}

AutoFollowStatsBuilder holds AutoFollowStats struct and provides a builder API.

func NewAutoFollowStatsBuilder ¶

func NewAutoFollowStatsBuilder() *AutoFollowStatsBuilder

NewAutoFollowStats provides a builder for the AutoFollowStats struct.

func (*AutoFollowStatsBuilder) AutoFollowedClusters ¶

func (rb *AutoFollowStatsBuilder) AutoFollowedClusters(auto_followed_clusters []AutoFollowedClusterBuilder) *AutoFollowStatsBuilder

func (*AutoFollowStatsBuilder) Build ¶

Build finalize the chain and returns the AutoFollowStats struct

func (*AutoFollowStatsBuilder) NumberOfFailedFollowIndices ¶

func (rb *AutoFollowStatsBuilder) NumberOfFailedFollowIndices(numberoffailedfollowindices int64) *AutoFollowStatsBuilder

func (*AutoFollowStatsBuilder) NumberOfFailedRemoteClusterStateRequests ¶

func (rb *AutoFollowStatsBuilder) NumberOfFailedRemoteClusterStateRequests(numberoffailedremoteclusterstaterequests int64) *AutoFollowStatsBuilder

func (*AutoFollowStatsBuilder) NumberOfSuccessfulFollowIndices ¶

func (rb *AutoFollowStatsBuilder) NumberOfSuccessfulFollowIndices(numberofsuccessfulfollowindices int64) *AutoFollowStatsBuilder

func (*AutoFollowStatsBuilder) RecentAutoFollowErrors ¶

func (rb *AutoFollowStatsBuilder) RecentAutoFollowErrors(recent_auto_follow_errors []ErrorCauseBuilder) *AutoFollowStatsBuilder

type AutoFollowedCluster ¶

type AutoFollowedCluster struct {
	ClusterName              Name                    `json:"cluster_name"`
	LastSeenMetadataVersion  VersionNumber           `json:"last_seen_metadata_version"`
	TimeSinceLastCheckMillis DurationValueUnitMillis `json:"time_since_last_check_millis"`
}

AutoFollowedCluster type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ccr/stats/types.ts.ts#L27-L31

type AutoFollowedClusterBuilder ¶

type AutoFollowedClusterBuilder struct {
	// contains filtered or unexported fields
}

AutoFollowedClusterBuilder holds AutoFollowedCluster struct and provides a builder API.

func NewAutoFollowedClusterBuilder ¶

func NewAutoFollowedClusterBuilder() *AutoFollowedClusterBuilder

NewAutoFollowedCluster provides a builder for the AutoFollowedCluster struct.

func (*AutoFollowedClusterBuilder) Build ¶

Build finalize the chain and returns the AutoFollowedCluster struct

func (*AutoFollowedClusterBuilder) ClusterName ¶

func (rb *AutoFollowedClusterBuilder) ClusterName(clustername Name) *AutoFollowedClusterBuilder

func (*AutoFollowedClusterBuilder) LastSeenMetadataVersion ¶

func (rb *AutoFollowedClusterBuilder) LastSeenMetadataVersion(lastseenmetadataversion VersionNumber) *AutoFollowedClusterBuilder

func (*AutoFollowedClusterBuilder) TimeSinceLastCheckMillis ¶

func (rb *AutoFollowedClusterBuilder) TimeSinceLastCheckMillis(timesincelastcheckmillis *DurationValueUnitMillisBuilder) *AutoFollowedClusterBuilder

type AutoscalingCapacityBuilder ¶

type AutoscalingCapacityBuilder struct {
	// contains filtered or unexported fields
}

AutoscalingCapacityBuilder holds AutoscalingCapacity struct and provides a builder API.

func NewAutoscalingCapacityBuilder ¶

func NewAutoscalingCapacityBuilder() *AutoscalingCapacityBuilder

NewAutoscalingCapacity provides a builder for the AutoscalingCapacity struct.

func (*AutoscalingCapacityBuilder) Build ¶

Build finalize the chain and returns the AutoscalingCapacity struct

func (*AutoscalingCapacityBuilder) Node ¶

func (*AutoscalingCapacityBuilder) Total ¶

type AutoscalingDecider ¶

type AutoscalingDecider struct {
	ReasonDetails    interface{}         `json:"reason_details,omitempty"`
	ReasonSummary    *string             `json:"reason_summary,omitempty"`
	RequiredCapacity AutoscalingCapacity `json:"required_capacity"`
}

AutoscalingDecider type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L52-L56

type AutoscalingDeciderBuilder ¶

type AutoscalingDeciderBuilder struct {
	// contains filtered or unexported fields
}

AutoscalingDeciderBuilder holds AutoscalingDecider struct and provides a builder API.

func NewAutoscalingDeciderBuilder ¶

func NewAutoscalingDeciderBuilder() *AutoscalingDeciderBuilder

NewAutoscalingDecider provides a builder for the AutoscalingDecider struct.

func (*AutoscalingDeciderBuilder) Build ¶

Build finalize the chain and returns the AutoscalingDecider struct

func (*AutoscalingDeciderBuilder) ReasonDetails ¶

func (rb *AutoscalingDeciderBuilder) ReasonDetails(reasondetails interface{}) *AutoscalingDeciderBuilder

func (*AutoscalingDeciderBuilder) ReasonSummary ¶

func (rb *AutoscalingDeciderBuilder) ReasonSummary(reasonsummary string) *AutoscalingDeciderBuilder

func (*AutoscalingDeciderBuilder) RequiredCapacity ¶

func (rb *AutoscalingDeciderBuilder) RequiredCapacity(requiredcapacity *AutoscalingCapacityBuilder) *AutoscalingDeciderBuilder

type AutoscalingDeciders ¶

type AutoscalingDeciders struct {
	CurrentCapacity  AutoscalingCapacity           `json:"current_capacity"`
	CurrentNodes     []AutoscalingNode             `json:"current_nodes"`
	Deciders         map[string]AutoscalingDecider `json:"deciders"`
	RequiredCapacity AutoscalingCapacity           `json:"required_capacity"`
}

AutoscalingDeciders type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityResponse.ts#L31-L36

type AutoscalingDecidersBuilder ¶

type AutoscalingDecidersBuilder struct {
	// contains filtered or unexported fields
}

AutoscalingDecidersBuilder holds AutoscalingDeciders struct and provides a builder API.

func NewAutoscalingDecidersBuilder ¶

func NewAutoscalingDecidersBuilder() *AutoscalingDecidersBuilder

NewAutoscalingDeciders provides a builder for the AutoscalingDeciders struct.

func (*AutoscalingDecidersBuilder) Build ¶

Build finalize the chain and returns the AutoscalingDeciders struct

func (*AutoscalingDecidersBuilder) CurrentCapacity ¶

func (*AutoscalingDecidersBuilder) CurrentNodes ¶

func (*AutoscalingDecidersBuilder) Deciders ¶

func (*AutoscalingDecidersBuilder) RequiredCapacity ¶

func (rb *AutoscalingDecidersBuilder) RequiredCapacity(requiredcapacity *AutoscalingCapacityBuilder) *AutoscalingDecidersBuilder

type AutoscalingNodeBuilder ¶

type AutoscalingNodeBuilder struct {
	// contains filtered or unexported fields
}

AutoscalingNodeBuilder holds AutoscalingNode struct and provides a builder API.

func NewAutoscalingNodeBuilder ¶

func NewAutoscalingNodeBuilder() *AutoscalingNodeBuilder

NewAutoscalingNode provides a builder for the AutoscalingNode struct.

func (*AutoscalingNodeBuilder) Build ¶

Build finalize the chain and returns the AutoscalingNode struct

func (*AutoscalingNodeBuilder) Name ¶

type AutoscalingPolicy ¶

type AutoscalingPolicy struct {
	// Deciders Decider settings
	Deciders map[string]interface{} `json:"deciders"`
	Roles    []string               `json:"roles"`
}

AutoscalingPolicy type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/autoscaling/_types/AutoscalingPolicy.ts#L23-L27

type AutoscalingPolicyBuilder ¶

type AutoscalingPolicyBuilder struct {
	// contains filtered or unexported fields
}

AutoscalingPolicyBuilder holds AutoscalingPolicy struct and provides a builder API.

func NewAutoscalingPolicyBuilder ¶

func NewAutoscalingPolicyBuilder() *AutoscalingPolicyBuilder

NewAutoscalingPolicy provides a builder for the AutoscalingPolicy struct.

func (*AutoscalingPolicyBuilder) Build ¶

Build finalize the chain and returns the AutoscalingPolicy struct

func (*AutoscalingPolicyBuilder) Deciders ¶

func (rb *AutoscalingPolicyBuilder) Deciders(value map[string]interface{}) *AutoscalingPolicyBuilder

func (*AutoscalingPolicyBuilder) Roles ¶

type AutoscalingResourcesBuilder ¶

type AutoscalingResourcesBuilder struct {
	// contains filtered or unexported fields
}

AutoscalingResourcesBuilder holds AutoscalingResources struct and provides a builder API.

func NewAutoscalingResourcesBuilder ¶

func NewAutoscalingResourcesBuilder() *AutoscalingResourcesBuilder

NewAutoscalingResources provides a builder for the AutoscalingResources struct.

func (*AutoscalingResourcesBuilder) Build ¶

Build finalize the chain and returns the AutoscalingResources struct

func (*AutoscalingResourcesBuilder) Memory ¶

func (*AutoscalingResourcesBuilder) Storage ¶

type AverageAggregation ¶

type AverageAggregation struct {
	Field   *Field   `json:"field,omitempty"`
	Format  *string  `json:"format,omitempty"`
	Missing *Missing `json:"missing,omitempty"`
	Script  *Script  `json:"script,omitempty"`
}

AverageAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L48-L48

type AverageAggregationBuilder ¶

type AverageAggregationBuilder struct {
	// contains filtered or unexported fields
}

AverageAggregationBuilder holds AverageAggregation struct and provides a builder API.

func NewAverageAggregationBuilder ¶

func NewAverageAggregationBuilder() *AverageAggregationBuilder

NewAverageAggregation provides a builder for the AverageAggregation struct.

func (*AverageAggregationBuilder) Build ¶

Build finalize the chain and returns the AverageAggregation struct

func (*AverageAggregationBuilder) Field ¶

func (*AverageAggregationBuilder) Format ¶

func (*AverageAggregationBuilder) Missing ¶

func (*AverageAggregationBuilder) Script ¶

type AverageBucketAggregation ¶

type AverageBucketAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
}

AverageBucketAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L57-L57

type AverageBucketAggregationBuilder ¶

type AverageBucketAggregationBuilder struct {
	// contains filtered or unexported fields
}

AverageBucketAggregationBuilder holds AverageBucketAggregation struct and provides a builder API.

func NewAverageBucketAggregationBuilder ¶

func NewAverageBucketAggregationBuilder() *AverageBucketAggregationBuilder

NewAverageBucketAggregation provides a builder for the AverageBucketAggregation struct.

func (*AverageBucketAggregationBuilder) BucketsPath ¶

func (*AverageBucketAggregationBuilder) Build ¶

Build finalize the chain and returns the AverageBucketAggregation struct

func (*AverageBucketAggregationBuilder) Format ¶

func (*AverageBucketAggregationBuilder) GapPolicy ¶

func (*AverageBucketAggregationBuilder) Meta ¶

func (*AverageBucketAggregationBuilder) Name ¶

type AvgAggregate ¶

type AvgAggregate struct {
	Meta *Metadata `json:"meta,omitempty"`
	// Value The metric value. A missing value generally means that there was no data to
	// aggregate,
	// unless specified otherwise.
	Value         float64 `json:"value,omitempty"`
	ValueAsString *string `json:"value_as_string,omitempty"`
}

AvgAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L198-L199

type AvgAggregateBuilder ¶

type AvgAggregateBuilder struct {
	// contains filtered or unexported fields
}

AvgAggregateBuilder holds AvgAggregate struct and provides a builder API.

func NewAvgAggregateBuilder ¶

func NewAvgAggregateBuilder() *AvgAggregateBuilder

NewAvgAggregate provides a builder for the AvgAggregate struct.

func (*AvgAggregateBuilder) Build ¶

func (rb *AvgAggregateBuilder) Build() AvgAggregate

Build finalize the chain and returns the AvgAggregate struct

func (*AvgAggregateBuilder) Meta ¶

func (*AvgAggregateBuilder) Value ¶

func (*AvgAggregateBuilder) ValueAsString ¶

func (rb *AvgAggregateBuilder) ValueAsString(valueasstring string) *AvgAggregateBuilder

type BaseBuilder ¶

type BaseBuilder struct {
	// contains filtered or unexported fields
}

BaseBuilder holds Base struct and provides a builder API.

func NewBaseBuilder ¶

func NewBaseBuilder() *BaseBuilder

NewBase provides a builder for the Base struct.

func (*BaseBuilder) Available ¶

func (rb *BaseBuilder) Available(available bool) *BaseBuilder

func (*BaseBuilder) Build ¶

func (rb *BaseBuilder) Build() Base

Build finalize the chain and returns the Base struct

func (*BaseBuilder) Enabled ¶

func (rb *BaseBuilder) Enabled(enabled bool) *BaseBuilder

type BaseNode ¶

type BaseNode struct {
	Attributes       map[string]string `json:"attributes"`
	Host             Host              `json:"host"`
	Ip               Ip                `json:"ip"`
	Name             Name              `json:"name"`
	Roles            *NodeRoles        `json:"roles,omitempty"`
	TransportAddress TransportAddress  `json:"transport_address"`
}

BaseNode type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_spec_utils/BaseNode.ts#L25-L32

type BaseNodeBuilder ¶

type BaseNodeBuilder struct {
	// contains filtered or unexported fields
}

BaseNodeBuilder holds BaseNode struct and provides a builder API.

func NewBaseNodeBuilder ¶

func NewBaseNodeBuilder() *BaseNodeBuilder

NewBaseNode provides a builder for the BaseNode struct.

func (*BaseNodeBuilder) Attributes ¶

func (rb *BaseNodeBuilder) Attributes(value map[string]string) *BaseNodeBuilder

func (*BaseNodeBuilder) Build ¶

func (rb *BaseNodeBuilder) Build() BaseNode

Build finalize the chain and returns the BaseNode struct

func (*BaseNodeBuilder) Host ¶

func (rb *BaseNodeBuilder) Host(host Host) *BaseNodeBuilder

func (*BaseNodeBuilder) Ip ¶

func (rb *BaseNodeBuilder) Ip(ip Ip) *BaseNodeBuilder

func (*BaseNodeBuilder) Name ¶

func (rb *BaseNodeBuilder) Name(name Name) *BaseNodeBuilder

func (*BaseNodeBuilder) Roles ¶

func (*BaseNodeBuilder) TransportAddress ¶

func (rb *BaseNodeBuilder) TransportAddress(transportaddress TransportAddress) *BaseNodeBuilder

type BinaryProperty ¶

type BinaryProperty struct {
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	DocValues     *bool                          `json:"doc_values,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

BinaryProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L49-L51

type BinaryPropertyBuilder ¶

type BinaryPropertyBuilder struct {
	// contains filtered or unexported fields
}

BinaryPropertyBuilder holds BinaryProperty struct and provides a builder API.

func NewBinaryPropertyBuilder ¶

func NewBinaryPropertyBuilder() *BinaryPropertyBuilder

NewBinaryProperty provides a builder for the BinaryProperty struct.

func (*BinaryPropertyBuilder) Build ¶

Build finalize the chain and returns the BinaryProperty struct

func (*BinaryPropertyBuilder) CopyTo ¶

func (*BinaryPropertyBuilder) DocValues ¶

func (rb *BinaryPropertyBuilder) DocValues(docvalues bool) *BinaryPropertyBuilder

func (*BinaryPropertyBuilder) Dynamic ¶

func (*BinaryPropertyBuilder) Fields ¶

func (*BinaryPropertyBuilder) IgnoreAbove ¶

func (rb *BinaryPropertyBuilder) IgnoreAbove(ignoreabove int) *BinaryPropertyBuilder

func (*BinaryPropertyBuilder) LocalMetadata ¶

func (rb *BinaryPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *BinaryPropertyBuilder

func (*BinaryPropertyBuilder) Meta ¶

func (*BinaryPropertyBuilder) Properties ¶

func (*BinaryPropertyBuilder) Similarity ¶

func (rb *BinaryPropertyBuilder) Similarity(similarity string) *BinaryPropertyBuilder

func (*BinaryPropertyBuilder) Store ¶

type BoolQuery ¶

type BoolQuery struct {
	Boost              *float32            `json:"boost,omitempty"`
	Filter             []QueryContainer    `json:"filter,omitempty"`
	MinimumShouldMatch *MinimumShouldMatch `json:"minimum_should_match,omitempty"`
	Must               []QueryContainer    `json:"must,omitempty"`
	MustNot            []QueryContainer    `json:"must_not,omitempty"`
	QueryName_         *string             `json:"_name,omitempty"`
	Should             []QueryContainer    `json:"should,omitempty"`
}

BoolQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L28-L34

type BoolQueryBuilder ¶

type BoolQueryBuilder struct {
	// contains filtered or unexported fields
}

BoolQueryBuilder holds BoolQuery struct and provides a builder API.

func NewBoolQueryBuilder ¶

func NewBoolQueryBuilder() *BoolQueryBuilder

NewBoolQuery provides a builder for the BoolQuery struct.

func (*BoolQueryBuilder) Boost ¶

func (rb *BoolQueryBuilder) Boost(boost float32) *BoolQueryBuilder

func (*BoolQueryBuilder) Build ¶

func (rb *BoolQueryBuilder) Build() BoolQuery

Build finalize the chain and returns the BoolQuery struct

func (*BoolQueryBuilder) Filter ¶

func (*BoolQueryBuilder) MinimumShouldMatch ¶

func (rb *BoolQueryBuilder) MinimumShouldMatch(minimumshouldmatch *MinimumShouldMatchBuilder) *BoolQueryBuilder

func (*BoolQueryBuilder) Must ¶

func (*BoolQueryBuilder) MustNot ¶

func (rb *BoolQueryBuilder) MustNot(arg []QueryContainer) *BoolQueryBuilder

func (*BoolQueryBuilder) QueryName_ ¶

func (rb *BoolQueryBuilder) QueryName_(queryname_ string) *BoolQueryBuilder

func (*BoolQueryBuilder) Should ¶

type BooleanProperty ¶

type BooleanProperty struct {
	Boost         *float64                       `json:"boost,omitempty"`
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	DocValues     *bool                          `json:"doc_values,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fielddata     *NumericFielddata              `json:"fielddata,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	Index         *bool                          `json:"index,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	NullValue     *bool                          `json:"null_value,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

BooleanProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L53-L59

type BooleanPropertyBuilder ¶

type BooleanPropertyBuilder struct {
	// contains filtered or unexported fields
}

BooleanPropertyBuilder holds BooleanProperty struct and provides a builder API.

func NewBooleanPropertyBuilder ¶

func NewBooleanPropertyBuilder() *BooleanPropertyBuilder

NewBooleanProperty provides a builder for the BooleanProperty struct.

func (*BooleanPropertyBuilder) Boost ¶

func (*BooleanPropertyBuilder) Build ¶

Build finalize the chain and returns the BooleanProperty struct

func (*BooleanPropertyBuilder) CopyTo ¶

func (*BooleanPropertyBuilder) DocValues ¶

func (rb *BooleanPropertyBuilder) DocValues(docvalues bool) *BooleanPropertyBuilder

func (*BooleanPropertyBuilder) Dynamic ¶

func (*BooleanPropertyBuilder) Fielddata ¶

func (*BooleanPropertyBuilder) Fields ¶

func (*BooleanPropertyBuilder) IgnoreAbove ¶

func (rb *BooleanPropertyBuilder) IgnoreAbove(ignoreabove int) *BooleanPropertyBuilder

func (*BooleanPropertyBuilder) Index ¶

func (*BooleanPropertyBuilder) LocalMetadata ¶

func (rb *BooleanPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *BooleanPropertyBuilder

func (*BooleanPropertyBuilder) Meta ¶

func (*BooleanPropertyBuilder) NullValue ¶

func (rb *BooleanPropertyBuilder) NullValue(nullvalue bool) *BooleanPropertyBuilder

func (*BooleanPropertyBuilder) Properties ¶

func (*BooleanPropertyBuilder) Similarity ¶

func (rb *BooleanPropertyBuilder) Similarity(similarity string) *BooleanPropertyBuilder

func (*BooleanPropertyBuilder) Store ¶

type BoostingQuery ¶

type BoostingQuery struct {
	Boost         *float32        `json:"boost,omitempty"`
	Negative      *QueryContainer `json:"negative,omitempty"`
	NegativeBoost float64         `json:"negative_boost"`
	Positive      *QueryContainer `json:"positive,omitempty"`
	QueryName_    *string         `json:"_name,omitempty"`
}

BoostingQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L36-L40

type BoostingQueryBuilder ¶

type BoostingQueryBuilder struct {
	// contains filtered or unexported fields
}

BoostingQueryBuilder holds BoostingQuery struct and provides a builder API.

func NewBoostingQueryBuilder ¶

func NewBoostingQueryBuilder() *BoostingQueryBuilder

NewBoostingQuery provides a builder for the BoostingQuery struct.

func (*BoostingQueryBuilder) Boost ¶

func (*BoostingQueryBuilder) Build ¶

func (rb *BoostingQueryBuilder) Build() BoostingQuery

Build finalize the chain and returns the BoostingQuery struct

func (*BoostingQueryBuilder) Negative ¶

func (*BoostingQueryBuilder) NegativeBoost ¶

func (rb *BoostingQueryBuilder) NegativeBoost(negativeboost float64) *BoostingQueryBuilder

func (*BoostingQueryBuilder) Positive ¶

func (*BoostingQueryBuilder) QueryName_ ¶

func (rb *BoostingQueryBuilder) QueryName_(queryname_ string) *BoostingQueryBuilder

type BoxPlotAggregate ¶

type BoxPlotAggregate struct {
	Lower         float64   `json:"lower"`
	LowerAsString *string   `json:"lower_as_string,omitempty"`
	Max           float64   `json:"max"`
	MaxAsString   *string   `json:"max_as_string,omitempty"`
	Meta          *Metadata `json:"meta,omitempty"`
	Min           float64   `json:"min"`
	MinAsString   *string   `json:"min_as_string,omitempty"`
	Q1            float64   `json:"q1"`
	Q1AsString    *string   `json:"q1_as_string,omitempty"`
	Q2            float64   `json:"q2"`
	Q2AsString    *string   `json:"q2_as_string,omitempty"`
	Q3            float64   `json:"q3"`
	Q3AsString    *string   `json:"q3_as_string,omitempty"`
	Upper         float64   `json:"upper"`
	UpperAsString *string   `json:"upper_as_string,omitempty"`
}

BoxPlotAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L657-L673

type BoxPlotAggregateBuilder ¶

type BoxPlotAggregateBuilder struct {
	// contains filtered or unexported fields
}

BoxPlotAggregateBuilder holds BoxPlotAggregate struct and provides a builder API.

func NewBoxPlotAggregateBuilder ¶

func NewBoxPlotAggregateBuilder() *BoxPlotAggregateBuilder

NewBoxPlotAggregate provides a builder for the BoxPlotAggregate struct.

func (*BoxPlotAggregateBuilder) Build ¶

Build finalize the chain and returns the BoxPlotAggregate struct

func (*BoxPlotAggregateBuilder) Lower ¶

func (*BoxPlotAggregateBuilder) LowerAsString ¶

func (rb *BoxPlotAggregateBuilder) LowerAsString(lowerasstring string) *BoxPlotAggregateBuilder

func (*BoxPlotAggregateBuilder) Max ¶

func (*BoxPlotAggregateBuilder) MaxAsString ¶

func (rb *BoxPlotAggregateBuilder) MaxAsString(maxasstring string) *BoxPlotAggregateBuilder

func (*BoxPlotAggregateBuilder) Meta ¶

func (*BoxPlotAggregateBuilder) Min ¶

func (*BoxPlotAggregateBuilder) MinAsString ¶

func (rb *BoxPlotAggregateBuilder) MinAsString(minasstring string) *BoxPlotAggregateBuilder

func (*BoxPlotAggregateBuilder) Q1 ¶

func (*BoxPlotAggregateBuilder) Q1AsString ¶

func (rb *BoxPlotAggregateBuilder) Q1AsString(q1asstring string) *BoxPlotAggregateBuilder

func (*BoxPlotAggregateBuilder) Q2 ¶

func (*BoxPlotAggregateBuilder) Q2AsString ¶

func (rb *BoxPlotAggregateBuilder) Q2AsString(q2asstring string) *BoxPlotAggregateBuilder

func (*BoxPlotAggregateBuilder) Q3 ¶

func (*BoxPlotAggregateBuilder) Q3AsString ¶

func (rb *BoxPlotAggregateBuilder) Q3AsString(q3asstring string) *BoxPlotAggregateBuilder

func (*BoxPlotAggregateBuilder) Upper ¶

func (*BoxPlotAggregateBuilder) UpperAsString ¶

func (rb *BoxPlotAggregateBuilder) UpperAsString(upperasstring string) *BoxPlotAggregateBuilder

type BoxplotAggregation ¶

type BoxplotAggregation struct {
	Compression *float64 `json:"compression,omitempty"`
	Field       *Field   `json:"field,omitempty"`
	Missing     *Missing `json:"missing,omitempty"`
	Script      *Script  `json:"script,omitempty"`
}

BoxplotAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L50-L52

type BoxplotAggregationBuilder ¶

type BoxplotAggregationBuilder struct {
	// contains filtered or unexported fields
}

BoxplotAggregationBuilder holds BoxplotAggregation struct and provides a builder API.

func NewBoxplotAggregationBuilder ¶

func NewBoxplotAggregationBuilder() *BoxplotAggregationBuilder

NewBoxplotAggregation provides a builder for the BoxplotAggregation struct.

func (*BoxplotAggregationBuilder) Build ¶

Build finalize the chain and returns the BoxplotAggregation struct

func (*BoxplotAggregationBuilder) Compression ¶

func (rb *BoxplotAggregationBuilder) Compression(compression float64) *BoxplotAggregationBuilder

func (*BoxplotAggregationBuilder) Field ¶

func (*BoxplotAggregationBuilder) Missing ¶

func (*BoxplotAggregationBuilder) Script ¶

type Breaker ¶

type Breaker struct {
	EstimatedSize        *string  `json:"estimated_size,omitempty"`
	EstimatedSizeInBytes *int64   `json:"estimated_size_in_bytes,omitempty"`
	LimitSize            *string  `json:"limit_size,omitempty"`
	LimitSizeInBytes     *int64   `json:"limit_size_in_bytes,omitempty"`
	Overhead             *float32 `json:"overhead,omitempty"`
	Tripped              *float32 `json:"tripped,omitempty"`
}

Breaker type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L173-L180

type BreakerBuilder ¶

type BreakerBuilder struct {
	// contains filtered or unexported fields
}

BreakerBuilder holds Breaker struct and provides a builder API.

func NewBreakerBuilder ¶

func NewBreakerBuilder() *BreakerBuilder

NewBreaker provides a builder for the Breaker struct.

func (*BreakerBuilder) Build ¶

func (rb *BreakerBuilder) Build() Breaker

Build finalize the chain and returns the Breaker struct

func (*BreakerBuilder) EstimatedSize ¶

func (rb *BreakerBuilder) EstimatedSize(estimatedsize string) *BreakerBuilder

func (*BreakerBuilder) EstimatedSizeInBytes ¶

func (rb *BreakerBuilder) EstimatedSizeInBytes(estimatedsizeinbytes int64) *BreakerBuilder

func (*BreakerBuilder) LimitSize ¶

func (rb *BreakerBuilder) LimitSize(limitsize string) *BreakerBuilder

func (*BreakerBuilder) LimitSizeInBytes ¶

func (rb *BreakerBuilder) LimitSizeInBytes(limitsizeinbytes int64) *BreakerBuilder

func (*BreakerBuilder) Overhead ¶

func (rb *BreakerBuilder) Overhead(overhead float32) *BreakerBuilder

func (*BreakerBuilder) Tripped ¶

func (rb *BreakerBuilder) Tripped(tripped float32) *BreakerBuilder

type BucketAggregationBase ¶

type BucketAggregationBase struct {
	Meta *Metadata `json:"meta,omitempty"`
	Name *string   `json:"name,omitempty"`
}

BucketAggregationBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L41-L46

type BucketAggregationBaseBuilder ¶

type BucketAggregationBaseBuilder struct {
	// contains filtered or unexported fields
}

BucketAggregationBaseBuilder holds BucketAggregationBase struct and provides a builder API.

func NewBucketAggregationBaseBuilder ¶

func NewBucketAggregationBaseBuilder() *BucketAggregationBaseBuilder

NewBucketAggregationBase provides a builder for the BucketAggregationBase struct.

func (*BucketAggregationBaseBuilder) Build ¶

Build finalize the chain and returns the BucketAggregationBase struct

func (*BucketAggregationBaseBuilder) Meta ¶

func (*BucketAggregationBaseBuilder) Name ¶

type BucketCorrelationAggregation ¶

type BucketCorrelationAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath `json:"buckets_path,omitempty"`
	// Function The correlation function to execute.
	Function BucketCorrelationFunction `json:"function"`
	Meta     *Metadata                 `json:"meta,omitempty"`
	Name     *string                   `json:"name,omitempty"`
}

BucketCorrelationAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L102-L108

type BucketCorrelationAggregationBuilder ¶

type BucketCorrelationAggregationBuilder struct {
	// contains filtered or unexported fields
}

BucketCorrelationAggregationBuilder holds BucketCorrelationAggregation struct and provides a builder API.

func NewBucketCorrelationAggregationBuilder ¶

func NewBucketCorrelationAggregationBuilder() *BucketCorrelationAggregationBuilder

NewBucketCorrelationAggregation provides a builder for the BucketCorrelationAggregation struct.

func (*BucketCorrelationAggregationBuilder) BucketsPath ¶

func (*BucketCorrelationAggregationBuilder) Build ¶

Build finalize the chain and returns the BucketCorrelationAggregation struct

func (*BucketCorrelationAggregationBuilder) Function ¶

func (*BucketCorrelationAggregationBuilder) Meta ¶

func (*BucketCorrelationAggregationBuilder) Name ¶

type BucketCorrelationFunction ¶

type BucketCorrelationFunction struct {
	// CountCorrelation The configuration to calculate a count correlation. This function is designed
	// for determining the correlation of a term value and a given metric.
	CountCorrelation BucketCorrelationFunctionCountCorrelation `json:"count_correlation"`
}

BucketCorrelationFunction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L110-L115

type BucketCorrelationFunctionBuilder ¶

type BucketCorrelationFunctionBuilder struct {
	// contains filtered or unexported fields
}

BucketCorrelationFunctionBuilder holds BucketCorrelationFunction struct and provides a builder API.

func NewBucketCorrelationFunctionBuilder ¶

func NewBucketCorrelationFunctionBuilder() *BucketCorrelationFunctionBuilder

NewBucketCorrelationFunction provides a builder for the BucketCorrelationFunction struct.

func (*BucketCorrelationFunctionBuilder) Build ¶

Build finalize the chain and returns the BucketCorrelationFunction struct

func (*BucketCorrelationFunctionBuilder) CountCorrelation ¶

type BucketCorrelationFunctionCountCorrelation ¶

type BucketCorrelationFunctionCountCorrelation struct {
	// Indicator The indicator with which to correlate the configured `bucket_path` values.
	Indicator BucketCorrelationFunctionCountCorrelationIndicator `json:"indicator"`
}

BucketCorrelationFunctionCountCorrelation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L117-L120

type BucketCorrelationFunctionCountCorrelationBuilder ¶

type BucketCorrelationFunctionCountCorrelationBuilder struct {
	// contains filtered or unexported fields
}

BucketCorrelationFunctionCountCorrelationBuilder holds BucketCorrelationFunctionCountCorrelation struct and provides a builder API.

func NewBucketCorrelationFunctionCountCorrelationBuilder ¶

func NewBucketCorrelationFunctionCountCorrelationBuilder() *BucketCorrelationFunctionCountCorrelationBuilder

NewBucketCorrelationFunctionCountCorrelation provides a builder for the BucketCorrelationFunctionCountCorrelation struct.

func (*BucketCorrelationFunctionCountCorrelationBuilder) Build ¶

Build finalize the chain and returns the BucketCorrelationFunctionCountCorrelation struct

type BucketCorrelationFunctionCountCorrelationIndicator ¶

type BucketCorrelationFunctionCountCorrelationIndicator struct {
	// DocCount The total number of documents that initially created the expectations. It’s
	// required to be greater
	// than or equal to the sum of all values in the buckets_path as this is the
	// originating superset of data
	// to which the term values are correlated.
	DocCount int `json:"doc_count"`
	// Expectations An array of numbers with which to correlate the configured `bucket_path`
	// values.
	// The length of this value must always equal the number of buckets returned by
	// the `bucket_path`.
	Expectations []float64 `json:"expectations"`
	// Fractions An array of fractions to use when averaging and calculating variance. This
	// should be used if
	// the pre-calculated data and the buckets_path have known gaps. The length of
	// fractions, if provided,
	// must equal expectations.
	Fractions []float64 `json:"fractions,omitempty"`
}

BucketCorrelationFunctionCountCorrelationIndicator type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L122-L140

type BucketCorrelationFunctionCountCorrelationIndicatorBuilder ¶

type BucketCorrelationFunctionCountCorrelationIndicatorBuilder struct {
	// contains filtered or unexported fields
}

BucketCorrelationFunctionCountCorrelationIndicatorBuilder holds BucketCorrelationFunctionCountCorrelationIndicator struct and provides a builder API.

func NewBucketCorrelationFunctionCountCorrelationIndicatorBuilder ¶

func NewBucketCorrelationFunctionCountCorrelationIndicatorBuilder() *BucketCorrelationFunctionCountCorrelationIndicatorBuilder

NewBucketCorrelationFunctionCountCorrelationIndicator provides a builder for the BucketCorrelationFunctionCountCorrelationIndicator struct.

func (*BucketCorrelationFunctionCountCorrelationIndicatorBuilder) Build ¶

Build finalize the chain and returns the BucketCorrelationFunctionCountCorrelationIndicator struct

func (*BucketCorrelationFunctionCountCorrelationIndicatorBuilder) DocCount ¶

func (*BucketCorrelationFunctionCountCorrelationIndicatorBuilder) Expectations ¶

func (*BucketCorrelationFunctionCountCorrelationIndicatorBuilder) Fractions ¶

type BucketInfluencer ¶

type BucketInfluencer struct {
	// AnomalyScore A normalized score between 0-100, which is calculated for each bucket
	// influencer. This score might be updated as
	// newer data is analyzed.
	AnomalyScore float64 `json:"anomaly_score"`
	// BucketSpan The length of the bucket in seconds. This value matches the bucket span that
	// is specified in the job.
	BucketSpan DurationValueUnitSeconds `json:"bucket_span"`
	// InfluencerFieldName The field name of the influencer.
	InfluencerFieldName Field `json:"influencer_field_name"`
	// InitialAnomalyScore The score between 0-100 for each bucket influencer. This score is the initial
	// value that was calculated at the
	// time the bucket was processed.
	InitialAnomalyScore float64 `json:"initial_anomaly_score"`
	// IsInterim If true, this is an interim result. In other words, the results are
	// calculated based on partial input data.
	IsInterim bool `json:"is_interim"`
	// JobId Identifier for the anomaly detection job.
	JobId Id `json:"job_id"`
	// Probability The probability that the bucket has this behavior, in the range 0 to 1. This
	// value can be held to a high precision
	// of over 300 decimal places, so the `anomaly_score` is provided as a
	// human-readable and friendly interpretation of
	// this.
	Probability float64 `json:"probability"`
	// RawAnomalyScore Internal.
	RawAnomalyScore float64 `json:"raw_anomaly_score"`
	// ResultType Internal. This value is always set to `bucket_influencer`.
	ResultType string `json:"result_type"`
	// Timestamp The start time of the bucket for which these results were calculated.
	Timestamp EpochTimeUnitMillis `json:"timestamp"`
	// TimestampString The start time of the bucket for which these results were calculated.
	TimestampString *DateTime `json:"timestamp_string,omitempty"`
}

BucketInfluencer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Bucket.ts#L80-L128

type BucketInfluencerBuilder ¶

type BucketInfluencerBuilder struct {
	// contains filtered or unexported fields
}

BucketInfluencerBuilder holds BucketInfluencer struct and provides a builder API.

func NewBucketInfluencerBuilder ¶

func NewBucketInfluencerBuilder() *BucketInfluencerBuilder

NewBucketInfluencer provides a builder for the BucketInfluencer struct.

func (*BucketInfluencerBuilder) AnomalyScore ¶

func (rb *BucketInfluencerBuilder) AnomalyScore(anomalyscore float64) *BucketInfluencerBuilder

func (*BucketInfluencerBuilder) BucketSpan ¶

func (*BucketInfluencerBuilder) Build ¶

Build finalize the chain and returns the BucketInfluencer struct

func (*BucketInfluencerBuilder) InfluencerFieldName ¶

func (rb *BucketInfluencerBuilder) InfluencerFieldName(influencerfieldname Field) *BucketInfluencerBuilder

func (*BucketInfluencerBuilder) InitialAnomalyScore ¶

func (rb *BucketInfluencerBuilder) InitialAnomalyScore(initialanomalyscore float64) *BucketInfluencerBuilder

func (*BucketInfluencerBuilder) IsInterim ¶

func (rb *BucketInfluencerBuilder) IsInterim(isinterim bool) *BucketInfluencerBuilder

func (*BucketInfluencerBuilder) JobId ¶

func (*BucketInfluencerBuilder) Probability ¶

func (rb *BucketInfluencerBuilder) Probability(probability float64) *BucketInfluencerBuilder

func (*BucketInfluencerBuilder) RawAnomalyScore ¶

func (rb *BucketInfluencerBuilder) RawAnomalyScore(rawanomalyscore float64) *BucketInfluencerBuilder

func (*BucketInfluencerBuilder) ResultType ¶

func (rb *BucketInfluencerBuilder) ResultType(resulttype string) *BucketInfluencerBuilder

func (*BucketInfluencerBuilder) Timestamp ¶

func (*BucketInfluencerBuilder) TimestampString ¶

func (rb *BucketInfluencerBuilder) TimestampString(timestampstring *DateTimeBuilder) *BucketInfluencerBuilder

type BucketKsAggregation ¶

type BucketKsAggregation struct {
	// Alternative A list of string values indicating which K-S test alternative to calculate.
	// The valid values
	// are: "greater", "less", "two_sided". This parameter is key for determining
	// the K-S statistic used
	// when calculating the K-S test. Default value is all possible alternative
	// hypotheses.
	Alternative []string `json:"alternative,omitempty"`
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath `json:"buckets_path,omitempty"`
	// Fractions A list of doubles indicating the distribution of the samples with which to
	// compare to the `buckets_path` results.
	// In typical usage this is the overall proportion of documents in each bucket,
	// which is compared with the actual
	// document proportions in each bucket from the sibling aggregation counts. The
	// default is to assume that overall
	// documents are uniformly distributed on these buckets, which they would be if
	// one used equal percentiles of a
	// metric to define the bucket end points.
	Fractions []float64 `json:"fractions,omitempty"`
	Meta      *Metadata `json:"meta,omitempty"`
	Name      *string   `json:"name,omitempty"`
	// SamplingMethod Indicates the sampling methodology when calculating the K-S test. Note, this
	// is sampling of the returned values.
	// This determines the cumulative distribution function (CDF) points used
	// comparing the two samples. Default is
	// `upper_tail`, which emphasizes the upper end of the CDF points. Valid options
	// are: `upper_tail`, `uniform`,
	// and `lower_tail`.
	SamplingMethod *string `json:"sampling_method,omitempty"`
}

BucketKsAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L67-L100

type BucketKsAggregationBuilder ¶

type BucketKsAggregationBuilder struct {
	// contains filtered or unexported fields
}

BucketKsAggregationBuilder holds BucketKsAggregation struct and provides a builder API.

func NewBucketKsAggregationBuilder ¶

func NewBucketKsAggregationBuilder() *BucketKsAggregationBuilder

NewBucketKsAggregation provides a builder for the BucketKsAggregation struct.

func (*BucketKsAggregationBuilder) Alternative ¶

func (rb *BucketKsAggregationBuilder) Alternative(alternative ...string) *BucketKsAggregationBuilder

func (*BucketKsAggregationBuilder) BucketsPath ¶

func (*BucketKsAggregationBuilder) Build ¶

Build finalize the chain and returns the BucketKsAggregation struct

func (*BucketKsAggregationBuilder) Fractions ¶

func (rb *BucketKsAggregationBuilder) Fractions(fractions ...float64) *BucketKsAggregationBuilder

func (*BucketKsAggregationBuilder) Meta ¶

func (*BucketKsAggregationBuilder) Name ¶

func (*BucketKsAggregationBuilder) SamplingMethod ¶

func (rb *BucketKsAggregationBuilder) SamplingMethod(samplingmethod string) *BucketKsAggregationBuilder

type BucketMetricValueAggregate ¶

type BucketMetricValueAggregate struct {
	Keys []string  `json:"keys"`
	Meta *Metadata `json:"meta,omitempty"`
	// Value The metric value. A missing value generally means that there was no data to
	// aggregate,
	// unless specified otherwise.
	Value         float64 `json:"value,omitempty"`
	ValueAsString *string `json:"value_as_string,omitempty"`
}

BucketMetricValueAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L222-L225

type BucketMetricValueAggregateBuilder ¶

type BucketMetricValueAggregateBuilder struct {
	// contains filtered or unexported fields
}

BucketMetricValueAggregateBuilder holds BucketMetricValueAggregate struct and provides a builder API.

func NewBucketMetricValueAggregateBuilder ¶

func NewBucketMetricValueAggregateBuilder() *BucketMetricValueAggregateBuilder

NewBucketMetricValueAggregate provides a builder for the BucketMetricValueAggregate struct.

func (*BucketMetricValueAggregateBuilder) Build ¶

Build finalize the chain and returns the BucketMetricValueAggregate struct

func (*BucketMetricValueAggregateBuilder) Keys ¶

func (*BucketMetricValueAggregateBuilder) Meta ¶

func (*BucketMetricValueAggregateBuilder) Value ¶

func (*BucketMetricValueAggregateBuilder) ValueAsString ¶

type BucketPathAggregation ¶

type BucketPathAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath `json:"buckets_path,omitempty"`
	Meta        *Metadata    `json:"meta,omitempty"`
	Name        *string      `json:"name,omitempty"`
}

BucketPathAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L31-L37

type BucketPathAggregationBuilder ¶

type BucketPathAggregationBuilder struct {
	// contains filtered or unexported fields
}

BucketPathAggregationBuilder holds BucketPathAggregation struct and provides a builder API.

func NewBucketPathAggregationBuilder ¶

func NewBucketPathAggregationBuilder() *BucketPathAggregationBuilder

NewBucketPathAggregation provides a builder for the BucketPathAggregation struct.

func (*BucketPathAggregationBuilder) BucketsPath ¶

func (*BucketPathAggregationBuilder) Build ¶

Build finalize the chain and returns the BucketPathAggregation struct

func (*BucketPathAggregationBuilder) Meta ¶

func (*BucketPathAggregationBuilder) Name ¶

type BucketScriptAggregation ¶

type BucketScriptAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
	Script      *Script              `json:"script,omitempty"`
}

BucketScriptAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L59-L61

type BucketScriptAggregationBuilder ¶

type BucketScriptAggregationBuilder struct {
	// contains filtered or unexported fields
}

BucketScriptAggregationBuilder holds BucketScriptAggregation struct and provides a builder API.

func NewBucketScriptAggregationBuilder ¶

func NewBucketScriptAggregationBuilder() *BucketScriptAggregationBuilder

NewBucketScriptAggregation provides a builder for the BucketScriptAggregation struct.

func (*BucketScriptAggregationBuilder) BucketsPath ¶

func (*BucketScriptAggregationBuilder) Build ¶

Build finalize the chain and returns the BucketScriptAggregation struct

func (*BucketScriptAggregationBuilder) Format ¶

func (*BucketScriptAggregationBuilder) GapPolicy ¶

func (*BucketScriptAggregationBuilder) Meta ¶

func (*BucketScriptAggregationBuilder) Name ¶

func (*BucketScriptAggregationBuilder) Script ¶

type BucketSelectorAggregation ¶

type BucketSelectorAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
	Script      *Script              `json:"script,omitempty"`
}

BucketSelectorAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L63-L65

type BucketSelectorAggregationBuilder ¶

type BucketSelectorAggregationBuilder struct {
	// contains filtered or unexported fields
}

BucketSelectorAggregationBuilder holds BucketSelectorAggregation struct and provides a builder API.

func NewBucketSelectorAggregationBuilder ¶

func NewBucketSelectorAggregationBuilder() *BucketSelectorAggregationBuilder

NewBucketSelectorAggregation provides a builder for the BucketSelectorAggregation struct.

func (*BucketSelectorAggregationBuilder) BucketsPath ¶

func (*BucketSelectorAggregationBuilder) Build ¶

Build finalize the chain and returns the BucketSelectorAggregation struct

func (*BucketSelectorAggregationBuilder) Format ¶

func (*BucketSelectorAggregationBuilder) GapPolicy ¶

func (*BucketSelectorAggregationBuilder) Meta ¶

func (*BucketSelectorAggregationBuilder) Name ¶

func (*BucketSelectorAggregationBuilder) Script ¶

type BucketSortAggregation ¶

type BucketSortAggregation struct {
	From      *int                 `json:"from,omitempty"`
	GapPolicy *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta      *Metadata            `json:"meta,omitempty"`
	Name      *string              `json:"name,omitempty"`
	Size      *int                 `json:"size,omitempty"`
	Sort      *Sort                `json:"sort,omitempty"`
}

BucketSortAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L142-L147

type BucketSortAggregationBuilder ¶

type BucketSortAggregationBuilder struct {
	// contains filtered or unexported fields
}

BucketSortAggregationBuilder holds BucketSortAggregation struct and provides a builder API.

func NewBucketSortAggregationBuilder ¶

func NewBucketSortAggregationBuilder() *BucketSortAggregationBuilder

NewBucketSortAggregation provides a builder for the BucketSortAggregation struct.

func (*BucketSortAggregationBuilder) Build ¶

Build finalize the chain and returns the BucketSortAggregation struct

func (*BucketSortAggregationBuilder) From ¶

func (*BucketSortAggregationBuilder) GapPolicy ¶

func (*BucketSortAggregationBuilder) Meta ¶

func (*BucketSortAggregationBuilder) Name ¶

func (*BucketSortAggregationBuilder) Size ¶

func (*BucketSortAggregationBuilder) Sort ¶

type BucketSummary ¶

type BucketSummary struct {
	// AnomalyScore The maximum anomaly score, between 0-100, for any of the bucket influencers.
	// This is an overall, rate-limited
	// score for the job. All the anomaly records in the bucket contribute to this
	// score. This value might be updated as
	// new data is analyzed.
	AnomalyScore      float64            `json:"anomaly_score"`
	BucketInfluencers []BucketInfluencer `json:"bucket_influencers"`
	// BucketSpan The length of the bucket in seconds. This value matches the bucket span that
	// is specified in the job.
	BucketSpan DurationValueUnitSeconds `json:"bucket_span"`
	// EventCount The number of input data records processed in this bucket.
	EventCount int64 `json:"event_count"`
	// InitialAnomalyScore The maximum anomaly score for any of the bucket influencers. This is the
	// initial value that was calculated at the
	// time the bucket was processed.
	InitialAnomalyScore float64 `json:"initial_anomaly_score"`
	// IsInterim If true, this is an interim result. In other words, the results are
	// calculated based on partial input data.
	IsInterim bool `json:"is_interim"`
	// JobId Identifier for the anomaly detection job.
	JobId Id `json:"job_id"`
	// ProcessingTimeMs The amount of time, in milliseconds, that it took to analyze the bucket
	// contents and calculate results.
	ProcessingTimeMs DurationValueUnitMillis `json:"processing_time_ms"`
	// ResultType Internal. This value is always set to bucket.
	ResultType string `json:"result_type"`
	// Timestamp The start time of the bucket. This timestamp uniquely identifies the bucket.
	// Events that occur exactly at the
	// timestamp of the bucket are included in the results for the bucket.
	Timestamp EpochTimeUnitMillis `json:"timestamp"`
	// TimestampString The start time of the bucket. This timestamp uniquely identifies the bucket.
	// Events that occur exactly at the
	// timestamp of the bucket are included in the results for the bucket.
	TimestampString *DateTime `json:"timestamp_string,omitempty"`
}

BucketSummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Bucket.ts#L31-L78

type BucketSummaryBuilder ¶

type BucketSummaryBuilder struct {
	// contains filtered or unexported fields
}

BucketSummaryBuilder holds BucketSummary struct and provides a builder API.

func NewBucketSummaryBuilder ¶

func NewBucketSummaryBuilder() *BucketSummaryBuilder

NewBucketSummary provides a builder for the BucketSummary struct.

func (*BucketSummaryBuilder) AnomalyScore ¶

func (rb *BucketSummaryBuilder) AnomalyScore(anomalyscore float64) *BucketSummaryBuilder

func (*BucketSummaryBuilder) BucketInfluencers ¶

func (rb *BucketSummaryBuilder) BucketInfluencers(bucket_influencers []BucketInfluencerBuilder) *BucketSummaryBuilder

func (*BucketSummaryBuilder) BucketSpan ¶

func (*BucketSummaryBuilder) Build ¶

func (rb *BucketSummaryBuilder) Build() BucketSummary

Build finalize the chain and returns the BucketSummary struct

func (*BucketSummaryBuilder) EventCount ¶

func (rb *BucketSummaryBuilder) EventCount(eventcount int64) *BucketSummaryBuilder

func (*BucketSummaryBuilder) InitialAnomalyScore ¶

func (rb *BucketSummaryBuilder) InitialAnomalyScore(initialanomalyscore float64) *BucketSummaryBuilder

func (*BucketSummaryBuilder) IsInterim ¶

func (rb *BucketSummaryBuilder) IsInterim(isinterim bool) *BucketSummaryBuilder

func (*BucketSummaryBuilder) JobId ¶

func (rb *BucketSummaryBuilder) JobId(jobid Id) *BucketSummaryBuilder

func (*BucketSummaryBuilder) ProcessingTimeMs ¶

func (rb *BucketSummaryBuilder) ProcessingTimeMs(processingtimems *DurationValueUnitMillisBuilder) *BucketSummaryBuilder

func (*BucketSummaryBuilder) ResultType ¶

func (rb *BucketSummaryBuilder) ResultType(resulttype string) *BucketSummaryBuilder

func (*BucketSummaryBuilder) Timestamp ¶

func (*BucketSummaryBuilder) TimestampString ¶

func (rb *BucketSummaryBuilder) TimestampString(timestampstring *DateTimeBuilder) *BucketSummaryBuilder

type BucketsAdjacencyMatrixBucket ¶

type BucketsAdjacencyMatrixBucket interface{}

BucketsAdjacencyMatrixBucket holds the union for the following types:

[]AdjacencyMatrixBucket
map[string]AdjacencyMatrixBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsAdjacencyMatrixBucketBuilder ¶

type BucketsAdjacencyMatrixBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsAdjacencyMatrixBucketBuilder holds BucketsAdjacencyMatrixBucket struct and provides a builder API.

func NewBucketsAdjacencyMatrixBucketBuilder ¶

func NewBucketsAdjacencyMatrixBucketBuilder() *BucketsAdjacencyMatrixBucketBuilder

NewBucketsAdjacencyMatrixBucket provides a builder for the BucketsAdjacencyMatrixBucket struct.

func (*BucketsAdjacencyMatrixBucketBuilder) AdjacencyMatrixBuckets ¶

func (*BucketsAdjacencyMatrixBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsAdjacencyMatrixBucket struct

func (*BucketsAdjacencyMatrixBucketBuilder) Map ¶

type BucketsCompositeBucket ¶

type BucketsCompositeBucket interface{}

BucketsCompositeBucket holds the union for the following types:

[]CompositeBucket
map[string]CompositeBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsCompositeBucketBuilder ¶

type BucketsCompositeBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsCompositeBucketBuilder holds BucketsCompositeBucket struct and provides a builder API.

func NewBucketsCompositeBucketBuilder ¶

func NewBucketsCompositeBucketBuilder() *BucketsCompositeBucketBuilder

NewBucketsCompositeBucket provides a builder for the BucketsCompositeBucket struct.

func (*BucketsCompositeBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsCompositeBucket struct

func (*BucketsCompositeBucketBuilder) CompositeBuckets ¶

func (*BucketsCompositeBucketBuilder) Map ¶

type BucketsDateHistogramBucket ¶

type BucketsDateHistogramBucket interface{}

BucketsDateHistogramBucket holds the union for the following types:

[]DateHistogramBucket
map[string]DateHistogramBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsDateHistogramBucketBuilder ¶

type BucketsDateHistogramBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsDateHistogramBucketBuilder holds BucketsDateHistogramBucket struct and provides a builder API.

func NewBucketsDateHistogramBucketBuilder ¶

func NewBucketsDateHistogramBucketBuilder() *BucketsDateHistogramBucketBuilder

NewBucketsDateHistogramBucket provides a builder for the BucketsDateHistogramBucket struct.

func (*BucketsDateHistogramBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsDateHistogramBucket struct

func (*BucketsDateHistogramBucketBuilder) DateHistogramBuckets ¶

func (*BucketsDateHistogramBucketBuilder) Map ¶

type BucketsDoubleTermsBucket ¶

type BucketsDoubleTermsBucket interface{}

BucketsDoubleTermsBucket holds the union for the following types:

[]DoubleTermsBucket
map[string]DoubleTermsBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsDoubleTermsBucketBuilder ¶

type BucketsDoubleTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsDoubleTermsBucketBuilder holds BucketsDoubleTermsBucket struct and provides a builder API.

func NewBucketsDoubleTermsBucketBuilder ¶

func NewBucketsDoubleTermsBucketBuilder() *BucketsDoubleTermsBucketBuilder

NewBucketsDoubleTermsBucket provides a builder for the BucketsDoubleTermsBucket struct.

func (*BucketsDoubleTermsBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsDoubleTermsBucket struct

func (*BucketsDoubleTermsBucketBuilder) DoubleTermsBuckets ¶

func (*BucketsDoubleTermsBucketBuilder) Map ¶

type BucketsFiltersBucket ¶

type BucketsFiltersBucket interface{}

BucketsFiltersBucket holds the union for the following types:

[]FiltersBucket
map[string]FiltersBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsFiltersBucketBuilder ¶

type BucketsFiltersBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsFiltersBucketBuilder holds BucketsFiltersBucket struct and provides a builder API.

func NewBucketsFiltersBucketBuilder ¶

func NewBucketsFiltersBucketBuilder() *BucketsFiltersBucketBuilder

NewBucketsFiltersBucket provides a builder for the BucketsFiltersBucket struct.

func (*BucketsFiltersBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsFiltersBucket struct

func (*BucketsFiltersBucketBuilder) FiltersBuckets ¶

func (*BucketsFiltersBucketBuilder) Map ¶

type BucketsGeoHashGridBucket ¶

type BucketsGeoHashGridBucket interface{}

BucketsGeoHashGridBucket holds the union for the following types:

[]GeoHashGridBucket
map[string]GeoHashGridBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsGeoHashGridBucketBuilder ¶

type BucketsGeoHashGridBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsGeoHashGridBucketBuilder holds BucketsGeoHashGridBucket struct and provides a builder API.

func NewBucketsGeoHashGridBucketBuilder ¶

func NewBucketsGeoHashGridBucketBuilder() *BucketsGeoHashGridBucketBuilder

NewBucketsGeoHashGridBucket provides a builder for the BucketsGeoHashGridBucket struct.

func (*BucketsGeoHashGridBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsGeoHashGridBucket struct

func (*BucketsGeoHashGridBucketBuilder) GeoHashGridBuckets ¶

func (*BucketsGeoHashGridBucketBuilder) Map ¶

type BucketsGeoTileGridBucket ¶

type BucketsGeoTileGridBucket interface{}

BucketsGeoTileGridBucket holds the union for the following types:

[]GeoTileGridBucket
map[string]GeoTileGridBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsGeoTileGridBucketBuilder ¶

type BucketsGeoTileGridBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsGeoTileGridBucketBuilder holds BucketsGeoTileGridBucket struct and provides a builder API.

func NewBucketsGeoTileGridBucketBuilder ¶

func NewBucketsGeoTileGridBucketBuilder() *BucketsGeoTileGridBucketBuilder

NewBucketsGeoTileGridBucket provides a builder for the BucketsGeoTileGridBucket struct.

func (*BucketsGeoTileGridBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsGeoTileGridBucket struct

func (*BucketsGeoTileGridBucketBuilder) GeoTileGridBuckets ¶

func (*BucketsGeoTileGridBucketBuilder) Map ¶

type BucketsHistogramBucket ¶

type BucketsHistogramBucket interface{}

BucketsHistogramBucket holds the union for the following types:

[]HistogramBucket
map[string]HistogramBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsHistogramBucketBuilder ¶

type BucketsHistogramBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsHistogramBucketBuilder holds BucketsHistogramBucket struct and provides a builder API.

func NewBucketsHistogramBucketBuilder ¶

func NewBucketsHistogramBucketBuilder() *BucketsHistogramBucketBuilder

NewBucketsHistogramBucket provides a builder for the BucketsHistogramBucket struct.

func (*BucketsHistogramBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsHistogramBucket struct

func (*BucketsHistogramBucketBuilder) HistogramBuckets ¶

func (*BucketsHistogramBucketBuilder) Map ¶

type BucketsIpRangeBucket ¶

type BucketsIpRangeBucket interface{}

BucketsIpRangeBucket holds the union for the following types:

[]IpRangeBucket
map[string]IpRangeBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsIpRangeBucketBuilder ¶

type BucketsIpRangeBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsIpRangeBucketBuilder holds BucketsIpRangeBucket struct and provides a builder API.

func NewBucketsIpRangeBucketBuilder ¶

func NewBucketsIpRangeBucketBuilder() *BucketsIpRangeBucketBuilder

NewBucketsIpRangeBucket provides a builder for the BucketsIpRangeBucket struct.

func (*BucketsIpRangeBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsIpRangeBucket struct

func (*BucketsIpRangeBucketBuilder) IpRangeBuckets ¶

func (*BucketsIpRangeBucketBuilder) Map ¶

type BucketsLongRareTermsBucket ¶

type BucketsLongRareTermsBucket interface{}

BucketsLongRareTermsBucket holds the union for the following types:

[]LongRareTermsBucket
map[string]LongRareTermsBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsLongRareTermsBucketBuilder ¶

type BucketsLongRareTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsLongRareTermsBucketBuilder holds BucketsLongRareTermsBucket struct and provides a builder API.

func NewBucketsLongRareTermsBucketBuilder ¶

func NewBucketsLongRareTermsBucketBuilder() *BucketsLongRareTermsBucketBuilder

NewBucketsLongRareTermsBucket provides a builder for the BucketsLongRareTermsBucket struct.

func (*BucketsLongRareTermsBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsLongRareTermsBucket struct

func (*BucketsLongRareTermsBucketBuilder) LongRareTermsBuckets ¶

func (*BucketsLongRareTermsBucketBuilder) Map ¶

type BucketsLongTermsBucket ¶

type BucketsLongTermsBucket interface{}

BucketsLongTermsBucket holds the union for the following types:

[]LongTermsBucket
map[string]LongTermsBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsLongTermsBucketBuilder ¶

type BucketsLongTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsLongTermsBucketBuilder holds BucketsLongTermsBucket struct and provides a builder API.

func NewBucketsLongTermsBucketBuilder ¶

func NewBucketsLongTermsBucketBuilder() *BucketsLongTermsBucketBuilder

NewBucketsLongTermsBucket provides a builder for the BucketsLongTermsBucket struct.

func (*BucketsLongTermsBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsLongTermsBucket struct

func (*BucketsLongTermsBucketBuilder) LongTermsBuckets ¶

func (*BucketsLongTermsBucketBuilder) Map ¶

type BucketsMultiTermsBucket ¶

type BucketsMultiTermsBucket interface{}

BucketsMultiTermsBucket holds the union for the following types:

map[string]MultiTermsBucket
[]MultiTermsBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsMultiTermsBucketBuilder ¶

type BucketsMultiTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsMultiTermsBucketBuilder holds BucketsMultiTermsBucket struct and provides a builder API.

func NewBucketsMultiTermsBucketBuilder ¶

func NewBucketsMultiTermsBucketBuilder() *BucketsMultiTermsBucketBuilder

NewBucketsMultiTermsBucket provides a builder for the BucketsMultiTermsBucket struct.

func (*BucketsMultiTermsBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsMultiTermsBucket struct

func (*BucketsMultiTermsBucketBuilder) Map ¶

func (*BucketsMultiTermsBucketBuilder) MultiTermsBuckets ¶

type BucketsPathBuilder ¶

type BucketsPathBuilder struct {
	// contains filtered or unexported fields
}

BucketsPathBuilder holds BucketsPath struct and provides a builder API.

func NewBucketsPathBuilder ¶

func NewBucketsPathBuilder() *BucketsPathBuilder

NewBucketsPath provides a builder for the BucketsPath struct.

func (*BucketsPathBuilder) BucketsPath ¶

func (b *BucketsPathBuilder) BucketsPath(value BucketsPath) *BucketsPathBuilder

func (*BucketsPathBuilder) Build ¶

func (b *BucketsPathBuilder) Build() BucketsPath

Build finalize the chain and returns the BucketsPath struct

type BucketsQueryContainer ¶

type BucketsQueryContainer interface{}

BucketsQueryContainer holds the union for the following types:

map[string]QueryContainer
[]QueryContainer

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsQueryContainerBuilder ¶

type BucketsQueryContainerBuilder struct {
	// contains filtered or unexported fields
}

BucketsQueryContainerBuilder holds BucketsQueryContainer struct and provides a builder API.

func NewBucketsQueryContainerBuilder ¶

func NewBucketsQueryContainerBuilder() *BucketsQueryContainerBuilder

NewBucketsQueryContainer provides a builder for the BucketsQueryContainer struct.

func (*BucketsQueryContainerBuilder) Build ¶

Build finalize the chain and returns the BucketsQueryContainer struct

func (*BucketsQueryContainerBuilder) Map ¶

func (*BucketsQueryContainerBuilder) QueryContainers ¶

type BucketsRangeBucket ¶

type BucketsRangeBucket interface{}

BucketsRangeBucket holds the union for the following types:

map[string]RangeBucket
[]RangeBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsRangeBucketBuilder ¶

type BucketsRangeBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsRangeBucketBuilder holds BucketsRangeBucket struct and provides a builder API.

func NewBucketsRangeBucketBuilder ¶

func NewBucketsRangeBucketBuilder() *BucketsRangeBucketBuilder

NewBucketsRangeBucket provides a builder for the BucketsRangeBucket struct.

func (*BucketsRangeBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsRangeBucket struct

func (*BucketsRangeBucketBuilder) Map ¶

func (*BucketsRangeBucketBuilder) RangeBuckets ¶

type BucketsSignificantLongTermsBucket ¶

type BucketsSignificantLongTermsBucket interface{}

BucketsSignificantLongTermsBucket holds the union for the following types:

map[string]SignificantLongTermsBucket
[]SignificantLongTermsBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsSignificantLongTermsBucketBuilder ¶

type BucketsSignificantLongTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsSignificantLongTermsBucketBuilder holds BucketsSignificantLongTermsBucket struct and provides a builder API.

func NewBucketsSignificantLongTermsBucketBuilder ¶

func NewBucketsSignificantLongTermsBucketBuilder() *BucketsSignificantLongTermsBucketBuilder

NewBucketsSignificantLongTermsBucket provides a builder for the BucketsSignificantLongTermsBucket struct.

func (*BucketsSignificantLongTermsBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsSignificantLongTermsBucket struct

func (*BucketsSignificantLongTermsBucketBuilder) Map ¶

func (*BucketsSignificantLongTermsBucketBuilder) SignificantLongTermsBuckets ¶

type BucketsSignificantStringTermsBucket ¶

type BucketsSignificantStringTermsBucket interface{}

BucketsSignificantStringTermsBucket holds the union for the following types:

map[string]SignificantStringTermsBucket
[]SignificantStringTermsBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsSignificantStringTermsBucketBuilder ¶

type BucketsSignificantStringTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsSignificantStringTermsBucketBuilder holds BucketsSignificantStringTermsBucket struct and provides a builder API.

func NewBucketsSignificantStringTermsBucketBuilder ¶

func NewBucketsSignificantStringTermsBucketBuilder() *BucketsSignificantStringTermsBucketBuilder

NewBucketsSignificantStringTermsBucket provides a builder for the BucketsSignificantStringTermsBucket struct.

func (*BucketsSignificantStringTermsBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsSignificantStringTermsBucket struct

func (*BucketsSignificantStringTermsBucketBuilder) SignificantStringTermsBuckets ¶

type BucketsStringRareTermsBucket ¶

type BucketsStringRareTermsBucket interface{}

BucketsStringRareTermsBucket holds the union for the following types:

map[string]StringRareTermsBucket
[]StringRareTermsBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsStringRareTermsBucketBuilder ¶

type BucketsStringRareTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsStringRareTermsBucketBuilder holds BucketsStringRareTermsBucket struct and provides a builder API.

func NewBucketsStringRareTermsBucketBuilder ¶

func NewBucketsStringRareTermsBucketBuilder() *BucketsStringRareTermsBucketBuilder

NewBucketsStringRareTermsBucket provides a builder for the BucketsStringRareTermsBucket struct.

func (*BucketsStringRareTermsBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsStringRareTermsBucket struct

func (*BucketsStringRareTermsBucketBuilder) Map ¶

func (*BucketsStringRareTermsBucketBuilder) StringRareTermsBuckets ¶

type BucketsStringTermsBucket ¶

type BucketsStringTermsBucket interface{}

BucketsStringTermsBucket holds the union for the following types:

map[string]StringTermsBucket
[]StringTermsBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsStringTermsBucketBuilder ¶

type BucketsStringTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsStringTermsBucketBuilder holds BucketsStringTermsBucket struct and provides a builder API.

func NewBucketsStringTermsBucketBuilder ¶

func NewBucketsStringTermsBucketBuilder() *BucketsStringTermsBucketBuilder

NewBucketsStringTermsBucket provides a builder for the BucketsStringTermsBucket struct.

func (*BucketsStringTermsBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsStringTermsBucket struct

func (*BucketsStringTermsBucketBuilder) Map ¶

func (*BucketsStringTermsBucketBuilder) StringTermsBuckets ¶

type BucketsVariableWidthHistogramBucket ¶

type BucketsVariableWidthHistogramBucket interface{}

BucketsVariableWidthHistogramBucket holds the union for the following types:

map[string]VariableWidthHistogramBucket
[]VariableWidthHistogramBucket

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L303-L312

type BucketsVariableWidthHistogramBucketBuilder ¶

type BucketsVariableWidthHistogramBucketBuilder struct {
	// contains filtered or unexported fields
}

BucketsVariableWidthHistogramBucketBuilder holds BucketsVariableWidthHistogramBucket struct and provides a builder API.

func NewBucketsVariableWidthHistogramBucketBuilder ¶

func NewBucketsVariableWidthHistogramBucketBuilder() *BucketsVariableWidthHistogramBucketBuilder

NewBucketsVariableWidthHistogramBucket provides a builder for the BucketsVariableWidthHistogramBucket struct.

func (*BucketsVariableWidthHistogramBucketBuilder) Build ¶

Build finalize the chain and returns the BucketsVariableWidthHistogramBucket struct

func (*BucketsVariableWidthHistogramBucketBuilder) VariableWidthHistogramBuckets ¶

type BucketsVoidBuilder ¶

type BucketsVoidBuilder struct {
	// contains filtered or unexported fields
}

BucketsVoidBuilder holds BucketsVoid struct and provides a builder API.

func NewBucketsVoidBuilder ¶

func NewBucketsVoidBuilder() *BucketsVoidBuilder

NewBucketsVoid provides a builder for the BucketsVoid struct.

func (*BucketsVoidBuilder) Build ¶

func (u *BucketsVoidBuilder) Build() BucketsVoid

Build finalize the chain and returns the BucketsVoid struct

func (*BucketsVoidBuilder) Map ¶

func (u *BucketsVoidBuilder) Map(value map[string]Void) *BucketsVoidBuilder

func (*BucketsVoidBuilder) Voids ¶

func (u *BucketsVoidBuilder) Voids(voids ...Void) *BucketsVoidBuilder

type BuildInformationBuilder ¶

type BuildInformationBuilder struct {
	// contains filtered or unexported fields
}

BuildInformationBuilder holds BuildInformation struct and provides a builder API.

func NewBuildInformationBuilder ¶

func NewBuildInformationBuilder() *BuildInformationBuilder

NewBuildInformation provides a builder for the BuildInformation struct.

func (*BuildInformationBuilder) Build ¶

Build finalize the chain and returns the BuildInformation struct

func (*BuildInformationBuilder) Date ¶

func (*BuildInformationBuilder) Hash ¶

type BulkIndexByScrollFailure ¶

type BulkIndexByScrollFailure struct {
	Cause  ErrorCause `json:"cause"`
	Id     Id         `json:"id"`
	Index  IndexName  `json:"index"`
	Status int        `json:"status"`
	Type   string     `json:"type"`
}

BulkIndexByScrollFailure type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Errors.ts#L58-L64

type BulkIndexByScrollFailureBuilder ¶

type BulkIndexByScrollFailureBuilder struct {
	// contains filtered or unexported fields
}

BulkIndexByScrollFailureBuilder holds BulkIndexByScrollFailure struct and provides a builder API.

func NewBulkIndexByScrollFailureBuilder ¶

func NewBulkIndexByScrollFailureBuilder() *BulkIndexByScrollFailureBuilder

NewBulkIndexByScrollFailure provides a builder for the BulkIndexByScrollFailure struct.

func (*BulkIndexByScrollFailureBuilder) Build ¶

Build finalize the chain and returns the BulkIndexByScrollFailure struct

func (*BulkIndexByScrollFailureBuilder) Cause ¶

func (*BulkIndexByScrollFailureBuilder) Id ¶

func (*BulkIndexByScrollFailureBuilder) Index ¶

func (*BulkIndexByScrollFailureBuilder) Status ¶

func (*BulkIndexByScrollFailureBuilder) Type_ ¶

type BulkStats ¶

type BulkStats struct {
	AvgSize           *ByteSize               `json:"avg_size,omitempty"`
	AvgSizeInBytes    int64                   `json:"avg_size_in_bytes"`
	AvgTime           *Duration               `json:"avg_time,omitempty"`
	AvgTimeInMillis   DurationValueUnitMillis `json:"avg_time_in_millis"`
	TotalOperations   int64                   `json:"total_operations"`
	TotalSize         *ByteSize               `json:"total_size,omitempty"`
	TotalSizeInBytes  int64                   `json:"total_size_in_bytes"`
	TotalTime         *Duration               `json:"total_time,omitempty"`
	TotalTimeInMillis DurationValueUnitMillis `json:"total_time_in_millis"`
}

BulkStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L41-L51

type BulkStatsBuilder ¶

type BulkStatsBuilder struct {
	// contains filtered or unexported fields
}

BulkStatsBuilder holds BulkStats struct and provides a builder API.

func NewBulkStatsBuilder ¶

func NewBulkStatsBuilder() *BulkStatsBuilder

NewBulkStats provides a builder for the BulkStats struct.

func (*BulkStatsBuilder) AvgSize ¶

func (rb *BulkStatsBuilder) AvgSize(avgsize *ByteSizeBuilder) *BulkStatsBuilder

func (*BulkStatsBuilder) AvgSizeInBytes ¶

func (rb *BulkStatsBuilder) AvgSizeInBytes(avgsizeinbytes int64) *BulkStatsBuilder

func (*BulkStatsBuilder) AvgTime ¶

func (rb *BulkStatsBuilder) AvgTime(avgtime *DurationBuilder) *BulkStatsBuilder

func (*BulkStatsBuilder) AvgTimeInMillis ¶

func (rb *BulkStatsBuilder) AvgTimeInMillis(avgtimeinmillis *DurationValueUnitMillisBuilder) *BulkStatsBuilder

func (*BulkStatsBuilder) Build ¶

func (rb *BulkStatsBuilder) Build() BulkStats

Build finalize the chain and returns the BulkStats struct

func (*BulkStatsBuilder) TotalOperations ¶

func (rb *BulkStatsBuilder) TotalOperations(totaloperations int64) *BulkStatsBuilder

func (*BulkStatsBuilder) TotalSize ¶

func (rb *BulkStatsBuilder) TotalSize(totalsize *ByteSizeBuilder) *BulkStatsBuilder

func (*BulkStatsBuilder) TotalSizeInBytes ¶

func (rb *BulkStatsBuilder) TotalSizeInBytes(totalsizeinbytes int64) *BulkStatsBuilder

func (*BulkStatsBuilder) TotalTime ¶

func (rb *BulkStatsBuilder) TotalTime(totaltime *DurationBuilder) *BulkStatsBuilder

func (*BulkStatsBuilder) TotalTimeInMillis ¶

func (rb *BulkStatsBuilder) TotalTimeInMillis(totaltimeinmillis *DurationValueUnitMillisBuilder) *BulkStatsBuilder

type ByteNumberProperty ¶

type ByteNumberProperty struct {
	Coerce           *bool                                      `json:"coerce,omitempty"`
	CopyTo           *Fields                                    `json:"copy_to,omitempty"`
	DocValues        *bool                                      `json:"doc_values,omitempty"`
	Dynamic          *dynamicmapping.DynamicMapping             `json:"dynamic,omitempty"`
	Fields           map[PropertyName]Property                  `json:"fields,omitempty"`
	IgnoreAbove      *int                                       `json:"ignore_above,omitempty"`
	IgnoreMalformed  *bool                                      `json:"ignore_malformed,omitempty"`
	Index            *bool                                      `json:"index,omitempty"`
	LocalMetadata    *Metadata                                  `json:"local_metadata,omitempty"`
	Meta             map[string]string                          `json:"meta,omitempty"`
	NullValue        *byte                                      `json:"null_value,omitempty"`
	OnScriptError    *onscripterror.OnScriptError               `json:"on_script_error,omitempty"`
	Properties       map[PropertyName]Property                  `json:"properties,omitempty"`
	Script           *Script                                    `json:"script,omitempty"`
	Similarity       *string                                    `json:"similarity,omitempty"`
	Store            *bool                                      `json:"store,omitempty"`
	TimeSeriesMetric *timeseriesmetrictype.TimeSeriesMetricType `json:"time_series_metric,omitempty"`
	Type             string                                     `json:"type,omitempty"`
}

ByteNumberProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L149-L152

type ByteNumberPropertyBuilder ¶

type ByteNumberPropertyBuilder struct {
	// contains filtered or unexported fields
}

ByteNumberPropertyBuilder holds ByteNumberProperty struct and provides a builder API.

func NewByteNumberPropertyBuilder ¶

func NewByteNumberPropertyBuilder() *ByteNumberPropertyBuilder

NewByteNumberProperty provides a builder for the ByteNumberProperty struct.

func (*ByteNumberPropertyBuilder) Build ¶

Build finalize the chain and returns the ByteNumberProperty struct

func (*ByteNumberPropertyBuilder) Coerce ¶

func (*ByteNumberPropertyBuilder) CopyTo ¶

func (*ByteNumberPropertyBuilder) DocValues ¶

func (rb *ByteNumberPropertyBuilder) DocValues(docvalues bool) *ByteNumberPropertyBuilder

func (*ByteNumberPropertyBuilder) Dynamic ¶

func (*ByteNumberPropertyBuilder) Fields ¶

func (*ByteNumberPropertyBuilder) IgnoreAbove ¶

func (rb *ByteNumberPropertyBuilder) IgnoreAbove(ignoreabove int) *ByteNumberPropertyBuilder

func (*ByteNumberPropertyBuilder) IgnoreMalformed ¶

func (rb *ByteNumberPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *ByteNumberPropertyBuilder

func (*ByteNumberPropertyBuilder) Index ¶

func (*ByteNumberPropertyBuilder) LocalMetadata ¶

func (rb *ByteNumberPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *ByteNumberPropertyBuilder

func (*ByteNumberPropertyBuilder) Meta ¶

func (*ByteNumberPropertyBuilder) NullValue ¶

func (rb *ByteNumberPropertyBuilder) NullValue(nullvalue byte) *ByteNumberPropertyBuilder

func (*ByteNumberPropertyBuilder) OnScriptError ¶

func (*ByteNumberPropertyBuilder) Properties ¶

func (*ByteNumberPropertyBuilder) Script ¶

func (*ByteNumberPropertyBuilder) Similarity ¶

func (rb *ByteNumberPropertyBuilder) Similarity(similarity string) *ByteNumberPropertyBuilder

func (*ByteNumberPropertyBuilder) Store ¶

func (*ByteNumberPropertyBuilder) TimeSeriesMetric ¶

type ByteSizeBuilder ¶

type ByteSizeBuilder struct {
	// contains filtered or unexported fields
}

ByteSizeBuilder holds ByteSize struct and provides a builder API.

func NewByteSizeBuilder ¶

func NewByteSizeBuilder() *ByteSizeBuilder

NewByteSize provides a builder for the ByteSize struct.

func (*ByteSizeBuilder) Build ¶

func (u *ByteSizeBuilder) Build() ByteSize

Build finalize the chain and returns the ByteSize struct

func (*ByteSizeBuilder) Int64 ¶

func (u *ByteSizeBuilder) Int64(int64 int64) *ByteSizeBuilder

func (*ByteSizeBuilder) String ¶

func (u *ByteSizeBuilder) String(string string) *ByteSizeBuilder

type BytesProcessor ¶

type BytesProcessor struct {
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing *bool                `json:"ignore_missing,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
	TargetField   *Field               `json:"target_field,omitempty"`
}

BytesProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L122-L126

type BytesProcessorBuilder ¶

type BytesProcessorBuilder struct {
	// contains filtered or unexported fields
}

BytesProcessorBuilder holds BytesProcessor struct and provides a builder API.

func NewBytesProcessorBuilder ¶

func NewBytesProcessorBuilder() *BytesProcessorBuilder

NewBytesProcessor provides a builder for the BytesProcessor struct.

func (*BytesProcessorBuilder) Build ¶

Build finalize the chain and returns the BytesProcessor struct

func (*BytesProcessorBuilder) Field ¶

func (*BytesProcessorBuilder) If_ ¶

func (*BytesProcessorBuilder) IgnoreFailure ¶

func (rb *BytesProcessorBuilder) IgnoreFailure(ignorefailure bool) *BytesProcessorBuilder

func (*BytesProcessorBuilder) IgnoreMissing ¶

func (rb *BytesProcessorBuilder) IgnoreMissing(ignoremissing bool) *BytesProcessorBuilder

func (*BytesProcessorBuilder) OnFailure ¶

func (*BytesProcessorBuilder) Tag ¶

func (*BytesProcessorBuilder) TargetField ¶

func (rb *BytesProcessorBuilder) TargetField(targetfield Field) *BytesProcessorBuilder

type CacheQueriesBuilder ¶

type CacheQueriesBuilder struct {
	// contains filtered or unexported fields
}

CacheQueriesBuilder holds CacheQueries struct and provides a builder API.

func NewCacheQueriesBuilder ¶

func NewCacheQueriesBuilder() *CacheQueriesBuilder

NewCacheQueries provides a builder for the CacheQueries struct.

func (*CacheQueriesBuilder) Build ¶

func (rb *CacheQueriesBuilder) Build() CacheQueries

Build finalize the chain and returns the CacheQueries struct

func (*CacheQueriesBuilder) Enabled ¶

func (rb *CacheQueriesBuilder) Enabled(enabled bool) *CacheQueriesBuilder

type CacheStats ¶

type CacheStats struct {
	Count     int `json:"count"`
	Evictions int `json:"evictions"`
	Hits      int `json:"hits"`
	Misses    int `json:"misses"`
	NodeId    Id  `json:"node_id"`
}

CacheStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/enrich/stats/types.ts#L37-L43

type CacheStatsBuilder ¶

type CacheStatsBuilder struct {
	// contains filtered or unexported fields
}

CacheStatsBuilder holds CacheStats struct and provides a builder API.

func NewCacheStatsBuilder ¶

func NewCacheStatsBuilder() *CacheStatsBuilder

NewCacheStats provides a builder for the CacheStats struct.

func (*CacheStatsBuilder) Build ¶

func (rb *CacheStatsBuilder) Build() CacheStats

Build finalize the chain and returns the CacheStats struct

func (*CacheStatsBuilder) Count ¶

func (rb *CacheStatsBuilder) Count(count int) *CacheStatsBuilder

func (*CacheStatsBuilder) Evictions ¶

func (rb *CacheStatsBuilder) Evictions(evictions int) *CacheStatsBuilder

func (*CacheStatsBuilder) Hits ¶

func (rb *CacheStatsBuilder) Hits(hits int) *CacheStatsBuilder

func (*CacheStatsBuilder) Misses ¶

func (rb *CacheStatsBuilder) Misses(misses int) *CacheStatsBuilder

func (*CacheStatsBuilder) NodeId ¶

func (rb *CacheStatsBuilder) NodeId(nodeid Id) *CacheStatsBuilder

type Calendar ¶

type Calendar struct {
	// CalendarId A string that uniquely identifies a calendar.
	CalendarId Id `json:"calendar_id"`
	// Description A description of the calendar.
	Description *string `json:"description,omitempty"`
	// JobIds An array of anomaly detection job identifiers.
	JobIds []Id `json:"job_ids"`
}

Calendar type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/get_calendars/types.ts#L22-L29

type CalendarBuilder ¶

type CalendarBuilder struct {
	// contains filtered or unexported fields
}

CalendarBuilder holds Calendar struct and provides a builder API.

func NewCalendarBuilder ¶

func NewCalendarBuilder() *CalendarBuilder

NewCalendar provides a builder for the Calendar struct.

func (*CalendarBuilder) Build ¶

func (rb *CalendarBuilder) Build() Calendar

Build finalize the chain and returns the Calendar struct

func (*CalendarBuilder) CalendarId ¶

func (rb *CalendarBuilder) CalendarId(calendarid Id) *CalendarBuilder

func (*CalendarBuilder) Description ¶

func (rb *CalendarBuilder) Description(description string) *CalendarBuilder

func (*CalendarBuilder) JobIds ¶

func (rb *CalendarBuilder) JobIds(job_ids ...Id) *CalendarBuilder

type CalendarEvent ¶

type CalendarEvent struct {
	// CalendarId A string that uniquely identifies a calendar.
	CalendarId *Id `json:"calendar_id,omitempty"`
	// Description A description of the scheduled event.
	Description string `json:"description"`
	// EndTime The timestamp for the end of the scheduled event in milliseconds since the
	// epoch or ISO 8601 format.
	EndTime DateTime `json:"end_time"`
	EventId *Id      `json:"event_id,omitempty"`
	// StartTime The timestamp for the beginning of the scheduled event in milliseconds since
	// the epoch or ISO 8601 format.
	StartTime DateTime `json:"start_time"`
}

CalendarEvent type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/CalendarEvent.ts#L23-L33

type CalendarEventBuilder ¶

type CalendarEventBuilder struct {
	// contains filtered or unexported fields
}

CalendarEventBuilder holds CalendarEvent struct and provides a builder API.

func NewCalendarEventBuilder ¶

func NewCalendarEventBuilder() *CalendarEventBuilder

NewCalendarEvent provides a builder for the CalendarEvent struct.

func (*CalendarEventBuilder) Build ¶

func (rb *CalendarEventBuilder) Build() CalendarEvent

Build finalize the chain and returns the CalendarEvent struct

func (*CalendarEventBuilder) CalendarId ¶

func (rb *CalendarEventBuilder) CalendarId(calendarid Id) *CalendarEventBuilder

func (*CalendarEventBuilder) Description ¶

func (rb *CalendarEventBuilder) Description(description string) *CalendarEventBuilder

func (*CalendarEventBuilder) EndTime ¶

func (*CalendarEventBuilder) EventId ¶

func (rb *CalendarEventBuilder) EventId(eventid Id) *CalendarEventBuilder

func (*CalendarEventBuilder) StartTime ¶

func (rb *CalendarEventBuilder) StartTime(starttime *DateTimeBuilder) *CalendarEventBuilder

type CardinalityAggregateBuilder ¶

type CardinalityAggregateBuilder struct {
	// contains filtered or unexported fields
}

CardinalityAggregateBuilder holds CardinalityAggregate struct and provides a builder API.

func NewCardinalityAggregateBuilder ¶

func NewCardinalityAggregateBuilder() *CardinalityAggregateBuilder

NewCardinalityAggregate provides a builder for the CardinalityAggregate struct.

func (*CardinalityAggregateBuilder) Build ¶

Build finalize the chain and returns the CardinalityAggregate struct

func (*CardinalityAggregateBuilder) Meta ¶

func (*CardinalityAggregateBuilder) Value ¶

type CardinalityAggregation ¶

type CardinalityAggregation struct {
	Field              *Field   `json:"field,omitempty"`
	Missing            *Missing `json:"missing,omitempty"`
	PrecisionThreshold *int     `json:"precision_threshold,omitempty"`
	Rehash             *bool    `json:"rehash,omitempty"`
	Script             *Script  `json:"script,omitempty"`
}

CardinalityAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L54-L57

type CardinalityAggregationBuilder ¶

type CardinalityAggregationBuilder struct {
	// contains filtered or unexported fields
}

CardinalityAggregationBuilder holds CardinalityAggregation struct and provides a builder API.

func NewCardinalityAggregationBuilder ¶

func NewCardinalityAggregationBuilder() *CardinalityAggregationBuilder

NewCardinalityAggregation provides a builder for the CardinalityAggregation struct.

func (*CardinalityAggregationBuilder) Build ¶

Build finalize the chain and returns the CardinalityAggregation struct

func (*CardinalityAggregationBuilder) Field ¶

func (*CardinalityAggregationBuilder) Missing ¶

func (*CardinalityAggregationBuilder) PrecisionThreshold ¶

func (rb *CardinalityAggregationBuilder) PrecisionThreshold(precisionthreshold int) *CardinalityAggregationBuilder

func (*CardinalityAggregationBuilder) Rehash ¶

func (*CardinalityAggregationBuilder) Script ¶

type CatAnonalyDetectorColumnsBuilder ¶

type CatAnonalyDetectorColumnsBuilder struct {
	// contains filtered or unexported fields
}

CatAnonalyDetectorColumnsBuilder holds CatAnonalyDetectorColumns struct and provides a builder API.

func NewCatAnonalyDetectorColumnsBuilder ¶

func NewCatAnonalyDetectorColumnsBuilder() *CatAnonalyDetectorColumnsBuilder

NewCatAnonalyDetectorColumns provides a builder for the CatAnonalyDetectorColumns struct.

func (*CatAnonalyDetectorColumnsBuilder) Build ¶

Build finalize the chain and returns the CatAnonalyDetectorColumns struct

func (*CatAnonalyDetectorColumnsBuilder) CatAnonalyDetectorColumns ¶

type CatDatafeedColumnsBuilder ¶

type CatDatafeedColumnsBuilder struct {
	// contains filtered or unexported fields
}

CatDatafeedColumnsBuilder holds CatDatafeedColumns struct and provides a builder API.

func NewCatDatafeedColumnsBuilder ¶

func NewCatDatafeedColumnsBuilder() *CatDatafeedColumnsBuilder

NewCatDatafeedColumns provides a builder for the CatDatafeedColumns struct.

func (*CatDatafeedColumnsBuilder) Build ¶

Build finalize the chain and returns the CatDatafeedColumns struct

func (*CatDatafeedColumnsBuilder) CatDatafeedColumns ¶

type CatDfaColumnsBuilder ¶

type CatDfaColumnsBuilder struct {
	// contains filtered or unexported fields
}

CatDfaColumnsBuilder holds CatDfaColumns struct and provides a builder API.

func NewCatDfaColumnsBuilder ¶

func NewCatDfaColumnsBuilder() *CatDfaColumnsBuilder

NewCatDfaColumns provides a builder for the CatDfaColumns struct.

func (*CatDfaColumnsBuilder) Build ¶

Build finalize the chain and returns the CatDfaColumns struct

func (*CatDfaColumnsBuilder) CatDfaColumns ¶

func (b *CatDfaColumnsBuilder) CatDfaColumns(value CatDfaColumns) *CatDfaColumnsBuilder

type CatRequestBaseBuilder ¶

type CatRequestBaseBuilder struct {
	// contains filtered or unexported fields
}

CatRequestBaseBuilder holds CatRequestBase struct and provides a builder API.

func NewCatRequestBaseBuilder ¶

func NewCatRequestBaseBuilder() *CatRequestBaseBuilder

NewCatRequestBase provides a builder for the CatRequestBase struct.

func (*CatRequestBaseBuilder) Build ¶

Build finalize the chain and returns the CatRequestBase struct

type CatTrainedModelsColumnsBuilder ¶

type CatTrainedModelsColumnsBuilder struct {
	// contains filtered or unexported fields
}

CatTrainedModelsColumnsBuilder holds CatTrainedModelsColumns struct and provides a builder API.

func NewCatTrainedModelsColumnsBuilder ¶

func NewCatTrainedModelsColumnsBuilder() *CatTrainedModelsColumnsBuilder

NewCatTrainedModelsColumns provides a builder for the CatTrainedModelsColumns struct.

func (*CatTrainedModelsColumnsBuilder) Build ¶

Build finalize the chain and returns the CatTrainedModelsColumns struct

func (*CatTrainedModelsColumnsBuilder) CatTrainedModelsColumns ¶

type CatTransformColumnsBuilder ¶

type CatTransformColumnsBuilder struct {
	// contains filtered or unexported fields
}

CatTransformColumnsBuilder holds CatTransformColumns struct and provides a builder API.

func NewCatTransformColumnsBuilder ¶

func NewCatTransformColumnsBuilder() *CatTransformColumnsBuilder

NewCatTransformColumns provides a builder for the CatTransformColumns struct.

func (*CatTransformColumnsBuilder) Build ¶

Build finalize the chain and returns the CatTransformColumns struct

func (*CatTransformColumnsBuilder) CatTransformColumns ¶

type CategorizationAnalyzer ¶

type CategorizationAnalyzer interface{}

CategorizationAnalyzer holds the union for the following types:

CategorizationAnalyzerDefinition
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Analysis.ts#L124-L125

type CategorizationAnalyzerBuilder ¶

type CategorizationAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

CategorizationAnalyzerBuilder holds CategorizationAnalyzer struct and provides a builder API.

func NewCategorizationAnalyzerBuilder ¶

func NewCategorizationAnalyzerBuilder() *CategorizationAnalyzerBuilder

NewCategorizationAnalyzer provides a builder for the CategorizationAnalyzer struct.

func (*CategorizationAnalyzerBuilder) Build ¶

Build finalize the chain and returns the CategorizationAnalyzer struct

func (*CategorizationAnalyzerBuilder) CategorizationAnalyzerDefinition ¶

func (u *CategorizationAnalyzerBuilder) CategorizationAnalyzerDefinition(categorizationanalyzerdefinition *CategorizationAnalyzerDefinitionBuilder) *CategorizationAnalyzerBuilder

func (*CategorizationAnalyzerBuilder) String ¶

type CategorizationAnalyzerDefinition ¶

type CategorizationAnalyzerDefinition struct {
	// CharFilter One or more character filters. In addition to the built-in character filters,
	// other plugins can provide more character filters. If this property is not
	// specified, no character filters are applied prior to categorization. If you
	// are customizing some other aspect of the analyzer and you need to achieve the
	// equivalent of `categorization_filters` (which are not permitted when some
	// other aspect of the analyzer is customized), add them here as pattern replace
	// character filters.
	CharFilter []CharFilter `json:"char_filter,omitempty"`
	// Filter One or more token filters. In addition to the built-in token filters, other
	// plugins can provide more token filters. If this property is not specified, no
	// token filters are applied prior to categorization.
	Filter []TokenFilter `json:"filter,omitempty"`
	// Tokenizer The name or definition of the tokenizer to use after character filters are
	// applied. This property is compulsory if `categorization_analyzer` is
	// specified as an object. Machine learning provides a tokenizer called
	// `ml_standard` that tokenizes in a way that has been determined to produce
	// good categorization results on a variety of log file formats for logs in
	// English. If you want to use that tokenizer but change the character or token
	// filters, specify "tokenizer": "ml_standard" in your
	// `categorization_analyzer`. Additionally, the `ml_classic` tokenizer is
	// available, which tokenizes in the same way as the non-customizable tokenizer
	// in old versions of the product (before 6.2). `ml_classic` was the default
	// categorization tokenizer in versions 6.2 to 7.13, so if you need
	// categorization identical to the default for jobs created in these versions,
	// specify "tokenizer": "ml_classic" in your `categorization_analyzer`.
	Tokenizer *Tokenizer `json:"tokenizer,omitempty"`
}

CategorizationAnalyzerDefinition type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Analysis.ts#L127-L140

type CategorizationAnalyzerDefinitionBuilder ¶

type CategorizationAnalyzerDefinitionBuilder struct {
	// contains filtered or unexported fields
}

CategorizationAnalyzerDefinitionBuilder holds CategorizationAnalyzerDefinition struct and provides a builder API.

func NewCategorizationAnalyzerDefinitionBuilder ¶

func NewCategorizationAnalyzerDefinitionBuilder() *CategorizationAnalyzerDefinitionBuilder

NewCategorizationAnalyzerDefinition provides a builder for the CategorizationAnalyzerDefinition struct.

func (*CategorizationAnalyzerDefinitionBuilder) Build ¶

Build finalize the chain and returns the CategorizationAnalyzerDefinition struct

func (*CategorizationAnalyzerDefinitionBuilder) CharFilter ¶

func (*CategorizationAnalyzerDefinitionBuilder) Filter ¶

func (*CategorizationAnalyzerDefinitionBuilder) Tokenizer ¶

type CategorizeTextAggregation ¶

type CategorizeTextAggregation struct {
	// CategorizationAnalyzer The categorization analyzer specifies how the text is analyzed and tokenized
	// before being categorized.
	// The syntax is very similar to that used to define the analyzer in the
	// [Analyze
	// endpoint](https://www.elastic.co/guide/en/elasticsearch/reference/8.0/indices-analyze.html).
	// This property
	// cannot be used at the same time as categorization_filters.
	CategorizationAnalyzer *CategorizeTextAnalyzer `json:"categorization_analyzer,omitempty"`
	// CategorizationFilters This property expects an array of regular expressions. The expressions are
	// used to filter out matching
	// sequences from the categorization field values. You can use this
	// functionality to fine tune the categorization
	// by excluding sequences from consideration when categories are defined. For
	// example, you can exclude SQL
	// statements that appear in your log files. This property cannot be used at the
	// same time as categorization_analyzer.
	// If you only want to define simple regular expression filters that are applied
	// prior to tokenization, setting
	// this property is the easiest method. If you also want to customize the
	// tokenizer or post-tokenization filtering,
	// use the categorization_analyzer property instead and include the filters as
	// pattern_replace character filters.
	CategorizationFilters []string `json:"categorization_filters,omitempty"`
	// Field The semi-structured text field to categorize.
	Field Field `json:"field"`
	// MaxMatchedTokens The maximum number of token positions to match on before attempting to merge
	// categories. Larger
	// values will use more memory and create narrower categories. Max allowed value
	// is 100.
	MaxMatchedTokens *int `json:"max_matched_tokens,omitempty"`
	// MaxUniqueTokens The maximum number of unique tokens at any position up to max_matched_tokens.
	// Must be larger than 1.
	// Smaller values use less memory and create fewer categories. Larger values
	// will use more memory and
	// create narrower categories. Max allowed value is 100.
	MaxUniqueTokens *int      `json:"max_unique_tokens,omitempty"`
	Meta            *Metadata `json:"meta,omitempty"`
	// MinDocCount The minimum number of documents for a bucket to be returned to the results.
	MinDocCount *int    `json:"min_doc_count,omitempty"`
	Name        *string `json:"name,omitempty"`
	// ShardMinDocCount The minimum number of documents for a bucket to be returned from the shard
	// before merging.
	ShardMinDocCount *int `json:"shard_min_doc_count,omitempty"`
	// ShardSize The number of categorization buckets to return from each shard before merging
	// all the results.
	ShardSize *int `json:"shard_size,omitempty"`
	// SimilarityThreshold The minimum percentage of tokens that must match for text to be added to the
	// category bucket. Must
	// be between 1 and 100. The larger the value the narrower the categories.
	// Larger values will increase memory
	// usage and create narrower categories.
	SimilarityThreshold *int `json:"similarity_threshold,omitempty"`
	// Size The number of buckets to return.
	Size *int `json:"size,omitempty"`
}

CategorizeTextAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L433-L497

type CategorizeTextAggregationBuilder ¶

type CategorizeTextAggregationBuilder struct {
	// contains filtered or unexported fields
}

CategorizeTextAggregationBuilder holds CategorizeTextAggregation struct and provides a builder API.

func NewCategorizeTextAggregationBuilder ¶

func NewCategorizeTextAggregationBuilder() *CategorizeTextAggregationBuilder

NewCategorizeTextAggregation provides a builder for the CategorizeTextAggregation struct.

func (*CategorizeTextAggregationBuilder) Build ¶

Build finalize the chain and returns the CategorizeTextAggregation struct

func (*CategorizeTextAggregationBuilder) CategorizationAnalyzer ¶

func (rb *CategorizeTextAggregationBuilder) CategorizationAnalyzer(categorizationanalyzer *CategorizeTextAnalyzerBuilder) *CategorizeTextAggregationBuilder

func (*CategorizeTextAggregationBuilder) CategorizationFilters ¶

func (rb *CategorizeTextAggregationBuilder) CategorizationFilters(categorization_filters ...string) *CategorizeTextAggregationBuilder

func (*CategorizeTextAggregationBuilder) Field ¶

func (*CategorizeTextAggregationBuilder) MaxMatchedTokens ¶

func (rb *CategorizeTextAggregationBuilder) MaxMatchedTokens(maxmatchedtokens int) *CategorizeTextAggregationBuilder

func (*CategorizeTextAggregationBuilder) MaxUniqueTokens ¶

func (rb *CategorizeTextAggregationBuilder) MaxUniqueTokens(maxuniquetokens int) *CategorizeTextAggregationBuilder

func (*CategorizeTextAggregationBuilder) Meta ¶

func (*CategorizeTextAggregationBuilder) MinDocCount ¶

func (*CategorizeTextAggregationBuilder) Name ¶

func (*CategorizeTextAggregationBuilder) ShardMinDocCount ¶

func (rb *CategorizeTextAggregationBuilder) ShardMinDocCount(shardmindoccount int) *CategorizeTextAggregationBuilder

func (*CategorizeTextAggregationBuilder) ShardSize ¶

func (*CategorizeTextAggregationBuilder) SimilarityThreshold ¶

func (rb *CategorizeTextAggregationBuilder) SimilarityThreshold(similaritythreshold int) *CategorizeTextAggregationBuilder

func (*CategorizeTextAggregationBuilder) Size ¶

type CategorizeTextAnalyzer ¶

type CategorizeTextAnalyzer interface{}

CategorizeTextAnalyzer holds the union for the following types:

CustomCategorizeTextAnalyzer
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L499-L502

type CategorizeTextAnalyzerBuilder ¶

type CategorizeTextAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

CategorizeTextAnalyzerBuilder holds CategorizeTextAnalyzer struct and provides a builder API.

func NewCategorizeTextAnalyzerBuilder ¶

func NewCategorizeTextAnalyzerBuilder() *CategorizeTextAnalyzerBuilder

NewCategorizeTextAnalyzer provides a builder for the CategorizeTextAnalyzer struct.

func (*CategorizeTextAnalyzerBuilder) Build ¶

Build finalize the chain and returns the CategorizeTextAnalyzer struct

func (*CategorizeTextAnalyzerBuilder) CustomCategorizeTextAnalyzer ¶

func (u *CategorizeTextAnalyzerBuilder) CustomCategorizeTextAnalyzer(customcategorizetextanalyzer *CustomCategorizeTextAnalyzerBuilder) *CategorizeTextAnalyzerBuilder

func (*CategorizeTextAnalyzerBuilder) String ¶

type Category ¶

type Category struct {
	// CategoryId A unique identifier for the category. category_id is unique at the job level,
	// even when per-partition categorization is enabled.
	CategoryId uint64 `json:"category_id"`
	// Examples A list of examples of actual values that matched the category.
	Examples []string `json:"examples"`
	// GrokPattern [experimental] A Grok pattern that could be used in Logstash or an ingest
	// pipeline to extract fields from messages that match the category. This field
	// is experimental and may be changed or removed in a future release. The Grok
	// patterns that are found are not optimal, but are often a good starting point
	// for manual tweaking.
	GrokPattern *string `json:"grok_pattern,omitempty"`
	// JobId Identifier for the anomaly detection job.
	JobId Id `json:"job_id"`
	// MaxMatchingLength The maximum length of the fields that matched the category. The value is
	// increased by 10% to enable matching for similar fields that have not been
	// analyzed.
	MaxMatchingLength uint64 `json:"max_matching_length"`
	Mlcategory        string `json:"mlcategory"`
	// NumMatches The number of messages that have been matched by this category. This is only
	// guaranteed to have the latest accurate count after a job _flush or _close
	NumMatches *int64  `json:"num_matches,omitempty"`
	P          *string `json:"p,omitempty"`
	// PartitionFieldName If per-partition categorization is enabled, this property identifies the
	// field used to segment the categorization. It is not present when
	// per-partition categorization is disabled.
	PartitionFieldName *string `json:"partition_field_name,omitempty"`
	// PartitionFieldValue If per-partition categorization is enabled, this property identifies the
	// value of the partition_field_name for the category. It is not present when
	// per-partition categorization is disabled.
	PartitionFieldValue *string `json:"partition_field_value,omitempty"`
	// PreferredToCategories A list of category_id entries that this current category encompasses. Any new
	// message that is processed by the categorizer will match against this category
	// and not any of the categories in this list. This is only guaranteed to have
	// the latest accurate list of categories after a job _flush or _close
	PreferredToCategories []Id `json:"preferred_to_categories,omitempty"`
	// Regex A regular expression that is used to search for values that match the
	// category.
	Regex      string `json:"regex"`
	ResultType string `json:"result_type"`
	// Terms A space separated list of the common tokens that are matched in values of the
	// category.
	Terms string `json:"terms"`
}

Category type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Category.ts#L23-L49

type CategoryBuilder ¶

type CategoryBuilder struct {
	// contains filtered or unexported fields
}

CategoryBuilder holds Category struct and provides a builder API.

func NewCategoryBuilder ¶

func NewCategoryBuilder() *CategoryBuilder

NewCategory provides a builder for the Category struct.

func (*CategoryBuilder) Build ¶

func (rb *CategoryBuilder) Build() Category

Build finalize the chain and returns the Category struct

func (*CategoryBuilder) CategoryId ¶

func (rb *CategoryBuilder) CategoryId(categoryid uint64) *CategoryBuilder

func (*CategoryBuilder) Examples ¶

func (rb *CategoryBuilder) Examples(examples ...string) *CategoryBuilder

func (*CategoryBuilder) GrokPattern ¶

func (rb *CategoryBuilder) GrokPattern(grokpattern string) *CategoryBuilder

func (*CategoryBuilder) JobId ¶

func (rb *CategoryBuilder) JobId(jobid Id) *CategoryBuilder

func (*CategoryBuilder) MaxMatchingLength ¶

func (rb *CategoryBuilder) MaxMatchingLength(maxmatchinglength uint64) *CategoryBuilder

func (*CategoryBuilder) Mlcategory ¶

func (rb *CategoryBuilder) Mlcategory(mlcategory string) *CategoryBuilder

func (*CategoryBuilder) NumMatches ¶

func (rb *CategoryBuilder) NumMatches(nummatches int64) *CategoryBuilder

func (*CategoryBuilder) P ¶

func (*CategoryBuilder) PartitionFieldName ¶

func (rb *CategoryBuilder) PartitionFieldName(partitionfieldname string) *CategoryBuilder

func (*CategoryBuilder) PartitionFieldValue ¶

func (rb *CategoryBuilder) PartitionFieldValue(partitionfieldvalue string) *CategoryBuilder

func (*CategoryBuilder) PreferredToCategories ¶

func (rb *CategoryBuilder) PreferredToCategories(preferred_to_categories ...Id) *CategoryBuilder

func (*CategoryBuilder) Regex ¶

func (rb *CategoryBuilder) Regex(regex string) *CategoryBuilder

func (*CategoryBuilder) ResultType ¶

func (rb *CategoryBuilder) ResultType(resulttype string) *CategoryBuilder

func (*CategoryBuilder) Terms ¶

func (rb *CategoryBuilder) Terms(terms string) *CategoryBuilder

type CategoryIdBuilder ¶

type CategoryIdBuilder struct {
	// contains filtered or unexported fields
}

CategoryIdBuilder holds CategoryId struct and provides a builder API.

func NewCategoryIdBuilder ¶

func NewCategoryIdBuilder() *CategoryIdBuilder

NewCategoryId provides a builder for the CategoryId struct.

func (*CategoryIdBuilder) Build ¶

func (b *CategoryIdBuilder) Build() CategoryId

Build finalize the chain and returns the CategoryId struct

func (*CategoryIdBuilder) CategoryId ¶

func (b *CategoryIdBuilder) CategoryId(value CategoryId) *CategoryIdBuilder

type Ccr ¶

type Ccr struct {
	AutoFollowPatternsCount int  `json:"auto_follow_patterns_count"`
	Available               bool `json:"available"`
	Enabled                 bool `json:"enabled"`
	FollowerIndicesCount    int  `json:"follower_indices_count"`
}

Ccr type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L317-L320

type CcrBuilder ¶

type CcrBuilder struct {
	// contains filtered or unexported fields
}

CcrBuilder holds Ccr struct and provides a builder API.

func NewCcrBuilder ¶

func NewCcrBuilder() *CcrBuilder

NewCcr provides a builder for the Ccr struct.

func (*CcrBuilder) AutoFollowPatternsCount ¶

func (rb *CcrBuilder) AutoFollowPatternsCount(autofollowpatternscount int) *CcrBuilder

func (*CcrBuilder) Available ¶

func (rb *CcrBuilder) Available(available bool) *CcrBuilder

func (*CcrBuilder) Build ¶

func (rb *CcrBuilder) Build() Ccr

Build finalize the chain and returns the Ccr struct

func (*CcrBuilder) Enabled ¶

func (rb *CcrBuilder) Enabled(enabled bool) *CcrBuilder

func (*CcrBuilder) FollowerIndicesCount ¶

func (rb *CcrBuilder) FollowerIndicesCount(followerindicescount int) *CcrBuilder

type CertificateInformation ¶

type CertificateInformation struct {
	Alias         string   `json:"alias,omitempty"`
	Expiry        DateTime `json:"expiry"`
	Format        string   `json:"format"`
	HasPrivateKey bool     `json:"has_private_key"`
	Path          string   `json:"path"`
	SerialNumber  string   `json:"serial_number"`
	SubjectDn     string   `json:"subject_dn"`
}

CertificateInformation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ssl/certificates/types.ts#L22-L30

type CertificateInformationBuilder ¶

type CertificateInformationBuilder struct {
	// contains filtered or unexported fields
}

CertificateInformationBuilder holds CertificateInformation struct and provides a builder API.

func NewCertificateInformationBuilder ¶

func NewCertificateInformationBuilder() *CertificateInformationBuilder

NewCertificateInformation provides a builder for the CertificateInformation struct.

func (*CertificateInformationBuilder) Alias ¶

func (*CertificateInformationBuilder) Build ¶

Build finalize the chain and returns the CertificateInformation struct

func (*CertificateInformationBuilder) Expiry ¶

func (*CertificateInformationBuilder) Format ¶

func (*CertificateInformationBuilder) HasPrivateKey ¶

func (rb *CertificateInformationBuilder) HasPrivateKey(hasprivatekey bool) *CertificateInformationBuilder

func (*CertificateInformationBuilder) Path ¶

func (*CertificateInformationBuilder) SerialNumber ¶

func (rb *CertificateInformationBuilder) SerialNumber(serialnumber string) *CertificateInformationBuilder

func (*CertificateInformationBuilder) SubjectDn ¶

type Cgroup ¶

type Cgroup struct {
	Cpu     *CgroupCpu    `json:"cpu,omitempty"`
	Cpuacct *CpuAcct      `json:"cpuacct,omitempty"`
	Memory  *CgroupMemory `json:"memory,omitempty"`
}

Cgroup type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L182-L186

type CgroupBuilder ¶

type CgroupBuilder struct {
	// contains filtered or unexported fields
}

CgroupBuilder holds Cgroup struct and provides a builder API.

func NewCgroupBuilder ¶

func NewCgroupBuilder() *CgroupBuilder

NewCgroup provides a builder for the Cgroup struct.

func (*CgroupBuilder) Build ¶

func (rb *CgroupBuilder) Build() Cgroup

Build finalize the chain and returns the Cgroup struct

func (*CgroupBuilder) Cpu ¶

func (*CgroupBuilder) Cpuacct ¶

func (rb *CgroupBuilder) Cpuacct(cpuacct *CpuAcctBuilder) *CgroupBuilder

func (*CgroupBuilder) Memory ¶

func (rb *CgroupBuilder) Memory(memory *CgroupMemoryBuilder) *CgroupBuilder

type CgroupCpu ¶

type CgroupCpu struct {
	CfsPeriodMicros *int           `json:"cfs_period_micros,omitempty"`
	CfsQuotaMicros  *int           `json:"cfs_quota_micros,omitempty"`
	ControlGroup    *string        `json:"control_group,omitempty"`
	Stat            *CgroupCpuStat `json:"stat,omitempty"`
}

CgroupCpu type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L193-L198

type CgroupCpuBuilder ¶

type CgroupCpuBuilder struct {
	// contains filtered or unexported fields
}

CgroupCpuBuilder holds CgroupCpu struct and provides a builder API.

func NewCgroupCpuBuilder ¶

func NewCgroupCpuBuilder() *CgroupCpuBuilder

NewCgroupCpu provides a builder for the CgroupCpu struct.

func (*CgroupCpuBuilder) Build ¶

func (rb *CgroupCpuBuilder) Build() CgroupCpu

Build finalize the chain and returns the CgroupCpu struct

func (*CgroupCpuBuilder) CfsPeriodMicros ¶

func (rb *CgroupCpuBuilder) CfsPeriodMicros(cfsperiodmicros int) *CgroupCpuBuilder

func (*CgroupCpuBuilder) CfsQuotaMicros ¶

func (rb *CgroupCpuBuilder) CfsQuotaMicros(cfsquotamicros int) *CgroupCpuBuilder

func (*CgroupCpuBuilder) ControlGroup ¶

func (rb *CgroupCpuBuilder) ControlGroup(controlgroup string) *CgroupCpuBuilder

func (*CgroupCpuBuilder) Stat ¶

type CgroupCpuStat ¶

type CgroupCpuStat struct {
	NumberOfElapsedPeriods *int64                  `json:"number_of_elapsed_periods,omitempty"`
	NumberOfTimesThrottled *int64                  `json:"number_of_times_throttled,omitempty"`
	TimeThrottledNanos     *DurationValueUnitNanos `json:"time_throttled_nanos,omitempty"`
}

CgroupCpuStat type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L200-L204

type CgroupCpuStatBuilder ¶

type CgroupCpuStatBuilder struct {
	// contains filtered or unexported fields
}

CgroupCpuStatBuilder holds CgroupCpuStat struct and provides a builder API.

func NewCgroupCpuStatBuilder ¶

func NewCgroupCpuStatBuilder() *CgroupCpuStatBuilder

NewCgroupCpuStat provides a builder for the CgroupCpuStat struct.

func (*CgroupCpuStatBuilder) Build ¶

func (rb *CgroupCpuStatBuilder) Build() CgroupCpuStat

Build finalize the chain and returns the CgroupCpuStat struct

func (*CgroupCpuStatBuilder) NumberOfElapsedPeriods ¶

func (rb *CgroupCpuStatBuilder) NumberOfElapsedPeriods(numberofelapsedperiods int64) *CgroupCpuStatBuilder

func (*CgroupCpuStatBuilder) NumberOfTimesThrottled ¶

func (rb *CgroupCpuStatBuilder) NumberOfTimesThrottled(numberoftimesthrottled int64) *CgroupCpuStatBuilder

func (*CgroupCpuStatBuilder) TimeThrottledNanos ¶

func (rb *CgroupCpuStatBuilder) TimeThrottledNanos(timethrottlednanos *DurationValueUnitNanosBuilder) *CgroupCpuStatBuilder

type CgroupMemory ¶

type CgroupMemory struct {
	ControlGroup *string `json:"control_group,omitempty"`
	LimitInBytes *string `json:"limit_in_bytes,omitempty"`
	UsageInBytes *string `json:"usage_in_bytes,omitempty"`
}

CgroupMemory type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L206-L210

type CgroupMemoryBuilder ¶

type CgroupMemoryBuilder struct {
	// contains filtered or unexported fields
}

CgroupMemoryBuilder holds CgroupMemory struct and provides a builder API.

func NewCgroupMemoryBuilder ¶

func NewCgroupMemoryBuilder() *CgroupMemoryBuilder

NewCgroupMemory provides a builder for the CgroupMemory struct.

func (*CgroupMemoryBuilder) Build ¶

func (rb *CgroupMemoryBuilder) Build() CgroupMemory

Build finalize the chain and returns the CgroupMemory struct

func (*CgroupMemoryBuilder) ControlGroup ¶

func (rb *CgroupMemoryBuilder) ControlGroup(controlgroup string) *CgroupMemoryBuilder

func (*CgroupMemoryBuilder) LimitInBytes ¶

func (rb *CgroupMemoryBuilder) LimitInBytes(limitinbytes string) *CgroupMemoryBuilder

func (*CgroupMemoryBuilder) UsageInBytes ¶

func (rb *CgroupMemoryBuilder) UsageInBytes(usageinbytes string) *CgroupMemoryBuilder

type ChainInputBuilder ¶

type ChainInputBuilder struct {
	// contains filtered or unexported fields
}

ChainInputBuilder holds ChainInput struct and provides a builder API.

func NewChainInputBuilder ¶

func NewChainInputBuilder() *ChainInputBuilder

NewChainInput provides a builder for the ChainInput struct.

func (*ChainInputBuilder) Build ¶

func (rb *ChainInputBuilder) Build() ChainInput

Build finalize the chain and returns the ChainInput struct

func (*ChainInputBuilder) Inputs ¶

type CharFilter ¶

type CharFilter interface{}

CharFilter holds the union for the following types:

CharFilterDefinition
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/char_filters.ts#L28-L30

type CharFilterBaseBuilder ¶

type CharFilterBaseBuilder struct {
	// contains filtered or unexported fields
}

CharFilterBaseBuilder holds CharFilterBase struct and provides a builder API.

func NewCharFilterBaseBuilder ¶

func NewCharFilterBaseBuilder() *CharFilterBaseBuilder

NewCharFilterBase provides a builder for the CharFilterBase struct.

func (*CharFilterBaseBuilder) Build ¶

Build finalize the chain and returns the CharFilterBase struct

func (*CharFilterBaseBuilder) Version ¶

type CharFilterBuilder ¶

type CharFilterBuilder struct {
	// contains filtered or unexported fields
}

CharFilterBuilder holds CharFilter struct and provides a builder API.

func NewCharFilterBuilder ¶

func NewCharFilterBuilder() *CharFilterBuilder

NewCharFilter provides a builder for the CharFilter struct.

func (*CharFilterBuilder) Build ¶

func (u *CharFilterBuilder) Build() CharFilter

Build finalize the chain and returns the CharFilter struct

func (*CharFilterBuilder) CharFilterDefinition ¶

func (u *CharFilterBuilder) CharFilterDefinition(charfilterdefinition *CharFilterDefinitionBuilder) *CharFilterBuilder

func (*CharFilterBuilder) String ¶

func (u *CharFilterBuilder) String(string string) *CharFilterBuilder

type CharFilterDefinition ¶

type CharFilterDefinition interface{}

CharFilterDefinition holds the union for the following types:

HtmlStripCharFilter
IcuNormalizationCharFilter
KuromojiIterationMarkCharFilter
MappingCharFilter
PatternReplaceCharFilter

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/char_filters.ts#L32-L41

type CharFilterDefinitionBuilder ¶

type CharFilterDefinitionBuilder struct {
	// contains filtered or unexported fields
}

CharFilterDefinitionBuilder holds CharFilterDefinition struct and provides a builder API.

func NewCharFilterDefinitionBuilder ¶

func NewCharFilterDefinitionBuilder() *CharFilterDefinitionBuilder

NewCharFilterDefinition provides a builder for the CharFilterDefinition struct.

func (*CharFilterDefinitionBuilder) Build ¶

Build finalize the chain and returns the CharFilterDefinition struct

func (*CharFilterDefinitionBuilder) HtmlStripCharFilter ¶

func (u *CharFilterDefinitionBuilder) HtmlStripCharFilter(htmlstripcharfilter *HtmlStripCharFilterBuilder) *CharFilterDefinitionBuilder

func (*CharFilterDefinitionBuilder) IcuNormalizationCharFilter ¶

func (u *CharFilterDefinitionBuilder) IcuNormalizationCharFilter(icunormalizationcharfilter *IcuNormalizationCharFilterBuilder) *CharFilterDefinitionBuilder

func (*CharFilterDefinitionBuilder) KuromojiIterationMarkCharFilter ¶

func (u *CharFilterDefinitionBuilder) KuromojiIterationMarkCharFilter(kuromojiiterationmarkcharfilter *KuromojiIterationMarkCharFilterBuilder) *CharFilterDefinitionBuilder

func (*CharFilterDefinitionBuilder) MappingCharFilter ¶

func (u *CharFilterDefinitionBuilder) MappingCharFilter(mappingcharfilter *MappingCharFilterBuilder) *CharFilterDefinitionBuilder

func (*CharFilterDefinitionBuilder) PatternReplaceCharFilter ¶

func (u *CharFilterDefinitionBuilder) PatternReplaceCharFilter(patternreplacecharfilter *PatternReplaceCharFilterBuilder) *CharFilterDefinitionBuilder

type CharFilterDetail ¶

type CharFilterDetail struct {
	FilteredText []string `json:"filtered_text"`
	Name         string   `json:"name"`
}

CharFilterDetail type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/analyze/types.ts#L46-L49

type CharFilterDetailBuilder ¶

type CharFilterDetailBuilder struct {
	// contains filtered or unexported fields
}

CharFilterDetailBuilder holds CharFilterDetail struct and provides a builder API.

func NewCharFilterDetailBuilder ¶

func NewCharFilterDetailBuilder() *CharFilterDetailBuilder

NewCharFilterDetail provides a builder for the CharFilterDetail struct.

func (*CharFilterDetailBuilder) Build ¶

Build finalize the chain and returns the CharFilterDetail struct

func (*CharFilterDetailBuilder) FilteredText ¶

func (rb *CharFilterDetailBuilder) FilteredText(filtered_text ...string) *CharFilterDetailBuilder

func (*CharFilterDetailBuilder) Name ¶

type CharFilterTypes ¶

type CharFilterTypes struct {
	AnalyzerTypes      []FieldTypes `json:"analyzer_types"`
	BuiltInAnalyzers   []FieldTypes `json:"built_in_analyzers"`
	BuiltInCharFilters []FieldTypes `json:"built_in_char_filters"`
	BuiltInFilters     []FieldTypes `json:"built_in_filters"`
	BuiltInTokenizers  []FieldTypes `json:"built_in_tokenizers"`
	CharFilterTypes    []FieldTypes `json:"char_filter_types"`
	FilterTypes        []FieldTypes `json:"filter_types"`
	TokenizerTypes     []FieldTypes `json:"tokenizer_types"`
}

CharFilterTypes type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L126-L135

type CharFilterTypesBuilder ¶

type CharFilterTypesBuilder struct {
	// contains filtered or unexported fields
}

CharFilterTypesBuilder holds CharFilterTypes struct and provides a builder API.

func NewCharFilterTypesBuilder ¶

func NewCharFilterTypesBuilder() *CharFilterTypesBuilder

NewCharFilterTypes provides a builder for the CharFilterTypes struct.

func (*CharFilterTypesBuilder) AnalyzerTypes ¶

func (rb *CharFilterTypesBuilder) AnalyzerTypes(analyzer_types []FieldTypesBuilder) *CharFilterTypesBuilder

func (*CharFilterTypesBuilder) Build ¶

Build finalize the chain and returns the CharFilterTypes struct

func (*CharFilterTypesBuilder) BuiltInAnalyzers ¶

func (rb *CharFilterTypesBuilder) BuiltInAnalyzers(built_in_analyzers []FieldTypesBuilder) *CharFilterTypesBuilder

func (*CharFilterTypesBuilder) BuiltInCharFilters ¶

func (rb *CharFilterTypesBuilder) BuiltInCharFilters(built_in_char_filters []FieldTypesBuilder) *CharFilterTypesBuilder

func (*CharFilterTypesBuilder) BuiltInFilters ¶

func (rb *CharFilterTypesBuilder) BuiltInFilters(built_in_filters []FieldTypesBuilder) *CharFilterTypesBuilder

func (*CharFilterTypesBuilder) BuiltInTokenizers ¶

func (rb *CharFilterTypesBuilder) BuiltInTokenizers(built_in_tokenizers []FieldTypesBuilder) *CharFilterTypesBuilder

func (*CharFilterTypesBuilder) CharFilterTypes ¶

func (rb *CharFilterTypesBuilder) CharFilterTypes(char_filter_types []FieldTypesBuilder) *CharFilterTypesBuilder

func (*CharFilterTypesBuilder) FilterTypes ¶

func (rb *CharFilterTypesBuilder) FilterTypes(filter_types []FieldTypesBuilder) *CharFilterTypesBuilder

func (*CharFilterTypesBuilder) TokenizerTypes ¶

func (rb *CharFilterTypesBuilder) TokenizerTypes(tokenizer_types []FieldTypesBuilder) *CharFilterTypesBuilder

type CharGroupTokenizer ¶

type CharGroupTokenizer struct {
	MaxTokenLength  *int           `json:"max_token_length,omitempty"`
	TokenizeOnChars []string       `json:"tokenize_on_chars"`
	Type            string         `json:"type,omitempty"`
	Version         *VersionString `json:"version,omitempty"`
}

CharGroupTokenizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L55-L59

type CharGroupTokenizerBuilder ¶

type CharGroupTokenizerBuilder struct {
	// contains filtered or unexported fields
}

CharGroupTokenizerBuilder holds CharGroupTokenizer struct and provides a builder API.

func NewCharGroupTokenizerBuilder ¶

func NewCharGroupTokenizerBuilder() *CharGroupTokenizerBuilder

NewCharGroupTokenizer provides a builder for the CharGroupTokenizer struct.

func (*CharGroupTokenizerBuilder) Build ¶

Build finalize the chain and returns the CharGroupTokenizer struct

func (*CharGroupTokenizerBuilder) MaxTokenLength ¶

func (rb *CharGroupTokenizerBuilder) MaxTokenLength(maxtokenlength int) *CharGroupTokenizerBuilder

func (*CharGroupTokenizerBuilder) TokenizeOnChars ¶

func (rb *CharGroupTokenizerBuilder) TokenizeOnChars(tokenize_on_chars ...string) *CharGroupTokenizerBuilder

func (*CharGroupTokenizerBuilder) Version ¶

type CheckpointBuilder ¶

type CheckpointBuilder struct {
	// contains filtered or unexported fields
}

CheckpointBuilder holds Checkpoint struct and provides a builder API.

func NewCheckpointBuilder ¶

func NewCheckpointBuilder() *CheckpointBuilder

NewCheckpoint provides a builder for the Checkpoint struct.

func (*CheckpointBuilder) Build ¶

func (b *CheckpointBuilder) Build() Checkpoint

Build finalize the chain and returns the Checkpoint struct

func (*CheckpointBuilder) Checkpoint ¶

func (b *CheckpointBuilder) Checkpoint(value Checkpoint) *CheckpointBuilder

type CheckpointStats ¶

type CheckpointStats struct {
	Checkpoint           int64                `json:"checkpoint"`
	CheckpointProgress   *TransformProgress   `json:"checkpoint_progress,omitempty"`
	TimeUpperBound       *DateTime            `json:"time_upper_bound,omitempty"`
	TimeUpperBoundMillis *EpochTimeUnitMillis `json:"time_upper_bound_millis,omitempty"`
	Timestamp            *DateTime            `json:"timestamp,omitempty"`
	TimestampMillis      *EpochTimeUnitMillis `json:"timestamp_millis,omitempty"`
}

CheckpointStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/get_transform_stats/types.ts#L68-L75

type CheckpointStatsBuilder ¶

type CheckpointStatsBuilder struct {
	// contains filtered or unexported fields
}

CheckpointStatsBuilder holds CheckpointStats struct and provides a builder API.

func NewCheckpointStatsBuilder ¶

func NewCheckpointStatsBuilder() *CheckpointStatsBuilder

NewCheckpointStats provides a builder for the CheckpointStats struct.

func (*CheckpointStatsBuilder) Build ¶

Build finalize the chain and returns the CheckpointStats struct

func (*CheckpointStatsBuilder) Checkpoint ¶

func (rb *CheckpointStatsBuilder) Checkpoint(checkpoint int64) *CheckpointStatsBuilder

func (*CheckpointStatsBuilder) CheckpointProgress ¶

func (rb *CheckpointStatsBuilder) CheckpointProgress(checkpointprogress *TransformProgressBuilder) *CheckpointStatsBuilder

func (*CheckpointStatsBuilder) TimeUpperBound ¶

func (rb *CheckpointStatsBuilder) TimeUpperBound(timeupperbound *DateTimeBuilder) *CheckpointStatsBuilder

func (*CheckpointStatsBuilder) TimeUpperBoundMillis ¶

func (rb *CheckpointStatsBuilder) TimeUpperBoundMillis(timeupperboundmillis *EpochTimeUnitMillisBuilder) *CheckpointStatsBuilder

func (*CheckpointStatsBuilder) Timestamp ¶

func (*CheckpointStatsBuilder) TimestampMillis ¶

func (rb *CheckpointStatsBuilder) TimestampMillis(timestampmillis *EpochTimeUnitMillisBuilder) *CheckpointStatsBuilder

type Checkpointing ¶

type Checkpointing struct {
	ChangesLastDetectedAt         *int64           `json:"changes_last_detected_at,omitempty"`
	ChangesLastDetectedAtDateTime *DateTime        `json:"changes_last_detected_at_date_time,omitempty"`
	Last                          CheckpointStats  `json:"last"`
	LastSearchTime                *int64           `json:"last_search_time,omitempty"`
	Next                          *CheckpointStats `json:"next,omitempty"`
	OperationsBehind              *int64           `json:"operations_behind,omitempty"`
}

Checkpointing type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/get_transform_stats/types.ts#L77-L84

type CheckpointingBuilder ¶

type CheckpointingBuilder struct {
	// contains filtered or unexported fields
}

CheckpointingBuilder holds Checkpointing struct and provides a builder API.

func NewCheckpointingBuilder ¶

func NewCheckpointingBuilder() *CheckpointingBuilder

NewCheckpointing provides a builder for the Checkpointing struct.

func (*CheckpointingBuilder) Build ¶

func (rb *CheckpointingBuilder) Build() Checkpointing

Build finalize the chain and returns the Checkpointing struct

func (*CheckpointingBuilder) ChangesLastDetectedAt ¶

func (rb *CheckpointingBuilder) ChangesLastDetectedAt(changeslastdetectedat int64) *CheckpointingBuilder

func (*CheckpointingBuilder) ChangesLastDetectedAtDateTime ¶

func (rb *CheckpointingBuilder) ChangesLastDetectedAtDateTime(changeslastdetectedatdatetime *DateTimeBuilder) *CheckpointingBuilder

func (*CheckpointingBuilder) Last ¶

func (*CheckpointingBuilder) LastSearchTime ¶

func (rb *CheckpointingBuilder) LastSearchTime(lastsearchtime int64) *CheckpointingBuilder

func (*CheckpointingBuilder) Next ¶

func (*CheckpointingBuilder) OperationsBehind ¶

func (rb *CheckpointingBuilder) OperationsBehind(operationsbehind int64) *CheckpointingBuilder

type ChiSquareHeuristic ¶

type ChiSquareHeuristic struct {
	BackgroundIsSuperset bool `json:"background_is_superset"`
	IncludeNegatives     bool `json:"include_negatives"`
}

ChiSquareHeuristic type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L318-L321

type ChiSquareHeuristicBuilder ¶

type ChiSquareHeuristicBuilder struct {
	// contains filtered or unexported fields
}

ChiSquareHeuristicBuilder holds ChiSquareHeuristic struct and provides a builder API.

func NewChiSquareHeuristicBuilder ¶

func NewChiSquareHeuristicBuilder() *ChiSquareHeuristicBuilder

NewChiSquareHeuristic provides a builder for the ChiSquareHeuristic struct.

func (*ChiSquareHeuristicBuilder) BackgroundIsSuperset ¶

func (rb *ChiSquareHeuristicBuilder) BackgroundIsSuperset(backgroundissuperset bool) *ChiSquareHeuristicBuilder

func (*ChiSquareHeuristicBuilder) Build ¶

Build finalize the chain and returns the ChiSquareHeuristic struct

func (*ChiSquareHeuristicBuilder) IncludeNegatives ¶

func (rb *ChiSquareHeuristicBuilder) IncludeNegatives(includenegatives bool) *ChiSquareHeuristicBuilder

type ChildrenAggregate ¶

type ChildrenAggregate struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Meta         *Metadata                   `json:"meta,omitempty"`
}

ChildrenAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L727-L728

type ChildrenAggregateBuilder ¶

type ChildrenAggregateBuilder struct {
	// contains filtered or unexported fields
}

ChildrenAggregateBuilder holds ChildrenAggregate struct and provides a builder API.

func NewChildrenAggregateBuilder ¶

func NewChildrenAggregateBuilder() *ChildrenAggregateBuilder

NewChildrenAggregate provides a builder for the ChildrenAggregate struct.

func (*ChildrenAggregateBuilder) Aggregations ¶

func (*ChildrenAggregateBuilder) Build ¶

Build finalize the chain and returns the ChildrenAggregate struct

func (*ChildrenAggregateBuilder) DocCount ¶

func (*ChildrenAggregateBuilder) Meta ¶

type ChildrenAggregation ¶

type ChildrenAggregation struct {
	Meta *Metadata     `json:"meta,omitempty"`
	Name *string       `json:"name,omitempty"`
	Type *RelationName `json:"type,omitempty"`
}

ChildrenAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L73-L75

type ChildrenAggregationBuilder ¶

type ChildrenAggregationBuilder struct {
	// contains filtered or unexported fields
}

ChildrenAggregationBuilder holds ChildrenAggregation struct and provides a builder API.

func NewChildrenAggregationBuilder ¶

func NewChildrenAggregationBuilder() *ChildrenAggregationBuilder

NewChildrenAggregation provides a builder for the ChildrenAggregation struct.

func (*ChildrenAggregationBuilder) Build ¶

Build finalize the chain and returns the ChildrenAggregation struct

func (*ChildrenAggregationBuilder) Meta ¶

func (*ChildrenAggregationBuilder) Name ¶

func (*ChildrenAggregationBuilder) Type_ ¶

type ChunkingConfig ¶

type ChunkingConfig struct {
	// Mode If the mode is `auto`, the chunk size is dynamically calculated;
	// this is the recommended value when the datafeed does not use aggregations.
	// If the mode is `manual`, chunking is applied according to the specified
	// `time_span`;
	// use this mode when the datafeed uses aggregations. If the mode is `off`, no
	// chunking is applied.
	Mode chunkingmode.ChunkingMode `json:"mode"`
	// TimeSpan The time span that each search will be querying. This setting is applicable
	// only when the `mode` is set to `manual`.
	TimeSpan *Duration `json:"time_span,omitempty"`
}

ChunkingConfig type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Datafeed.ts#L177-L190

type ChunkingConfigBuilder ¶

type ChunkingConfigBuilder struct {
	// contains filtered or unexported fields
}

ChunkingConfigBuilder holds ChunkingConfig struct and provides a builder API.

func NewChunkingConfigBuilder ¶

func NewChunkingConfigBuilder() *ChunkingConfigBuilder

NewChunkingConfig provides a builder for the ChunkingConfig struct.

func (*ChunkingConfigBuilder) Build ¶

Build finalize the chain and returns the ChunkingConfig struct

func (*ChunkingConfigBuilder) Mode ¶

func (*ChunkingConfigBuilder) TimeSpan ¶

type CircleProcessor ¶

type CircleProcessor struct {
	ErrorDistance float64              `json:"error_distance"`
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing bool                 `json:"ignore_missing"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	ShapeType     shapetype.ShapeType  `json:"shape_type"`
	Tag           *string              `json:"tag,omitempty"`
	TargetField   Field                `json:"target_field"`
}

CircleProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L128-L134

type CircleProcessorBuilder ¶

type CircleProcessorBuilder struct {
	// contains filtered or unexported fields
}

CircleProcessorBuilder holds CircleProcessor struct and provides a builder API.

func NewCircleProcessorBuilder ¶

func NewCircleProcessorBuilder() *CircleProcessorBuilder

NewCircleProcessor provides a builder for the CircleProcessor struct.

func (*CircleProcessorBuilder) Build ¶

Build finalize the chain and returns the CircleProcessor struct

func (*CircleProcessorBuilder) ErrorDistance ¶

func (rb *CircleProcessorBuilder) ErrorDistance(errordistance float64) *CircleProcessorBuilder

func (*CircleProcessorBuilder) Field ¶

func (*CircleProcessorBuilder) If_ ¶

func (*CircleProcessorBuilder) IgnoreFailure ¶

func (rb *CircleProcessorBuilder) IgnoreFailure(ignorefailure bool) *CircleProcessorBuilder

func (*CircleProcessorBuilder) IgnoreMissing ¶

func (rb *CircleProcessorBuilder) IgnoreMissing(ignoremissing bool) *CircleProcessorBuilder

func (*CircleProcessorBuilder) OnFailure ¶

func (*CircleProcessorBuilder) ShapeType ¶

func (*CircleProcessorBuilder) Tag ¶

func (*CircleProcessorBuilder) TargetField ¶

func (rb *CircleProcessorBuilder) TargetField(targetfield Field) *CircleProcessorBuilder

type ClassificationInferenceOptions ¶

type ClassificationInferenceOptions struct {
	// NumTopClasses Specifies the number of top class predictions to return. Defaults to 0.
	NumTopClasses *int `json:"num_top_classes,omitempty"`
	// NumTopFeatureImportanceValues Specifies the maximum number of feature importance values per document.
	NumTopFeatureImportanceValues *int `json:"num_top_feature_importance_values,omitempty"`
	// PredictionFieldType Specifies the type of the predicted field to write. Acceptable values are:
	// string, number, boolean. When boolean is provided 1.0 is transformed to true
	// and 0.0 to false.
	PredictionFieldType *string `json:"prediction_field_type,omitempty"`
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string `json:"results_field,omitempty"`
	// TopClassesResultsField Specifies the field to which the top classes are written. Defaults to
	// top_classes.
	TopClassesResultsField *string `json:"top_classes_results_field,omitempty"`
}

ClassificationInferenceOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L80-L95

type ClassificationInferenceOptionsBuilder ¶

type ClassificationInferenceOptionsBuilder struct {
	// contains filtered or unexported fields
}

ClassificationInferenceOptionsBuilder holds ClassificationInferenceOptions struct and provides a builder API.

func NewClassificationInferenceOptionsBuilder ¶

func NewClassificationInferenceOptionsBuilder() *ClassificationInferenceOptionsBuilder

NewClassificationInferenceOptions provides a builder for the ClassificationInferenceOptions struct.

func (*ClassificationInferenceOptionsBuilder) Build ¶

Build finalize the chain and returns the ClassificationInferenceOptions struct

func (*ClassificationInferenceOptionsBuilder) NumTopClasses ¶

func (*ClassificationInferenceOptionsBuilder) NumTopFeatureImportanceValues ¶

func (rb *ClassificationInferenceOptionsBuilder) NumTopFeatureImportanceValues(numtopfeatureimportancevalues int) *ClassificationInferenceOptionsBuilder

func (*ClassificationInferenceOptionsBuilder) PredictionFieldType ¶

func (rb *ClassificationInferenceOptionsBuilder) PredictionFieldType(predictionfieldtype string) *ClassificationInferenceOptionsBuilder

func (*ClassificationInferenceOptionsBuilder) ResultsField ¶

func (*ClassificationInferenceOptionsBuilder) TopClassesResultsField ¶

func (rb *ClassificationInferenceOptionsBuilder) TopClassesResultsField(topclassesresultsfield string) *ClassificationInferenceOptionsBuilder

type CleanupRepositoryResults ¶

type CleanupRepositoryResults struct {
	// DeletedBlobs Number of binary large objects (blobs) removed during cleanup.
	DeletedBlobs int64 `json:"deleted_blobs"`
	// DeletedBytes Number of bytes freed by cleanup operations.
	DeletedBytes int64 `json:"deleted_bytes"`
}

CleanupRepositoryResults type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/cleanup_repository/SnapshotCleanupRepositoryResponse.ts#L29-L34

type CleanupRepositoryResultsBuilder ¶

type CleanupRepositoryResultsBuilder struct {
	// contains filtered or unexported fields
}

CleanupRepositoryResultsBuilder holds CleanupRepositoryResults struct and provides a builder API.

func NewCleanupRepositoryResultsBuilder ¶

func NewCleanupRepositoryResultsBuilder() *CleanupRepositoryResultsBuilder

NewCleanupRepositoryResults provides a builder for the CleanupRepositoryResults struct.

func (*CleanupRepositoryResultsBuilder) Build ¶

Build finalize the chain and returns the CleanupRepositoryResults struct

func (*CleanupRepositoryResultsBuilder) DeletedBlobs ¶

func (*CleanupRepositoryResultsBuilder) DeletedBytes ¶

type Client ¶

type Client struct {
	Agent                 *string `json:"agent,omitempty"`
	ClosedTimeMillis      *int64  `json:"closed_time_millis,omitempty"`
	Id                    *int64  `json:"id,omitempty"`
	LastRequestTimeMillis *int64  `json:"last_request_time_millis,omitempty"`
	LastUri               *string `json:"last_uri,omitempty"`
	LocalAddress          *string `json:"local_address,omitempty"`
	OpenedTimeMillis      *int64  `json:"opened_time_millis,omitempty"`
	RemoteAddress         *string `json:"remote_address,omitempty"`
	RequestCount          *int64  `json:"request_count,omitempty"`
	RequestSizeBytes      *int64  `json:"request_size_bytes,omitempty"`
	XOpaqueId             *string `json:"x_opaque_id,omitempty"`
}

Client type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L266-L278

type ClientBuilder ¶

type ClientBuilder struct {
	// contains filtered or unexported fields
}

ClientBuilder holds Client struct and provides a builder API.

func NewClientBuilder ¶

func NewClientBuilder() *ClientBuilder

NewClient provides a builder for the Client struct.

func (*ClientBuilder) Agent ¶

func (rb *ClientBuilder) Agent(agent string) *ClientBuilder

func (*ClientBuilder) Build ¶

func (rb *ClientBuilder) Build() Client

Build finalize the chain and returns the Client struct

func (*ClientBuilder) ClosedTimeMillis ¶

func (rb *ClientBuilder) ClosedTimeMillis(closedtimemillis int64) *ClientBuilder

func (*ClientBuilder) Id ¶

func (rb *ClientBuilder) Id(id int64) *ClientBuilder

func (*ClientBuilder) LastRequestTimeMillis ¶

func (rb *ClientBuilder) LastRequestTimeMillis(lastrequesttimemillis int64) *ClientBuilder

func (*ClientBuilder) LastUri ¶

func (rb *ClientBuilder) LastUri(lasturi string) *ClientBuilder

func (*ClientBuilder) LocalAddress ¶

func (rb *ClientBuilder) LocalAddress(localaddress string) *ClientBuilder

func (*ClientBuilder) OpenedTimeMillis ¶

func (rb *ClientBuilder) OpenedTimeMillis(openedtimemillis int64) *ClientBuilder

func (*ClientBuilder) RemoteAddress ¶

func (rb *ClientBuilder) RemoteAddress(remoteaddress string) *ClientBuilder

func (*ClientBuilder) RequestCount ¶

func (rb *ClientBuilder) RequestCount(requestcount int64) *ClientBuilder

func (*ClientBuilder) RequestSizeBytes ¶

func (rb *ClientBuilder) RequestSizeBytes(requestsizebytes int64) *ClientBuilder

func (*ClientBuilder) XOpaqueId ¶

func (rb *ClientBuilder) XOpaqueId(xopaqueid string) *ClientBuilder

type CloseIndexResultBuilder ¶

type CloseIndexResultBuilder struct {
	// contains filtered or unexported fields
}

CloseIndexResultBuilder holds CloseIndexResult struct and provides a builder API.

func NewCloseIndexResultBuilder ¶

func NewCloseIndexResultBuilder() *CloseIndexResultBuilder

NewCloseIndexResult provides a builder for the CloseIndexResult struct.

func (*CloseIndexResultBuilder) Build ¶

Build finalize the chain and returns the CloseIndexResult struct

func (*CloseIndexResultBuilder) Closed ¶

func (*CloseIndexResultBuilder) Shards ¶

type CloseShardResultBuilder ¶

type CloseShardResultBuilder struct {
	// contains filtered or unexported fields
}

CloseShardResultBuilder holds CloseShardResult struct and provides a builder API.

func NewCloseShardResultBuilder ¶

func NewCloseShardResultBuilder() *CloseShardResultBuilder

NewCloseShardResult provides a builder for the CloseShardResult struct.

func (*CloseShardResultBuilder) Build ¶

Build finalize the chain and returns the CloseShardResult struct

func (*CloseShardResultBuilder) Failures ¶

type ClusterAppliedStatsBuilder ¶

type ClusterAppliedStatsBuilder struct {
	// contains filtered or unexported fields
}

ClusterAppliedStatsBuilder holds ClusterAppliedStats struct and provides a builder API.

func NewClusterAppliedStatsBuilder ¶

func NewClusterAppliedStatsBuilder() *ClusterAppliedStatsBuilder

NewClusterAppliedStats provides a builder for the ClusterAppliedStats struct.

func (*ClusterAppliedStatsBuilder) Build ¶

Build finalize the chain and returns the ClusterAppliedStats struct

func (*ClusterAppliedStatsBuilder) Recordings ¶

type ClusterFileSystem ¶

type ClusterFileSystem struct {
	AvailableInBytes int64 `json:"available_in_bytes"`
	FreeInBytes      int64 `json:"free_in_bytes"`
	TotalInBytes     int64 `json:"total_in_bytes"`
}

ClusterFileSystem type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L34-L38

type ClusterFileSystemBuilder ¶

type ClusterFileSystemBuilder struct {
	// contains filtered or unexported fields
}

ClusterFileSystemBuilder holds ClusterFileSystem struct and provides a builder API.

func NewClusterFileSystemBuilder ¶

func NewClusterFileSystemBuilder() *ClusterFileSystemBuilder

NewClusterFileSystem provides a builder for the ClusterFileSystem struct.

func (*ClusterFileSystemBuilder) AvailableInBytes ¶

func (rb *ClusterFileSystemBuilder) AvailableInBytes(availableinbytes int64) *ClusterFileSystemBuilder

func (*ClusterFileSystemBuilder) Build ¶

Build finalize the chain and returns the ClusterFileSystem struct

func (*ClusterFileSystemBuilder) FreeInBytes ¶

func (rb *ClusterFileSystemBuilder) FreeInBytes(freeinbytes int64) *ClusterFileSystemBuilder

func (*ClusterFileSystemBuilder) TotalInBytes ¶

func (rb *ClusterFileSystemBuilder) TotalInBytes(totalinbytes int64) *ClusterFileSystemBuilder

type ClusterIndices ¶

type ClusterIndices struct {
	// Analysis Contains statistics about analyzers and analyzer components used in selected
	// nodes.
	Analysis CharFilterTypes `json:"analysis"`
	// Completion Contains statistics about memory used for completion in selected nodes.
	Completion CompletionStats `json:"completion"`
	// Count Total number of indices with shards assigned to selected nodes.
	Count int64 `json:"count"`
	// Docs Contains counts for documents in selected nodes.
	Docs DocStats `json:"docs"`
	// Fielddata Contains statistics about the field data cache of selected nodes.
	Fielddata FielddataStats `json:"fielddata"`
	// Mappings Contains statistics about field mappings in selected nodes.
	Mappings FieldTypesMappings `json:"mappings"`
	// QueryCache Contains statistics about the query cache of selected nodes.
	QueryCache QueryCacheStats `json:"query_cache"`
	// Segments Contains statistics about segments in selected nodes.
	Segments SegmentsStats `json:"segments"`
	// Shards Contains statistics about indices with shards assigned to selected nodes.
	Shards ClusterIndicesShards `json:"shards"`
	// Store Contains statistics about the size of shards assigned to selected nodes.
	Store    StoreStats        `json:"store"`
	Versions []IndicesVersions `json:"versions,omitempty"`
}

ClusterIndices type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L63-L94

type ClusterIndicesBuilder ¶

type ClusterIndicesBuilder struct {
	// contains filtered or unexported fields
}

ClusterIndicesBuilder holds ClusterIndices struct and provides a builder API.

func NewClusterIndicesBuilder ¶

func NewClusterIndicesBuilder() *ClusterIndicesBuilder

NewClusterIndices provides a builder for the ClusterIndices struct.

func (*ClusterIndicesBuilder) Analysis ¶

func (*ClusterIndicesBuilder) Build ¶

Build finalize the chain and returns the ClusterIndices struct

func (*ClusterIndicesBuilder) Completion ¶

func (*ClusterIndicesBuilder) Count ¶

func (*ClusterIndicesBuilder) Docs ¶

func (*ClusterIndicesBuilder) Fielddata ¶

func (*ClusterIndicesBuilder) Mappings ¶

func (*ClusterIndicesBuilder) QueryCache ¶

func (*ClusterIndicesBuilder) Segments ¶

func (*ClusterIndicesBuilder) Shards ¶

func (*ClusterIndicesBuilder) Store ¶

func (*ClusterIndicesBuilder) Versions ¶

type ClusterIndicesShards ¶

type ClusterIndicesShards struct {
	// Index Contains statistics about shards assigned to selected nodes.
	Index *ClusterIndicesShardsIndex `json:"index,omitempty"`
	// Primaries Number of primary shards assigned to selected nodes.
	Primaries *float64 `json:"primaries,omitempty"`
	// Replication Ratio of replica shards to primary shards across all selected nodes.
	Replication *float64 `json:"replication,omitempty"`
	// Total Total number of shards assigned to selected nodes.
	Total *float64 `json:"total,omitempty"`
}

ClusterIndicesShards type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L49-L61

type ClusterIndicesShardsBuilder ¶

type ClusterIndicesShardsBuilder struct {
	// contains filtered or unexported fields
}

ClusterIndicesShardsBuilder holds ClusterIndicesShards struct and provides a builder API.

func NewClusterIndicesShardsBuilder ¶

func NewClusterIndicesShardsBuilder() *ClusterIndicesShardsBuilder

NewClusterIndicesShards provides a builder for the ClusterIndicesShards struct.

func (*ClusterIndicesShardsBuilder) Build ¶

Build finalize the chain and returns the ClusterIndicesShards struct

func (*ClusterIndicesShardsBuilder) Index ¶

func (*ClusterIndicesShardsBuilder) Primaries ¶

func (*ClusterIndicesShardsBuilder) Replication ¶

func (rb *ClusterIndicesShardsBuilder) Replication(replication float64) *ClusterIndicesShardsBuilder

func (*ClusterIndicesShardsBuilder) Total ¶

type ClusterIndicesShardsIndex ¶

type ClusterIndicesShardsIndex struct {
	// Primaries Contains statistics about the number of primary shards assigned to selected
	// nodes.
	Primaries ClusterShardMetrics `json:"primaries"`
	// Replication Contains statistics about the number of replication shards assigned to
	// selected nodes.
	Replication ClusterShardMetrics `json:"replication"`
	// Shards Contains statistics about the number of shards assigned to selected nodes.
	Shards ClusterShardMetrics `json:"shards"`
}

ClusterIndicesShardsIndex type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L40-L47

type ClusterIndicesShardsIndexBuilder ¶

type ClusterIndicesShardsIndexBuilder struct {
	// contains filtered or unexported fields
}

ClusterIndicesShardsIndexBuilder holds ClusterIndicesShardsIndex struct and provides a builder API.

func NewClusterIndicesShardsIndexBuilder ¶

func NewClusterIndicesShardsIndexBuilder() *ClusterIndicesShardsIndexBuilder

NewClusterIndicesShardsIndex provides a builder for the ClusterIndicesShardsIndex struct.

func (*ClusterIndicesShardsIndexBuilder) Build ¶

Build finalize the chain and returns the ClusterIndicesShardsIndex struct

func (*ClusterIndicesShardsIndexBuilder) Primaries ¶

func (*ClusterIndicesShardsIndexBuilder) Replication ¶

func (*ClusterIndicesShardsIndexBuilder) Shards ¶

type ClusterInfo ¶

type ClusterInfo struct {
	Nodes             map[string]NodeDiskUsage `json:"nodes"`
	ReservedSizes     []ReservedSize           `json:"reserved_sizes"`
	ShardDataSetSizes map[string]string        `json:"shard_data_set_sizes,omitempty"`
	ShardPaths        map[string]string        `json:"shard_paths"`
	ShardSizes        map[string]int64         `json:"shard_sizes"`
}

ClusterInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/allocation_explain/types.ts#L48-L54

type ClusterInfoBuilder ¶

type ClusterInfoBuilder struct {
	// contains filtered or unexported fields
}

ClusterInfoBuilder holds ClusterInfo struct and provides a builder API.

func NewClusterInfoBuilder ¶

func NewClusterInfoBuilder() *ClusterInfoBuilder

NewClusterInfo provides a builder for the ClusterInfo struct.

func (*ClusterInfoBuilder) Build ¶

func (rb *ClusterInfoBuilder) Build() ClusterInfo

Build finalize the chain and returns the ClusterInfo struct

func (*ClusterInfoBuilder) Nodes ¶

func (*ClusterInfoBuilder) ReservedSizes ¶

func (rb *ClusterInfoBuilder) ReservedSizes(reserved_sizes []ReservedSizeBuilder) *ClusterInfoBuilder

func (*ClusterInfoBuilder) ShardDataSetSizes ¶

func (rb *ClusterInfoBuilder) ShardDataSetSizes(value map[string]string) *ClusterInfoBuilder

func (*ClusterInfoBuilder) ShardPaths ¶

func (rb *ClusterInfoBuilder) ShardPaths(value map[string]string) *ClusterInfoBuilder

func (*ClusterInfoBuilder) ShardSizes ¶

func (rb *ClusterInfoBuilder) ShardSizes(value map[string]int64) *ClusterInfoBuilder

type ClusterIngest ¶

type ClusterIngest struct {
	NumberOfPipelines int                         `json:"number_of_pipelines"`
	ProcessorStats    map[string]ClusterProcessor `json:"processor_stats"`
}

ClusterIngest type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L144-L147

type ClusterIngestBuilder ¶

type ClusterIngestBuilder struct {
	// contains filtered or unexported fields
}

ClusterIngestBuilder holds ClusterIngest struct and provides a builder API.

func NewClusterIngestBuilder ¶

func NewClusterIngestBuilder() *ClusterIngestBuilder

NewClusterIngest provides a builder for the ClusterIngest struct.

func (*ClusterIngestBuilder) Build ¶

func (rb *ClusterIngestBuilder) Build() ClusterIngest

Build finalize the chain and returns the ClusterIngest struct

func (*ClusterIngestBuilder) NumberOfPipelines ¶

func (rb *ClusterIngestBuilder) NumberOfPipelines(numberofpipelines int) *ClusterIngestBuilder

func (*ClusterIngestBuilder) ProcessorStats ¶

type ClusterJvm ¶

type ClusterJvm struct {
	MaxUptimeInMillis DurationValueUnitMillis `json:"max_uptime_in_millis"`
	Mem               ClusterJvmMemory        `json:"mem"`
	Threads           int64                   `json:"threads"`
	Versions          []ClusterJvmVersion     `json:"versions"`
}

ClusterJvm type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L149-L154

type ClusterJvmBuilder ¶

type ClusterJvmBuilder struct {
	// contains filtered or unexported fields
}

ClusterJvmBuilder holds ClusterJvm struct and provides a builder API.

func NewClusterJvmBuilder ¶

func NewClusterJvmBuilder() *ClusterJvmBuilder

NewClusterJvm provides a builder for the ClusterJvm struct.

func (*ClusterJvmBuilder) Build ¶

func (rb *ClusterJvmBuilder) Build() ClusterJvm

Build finalize the chain and returns the ClusterJvm struct

func (*ClusterJvmBuilder) MaxUptimeInMillis ¶

func (rb *ClusterJvmBuilder) MaxUptimeInMillis(maxuptimeinmillis *DurationValueUnitMillisBuilder) *ClusterJvmBuilder

func (*ClusterJvmBuilder) Mem ¶

func (*ClusterJvmBuilder) Threads ¶

func (rb *ClusterJvmBuilder) Threads(threads int64) *ClusterJvmBuilder

func (*ClusterJvmBuilder) Versions ¶

type ClusterJvmMemory ¶

type ClusterJvmMemory struct {
	HeapMaxInBytes  int64 `json:"heap_max_in_bytes"`
	HeapUsedInBytes int64 `json:"heap_used_in_bytes"`
}

ClusterJvmMemory type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L156-L159

type ClusterJvmMemoryBuilder ¶

type ClusterJvmMemoryBuilder struct {
	// contains filtered or unexported fields
}

ClusterJvmMemoryBuilder holds ClusterJvmMemory struct and provides a builder API.

func NewClusterJvmMemoryBuilder ¶

func NewClusterJvmMemoryBuilder() *ClusterJvmMemoryBuilder

NewClusterJvmMemory provides a builder for the ClusterJvmMemory struct.

func (*ClusterJvmMemoryBuilder) Build ¶

Build finalize the chain and returns the ClusterJvmMemory struct

func (*ClusterJvmMemoryBuilder) HeapMaxInBytes ¶

func (rb *ClusterJvmMemoryBuilder) HeapMaxInBytes(heapmaxinbytes int64) *ClusterJvmMemoryBuilder

func (*ClusterJvmMemoryBuilder) HeapUsedInBytes ¶

func (rb *ClusterJvmMemoryBuilder) HeapUsedInBytes(heapusedinbytes int64) *ClusterJvmMemoryBuilder

type ClusterJvmVersion ¶

type ClusterJvmVersion struct {
	BundledJdk      bool          `json:"bundled_jdk"`
	Count           int           `json:"count"`
	UsingBundledJdk bool          `json:"using_bundled_jdk"`
	Version         VersionString `json:"version"`
	VmName          string        `json:"vm_name"`
	VmVendor        string        `json:"vm_vendor"`
	VmVersion       VersionString `json:"vm_version"`
}

ClusterJvmVersion type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L161-L169

type ClusterJvmVersionBuilder ¶

type ClusterJvmVersionBuilder struct {
	// contains filtered or unexported fields
}

ClusterJvmVersionBuilder holds ClusterJvmVersion struct and provides a builder API.

func NewClusterJvmVersionBuilder ¶

func NewClusterJvmVersionBuilder() *ClusterJvmVersionBuilder

NewClusterJvmVersion provides a builder for the ClusterJvmVersion struct.

func (*ClusterJvmVersionBuilder) Build ¶

Build finalize the chain and returns the ClusterJvmVersion struct

func (*ClusterJvmVersionBuilder) BundledJdk ¶

func (rb *ClusterJvmVersionBuilder) BundledJdk(bundledjdk bool) *ClusterJvmVersionBuilder

func (*ClusterJvmVersionBuilder) Count ¶

func (*ClusterJvmVersionBuilder) UsingBundledJdk ¶

func (rb *ClusterJvmVersionBuilder) UsingBundledJdk(usingbundledjdk bool) *ClusterJvmVersionBuilder

func (*ClusterJvmVersionBuilder) Version ¶

func (*ClusterJvmVersionBuilder) VmName ¶

func (*ClusterJvmVersionBuilder) VmVendor ¶

func (*ClusterJvmVersionBuilder) VmVersion ¶

type ClusterNetworkTypes ¶

type ClusterNetworkTypes struct {
	HttpTypes      map[string]int `json:"http_types"`
	TransportTypes map[string]int `json:"transport_types"`
}

ClusterNetworkTypes type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L171-L174

type ClusterNetworkTypesBuilder ¶

type ClusterNetworkTypesBuilder struct {
	// contains filtered or unexported fields
}

ClusterNetworkTypesBuilder holds ClusterNetworkTypes struct and provides a builder API.

func NewClusterNetworkTypesBuilder ¶

func NewClusterNetworkTypesBuilder() *ClusterNetworkTypesBuilder

NewClusterNetworkTypes provides a builder for the ClusterNetworkTypes struct.

func (*ClusterNetworkTypesBuilder) Build ¶

Build finalize the chain and returns the ClusterNetworkTypes struct

func (*ClusterNetworkTypesBuilder) HttpTypes ¶

func (*ClusterNetworkTypesBuilder) TransportTypes ¶

func (rb *ClusterNetworkTypesBuilder) TransportTypes(value map[string]int) *ClusterNetworkTypesBuilder

type ClusterNodeBuilder ¶

type ClusterNodeBuilder struct {
	// contains filtered or unexported fields
}

ClusterNodeBuilder holds ClusterNode struct and provides a builder API.

func NewClusterNodeBuilder ¶

func NewClusterNodeBuilder() *ClusterNodeBuilder

NewClusterNode provides a builder for the ClusterNode struct.

func (*ClusterNodeBuilder) Build ¶

func (rb *ClusterNodeBuilder) Build() ClusterNode

Build finalize the chain and returns the ClusterNode struct

func (*ClusterNodeBuilder) Name ¶

func (rb *ClusterNodeBuilder) Name(name Name) *ClusterNodeBuilder

type ClusterNodeCount ¶

type ClusterNodeCount struct {
	CoordinatingOnly    int  `json:"coordinating_only"`
	Data                int  `json:"data"`
	DataCold            int  `json:"data_cold"`
	DataContent         int  `json:"data_content"`
	DataFrozen          *int `json:"data_frozen,omitempty"`
	DataHot             int  `json:"data_hot"`
	DataWarm            int  `json:"data_warm"`
	Ingest              int  `json:"ingest"`
	Master              int  `json:"master"`
	Ml                  int  `json:"ml"`
	RemoteClusterClient int  `json:"remote_cluster_client"`
	Total               int  `json:"total"`
	Transform           int  `json:"transform"`
	VotingOnly          int  `json:"voting_only"`
}

ClusterNodeCount type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L176-L192

type ClusterNodeCountBuilder ¶

type ClusterNodeCountBuilder struct {
	// contains filtered or unexported fields
}

ClusterNodeCountBuilder holds ClusterNodeCount struct and provides a builder API.

func NewClusterNodeCountBuilder ¶

func NewClusterNodeCountBuilder() *ClusterNodeCountBuilder

NewClusterNodeCount provides a builder for the ClusterNodeCount struct.

func (*ClusterNodeCountBuilder) Build ¶

Build finalize the chain and returns the ClusterNodeCount struct

func (*ClusterNodeCountBuilder) CoordinatingOnly ¶

func (rb *ClusterNodeCountBuilder) CoordinatingOnly(coordinatingonly int) *ClusterNodeCountBuilder

func (*ClusterNodeCountBuilder) Data ¶

func (*ClusterNodeCountBuilder) DataCold ¶

func (rb *ClusterNodeCountBuilder) DataCold(datacold int) *ClusterNodeCountBuilder

func (*ClusterNodeCountBuilder) DataContent ¶

func (rb *ClusterNodeCountBuilder) DataContent(datacontent int) *ClusterNodeCountBuilder

func (*ClusterNodeCountBuilder) DataFrozen ¶

func (rb *ClusterNodeCountBuilder) DataFrozen(datafrozen int) *ClusterNodeCountBuilder

func (*ClusterNodeCountBuilder) DataHot ¶

func (rb *ClusterNodeCountBuilder) DataHot(datahot int) *ClusterNodeCountBuilder

func (*ClusterNodeCountBuilder) DataWarm ¶

func (rb *ClusterNodeCountBuilder) DataWarm(datawarm int) *ClusterNodeCountBuilder

func (*ClusterNodeCountBuilder) Ingest ¶

func (*ClusterNodeCountBuilder) Master ¶

func (*ClusterNodeCountBuilder) Ml ¶

func (*ClusterNodeCountBuilder) RemoteClusterClient ¶

func (rb *ClusterNodeCountBuilder) RemoteClusterClient(remoteclusterclient int) *ClusterNodeCountBuilder

func (*ClusterNodeCountBuilder) Total ¶

func (*ClusterNodeCountBuilder) Transform ¶

func (rb *ClusterNodeCountBuilder) Transform(transform int) *ClusterNodeCountBuilder

func (*ClusterNodeCountBuilder) VotingOnly ¶

func (rb *ClusterNodeCountBuilder) VotingOnly(votingonly int) *ClusterNodeCountBuilder

type ClusterNodes ¶

type ClusterNodes struct {
	// Count Contains counts for nodes selected by the request’s node filters.
	Count ClusterNodeCount `json:"count"`
	// DiscoveryTypes Contains statistics about the discovery types used by selected nodes.
	DiscoveryTypes map[string]int `json:"discovery_types"`
	// Fs Contains statistics about file stores by selected nodes.
	Fs               ClusterFileSystem `json:"fs"`
	IndexingPressure IndexingPressure  `json:"indexing_pressure"`
	Ingest           ClusterIngest     `json:"ingest"`
	// Jvm Contains statistics about the Java Virtual Machines (JVMs) used by selected
	// nodes.
	Jvm ClusterJvm `json:"jvm"`
	// NetworkTypes Contains statistics about the transport and HTTP networks used by selected
	// nodes.
	NetworkTypes ClusterNetworkTypes `json:"network_types"`
	// Os Contains statistics about the operating systems used by selected nodes.
	Os ClusterOperatingSystem `json:"os"`
	// PackagingTypes Contains statistics about Elasticsearch distributions installed on selected
	// nodes.
	PackagingTypes []NodePackagingType `json:"packaging_types"`
	// Plugins Contains statistics about installed plugins and modules by selected nodes.
	Plugins []PluginStats `json:"plugins"`
	// Process Contains statistics about processes used by selected nodes.
	Process ClusterProcess `json:"process"`
	// Versions Array of Elasticsearch versions used on selected nodes.
	Versions []VersionString `json:"versions"`
}

ClusterNodes type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L194-L221

type ClusterNodesBuilder ¶

type ClusterNodesBuilder struct {
	// contains filtered or unexported fields
}

ClusterNodesBuilder holds ClusterNodes struct and provides a builder API.

func NewClusterNodesBuilder ¶

func NewClusterNodesBuilder() *ClusterNodesBuilder

NewClusterNodes provides a builder for the ClusterNodes struct.

func (*ClusterNodesBuilder) Build ¶

func (rb *ClusterNodesBuilder) Build() ClusterNodes

Build finalize the chain and returns the ClusterNodes struct

func (*ClusterNodesBuilder) Count ¶

func (*ClusterNodesBuilder) DiscoveryTypes ¶

func (rb *ClusterNodesBuilder) DiscoveryTypes(value map[string]int) *ClusterNodesBuilder

func (*ClusterNodesBuilder) Fs ¶

func (*ClusterNodesBuilder) IndexingPressure ¶

func (rb *ClusterNodesBuilder) IndexingPressure(indexingpressure *IndexingPressureBuilder) *ClusterNodesBuilder

func (*ClusterNodesBuilder) Ingest ¶

func (*ClusterNodesBuilder) Jvm ¶

func (*ClusterNodesBuilder) NetworkTypes ¶

func (rb *ClusterNodesBuilder) NetworkTypes(networktypes *ClusterNetworkTypesBuilder) *ClusterNodesBuilder

func (*ClusterNodesBuilder) Os ¶

func (*ClusterNodesBuilder) PackagingTypes ¶

func (rb *ClusterNodesBuilder) PackagingTypes(packaging_types []NodePackagingTypeBuilder) *ClusterNodesBuilder

func (*ClusterNodesBuilder) Plugins ¶

func (*ClusterNodesBuilder) Process ¶

func (*ClusterNodesBuilder) Versions ¶

func (rb *ClusterNodesBuilder) Versions(versions ...VersionString) *ClusterNodesBuilder

type ClusterOperatingSystem ¶

type ClusterOperatingSystem struct {
	AllocatedProcessors int                                  `json:"allocated_processors"`
	Architectures       []ClusterOperatingSystemArchitecture `json:"architectures,omitempty"`
	AvailableProcessors int                                  `json:"available_processors"`
	Mem                 OperatingSystemMemoryInfo            `json:"mem"`
	Names               []ClusterOperatingSystemName         `json:"names"`
	PrettyNames         []ClusterOperatingSystemPrettyName   `json:"pretty_names"`
}

ClusterOperatingSystem type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L228-L235

type ClusterOperatingSystemArchitecture ¶

type ClusterOperatingSystemArchitecture struct {
	Arch  string `json:"arch"`
	Count int    `json:"count"`
}

ClusterOperatingSystemArchitecture type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L223-L226

type ClusterOperatingSystemArchitectureBuilder ¶

type ClusterOperatingSystemArchitectureBuilder struct {
	// contains filtered or unexported fields
}

ClusterOperatingSystemArchitectureBuilder holds ClusterOperatingSystemArchitecture struct and provides a builder API.

func NewClusterOperatingSystemArchitectureBuilder ¶

func NewClusterOperatingSystemArchitectureBuilder() *ClusterOperatingSystemArchitectureBuilder

NewClusterOperatingSystemArchitecture provides a builder for the ClusterOperatingSystemArchitecture struct.

func (*ClusterOperatingSystemArchitectureBuilder) Arch ¶

func (*ClusterOperatingSystemArchitectureBuilder) Build ¶

Build finalize the chain and returns the ClusterOperatingSystemArchitecture struct

func (*ClusterOperatingSystemArchitectureBuilder) Count ¶

type ClusterOperatingSystemBuilder ¶

type ClusterOperatingSystemBuilder struct {
	// contains filtered or unexported fields
}

ClusterOperatingSystemBuilder holds ClusterOperatingSystem struct and provides a builder API.

func NewClusterOperatingSystemBuilder ¶

func NewClusterOperatingSystemBuilder() *ClusterOperatingSystemBuilder

NewClusterOperatingSystem provides a builder for the ClusterOperatingSystem struct.

func (*ClusterOperatingSystemBuilder) AllocatedProcessors ¶

func (rb *ClusterOperatingSystemBuilder) AllocatedProcessors(allocatedprocessors int) *ClusterOperatingSystemBuilder

func (*ClusterOperatingSystemBuilder) Architectures ¶

func (*ClusterOperatingSystemBuilder) AvailableProcessors ¶

func (rb *ClusterOperatingSystemBuilder) AvailableProcessors(availableprocessors int) *ClusterOperatingSystemBuilder

func (*ClusterOperatingSystemBuilder) Build ¶

Build finalize the chain and returns the ClusterOperatingSystem struct

func (*ClusterOperatingSystemBuilder) Mem ¶

func (*ClusterOperatingSystemBuilder) Names ¶

func (*ClusterOperatingSystemBuilder) PrettyNames ¶

type ClusterOperatingSystemName ¶

type ClusterOperatingSystemName struct {
	Count int  `json:"count"`
	Name  Name `json:"name"`
}

ClusterOperatingSystemName type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L237-L240

type ClusterOperatingSystemNameBuilder ¶

type ClusterOperatingSystemNameBuilder struct {
	// contains filtered or unexported fields
}

ClusterOperatingSystemNameBuilder holds ClusterOperatingSystemName struct and provides a builder API.

func NewClusterOperatingSystemNameBuilder ¶

func NewClusterOperatingSystemNameBuilder() *ClusterOperatingSystemNameBuilder

NewClusterOperatingSystemName provides a builder for the ClusterOperatingSystemName struct.

func (*ClusterOperatingSystemNameBuilder) Build ¶

Build finalize the chain and returns the ClusterOperatingSystemName struct

func (*ClusterOperatingSystemNameBuilder) Count ¶

func (*ClusterOperatingSystemNameBuilder) Name ¶

type ClusterOperatingSystemPrettyName ¶

type ClusterOperatingSystemPrettyName struct {
	Count      int  `json:"count"`
	PrettyName Name `json:"pretty_name"`
}

ClusterOperatingSystemPrettyName type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L242-L245

type ClusterOperatingSystemPrettyNameBuilder ¶

type ClusterOperatingSystemPrettyNameBuilder struct {
	// contains filtered or unexported fields
}

ClusterOperatingSystemPrettyNameBuilder holds ClusterOperatingSystemPrettyName struct and provides a builder API.

func NewClusterOperatingSystemPrettyNameBuilder ¶

func NewClusterOperatingSystemPrettyNameBuilder() *ClusterOperatingSystemPrettyNameBuilder

NewClusterOperatingSystemPrettyName provides a builder for the ClusterOperatingSystemPrettyName struct.

func (*ClusterOperatingSystemPrettyNameBuilder) Build ¶

Build finalize the chain and returns the ClusterOperatingSystemPrettyName struct

func (*ClusterOperatingSystemPrettyNameBuilder) Count ¶

func (*ClusterOperatingSystemPrettyNameBuilder) PrettyName ¶

type ClusterProcessBuilder ¶

type ClusterProcessBuilder struct {
	// contains filtered or unexported fields
}

ClusterProcessBuilder holds ClusterProcess struct and provides a builder API.

func NewClusterProcessBuilder ¶

func NewClusterProcessBuilder() *ClusterProcessBuilder

NewClusterProcess provides a builder for the ClusterProcess struct.

func (*ClusterProcessBuilder) Build ¶

Build finalize the chain and returns the ClusterProcess struct

func (*ClusterProcessBuilder) Cpu ¶

func (*ClusterProcessBuilder) OpenFileDescriptors ¶

func (rb *ClusterProcessBuilder) OpenFileDescriptors(openfiledescriptors *ClusterProcessOpenFileDescriptorsBuilder) *ClusterProcessBuilder

type ClusterProcessCpuBuilder ¶

type ClusterProcessCpuBuilder struct {
	// contains filtered or unexported fields
}

ClusterProcessCpuBuilder holds ClusterProcessCpu struct and provides a builder API.

func NewClusterProcessCpuBuilder ¶

func NewClusterProcessCpuBuilder() *ClusterProcessCpuBuilder

NewClusterProcessCpu provides a builder for the ClusterProcessCpu struct.

func (*ClusterProcessCpuBuilder) Build ¶

Build finalize the chain and returns the ClusterProcessCpu struct

func (*ClusterProcessCpuBuilder) Percent ¶

type ClusterProcessOpenFileDescriptors ¶

type ClusterProcessOpenFileDescriptors struct {
	Avg int64 `json:"avg"`
	Max int64 `json:"max"`
	Min int64 `json:"min"`
}

ClusterProcessOpenFileDescriptors type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L256-L260

type ClusterProcessOpenFileDescriptorsBuilder ¶

type ClusterProcessOpenFileDescriptorsBuilder struct {
	// contains filtered or unexported fields
}

ClusterProcessOpenFileDescriptorsBuilder holds ClusterProcessOpenFileDescriptors struct and provides a builder API.

func NewClusterProcessOpenFileDescriptorsBuilder ¶

func NewClusterProcessOpenFileDescriptorsBuilder() *ClusterProcessOpenFileDescriptorsBuilder

NewClusterProcessOpenFileDescriptors provides a builder for the ClusterProcessOpenFileDescriptors struct.

func (*ClusterProcessOpenFileDescriptorsBuilder) Avg ¶

func (*ClusterProcessOpenFileDescriptorsBuilder) Build ¶

Build finalize the chain and returns the ClusterProcessOpenFileDescriptors struct

func (*ClusterProcessOpenFileDescriptorsBuilder) Max ¶

func (*ClusterProcessOpenFileDescriptorsBuilder) Min ¶

type ClusterProcessor ¶

type ClusterProcessor struct {
	Count        int64                   `json:"count"`
	Current      int64                   `json:"current"`
	Failed       int64                   `json:"failed"`
	Time         *Duration               `json:"time,omitempty"`
	TimeInMillis DurationValueUnitMillis `json:"time_in_millis"`
}

ClusterProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L262-L268

type ClusterProcessorBuilder ¶

type ClusterProcessorBuilder struct {
	// contains filtered or unexported fields
}

ClusterProcessorBuilder holds ClusterProcessor struct and provides a builder API.

func NewClusterProcessorBuilder ¶

func NewClusterProcessorBuilder() *ClusterProcessorBuilder

NewClusterProcessor provides a builder for the ClusterProcessor struct.

func (*ClusterProcessorBuilder) Build ¶

Build finalize the chain and returns the ClusterProcessor struct

func (*ClusterProcessorBuilder) Count ¶

func (*ClusterProcessorBuilder) Current ¶

func (*ClusterProcessorBuilder) Failed ¶

func (*ClusterProcessorBuilder) Time ¶

func (*ClusterProcessorBuilder) TimeInMillis ¶

type ClusterRemoteInfo ¶

type ClusterRemoteInfo interface{}

ClusterRemoteInfo holds the union for the following types:

ClusterRemoteProxyInfo
ClusterRemoteSniffInfo

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/remote_info/ClusterRemoteInfoResponse.ts#L28-L29

type ClusterRemoteInfoBuilder ¶

type ClusterRemoteInfoBuilder struct {
	// contains filtered or unexported fields
}

ClusterRemoteInfoBuilder holds ClusterRemoteInfo struct and provides a builder API.

func NewClusterRemoteInfoBuilder ¶

func NewClusterRemoteInfoBuilder() *ClusterRemoteInfoBuilder

NewClusterRemoteInfo provides a builder for the ClusterRemoteInfo struct.

func (*ClusterRemoteInfoBuilder) Build ¶

Build finalize the chain and returns the ClusterRemoteInfo struct

func (*ClusterRemoteInfoBuilder) ClusterRemoteProxyInfo ¶

func (u *ClusterRemoteInfoBuilder) ClusterRemoteProxyInfo(clusterremoteproxyinfo *ClusterRemoteProxyInfoBuilder) *ClusterRemoteInfoBuilder

func (*ClusterRemoteInfoBuilder) ClusterRemoteSniffInfo ¶

func (u *ClusterRemoteInfoBuilder) ClusterRemoteSniffInfo(clusterremotesniffinfo *ClusterRemoteSniffInfoBuilder) *ClusterRemoteInfoBuilder

type ClusterRemoteProxyInfo ¶

type ClusterRemoteProxyInfo struct {
	Connected                 bool     `json:"connected"`
	InitialConnectTimeout     Duration `json:"initial_connect_timeout"`
	MaxProxySocketConnections int      `json:"max_proxy_socket_connections"`
	Mode                      string   `json:"mode,omitempty"`
	NumProxySocketsConnected  int      `json:"num_proxy_sockets_connected"`
	ProxyAddress              string   `json:"proxy_address"`
	ServerName                string   `json:"server_name"`
	SkipUnavailable           bool     `json:"skip_unavailable"`
}

ClusterRemoteProxyInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/remote_info/ClusterRemoteInfoResponse.ts#L41-L50

type ClusterRemoteProxyInfoBuilder ¶

type ClusterRemoteProxyInfoBuilder struct {
	// contains filtered or unexported fields
}

ClusterRemoteProxyInfoBuilder holds ClusterRemoteProxyInfo struct and provides a builder API.

func NewClusterRemoteProxyInfoBuilder ¶

func NewClusterRemoteProxyInfoBuilder() *ClusterRemoteProxyInfoBuilder

NewClusterRemoteProxyInfo provides a builder for the ClusterRemoteProxyInfo struct.

func (*ClusterRemoteProxyInfoBuilder) Build ¶

Build finalize the chain and returns the ClusterRemoteProxyInfo struct

func (*ClusterRemoteProxyInfoBuilder) Connected ¶

func (*ClusterRemoteProxyInfoBuilder) InitialConnectTimeout ¶

func (rb *ClusterRemoteProxyInfoBuilder) InitialConnectTimeout(initialconnecttimeout *DurationBuilder) *ClusterRemoteProxyInfoBuilder

func (*ClusterRemoteProxyInfoBuilder) MaxProxySocketConnections ¶

func (rb *ClusterRemoteProxyInfoBuilder) MaxProxySocketConnections(maxproxysocketconnections int) *ClusterRemoteProxyInfoBuilder

func (*ClusterRemoteProxyInfoBuilder) NumProxySocketsConnected ¶

func (rb *ClusterRemoteProxyInfoBuilder) NumProxySocketsConnected(numproxysocketsconnected int) *ClusterRemoteProxyInfoBuilder

func (*ClusterRemoteProxyInfoBuilder) ProxyAddress ¶

func (rb *ClusterRemoteProxyInfoBuilder) ProxyAddress(proxyaddress string) *ClusterRemoteProxyInfoBuilder

func (*ClusterRemoteProxyInfoBuilder) ServerName ¶

func (*ClusterRemoteProxyInfoBuilder) SkipUnavailable ¶

func (rb *ClusterRemoteProxyInfoBuilder) SkipUnavailable(skipunavailable bool) *ClusterRemoteProxyInfoBuilder

type ClusterRemoteSniffInfo ¶

type ClusterRemoteSniffInfo struct {
	Connected                bool     `json:"connected"`
	InitialConnectTimeout    Duration `json:"initial_connect_timeout"`
	MaxConnectionsPerCluster int      `json:"max_connections_per_cluster"`
	Mode                     string   `json:"mode,omitempty"`
	NumNodesConnected        int64    `json:"num_nodes_connected"`
	Seeds                    []string `json:"seeds"`
	SkipUnavailable          bool     `json:"skip_unavailable"`
}

ClusterRemoteSniffInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/remote_info/ClusterRemoteInfoResponse.ts#L31-L39

type ClusterRemoteSniffInfoBuilder ¶

type ClusterRemoteSniffInfoBuilder struct {
	// contains filtered or unexported fields
}

ClusterRemoteSniffInfoBuilder holds ClusterRemoteSniffInfo struct and provides a builder API.

func NewClusterRemoteSniffInfoBuilder ¶

func NewClusterRemoteSniffInfoBuilder() *ClusterRemoteSniffInfoBuilder

NewClusterRemoteSniffInfo provides a builder for the ClusterRemoteSniffInfo struct.

func (*ClusterRemoteSniffInfoBuilder) Build ¶

Build finalize the chain and returns the ClusterRemoteSniffInfo struct

func (*ClusterRemoteSniffInfoBuilder) Connected ¶

func (*ClusterRemoteSniffInfoBuilder) InitialConnectTimeout ¶

func (rb *ClusterRemoteSniffInfoBuilder) InitialConnectTimeout(initialconnecttimeout *DurationBuilder) *ClusterRemoteSniffInfoBuilder

func (*ClusterRemoteSniffInfoBuilder) MaxConnectionsPerCluster ¶

func (rb *ClusterRemoteSniffInfoBuilder) MaxConnectionsPerCluster(maxconnectionspercluster int) *ClusterRemoteSniffInfoBuilder

func (*ClusterRemoteSniffInfoBuilder) NumNodesConnected ¶

func (rb *ClusterRemoteSniffInfoBuilder) NumNodesConnected(numnodesconnected int64) *ClusterRemoteSniffInfoBuilder

func (*ClusterRemoteSniffInfoBuilder) Seeds ¶

func (*ClusterRemoteSniffInfoBuilder) SkipUnavailable ¶

func (rb *ClusterRemoteSniffInfoBuilder) SkipUnavailable(skipunavailable bool) *ClusterRemoteSniffInfoBuilder

type ClusterShardMetricsBuilder ¶

type ClusterShardMetricsBuilder struct {
	// contains filtered or unexported fields
}

ClusterShardMetricsBuilder holds ClusterShardMetrics struct and provides a builder API.

func NewClusterShardMetricsBuilder ¶

func NewClusterShardMetricsBuilder() *ClusterShardMetricsBuilder

NewClusterShardMetrics provides a builder for the ClusterShardMetrics struct.

func (*ClusterShardMetricsBuilder) Avg ¶

func (*ClusterShardMetricsBuilder) Build ¶

Build finalize the chain and returns the ClusterShardMetrics struct

func (*ClusterShardMetricsBuilder) Max ¶

func (*ClusterShardMetricsBuilder) Min ¶

type ClusterStateQueue ¶

type ClusterStateQueue struct {
	Committed *int64 `json:"committed,omitempty"`
	Pending   *int64 `json:"pending,omitempty"`
	Total     *int64 `json:"total,omitempty"`
}

ClusterStateQueue type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L108-L112

type ClusterStateQueueBuilder ¶

type ClusterStateQueueBuilder struct {
	// contains filtered or unexported fields
}

ClusterStateQueueBuilder holds ClusterStateQueue struct and provides a builder API.

func NewClusterStateQueueBuilder ¶

func NewClusterStateQueueBuilder() *ClusterStateQueueBuilder

NewClusterStateQueue provides a builder for the ClusterStateQueue struct.

func (*ClusterStateQueueBuilder) Build ¶

Build finalize the chain and returns the ClusterStateQueue struct

func (*ClusterStateQueueBuilder) Committed ¶

func (rb *ClusterStateQueueBuilder) Committed(committed int64) *ClusterStateQueueBuilder

func (*ClusterStateQueueBuilder) Pending ¶

func (*ClusterStateQueueBuilder) Total ¶

type ClusterStateUpdate ¶

type ClusterStateUpdate struct {
	CommitTime                    *Duration                `json:"commit_time,omitempty"`
	CommitTimeMillis              *DurationValueUnitMillis `json:"commit_time_millis,omitempty"`
	CompletionTime                *Duration                `json:"completion_time,omitempty"`
	CompletionTimeMillis          *DurationValueUnitMillis `json:"completion_time_millis,omitempty"`
	ComputationTime               *Duration                `json:"computation_time,omitempty"`
	ComputationTimeMillis         *DurationValueUnitMillis `json:"computation_time_millis,omitempty"`
	ContextConstructionTime       *Duration                `json:"context_construction_time,omitempty"`
	ContextConstructionTimeMillis *DurationValueUnitMillis `json:"context_construction_time_millis,omitempty"`
	Count                         int64                    `json:"count"`
	MasterApplyTime               *Duration                `json:"master_apply_time,omitempty"`
	MasterApplyTimeMillis         *DurationValueUnitMillis `json:"master_apply_time_millis,omitempty"`
	NotificationTime              *Duration                `json:"notification_time,omitempty"`
	NotificationTimeMillis        *DurationValueUnitMillis `json:"notification_time_millis,omitempty"`
	PublicationTime               *Duration                `json:"publication_time,omitempty"`
	PublicationTimeMillis         *DurationValueUnitMillis `json:"publication_time_millis,omitempty"`
}

ClusterStateUpdate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L120-L136

type ClusterStateUpdateBuilder ¶

type ClusterStateUpdateBuilder struct {
	// contains filtered or unexported fields
}

ClusterStateUpdateBuilder holds ClusterStateUpdate struct and provides a builder API.

func NewClusterStateUpdateBuilder ¶

func NewClusterStateUpdateBuilder() *ClusterStateUpdateBuilder

NewClusterStateUpdate provides a builder for the ClusterStateUpdate struct.

func (*ClusterStateUpdateBuilder) Build ¶

Build finalize the chain and returns the ClusterStateUpdate struct

func (*ClusterStateUpdateBuilder) CommitTime ¶

func (*ClusterStateUpdateBuilder) CommitTimeMillis ¶

func (*ClusterStateUpdateBuilder) CompletionTime ¶

func (rb *ClusterStateUpdateBuilder) CompletionTime(completiontime *DurationBuilder) *ClusterStateUpdateBuilder

func (*ClusterStateUpdateBuilder) CompletionTimeMillis ¶

func (rb *ClusterStateUpdateBuilder) CompletionTimeMillis(completiontimemillis *DurationValueUnitMillisBuilder) *ClusterStateUpdateBuilder

func (*ClusterStateUpdateBuilder) ComputationTime ¶

func (rb *ClusterStateUpdateBuilder) ComputationTime(computationtime *DurationBuilder) *ClusterStateUpdateBuilder

func (*ClusterStateUpdateBuilder) ComputationTimeMillis ¶

func (rb *ClusterStateUpdateBuilder) ComputationTimeMillis(computationtimemillis *DurationValueUnitMillisBuilder) *ClusterStateUpdateBuilder

func (*ClusterStateUpdateBuilder) ContextConstructionTime ¶

func (rb *ClusterStateUpdateBuilder) ContextConstructionTime(contextconstructiontime *DurationBuilder) *ClusterStateUpdateBuilder

func (*ClusterStateUpdateBuilder) ContextConstructionTimeMillis ¶

func (rb *ClusterStateUpdateBuilder) ContextConstructionTimeMillis(contextconstructiontimemillis *DurationValueUnitMillisBuilder) *ClusterStateUpdateBuilder

func (*ClusterStateUpdateBuilder) Count ¶

func (*ClusterStateUpdateBuilder) MasterApplyTime ¶

func (rb *ClusterStateUpdateBuilder) MasterApplyTime(masterapplytime *DurationBuilder) *ClusterStateUpdateBuilder

func (*ClusterStateUpdateBuilder) MasterApplyTimeMillis ¶

func (rb *ClusterStateUpdateBuilder) MasterApplyTimeMillis(masterapplytimemillis *DurationValueUnitMillisBuilder) *ClusterStateUpdateBuilder

func (*ClusterStateUpdateBuilder) NotificationTime ¶

func (rb *ClusterStateUpdateBuilder) NotificationTime(notificationtime *DurationBuilder) *ClusterStateUpdateBuilder

func (*ClusterStateUpdateBuilder) NotificationTimeMillis ¶

func (rb *ClusterStateUpdateBuilder) NotificationTimeMillis(notificationtimemillis *DurationValueUnitMillisBuilder) *ClusterStateUpdateBuilder

func (*ClusterStateUpdateBuilder) PublicationTime ¶

func (rb *ClusterStateUpdateBuilder) PublicationTime(publicationtime *DurationBuilder) *ClusterStateUpdateBuilder

func (*ClusterStateUpdateBuilder) PublicationTimeMillis ¶

func (rb *ClusterStateUpdateBuilder) PublicationTimeMillis(publicationtimemillis *DurationValueUnitMillisBuilder) *ClusterStateUpdateBuilder

type ClusterStatistics ¶

type ClusterStatistics struct {
	Skipped    int `json:"skipped"`
	Successful int `json:"successful"`
	Total      int `json:"total"`
}

ClusterStatistics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L27-L31

type ClusterStatisticsBuilder ¶

type ClusterStatisticsBuilder struct {
	// contains filtered or unexported fields
}

ClusterStatisticsBuilder holds ClusterStatistics struct and provides a builder API.

func NewClusterStatisticsBuilder ¶

func NewClusterStatisticsBuilder() *ClusterStatisticsBuilder

NewClusterStatistics provides a builder for the ClusterStatistics struct.

func (*ClusterStatisticsBuilder) Build ¶

Build finalize the chain and returns the ClusterStatistics struct

func (*ClusterStatisticsBuilder) Skipped ¶

func (*ClusterStatisticsBuilder) Successful ¶

func (rb *ClusterStatisticsBuilder) Successful(successful int) *ClusterStatisticsBuilder

func (*ClusterStatisticsBuilder) Total ¶

type Collector ¶

type Collector struct {
	Children    []Collector            `json:"children,omitempty"`
	Name        string                 `json:"name"`
	Reason      string                 `json:"reason"`
	TimeInNanos DurationValueUnitNanos `json:"time_in_nanos"`
}

Collector type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/profile.ts#L84-L89

type CollectorBuilder ¶

type CollectorBuilder struct {
	// contains filtered or unexported fields
}

CollectorBuilder holds Collector struct and provides a builder API.

func NewCollectorBuilder ¶

func NewCollectorBuilder() *CollectorBuilder

NewCollector provides a builder for the Collector struct.

func (*CollectorBuilder) Build ¶

func (rb *CollectorBuilder) Build() Collector

Build finalize the chain and returns the Collector struct

func (*CollectorBuilder) Children ¶

func (rb *CollectorBuilder) Children(children []CollectorBuilder) *CollectorBuilder

func (*CollectorBuilder) Name ¶

func (rb *CollectorBuilder) Name(name string) *CollectorBuilder

func (*CollectorBuilder) Reason ¶

func (rb *CollectorBuilder) Reason(reason string) *CollectorBuilder

func (*CollectorBuilder) TimeInNanos ¶

func (rb *CollectorBuilder) TimeInNanos(timeinnanos *DurationValueUnitNanosBuilder) *CollectorBuilder

type ColumnBuilder ¶

type ColumnBuilder struct {
	// contains filtered or unexported fields
}

ColumnBuilder holds Column struct and provides a builder API.

func NewColumnBuilder ¶

func NewColumnBuilder() *ColumnBuilder

NewColumn provides a builder for the Column struct.

func (*ColumnBuilder) Build ¶

func (rb *ColumnBuilder) Build() Column

Build finalize the chain and returns the Column struct

func (*ColumnBuilder) Name ¶

func (rb *ColumnBuilder) Name(name Name) *ColumnBuilder

func (*ColumnBuilder) Type_ ¶

func (rb *ColumnBuilder) Type_(type_ string) *ColumnBuilder

type CombinedFieldsQuery ¶

type CombinedFieldsQuery struct {
	AutoGenerateSynonymsPhraseQuery *bool                                            `json:"auto_generate_synonyms_phrase_query,omitempty"`
	Boost                           *float32                                         `json:"boost,omitempty"`
	Fields                          []Field                                          `json:"fields"`
	MinimumShouldMatch              *MinimumShouldMatch                              `json:"minimum_should_match,omitempty"`
	Operator                        *combinedfieldsoperator.CombinedFieldsOperator   `json:"operator,omitempty"`
	Query                           string                                           `json:"query"`
	QueryName_                      *string                                          `json:"_name,omitempty"`
	ZeroTermsQuery                  *combinedfieldszeroterms.CombinedFieldsZeroTerms `json:"zero_terms_query,omitempty"`
}

CombinedFieldsQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/abstractions.ts#L183-L197

type CombinedFieldsQueryBuilder ¶

type CombinedFieldsQueryBuilder struct {
	// contains filtered or unexported fields
}

CombinedFieldsQueryBuilder holds CombinedFieldsQuery struct and provides a builder API.

func NewCombinedFieldsQueryBuilder ¶

func NewCombinedFieldsQueryBuilder() *CombinedFieldsQueryBuilder

NewCombinedFieldsQuery provides a builder for the CombinedFieldsQuery struct.

func (*CombinedFieldsQueryBuilder) AutoGenerateSynonymsPhraseQuery ¶

func (rb *CombinedFieldsQueryBuilder) AutoGenerateSynonymsPhraseQuery(autogeneratesynonymsphrasequery bool) *CombinedFieldsQueryBuilder

func (*CombinedFieldsQueryBuilder) Boost ¶

func (*CombinedFieldsQueryBuilder) Build ¶

Build finalize the chain and returns the CombinedFieldsQuery struct

func (*CombinedFieldsQueryBuilder) Fields ¶

func (*CombinedFieldsQueryBuilder) MinimumShouldMatch ¶

func (rb *CombinedFieldsQueryBuilder) MinimumShouldMatch(minimumshouldmatch *MinimumShouldMatchBuilder) *CombinedFieldsQueryBuilder

func (*CombinedFieldsQueryBuilder) Operator ¶

func (*CombinedFieldsQueryBuilder) Query ¶

func (*CombinedFieldsQueryBuilder) QueryName_ ¶

func (rb *CombinedFieldsQueryBuilder) QueryName_(queryname_ string) *CombinedFieldsQueryBuilder

func (*CombinedFieldsQueryBuilder) ZeroTermsQuery ¶

type Command ¶

type Command struct {
	// AllocateEmptyPrimary Allocate an empty primary shard to a node. Accepts the index and shard for
	// index name and shard number, and node to allocate the shard to. Using this
	// command leads to a complete loss of all data that was indexed into this
	// shard, if it was previously started. If a node which has a copy of the data
	// rejoins the cluster later on, that data will be deleted. To ensure that these
	// implications are well-understood, this command requires the flag
	// accept_data_loss to be explicitly set to true.
	AllocateEmptyPrimary *CommandAllocatePrimaryAction `json:"allocate_empty_primary,omitempty"`
	// AllocateReplica Allocate an unassigned replica shard to a node. Accepts index and shard for
	// index name and shard number, and node to allocate the shard to. Takes
	// allocation deciders into account.
	AllocateReplica *CommandAllocateReplicaAction `json:"allocate_replica,omitempty"`
	// AllocateStalePrimary Allocate a primary shard to a node that holds a stale copy. Accepts the index
	// and shard for index name and shard number, and node to allocate the shard to.
	// Using this command may lead to data loss for the provided shard id. If a node
	// which has the good copy of the data rejoins the cluster later on, that data
	// will be deleted or overwritten with the data of the stale copy that was
	// forcefully allocated with this command. To ensure that these implications are
	// well-understood, this command requires the flag accept_data_loss to be
	// explicitly set to true.
	AllocateStalePrimary *CommandAllocatePrimaryAction `json:"allocate_stale_primary,omitempty"`
	// Cancel Cancel allocation of a shard (or recovery). Accepts index and shard for index
	// name and shard number, and node for the node to cancel the shard allocation
	// on. This can be used to force resynchronization of existing replicas from the
	// primary shard by cancelling them and allowing them to be reinitialized
	// through the standard recovery process. By default only replica shard
	// allocations can be cancelled. If it is necessary to cancel the allocation of
	// a primary shard then the allow_primary flag must also be included in the
	// request.
	Cancel *CommandCancelAction `json:"cancel,omitempty"`
	// Move Move a started shard from one node to another node. Accepts index and shard
	// for index name and shard number, from_node for the node to move the shard
	// from, and to_node for the node to move the shard to.
	Move *CommandMoveAction `json:"move,omitempty"`
}

Command type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/reroute/types.ts#L22-L43

type CommandAllocatePrimaryAction ¶

type CommandAllocatePrimaryAction struct {
	// AcceptDataLoss If a node which has a copy of the data rejoins the cluster later on, that
	// data will be deleted. To ensure that these implications are well-understood,
	// this command requires the flag accept_data_loss to be explicitly set to true
	AcceptDataLoss bool      `json:"accept_data_loss"`
	Index          IndexName `json:"index"`
	Node           string    `json:"node"`
	Shard          int       `json:"shard"`
}

CommandAllocatePrimaryAction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/reroute/types.ts#L78-L84

type CommandAllocatePrimaryActionBuilder ¶

type CommandAllocatePrimaryActionBuilder struct {
	// contains filtered or unexported fields
}

CommandAllocatePrimaryActionBuilder holds CommandAllocatePrimaryAction struct and provides a builder API.

func NewCommandAllocatePrimaryActionBuilder ¶

func NewCommandAllocatePrimaryActionBuilder() *CommandAllocatePrimaryActionBuilder

NewCommandAllocatePrimaryAction provides a builder for the CommandAllocatePrimaryAction struct.

func (*CommandAllocatePrimaryActionBuilder) AcceptDataLoss ¶

func (*CommandAllocatePrimaryActionBuilder) Build ¶

Build finalize the chain and returns the CommandAllocatePrimaryAction struct

func (*CommandAllocatePrimaryActionBuilder) Index ¶

func (*CommandAllocatePrimaryActionBuilder) Node ¶

func (*CommandAllocatePrimaryActionBuilder) Shard ¶

type CommandAllocateReplicaAction ¶

type CommandAllocateReplicaAction struct {
	Index IndexName `json:"index"`
	Node  string    `json:"node"`
	Shard int       `json:"shard"`
}

CommandAllocateReplicaAction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/reroute/types.ts#L69-L76

type CommandAllocateReplicaActionBuilder ¶

type CommandAllocateReplicaActionBuilder struct {
	// contains filtered or unexported fields
}

CommandAllocateReplicaActionBuilder holds CommandAllocateReplicaAction struct and provides a builder API.

func NewCommandAllocateReplicaActionBuilder ¶

func NewCommandAllocateReplicaActionBuilder() *CommandAllocateReplicaActionBuilder

NewCommandAllocateReplicaAction provides a builder for the CommandAllocateReplicaAction struct.

func (*CommandAllocateReplicaActionBuilder) Build ¶

Build finalize the chain and returns the CommandAllocateReplicaAction struct

func (*CommandAllocateReplicaActionBuilder) Index ¶

func (*CommandAllocateReplicaActionBuilder) Node ¶

func (*CommandAllocateReplicaActionBuilder) Shard ¶

type CommandBuilder ¶

type CommandBuilder struct {
	// contains filtered or unexported fields
}

CommandBuilder holds Command struct and provides a builder API.

func NewCommandBuilder ¶

func NewCommandBuilder() *CommandBuilder

NewCommand provides a builder for the Command struct.

func (*CommandBuilder) AllocateEmptyPrimary ¶

func (rb *CommandBuilder) AllocateEmptyPrimary(allocateemptyprimary *CommandAllocatePrimaryActionBuilder) *CommandBuilder

func (*CommandBuilder) AllocateReplica ¶

func (rb *CommandBuilder) AllocateReplica(allocatereplica *CommandAllocateReplicaActionBuilder) *CommandBuilder

func (*CommandBuilder) AllocateStalePrimary ¶

func (rb *CommandBuilder) AllocateStalePrimary(allocatestaleprimary *CommandAllocatePrimaryActionBuilder) *CommandBuilder

func (*CommandBuilder) Build ¶

func (rb *CommandBuilder) Build() Command

Build finalize the chain and returns the Command struct

func (*CommandBuilder) Cancel ¶

func (*CommandBuilder) Move ¶

type CommandCancelAction ¶

type CommandCancelAction struct {
	AllowPrimary *bool     `json:"allow_primary,omitempty"`
	Index        IndexName `json:"index"`
	Node         string    `json:"node"`
	Shard        int       `json:"shard"`
}

CommandCancelAction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/reroute/types.ts#L45-L50

type CommandCancelActionBuilder ¶

type CommandCancelActionBuilder struct {
	// contains filtered or unexported fields
}

CommandCancelActionBuilder holds CommandCancelAction struct and provides a builder API.

func NewCommandCancelActionBuilder ¶

func NewCommandCancelActionBuilder() *CommandCancelActionBuilder

NewCommandCancelAction provides a builder for the CommandCancelAction struct.

func (*CommandCancelActionBuilder) AllowPrimary ¶

func (rb *CommandCancelActionBuilder) AllowPrimary(allowprimary bool) *CommandCancelActionBuilder

func (*CommandCancelActionBuilder) Build ¶

Build finalize the chain and returns the CommandCancelAction struct

func (*CommandCancelActionBuilder) Index ¶

func (*CommandCancelActionBuilder) Node ¶

func (*CommandCancelActionBuilder) Shard ¶

type CommandMoveAction ¶

type CommandMoveAction struct {
	// FromNode The node to move the shard from
	FromNode string    `json:"from_node"`
	Index    IndexName `json:"index"`
	Shard    int       `json:"shard"`
	// ToNode The node to move the shard to
	ToNode string `json:"to_node"`
}

CommandMoveAction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/reroute/types.ts#L60-L67

type CommandMoveActionBuilder ¶

type CommandMoveActionBuilder struct {
	// contains filtered or unexported fields
}

CommandMoveActionBuilder holds CommandMoveAction struct and provides a builder API.

func NewCommandMoveActionBuilder ¶

func NewCommandMoveActionBuilder() *CommandMoveActionBuilder

NewCommandMoveAction provides a builder for the CommandMoveAction struct.

func (*CommandMoveActionBuilder) Build ¶

Build finalize the chain and returns the CommandMoveAction struct

func (*CommandMoveActionBuilder) FromNode ¶

func (*CommandMoveActionBuilder) Index ¶

func (*CommandMoveActionBuilder) Shard ¶

func (*CommandMoveActionBuilder) ToNode ¶

type CommonGramsTokenFilter ¶

type CommonGramsTokenFilter struct {
	CommonWords     []string       `json:"common_words,omitempty"`
	CommonWordsPath *string        `json:"common_words_path,omitempty"`
	IgnoreCase      *bool          `json:"ignore_case,omitempty"`
	QueryMode       *bool          `json:"query_mode,omitempty"`
	Type            string         `json:"type,omitempty"`
	Version         *VersionString `json:"version,omitempty"`
}

CommonGramsTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L172-L178

type CommonGramsTokenFilterBuilder ¶

type CommonGramsTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

CommonGramsTokenFilterBuilder holds CommonGramsTokenFilter struct and provides a builder API.

func NewCommonGramsTokenFilterBuilder ¶

func NewCommonGramsTokenFilterBuilder() *CommonGramsTokenFilterBuilder

NewCommonGramsTokenFilter provides a builder for the CommonGramsTokenFilter struct.

func (*CommonGramsTokenFilterBuilder) Build ¶

Build finalize the chain and returns the CommonGramsTokenFilter struct

func (*CommonGramsTokenFilterBuilder) CommonWords ¶

func (rb *CommonGramsTokenFilterBuilder) CommonWords(common_words ...string) *CommonGramsTokenFilterBuilder

func (*CommonGramsTokenFilterBuilder) CommonWordsPath ¶

func (rb *CommonGramsTokenFilterBuilder) CommonWordsPath(commonwordspath string) *CommonGramsTokenFilterBuilder

func (*CommonGramsTokenFilterBuilder) IgnoreCase ¶

func (*CommonGramsTokenFilterBuilder) QueryMode ¶

func (*CommonGramsTokenFilterBuilder) Version ¶

type CommonTermsQuery ¶

type CommonTermsQuery struct {
	Analyzer           *string             `json:"analyzer,omitempty"`
	Boost              *float32            `json:"boost,omitempty"`
	CutoffFrequency    *float64            `json:"cutoff_frequency,omitempty"`
	HighFreqOperator   *operator.Operator  `json:"high_freq_operator,omitempty"`
	LowFreqOperator    *operator.Operator  `json:"low_freq_operator,omitempty"`
	MinimumShouldMatch *MinimumShouldMatch `json:"minimum_should_match,omitempty"`
	Query              string              `json:"query"`
	QueryName_         *string             `json:"_name,omitempty"`
}

CommonTermsQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L33-L43

type CommonTermsQueryBuilder ¶

type CommonTermsQueryBuilder struct {
	// contains filtered or unexported fields
}

CommonTermsQueryBuilder holds CommonTermsQuery struct and provides a builder API.

func NewCommonTermsQueryBuilder ¶

func NewCommonTermsQueryBuilder() *CommonTermsQueryBuilder

NewCommonTermsQuery provides a builder for the CommonTermsQuery struct.

func (*CommonTermsQueryBuilder) Analyzer ¶

func (rb *CommonTermsQueryBuilder) Analyzer(analyzer string) *CommonTermsQueryBuilder

func (*CommonTermsQueryBuilder) Boost ¶

func (*CommonTermsQueryBuilder) Build ¶

Build finalize the chain and returns the CommonTermsQuery struct

func (*CommonTermsQueryBuilder) CutoffFrequency ¶

func (rb *CommonTermsQueryBuilder) CutoffFrequency(cutofffrequency float64) *CommonTermsQueryBuilder

func (*CommonTermsQueryBuilder) HighFreqOperator ¶

func (rb *CommonTermsQueryBuilder) HighFreqOperator(highfreqoperator operator.Operator) *CommonTermsQueryBuilder

func (*CommonTermsQueryBuilder) LowFreqOperator ¶

func (rb *CommonTermsQueryBuilder) LowFreqOperator(lowfreqoperator operator.Operator) *CommonTermsQueryBuilder

func (*CommonTermsQueryBuilder) MinimumShouldMatch ¶

func (rb *CommonTermsQueryBuilder) MinimumShouldMatch(minimumshouldmatch *MinimumShouldMatchBuilder) *CommonTermsQueryBuilder

func (*CommonTermsQueryBuilder) Query ¶

func (*CommonTermsQueryBuilder) QueryName_ ¶

func (rb *CommonTermsQueryBuilder) QueryName_(queryname_ string) *CommonTermsQueryBuilder

type CompactNodeInfoBuilder ¶

type CompactNodeInfoBuilder struct {
	// contains filtered or unexported fields
}

CompactNodeInfoBuilder holds CompactNodeInfo struct and provides a builder API.

func NewCompactNodeInfoBuilder ¶

func NewCompactNodeInfoBuilder() *CompactNodeInfoBuilder

NewCompactNodeInfo provides a builder for the CompactNodeInfo struct.

func (*CompactNodeInfoBuilder) Build ¶

Build finalize the chain and returns the CompactNodeInfo struct

func (*CompactNodeInfoBuilder) Name ¶

type CompareCondition ¶

type CompareCondition struct {
	Comparison      *string                         `json:"comparison,omitempty"`
	CtxPayloadMatch *CompareContextPayloadCondition `json:"ctx.payload.match,omitempty"`
	CtxPayloadValue *CompareContextPayloadCondition `json:"ctx.payload.value,omitempty"`
	Path            *string                         `json:"path,omitempty"`
	Value           interface{}                     `json:"value,omitempty"`
}

CompareCondition type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Conditions.ts#L33-L39

type CompareConditionBuilder ¶

type CompareConditionBuilder struct {
	// contains filtered or unexported fields
}

CompareConditionBuilder holds CompareCondition struct and provides a builder API.

func NewCompareConditionBuilder ¶

func NewCompareConditionBuilder() *CompareConditionBuilder

NewCompareCondition provides a builder for the CompareCondition struct.

func (*CompareConditionBuilder) Build ¶

Build finalize the chain and returns the CompareCondition struct

func (*CompareConditionBuilder) Comparison ¶

func (rb *CompareConditionBuilder) Comparison(comparison string) *CompareConditionBuilder

func (*CompareConditionBuilder) CtxPayloadMatch ¶

func (*CompareConditionBuilder) CtxPayloadValue ¶

func (*CompareConditionBuilder) Path ¶

func (*CompareConditionBuilder) Value ¶

func (rb *CompareConditionBuilder) Value(value interface{}) *CompareConditionBuilder

type CompareContextPayloadCondition ¶

type CompareContextPayloadCondition struct {
	Eq  interface{} `json:"eq,omitempty"`
	Gt  interface{} `json:"gt,omitempty"`
	Gte interface{} `json:"gte,omitempty"`
	Lt  interface{} `json:"lt,omitempty"`
	Lte interface{} `json:"lte,omitempty"`
}

CompareContextPayloadCondition type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Conditions.ts#L41-L47

type CompareContextPayloadConditionBuilder ¶

type CompareContextPayloadConditionBuilder struct {
	// contains filtered or unexported fields
}

CompareContextPayloadConditionBuilder holds CompareContextPayloadCondition struct and provides a builder API.

func NewCompareContextPayloadConditionBuilder ¶

func NewCompareContextPayloadConditionBuilder() *CompareContextPayloadConditionBuilder

NewCompareContextPayloadCondition provides a builder for the CompareContextPayloadCondition struct.

func (*CompareContextPayloadConditionBuilder) Build ¶

Build finalize the chain and returns the CompareContextPayloadCondition struct

func (*CompareContextPayloadConditionBuilder) Eq ¶

func (*CompareContextPayloadConditionBuilder) Gt ¶

func (*CompareContextPayloadConditionBuilder) Gte ¶

func (*CompareContextPayloadConditionBuilder) Lt ¶

func (*CompareContextPayloadConditionBuilder) Lte ¶

type CompletionContext ¶

type CompletionContext struct {
	Boost      *float64           `json:"boost,omitempty"`
	Context    Context            `json:"context"`
	Neighbours []GeoHashPrecision `json:"neighbours,omitempty"`
	Precision  *GeoHashPrecision  `json:"precision,omitempty"`
	Prefix     *bool              `json:"prefix,omitempty"`
}

CompletionContext type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L150-L157

type CompletionContextBuilder ¶

type CompletionContextBuilder struct {
	// contains filtered or unexported fields
}

CompletionContextBuilder holds CompletionContext struct and provides a builder API.

func NewCompletionContextBuilder ¶

func NewCompletionContextBuilder() *CompletionContextBuilder

NewCompletionContext provides a builder for the CompletionContext struct.

func (*CompletionContextBuilder) Boost ¶

func (*CompletionContextBuilder) Build ¶

Build finalize the chain and returns the CompletionContext struct

func (*CompletionContextBuilder) Context ¶

func (*CompletionContextBuilder) Neighbours ¶

func (*CompletionContextBuilder) Precision ¶

func (*CompletionContextBuilder) Prefix ¶

type CompletionProperty ¶

type CompletionProperty struct {
	Analyzer                   *string                        `json:"analyzer,omitempty"`
	Contexts                   []SuggestContext               `json:"contexts,omitempty"`
	CopyTo                     *Fields                        `json:"copy_to,omitempty"`
	DocValues                  *bool                          `json:"doc_values,omitempty"`
	Dynamic                    *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields                     map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove                *int                           `json:"ignore_above,omitempty"`
	LocalMetadata              *Metadata                      `json:"local_metadata,omitempty"`
	MaxInputLength             *int                           `json:"max_input_length,omitempty"`
	Meta                       map[string]string              `json:"meta,omitempty"`
	PreservePositionIncrements *bool                          `json:"preserve_position_increments,omitempty"`
	PreserveSeparators         *bool                          `json:"preserve_separators,omitempty"`
	Properties                 map[PropertyName]Property      `json:"properties,omitempty"`
	SearchAnalyzer             *string                        `json:"search_analyzer,omitempty"`
	Similarity                 *string                        `json:"similarity,omitempty"`
	Store                      *bool                          `json:"store,omitempty"`
	Type                       string                         `json:"type,omitempty"`
}

CompletionProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/specialized.ts#L26-L34

type CompletionPropertyBuilder ¶

type CompletionPropertyBuilder struct {
	// contains filtered or unexported fields
}

CompletionPropertyBuilder holds CompletionProperty struct and provides a builder API.

func NewCompletionPropertyBuilder ¶

func NewCompletionPropertyBuilder() *CompletionPropertyBuilder

NewCompletionProperty provides a builder for the CompletionProperty struct.

func (*CompletionPropertyBuilder) Analyzer ¶

func (*CompletionPropertyBuilder) Build ¶

Build finalize the chain and returns the CompletionProperty struct

func (*CompletionPropertyBuilder) Contexts ¶

func (*CompletionPropertyBuilder) CopyTo ¶

func (*CompletionPropertyBuilder) DocValues ¶

func (rb *CompletionPropertyBuilder) DocValues(docvalues bool) *CompletionPropertyBuilder

func (*CompletionPropertyBuilder) Dynamic ¶

func (*CompletionPropertyBuilder) Fields ¶

func (*CompletionPropertyBuilder) IgnoreAbove ¶

func (rb *CompletionPropertyBuilder) IgnoreAbove(ignoreabove int) *CompletionPropertyBuilder

func (*CompletionPropertyBuilder) LocalMetadata ¶

func (rb *CompletionPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *CompletionPropertyBuilder

func (*CompletionPropertyBuilder) MaxInputLength ¶

func (rb *CompletionPropertyBuilder) MaxInputLength(maxinputlength int) *CompletionPropertyBuilder

func (*CompletionPropertyBuilder) Meta ¶

func (*CompletionPropertyBuilder) PreservePositionIncrements ¶

func (rb *CompletionPropertyBuilder) PreservePositionIncrements(preservepositionincrements bool) *CompletionPropertyBuilder

func (*CompletionPropertyBuilder) PreserveSeparators ¶

func (rb *CompletionPropertyBuilder) PreserveSeparators(preserveseparators bool) *CompletionPropertyBuilder

func (*CompletionPropertyBuilder) Properties ¶

func (*CompletionPropertyBuilder) SearchAnalyzer ¶

func (rb *CompletionPropertyBuilder) SearchAnalyzer(searchanalyzer string) *CompletionPropertyBuilder

func (*CompletionPropertyBuilder) Similarity ¶

func (rb *CompletionPropertyBuilder) Similarity(similarity string) *CompletionPropertyBuilder

func (*CompletionPropertyBuilder) Store ¶

type CompletionStats ¶

type CompletionStats struct {
	Fields      map[Field]FieldSizeUsage `json:"fields,omitempty"`
	Size        *ByteSize                `json:"size,omitempty"`
	SizeInBytes int64                    `json:"size_in_bytes"`
}

CompletionStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L53-L57

type CompletionStatsBuilder ¶

type CompletionStatsBuilder struct {
	// contains filtered or unexported fields
}

CompletionStatsBuilder holds CompletionStats struct and provides a builder API.

func NewCompletionStatsBuilder ¶

func NewCompletionStatsBuilder() *CompletionStatsBuilder

NewCompletionStats provides a builder for the CompletionStats struct.

func (*CompletionStatsBuilder) Build ¶

Build finalize the chain and returns the CompletionStats struct

func (*CompletionStatsBuilder) Fields ¶

func (*CompletionStatsBuilder) Size ¶

func (*CompletionStatsBuilder) SizeInBytes ¶

func (rb *CompletionStatsBuilder) SizeInBytes(sizeinbytes int64) *CompletionStatsBuilder

type CompletionSuggest ¶

type CompletionSuggest struct {
	Length  int                       `json:"length"`
	Offset  int                       `json:"offset"`
	Options []CompletionSuggestOption `json:"options"`
	Text    string                    `json:"text"`
}

CompletionSuggest type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L48-L53

type CompletionSuggestBuilder ¶

type CompletionSuggestBuilder struct {
	// contains filtered or unexported fields
}

CompletionSuggestBuilder holds CompletionSuggest struct and provides a builder API.

func NewCompletionSuggestBuilder ¶

func NewCompletionSuggestBuilder() *CompletionSuggestBuilder

NewCompletionSuggest provides a builder for the CompletionSuggest struct.

func (*CompletionSuggestBuilder) Build ¶

Build finalize the chain and returns the CompletionSuggest struct

func (*CompletionSuggestBuilder) Length ¶

func (*CompletionSuggestBuilder) Offset ¶

func (*CompletionSuggestBuilder) Options ¶

func (*CompletionSuggestBuilder) Text ¶

type CompletionSuggestOption ¶

type CompletionSuggestOption struct {
	CollateMatch *bool                  `json:"collate_match,omitempty"`
	Contexts     map[string][]Context   `json:"contexts,omitempty"`
	Fields       map[string]interface{} `json:"fields,omitempty"`
	Id_          *string                `json:"_id,omitempty"`
	Index_       *IndexName             `json:"_index,omitempty"`
	Routing_     *Routing               `json:"_routing,omitempty"`
	Score        *float64               `json:"score,omitempty"`
	Score_       *float64               `json:"_score,omitempty"`
	Source_      interface{}            `json:"_source,omitempty"`
	Text         string                 `json:"text"`
}

CompletionSuggestOption type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L71-L82

type CompletionSuggestOptionBuilder ¶

type CompletionSuggestOptionBuilder struct {
	// contains filtered or unexported fields
}

CompletionSuggestOptionBuilder holds CompletionSuggestOption struct and provides a builder API.

func NewCompletionSuggestOptionBuilder ¶

func NewCompletionSuggestOptionBuilder() *CompletionSuggestOptionBuilder

NewCompletionSuggestOption provides a builder for the CompletionSuggestOption struct.

func (*CompletionSuggestOptionBuilder) Build ¶

Build finalize the chain and returns the CompletionSuggestOption struct

func (*CompletionSuggestOptionBuilder) CollateMatch ¶

func (rb *CompletionSuggestOptionBuilder) CollateMatch(collatematch bool) *CompletionSuggestOptionBuilder

func (*CompletionSuggestOptionBuilder) Contexts ¶

func (*CompletionSuggestOptionBuilder) Fields ¶

func (rb *CompletionSuggestOptionBuilder) Fields(value map[string]interface{}) *CompletionSuggestOptionBuilder

func (*CompletionSuggestOptionBuilder) Id_ ¶

func (*CompletionSuggestOptionBuilder) Index_ ¶

func (*CompletionSuggestOptionBuilder) Routing_ ¶

func (*CompletionSuggestOptionBuilder) Score ¶

func (*CompletionSuggestOptionBuilder) Score_ ¶

func (*CompletionSuggestOptionBuilder) Source_ ¶

func (rb *CompletionSuggestOptionBuilder) Source_(source_ interface{}) *CompletionSuggestOptionBuilder

func (*CompletionSuggestOptionBuilder) Text ¶

type CompletionSuggester ¶

type CompletionSuggester struct {
	Analyzer       *string                       `json:"analyzer,omitempty"`
	Contexts       map[Field][]CompletionContext `json:"contexts,omitempty"`
	Field          Field                         `json:"field"`
	Fuzzy          *SuggestFuzziness             `json:"fuzzy,omitempty"`
	Prefix         *string                       `json:"prefix,omitempty"`
	Regex          *string                       `json:"regex,omitempty"`
	Size           *int                          `json:"size,omitempty"`
	SkipDuplicates *bool                         `json:"skip_duplicates,omitempty"`
}

CompletionSuggester type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L125-L131

type CompletionSuggesterBuilder ¶

type CompletionSuggesterBuilder struct {
	// contains filtered or unexported fields
}

CompletionSuggesterBuilder holds CompletionSuggester struct and provides a builder API.

func NewCompletionSuggesterBuilder ¶

func NewCompletionSuggesterBuilder() *CompletionSuggesterBuilder

NewCompletionSuggester provides a builder for the CompletionSuggester struct.

func (*CompletionSuggesterBuilder) Analyzer ¶

func (*CompletionSuggesterBuilder) Build ¶

Build finalize the chain and returns the CompletionSuggester struct

func (*CompletionSuggesterBuilder) Contexts ¶

func (*CompletionSuggesterBuilder) Field ¶

func (*CompletionSuggesterBuilder) Fuzzy ¶

func (*CompletionSuggesterBuilder) Prefix ¶

func (*CompletionSuggesterBuilder) Regex ¶

func (*CompletionSuggesterBuilder) Size ¶

func (*CompletionSuggesterBuilder) SkipDuplicates ¶

func (rb *CompletionSuggesterBuilder) SkipDuplicates(skipduplicates bool) *CompletionSuggesterBuilder

type ComponentTemplateBuilder ¶

type ComponentTemplateBuilder struct {
	// contains filtered or unexported fields
}

ComponentTemplateBuilder holds ComponentTemplate struct and provides a builder API.

func NewComponentTemplateBuilder ¶

func NewComponentTemplateBuilder() *ComponentTemplateBuilder

NewComponentTemplate provides a builder for the ComponentTemplate struct.

func (*ComponentTemplateBuilder) Build ¶

Build finalize the chain and returns the ComponentTemplate struct

func (*ComponentTemplateBuilder) ComponentTemplate ¶

func (rb *ComponentTemplateBuilder) ComponentTemplate(componenttemplate *ComponentTemplateNodeBuilder) *ComponentTemplateBuilder

func (*ComponentTemplateBuilder) Name ¶

type ComponentTemplateNode ¶

type ComponentTemplateNode struct {
	Meta_    *Metadata                `json:"_meta,omitempty"`
	Template ComponentTemplateSummary `json:"template"`
	Version  *VersionNumber           `json:"version,omitempty"`
}

ComponentTemplateNode type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/_types/ComponentTemplate.ts#L31-L36

type ComponentTemplateNodeBuilder ¶

type ComponentTemplateNodeBuilder struct {
	// contains filtered or unexported fields
}

ComponentTemplateNodeBuilder holds ComponentTemplateNode struct and provides a builder API.

func NewComponentTemplateNodeBuilder ¶

func NewComponentTemplateNodeBuilder() *ComponentTemplateNodeBuilder

NewComponentTemplateNode provides a builder for the ComponentTemplateNode struct.

func (*ComponentTemplateNodeBuilder) Build ¶

Build finalize the chain and returns the ComponentTemplateNode struct

func (*ComponentTemplateNodeBuilder) Meta_ ¶

func (*ComponentTemplateNodeBuilder) Template ¶

func (*ComponentTemplateNodeBuilder) Version ¶

type ComponentTemplateSummary ¶

type ComponentTemplateSummary struct {
	Aliases  map[string]AliasDefinition  `json:"aliases,omitempty"`
	Mappings *TypeMapping                `json:"mappings,omitempty"`
	Meta_    *Metadata                   `json:"_meta,omitempty"`
	Settings map[IndexName]IndexSettings `json:"settings"`
	Version  *VersionNumber              `json:"version,omitempty"`
}

ComponentTemplateSummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/_types/ComponentTemplate.ts#L38-L45

type ComponentTemplateSummaryBuilder ¶

type ComponentTemplateSummaryBuilder struct {
	// contains filtered or unexported fields
}

ComponentTemplateSummaryBuilder holds ComponentTemplateSummary struct and provides a builder API.

func NewComponentTemplateSummaryBuilder ¶

func NewComponentTemplateSummaryBuilder() *ComponentTemplateSummaryBuilder

NewComponentTemplateSummary provides a builder for the ComponentTemplateSummary struct.

func (*ComponentTemplateSummaryBuilder) Aliases ¶

func (*ComponentTemplateSummaryBuilder) Build ¶

Build finalize the chain and returns the ComponentTemplateSummary struct

func (*ComponentTemplateSummaryBuilder) Mappings ¶

func (*ComponentTemplateSummaryBuilder) Meta_ ¶

func (*ComponentTemplateSummaryBuilder) Settings ¶

func (*ComponentTemplateSummaryBuilder) Version ¶

type CompositeAggregate ¶

type CompositeAggregate struct {
	AfterKey map[string]interface{} `json:"after_key,omitempty"`
	Buckets  BucketsCompositeBucket `json:"buckets"`
	Meta     *Metadata              `json:"meta,omitempty"`
}

CompositeAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L588-L592

type CompositeAggregateBuilder ¶

type CompositeAggregateBuilder struct {
	// contains filtered or unexported fields
}

CompositeAggregateBuilder holds CompositeAggregate struct and provides a builder API.

func NewCompositeAggregateBuilder ¶

func NewCompositeAggregateBuilder() *CompositeAggregateBuilder

NewCompositeAggregate provides a builder for the CompositeAggregate struct.

func (*CompositeAggregateBuilder) AfterKey ¶

func (rb *CompositeAggregateBuilder) AfterKey(value map[string]interface{}) *CompositeAggregateBuilder

func (*CompositeAggregateBuilder) Buckets ¶

func (*CompositeAggregateBuilder) Build ¶

Build finalize the chain and returns the CompositeAggregate struct

func (*CompositeAggregateBuilder) Meta ¶

type CompositeAggregation ¶

type CompositeAggregation struct {
	After   map[string]string                       `json:"after,omitempty"`
	Meta    *Metadata                               `json:"meta,omitempty"`
	Name    *string                                 `json:"name,omitempty"`
	Size    *int                                    `json:"size,omitempty"`
	Sources []map[string]CompositeAggregationSource `json:"sources,omitempty"`
}

CompositeAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L77-L81

type CompositeAggregationBuilder ¶

type CompositeAggregationBuilder struct {
	// contains filtered or unexported fields
}

CompositeAggregationBuilder holds CompositeAggregation struct and provides a builder API.

func NewCompositeAggregationBuilder ¶

func NewCompositeAggregationBuilder() *CompositeAggregationBuilder

NewCompositeAggregation provides a builder for the CompositeAggregation struct.

func (*CompositeAggregationBuilder) After ¶

func (*CompositeAggregationBuilder) Build ¶

Build finalize the chain and returns the CompositeAggregation struct

func (*CompositeAggregationBuilder) Meta ¶

func (*CompositeAggregationBuilder) Name ¶

func (*CompositeAggregationBuilder) Size ¶

func (*CompositeAggregationBuilder) Sources ¶

type CompositeAggregationSource ¶

type CompositeAggregationSource struct {
	DateHistogram *DateHistogramAggregation `json:"date_histogram,omitempty"`
	GeotileGrid   *GeoTileGridAggregation   `json:"geotile_grid,omitempty"`
	Histogram     *HistogramAggregation     `json:"histogram,omitempty"`
	Terms         *TermsAggregation         `json:"terms,omitempty"`
}

CompositeAggregationSource type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L83-L88

type CompositeAggregationSourceBuilder ¶

type CompositeAggregationSourceBuilder struct {
	// contains filtered or unexported fields
}

CompositeAggregationSourceBuilder holds CompositeAggregationSource struct and provides a builder API.

func NewCompositeAggregationSourceBuilder ¶

func NewCompositeAggregationSourceBuilder() *CompositeAggregationSourceBuilder

NewCompositeAggregationSource provides a builder for the CompositeAggregationSource struct.

func (*CompositeAggregationSourceBuilder) Build ¶

Build finalize the chain and returns the CompositeAggregationSource struct

func (*CompositeAggregationSourceBuilder) DateHistogram ¶

func (*CompositeAggregationSourceBuilder) GeotileGrid ¶

func (*CompositeAggregationSourceBuilder) Histogram ¶

func (*CompositeAggregationSourceBuilder) Terms ¶

type CompositeBucket ¶

type CompositeBucket struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Key          map[string]interface{}      `json:"key"`
}

CompositeBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L594-L596

type CompositeBucketBuilder ¶

type CompositeBucketBuilder struct {
	// contains filtered or unexported fields
}

CompositeBucketBuilder holds CompositeBucket struct and provides a builder API.

func NewCompositeBucketBuilder ¶

func NewCompositeBucketBuilder() *CompositeBucketBuilder

NewCompositeBucket provides a builder for the CompositeBucket struct.

func (*CompositeBucketBuilder) Aggregations ¶

func (*CompositeBucketBuilder) Build ¶

Build finalize the chain and returns the CompositeBucket struct

func (*CompositeBucketBuilder) DocCount ¶

func (rb *CompositeBucketBuilder) DocCount(doccount int64) *CompositeBucketBuilder

func (*CompositeBucketBuilder) Key ¶

func (rb *CompositeBucketBuilder) Key(value map[string]interface{}) *CompositeBucketBuilder

type CompoundWordTokenFilterBase ¶

type CompoundWordTokenFilterBase struct {
	HyphenationPatternsPath *string        `json:"hyphenation_patterns_path,omitempty"`
	MaxSubwordSize          *int           `json:"max_subword_size,omitempty"`
	MinSubwordSize          *int           `json:"min_subword_size,omitempty"`
	MinWordSize             *int           `json:"min_word_size,omitempty"`
	OnlyLongestMatch        *bool          `json:"only_longest_match,omitempty"`
	Version                 *VersionString `json:"version,omitempty"`
	WordList                []string       `json:"word_list,omitempty"`
	WordListPath            *string        `json:"word_list_path,omitempty"`
}

CompoundWordTokenFilterBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L43-L51

type CompoundWordTokenFilterBaseBuilder ¶

type CompoundWordTokenFilterBaseBuilder struct {
	// contains filtered or unexported fields
}

CompoundWordTokenFilterBaseBuilder holds CompoundWordTokenFilterBase struct and provides a builder API.

func NewCompoundWordTokenFilterBaseBuilder ¶

func NewCompoundWordTokenFilterBaseBuilder() *CompoundWordTokenFilterBaseBuilder

NewCompoundWordTokenFilterBase provides a builder for the CompoundWordTokenFilterBase struct.

func (*CompoundWordTokenFilterBaseBuilder) Build ¶

Build finalize the chain and returns the CompoundWordTokenFilterBase struct

func (*CompoundWordTokenFilterBaseBuilder) HyphenationPatternsPath ¶

func (rb *CompoundWordTokenFilterBaseBuilder) HyphenationPatternsPath(hyphenationpatternspath string) *CompoundWordTokenFilterBaseBuilder

func (*CompoundWordTokenFilterBaseBuilder) MaxSubwordSize ¶

func (*CompoundWordTokenFilterBaseBuilder) MinSubwordSize ¶

func (*CompoundWordTokenFilterBaseBuilder) MinWordSize ¶

func (*CompoundWordTokenFilterBaseBuilder) OnlyLongestMatch ¶

func (rb *CompoundWordTokenFilterBaseBuilder) OnlyLongestMatch(onlylongestmatch bool) *CompoundWordTokenFilterBaseBuilder

func (*CompoundWordTokenFilterBaseBuilder) Version ¶

func (*CompoundWordTokenFilterBaseBuilder) WordList ¶

func (*CompoundWordTokenFilterBaseBuilder) WordListPath ¶

type ConditionContainer ¶

type ConditionContainer struct {
	Always       *AlwaysCondition       `json:"always,omitempty"`
	ArrayCompare *ArrayCompareCondition `json:"array_compare,omitempty"`
	Compare      *CompareCondition      `json:"compare,omitempty"`
	Never        *NeverCondition        `json:"never,omitempty"`
	Script       *ScriptCondition       `json:"script,omitempty"`
}

ConditionContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Conditions.ts#L51-L60

type ConditionContainerBuilder ¶

type ConditionContainerBuilder struct {
	// contains filtered or unexported fields
}

ConditionContainerBuilder holds ConditionContainer struct and provides a builder API.

func NewConditionContainerBuilder ¶

func NewConditionContainerBuilder() *ConditionContainerBuilder

NewConditionContainer provides a builder for the ConditionContainer struct.

func (*ConditionContainerBuilder) Always ¶

func (*ConditionContainerBuilder) ArrayCompare ¶

func (*ConditionContainerBuilder) Build ¶

Build finalize the chain and returns the ConditionContainer struct

func (*ConditionContainerBuilder) Compare ¶

func (*ConditionContainerBuilder) Never ¶

func (*ConditionContainerBuilder) Script ¶

type ConditionTokenFilter ¶

type ConditionTokenFilter struct {
	Filter  []string       `json:"filter"`
	Script  Script         `json:"script"`
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

ConditionTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L180-L184

type ConditionTokenFilterBuilder ¶

type ConditionTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

ConditionTokenFilterBuilder holds ConditionTokenFilter struct and provides a builder API.

func NewConditionTokenFilterBuilder ¶

func NewConditionTokenFilterBuilder() *ConditionTokenFilterBuilder

NewConditionTokenFilter provides a builder for the ConditionTokenFilter struct.

func (*ConditionTokenFilterBuilder) Build ¶

Build finalize the chain and returns the ConditionTokenFilter struct

func (*ConditionTokenFilterBuilder) Filter ¶

func (*ConditionTokenFilterBuilder) Script ¶

func (*ConditionTokenFilterBuilder) Version ¶

type Configuration ¶

type Configuration struct {
	// FeatureStates A list of feature states to be included in this snapshot. A list of features
	// available for inclusion in the snapshot and their descriptions be can be
	// retrieved using the get features API.
	// Each feature state includes one or more system indices containing data
	// necessary for the function of that feature. Providing an empty array will
	// include no feature states in the snapshot, regardless of the value of
	// include_global_state. By default, all available feature states will be
	// included in the snapshot if include_global_state is true, or no feature
	// states if include_global_state is false.
	FeatureStates []string `json:"feature_states,omitempty"`
	// IgnoreUnavailable If false, the snapshot fails if any data stream or index in indices is
	// missing or closed. If true, the snapshot ignores missing or closed data
	// streams and indices.
	IgnoreUnavailable *bool `json:"ignore_unavailable,omitempty"`
	// IncludeGlobalState If true, the current global state is included in the snapshot.
	IncludeGlobalState *bool `json:"include_global_state,omitempty"`
	// Indices A comma-separated list of data streams and indices to include in the
	// snapshot. Multi-index syntax is supported.
	// By default, a snapshot includes all data streams and indices in the cluster.
	// If this argument is provided, the snapshot only includes the specified data
	// streams and clusters.
	Indices Indices `json:"indices"`
	// Metadata Attaches arbitrary metadata to the snapshot, such as a record of who took the
	// snapshot, why it was taken, or any other useful data. Metadata must be less
	// than 1024 bytes.
	Metadata *Metadata `json:"metadata,omitempty"`
	// Partial If false, the entire snapshot will fail if one or more indices included in
	// the snapshot do not have all primary shards available.
	Partial *bool `json:"partial,omitempty"`
}

Configuration type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/slm/_types/SnapshotLifecycle.ts#L99-L129

type ConfigurationBuilder ¶

type ConfigurationBuilder struct {
	// contains filtered or unexported fields
}

ConfigurationBuilder holds Configuration struct and provides a builder API.

func NewConfigurationBuilder ¶

func NewConfigurationBuilder() *ConfigurationBuilder

NewConfiguration provides a builder for the Configuration struct.

func (*ConfigurationBuilder) Build ¶

func (rb *ConfigurationBuilder) Build() Configuration

Build finalize the chain and returns the Configuration struct

func (*ConfigurationBuilder) FeatureStates ¶

func (rb *ConfigurationBuilder) FeatureStates(feature_states ...string) *ConfigurationBuilder

func (*ConfigurationBuilder) IgnoreUnavailable ¶

func (rb *ConfigurationBuilder) IgnoreUnavailable(ignoreunavailable bool) *ConfigurationBuilder

func (*ConfigurationBuilder) IncludeGlobalState ¶

func (rb *ConfigurationBuilder) IncludeGlobalState(includeglobalstate bool) *ConfigurationBuilder

func (*ConfigurationBuilder) Indices ¶

func (*ConfigurationBuilder) Metadata ¶

func (*ConfigurationBuilder) Partial ¶

func (rb *ConfigurationBuilder) Partial(partial bool) *ConfigurationBuilder

type Configurations ¶

type Configurations struct {
	Forcemerge *ForceMergeConfiguration `json:"forcemerge,omitempty"`
	Rollover   *RolloverConditions      `json:"rollover,omitempty"`
	Shrink     *ShrinkConfiguration     `json:"shrink,omitempty"`
}

Configurations type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ilm/_types/Phase.ts#L46-L50

type ConfigurationsBuilder ¶

type ConfigurationsBuilder struct {
	// contains filtered or unexported fields
}

ConfigurationsBuilder holds Configurations struct and provides a builder API.

func NewConfigurationsBuilder ¶

func NewConfigurationsBuilder() *ConfigurationsBuilder

NewConfigurations provides a builder for the Configurations struct.

func (*ConfigurationsBuilder) Build ¶

Build finalize the chain and returns the Configurations struct

func (*ConfigurationsBuilder) Forcemerge ¶

func (*ConfigurationsBuilder) Rollover ¶

func (*ConfigurationsBuilder) Shrink ¶

type ConfusionMatrixItem ¶

type ConfusionMatrixItem struct {
	ActualClass                 Name                        `json:"actual_class"`
	ActualClassDocCount         int                         `json:"actual_class_doc_count"`
	OtherPredictedClassDocCount int                         `json:"other_predicted_class_doc_count"`
	PredictedClasses            []ConfusionMatrixPrediction `json:"predicted_classes"`
}

ConfusionMatrixItem type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/evaluate_data_frame/types.ts#L84-L89

type ConfusionMatrixItemBuilder ¶

type ConfusionMatrixItemBuilder struct {
	// contains filtered or unexported fields
}

ConfusionMatrixItemBuilder holds ConfusionMatrixItem struct and provides a builder API.

func NewConfusionMatrixItemBuilder ¶

func NewConfusionMatrixItemBuilder() *ConfusionMatrixItemBuilder

NewConfusionMatrixItem provides a builder for the ConfusionMatrixItem struct.

func (*ConfusionMatrixItemBuilder) ActualClass ¶

func (rb *ConfusionMatrixItemBuilder) ActualClass(actualclass Name) *ConfusionMatrixItemBuilder

func (*ConfusionMatrixItemBuilder) ActualClassDocCount ¶

func (rb *ConfusionMatrixItemBuilder) ActualClassDocCount(actualclassdoccount int) *ConfusionMatrixItemBuilder

func (*ConfusionMatrixItemBuilder) Build ¶

Build finalize the chain and returns the ConfusionMatrixItem struct

func (*ConfusionMatrixItemBuilder) OtherPredictedClassDocCount ¶

func (rb *ConfusionMatrixItemBuilder) OtherPredictedClassDocCount(otherpredictedclassdoccount int) *ConfusionMatrixItemBuilder

func (*ConfusionMatrixItemBuilder) PredictedClasses ¶

type ConfusionMatrixPrediction ¶

type ConfusionMatrixPrediction struct {
	Count          int  `json:"count"`
	PredictedClass Name `json:"predicted_class"`
}

ConfusionMatrixPrediction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/evaluate_data_frame/types.ts#L91-L94

type ConfusionMatrixPredictionBuilder ¶

type ConfusionMatrixPredictionBuilder struct {
	// contains filtered or unexported fields
}

ConfusionMatrixPredictionBuilder holds ConfusionMatrixPrediction struct and provides a builder API.

func NewConfusionMatrixPredictionBuilder ¶

func NewConfusionMatrixPredictionBuilder() *ConfusionMatrixPredictionBuilder

NewConfusionMatrixPrediction provides a builder for the ConfusionMatrixPrediction struct.

func (*ConfusionMatrixPredictionBuilder) Build ¶

Build finalize the chain and returns the ConfusionMatrixPrediction struct

func (*ConfusionMatrixPredictionBuilder) Count ¶

func (*ConfusionMatrixPredictionBuilder) PredictedClass ¶

func (rb *ConfusionMatrixPredictionBuilder) PredictedClass(predictedclass Name) *ConfusionMatrixPredictionBuilder

type ConfusionMatrixThreshold ¶

type ConfusionMatrixThreshold struct {
	// FalseNegative False Negative
	FalseNegative int `json:"fn"`
	// FalsePositive False Positive
	FalsePositive int `json:"fp"`
	// TrueNegative True Negative
	TrueNegative int `json:"tn"`
	// TruePositive True Positive
	TruePositive int `json:"tp"`
}

ConfusionMatrixThreshold type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/evaluate_data_frame/types.ts#L96-L117

type ConfusionMatrixThresholdBuilder ¶

type ConfusionMatrixThresholdBuilder struct {
	// contains filtered or unexported fields
}

ConfusionMatrixThresholdBuilder holds ConfusionMatrixThreshold struct and provides a builder API.

func NewConfusionMatrixThresholdBuilder ¶

func NewConfusionMatrixThresholdBuilder() *ConfusionMatrixThresholdBuilder

NewConfusionMatrixThreshold provides a builder for the ConfusionMatrixThreshold struct.

func (*ConfusionMatrixThresholdBuilder) Build ¶

Build finalize the chain and returns the ConfusionMatrixThreshold struct

func (*ConfusionMatrixThresholdBuilder) FalseNegative ¶

func (rb *ConfusionMatrixThresholdBuilder) FalseNegative(falsenegative int) *ConfusionMatrixThresholdBuilder

func (*ConfusionMatrixThresholdBuilder) FalsePositive ¶

func (rb *ConfusionMatrixThresholdBuilder) FalsePositive(falsepositive int) *ConfusionMatrixThresholdBuilder

func (*ConfusionMatrixThresholdBuilder) TrueNegative ¶

func (*ConfusionMatrixThresholdBuilder) TruePositive ¶

type Connection ¶

type Connection struct {
	DocCount int64   `json:"doc_count"`
	Source   int64   `json:"source"`
	Target   int64   `json:"target"`
	Weight   float64 `json:"weight"`
}

Connection type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/graph/_types/Connection.ts#L22-L27

type ConnectionBuilder ¶

type ConnectionBuilder struct {
	// contains filtered or unexported fields
}

ConnectionBuilder holds Connection struct and provides a builder API.

func NewConnectionBuilder ¶

func NewConnectionBuilder() *ConnectionBuilder

NewConnection provides a builder for the Connection struct.

func (*ConnectionBuilder) Build ¶

func (rb *ConnectionBuilder) Build() Connection

Build finalize the chain and returns the Connection struct

func (*ConnectionBuilder) DocCount ¶

func (rb *ConnectionBuilder) DocCount(doccount int64) *ConnectionBuilder

func (*ConnectionBuilder) Source ¶

func (rb *ConnectionBuilder) Source(source int64) *ConnectionBuilder

func (*ConnectionBuilder) Target ¶

func (rb *ConnectionBuilder) Target(target int64) *ConnectionBuilder

func (*ConnectionBuilder) Weight ¶

func (rb *ConnectionBuilder) Weight(weight float64) *ConnectionBuilder

type ConstantKeywordProperty ¶

type ConstantKeywordProperty struct {
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Type          string                         `json:"type,omitempty"`
	Value         interface{}                    `json:"value,omitempty"`
}

ConstantKeywordProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/specialized.ts#L43-L46

type ConstantKeywordPropertyBuilder ¶

type ConstantKeywordPropertyBuilder struct {
	// contains filtered or unexported fields
}

ConstantKeywordPropertyBuilder holds ConstantKeywordProperty struct and provides a builder API.

func NewConstantKeywordPropertyBuilder ¶

func NewConstantKeywordPropertyBuilder() *ConstantKeywordPropertyBuilder

NewConstantKeywordProperty provides a builder for the ConstantKeywordProperty struct.

func (*ConstantKeywordPropertyBuilder) Build ¶

Build finalize the chain and returns the ConstantKeywordProperty struct

func (*ConstantKeywordPropertyBuilder) Dynamic ¶

func (*ConstantKeywordPropertyBuilder) Fields ¶

func (*ConstantKeywordPropertyBuilder) IgnoreAbove ¶

func (*ConstantKeywordPropertyBuilder) LocalMetadata ¶

func (*ConstantKeywordPropertyBuilder) Meta ¶

func (*ConstantKeywordPropertyBuilder) Properties ¶

func (*ConstantKeywordPropertyBuilder) Value ¶

func (rb *ConstantKeywordPropertyBuilder) Value(value interface{}) *ConstantKeywordPropertyBuilder

type ConstantScoreQuery ¶

type ConstantScoreQuery struct {
	Boost      *float32        `json:"boost,omitempty"`
	Filter     *QueryContainer `json:"filter,omitempty"`
	QueryName_ *string         `json:"_name,omitempty"`
}

ConstantScoreQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L42-L44

type ConstantScoreQueryBuilder ¶

type ConstantScoreQueryBuilder struct {
	// contains filtered or unexported fields
}

ConstantScoreQueryBuilder holds ConstantScoreQuery struct and provides a builder API.

func NewConstantScoreQueryBuilder ¶

func NewConstantScoreQueryBuilder() *ConstantScoreQueryBuilder

NewConstantScoreQuery provides a builder for the ConstantScoreQuery struct.

func (*ConstantScoreQueryBuilder) Boost ¶

func (*ConstantScoreQueryBuilder) Build ¶

Build finalize the chain and returns the ConstantScoreQuery struct

func (*ConstantScoreQueryBuilder) Filter ¶

func (*ConstantScoreQueryBuilder) QueryName_ ¶

func (rb *ConstantScoreQueryBuilder) QueryName_(queryname_ string) *ConstantScoreQueryBuilder

type ContextBuilder ¶

type ContextBuilder struct {
	// contains filtered or unexported fields
}

ContextBuilder holds Context struct and provides a builder API.

func NewContextBuilder ¶

func NewContextBuilder() *ContextBuilder

NewContext provides a builder for the Context struct.

func (*ContextBuilder) Build ¶

func (u *ContextBuilder) Build() Context

Build finalize the chain and returns the Context struct

func (*ContextBuilder) GeoLocation ¶

func (u *ContextBuilder) GeoLocation(geolocation *GeoLocationBuilder) *ContextBuilder

func (*ContextBuilder) String ¶

func (u *ContextBuilder) String(string string) *ContextBuilder

type ContextMethod ¶

type ContextMethod struct {
	Name       Name                 `json:"name"`
	Params     []ContextMethodParam `json:"params"`
	ReturnType string               `json:"return_type"`
}

ContextMethod type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/get_script_context/types.ts#L27-L31

type ContextMethodBuilder ¶

type ContextMethodBuilder struct {
	// contains filtered or unexported fields
}

ContextMethodBuilder holds ContextMethod struct and provides a builder API.

func NewContextMethodBuilder ¶

func NewContextMethodBuilder() *ContextMethodBuilder

NewContextMethod provides a builder for the ContextMethod struct.

func (*ContextMethodBuilder) Build ¶

func (rb *ContextMethodBuilder) Build() ContextMethod

Build finalize the chain and returns the ContextMethod struct

func (*ContextMethodBuilder) Name ¶

func (*ContextMethodBuilder) Params ¶

func (*ContextMethodBuilder) ReturnType ¶

func (rb *ContextMethodBuilder) ReturnType(returntype string) *ContextMethodBuilder

type ContextMethodParamBuilder ¶

type ContextMethodParamBuilder struct {
	// contains filtered or unexported fields
}

ContextMethodParamBuilder holds ContextMethodParam struct and provides a builder API.

func NewContextMethodParamBuilder ¶

func NewContextMethodParamBuilder() *ContextMethodParamBuilder

NewContextMethodParam provides a builder for the ContextMethodParam struct.

func (*ContextMethodParamBuilder) Build ¶

Build finalize the chain and returns the ContextMethodParam struct

func (*ContextMethodParamBuilder) Name ¶

func (*ContextMethodParamBuilder) Type_ ¶

type ConvertProcessor ¶

type ConvertProcessor struct {
	Field         Field                   `json:"field"`
	If            *string                 `json:"if,omitempty"`
	IgnoreFailure *bool                   `json:"ignore_failure,omitempty"`
	IgnoreMissing *bool                   `json:"ignore_missing,omitempty"`
	OnFailure     []ProcessorContainer    `json:"on_failure,omitempty"`
	Tag           *string                 `json:"tag,omitempty"`
	TargetField   Field                   `json:"target_field"`
	Type          converttype.ConvertType `json:"type"`
}

ConvertProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L146-L151

type ConvertProcessorBuilder ¶

type ConvertProcessorBuilder struct {
	// contains filtered or unexported fields
}

ConvertProcessorBuilder holds ConvertProcessor struct and provides a builder API.

func NewConvertProcessorBuilder ¶

func NewConvertProcessorBuilder() *ConvertProcessorBuilder

NewConvertProcessor provides a builder for the ConvertProcessor struct.

func (*ConvertProcessorBuilder) Build ¶

Build finalize the chain and returns the ConvertProcessor struct

func (*ConvertProcessorBuilder) Field ¶

func (*ConvertProcessorBuilder) If_ ¶

func (*ConvertProcessorBuilder) IgnoreFailure ¶

func (rb *ConvertProcessorBuilder) IgnoreFailure(ignorefailure bool) *ConvertProcessorBuilder

func (*ConvertProcessorBuilder) IgnoreMissing ¶

func (rb *ConvertProcessorBuilder) IgnoreMissing(ignoremissing bool) *ConvertProcessorBuilder

func (*ConvertProcessorBuilder) OnFailure ¶

func (*ConvertProcessorBuilder) Tag ¶

func (*ConvertProcessorBuilder) TargetField ¶

func (rb *ConvertProcessorBuilder) TargetField(targetfield Field) *ConvertProcessorBuilder

func (*ConvertProcessorBuilder) Type_ ¶

type CoordinateBuilder ¶

type CoordinateBuilder struct {
	// contains filtered or unexported fields
}

CoordinateBuilder holds Coordinate struct and provides a builder API.

func NewCoordinateBuilder ¶

func NewCoordinateBuilder() *CoordinateBuilder

NewCoordinate provides a builder for the Coordinate struct.

func (*CoordinateBuilder) Build ¶

func (b *CoordinateBuilder) Build() Coordinate

Build finalize the chain and returns the Coordinate struct

func (*CoordinateBuilder) Coordinate ¶

func (b *CoordinateBuilder) Coordinate(value Coordinate) *CoordinateBuilder

type CoordinatorStats ¶

type CoordinatorStats struct {
	ExecutedSearchesTotal int64 `json:"executed_searches_total"`
	NodeId                Id    `json:"node_id"`
	QueueSize             int   `json:"queue_size"`
	RemoteRequestsCurrent int   `json:"remote_requests_current"`
	RemoteRequestsTotal   int64 `json:"remote_requests_total"`
}

CoordinatorStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/enrich/stats/types.ts#L29-L35

type CoordinatorStatsBuilder ¶

type CoordinatorStatsBuilder struct {
	// contains filtered or unexported fields
}

CoordinatorStatsBuilder holds CoordinatorStats struct and provides a builder API.

func NewCoordinatorStatsBuilder ¶

func NewCoordinatorStatsBuilder() *CoordinatorStatsBuilder

NewCoordinatorStats provides a builder for the CoordinatorStats struct.

func (*CoordinatorStatsBuilder) Build ¶

Build finalize the chain and returns the CoordinatorStats struct

func (*CoordinatorStatsBuilder) ExecutedSearchesTotal ¶

func (rb *CoordinatorStatsBuilder) ExecutedSearchesTotal(executedsearchestotal int64) *CoordinatorStatsBuilder

func (*CoordinatorStatsBuilder) NodeId ¶

func (*CoordinatorStatsBuilder) QueueSize ¶

func (rb *CoordinatorStatsBuilder) QueueSize(queuesize int) *CoordinatorStatsBuilder

func (*CoordinatorStatsBuilder) RemoteRequestsCurrent ¶

func (rb *CoordinatorStatsBuilder) RemoteRequestsCurrent(remoterequestscurrent int) *CoordinatorStatsBuilder

func (*CoordinatorStatsBuilder) RemoteRequestsTotal ¶

func (rb *CoordinatorStatsBuilder) RemoteRequestsTotal(remoterequeststotal int64) *CoordinatorStatsBuilder

type CoordsGeoBounds ¶

type CoordsGeoBounds struct {
	Bottom float64 `json:"bottom"`
	Left   float64 `json:"left"`
	Right  float64 `json:"right"`
	Top    float64 `json:"top"`
}

CoordsGeoBounds type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Geo.ts#L135-L140

type CoordsGeoBoundsBuilder ¶

type CoordsGeoBoundsBuilder struct {
	// contains filtered or unexported fields
}

CoordsGeoBoundsBuilder holds CoordsGeoBounds struct and provides a builder API.

func NewCoordsGeoBoundsBuilder ¶

func NewCoordsGeoBoundsBuilder() *CoordsGeoBoundsBuilder

NewCoordsGeoBounds provides a builder for the CoordsGeoBounds struct.

func (*CoordsGeoBoundsBuilder) Bottom ¶

func (*CoordsGeoBoundsBuilder) Build ¶

Build finalize the chain and returns the CoordsGeoBounds struct

func (*CoordsGeoBoundsBuilder) Left ¶

func (*CoordsGeoBoundsBuilder) Right ¶

func (*CoordsGeoBoundsBuilder) Top ¶

type CorePropertyBase ¶

type CorePropertyBase struct {
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
}

CorePropertyBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L39-L43

type CorePropertyBaseBuilder ¶

type CorePropertyBaseBuilder struct {
	// contains filtered or unexported fields
}

CorePropertyBaseBuilder holds CorePropertyBase struct and provides a builder API.

func NewCorePropertyBaseBuilder ¶

func NewCorePropertyBaseBuilder() *CorePropertyBaseBuilder

NewCorePropertyBase provides a builder for the CorePropertyBase struct.

func (*CorePropertyBaseBuilder) Build ¶

Build finalize the chain and returns the CorePropertyBase struct

func (*CorePropertyBaseBuilder) CopyTo ¶

func (*CorePropertyBaseBuilder) Dynamic ¶

func (*CorePropertyBaseBuilder) Fields ¶

func (*CorePropertyBaseBuilder) IgnoreAbove ¶

func (rb *CorePropertyBaseBuilder) IgnoreAbove(ignoreabove int) *CorePropertyBaseBuilder

func (*CorePropertyBaseBuilder) LocalMetadata ¶

func (rb *CorePropertyBaseBuilder) LocalMetadata(localmetadata *MetadataBuilder) *CorePropertyBaseBuilder

func (*CorePropertyBaseBuilder) Meta ¶

func (*CorePropertyBaseBuilder) Properties ¶

func (*CorePropertyBaseBuilder) Similarity ¶

func (rb *CorePropertyBaseBuilder) Similarity(similarity string) *CorePropertyBaseBuilder

func (*CorePropertyBaseBuilder) Store ¶

type CountRecord ¶

type CountRecord struct {
	// Count the document count
	Count *string `json:"count,omitempty"`
	// Epoch seconds since 1970-01-01 00:00:00
	Epoch *StringifiedEpochTimeUnitSeconds `json:"epoch,omitempty"`
	// Timestamp time in HH:MM:SS
	Timestamp *TimeOfDay `json:"timestamp,omitempty"`
}

CountRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/count/types.ts#L23-L39

type CountRecordBuilder ¶

type CountRecordBuilder struct {
	// contains filtered or unexported fields
}

CountRecordBuilder holds CountRecord struct and provides a builder API.

func NewCountRecordBuilder ¶

func NewCountRecordBuilder() *CountRecordBuilder

NewCountRecord provides a builder for the CountRecord struct.

func (*CountRecordBuilder) Build ¶

func (rb *CountRecordBuilder) Build() CountRecord

Build finalize the chain and returns the CountRecord struct

func (*CountRecordBuilder) Count ¶

func (rb *CountRecordBuilder) Count(count string) *CountRecordBuilder

func (*CountRecordBuilder) Epoch ¶

func (*CountRecordBuilder) Timestamp ¶

func (rb *CountRecordBuilder) Timestamp(timestamp TimeOfDay) *CountRecordBuilder

type CounterBuilder ¶

type CounterBuilder struct {
	// contains filtered or unexported fields
}

CounterBuilder holds Counter struct and provides a builder API.

func NewCounterBuilder ¶

func NewCounterBuilder() *CounterBuilder

NewCounter provides a builder for the Counter struct.

func (*CounterBuilder) Active ¶

func (rb *CounterBuilder) Active(active int64) *CounterBuilder

func (*CounterBuilder) Build ¶

func (rb *CounterBuilder) Build() Counter

Build finalize the chain and returns the Counter struct

func (*CounterBuilder) Total ¶

func (rb *CounterBuilder) Total(total int64) *CounterBuilder

type Cpu ¶

type Cpu struct {
	LoadAverage   map[string]float64       `json:"load_average,omitempty"`
	Percent       *int                     `json:"percent,omitempty"`
	Sys           *Duration                `json:"sys,omitempty"`
	SysInMillis   *DurationValueUnitMillis `json:"sys_in_millis,omitempty"`
	Total         *Duration                `json:"total,omitempty"`
	TotalInMillis *DurationValueUnitMillis `json:"total_in_millis,omitempty"`
	User          *Duration                `json:"user,omitempty"`
	UserInMillis  *DurationValueUnitMillis `json:"user_in_millis,omitempty"`
}

Cpu type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L212-L221

type CpuAcct ¶

type CpuAcct struct {
	ControlGroup *string                 `json:"control_group,omitempty"`
	UsageNanos   *DurationValueUnitNanos `json:"usage_nanos,omitempty"`
}

CpuAcct type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L188-L191

type CpuAcctBuilder ¶

type CpuAcctBuilder struct {
	// contains filtered or unexported fields
}

CpuAcctBuilder holds CpuAcct struct and provides a builder API.

func NewCpuAcctBuilder ¶

func NewCpuAcctBuilder() *CpuAcctBuilder

NewCpuAcct provides a builder for the CpuAcct struct.

func (*CpuAcctBuilder) Build ¶

func (rb *CpuAcctBuilder) Build() CpuAcct

Build finalize the chain and returns the CpuAcct struct

func (*CpuAcctBuilder) ControlGroup ¶

func (rb *CpuAcctBuilder) ControlGroup(controlgroup string) *CpuAcctBuilder

func (*CpuAcctBuilder) UsageNanos ¶

func (rb *CpuAcctBuilder) UsageNanos(usagenanos *DurationValueUnitNanosBuilder) *CpuAcctBuilder

type CpuBuilder ¶

type CpuBuilder struct {
	// contains filtered or unexported fields
}

CpuBuilder holds Cpu struct and provides a builder API.

func NewCpuBuilder ¶

func NewCpuBuilder() *CpuBuilder

NewCpu provides a builder for the Cpu struct.

func (*CpuBuilder) Build ¶

func (rb *CpuBuilder) Build() Cpu

Build finalize the chain and returns the Cpu struct

func (*CpuBuilder) LoadAverage ¶

func (rb *CpuBuilder) LoadAverage(value map[string]float64) *CpuBuilder

func (*CpuBuilder) Percent ¶

func (rb *CpuBuilder) Percent(percent int) *CpuBuilder

func (*CpuBuilder) Sys ¶

func (rb *CpuBuilder) Sys(sys *DurationBuilder) *CpuBuilder

func (*CpuBuilder) SysInMillis ¶

func (rb *CpuBuilder) SysInMillis(sysinmillis *DurationValueUnitMillisBuilder) *CpuBuilder

func (*CpuBuilder) Total ¶

func (rb *CpuBuilder) Total(total *DurationBuilder) *CpuBuilder

func (*CpuBuilder) TotalInMillis ¶

func (rb *CpuBuilder) TotalInMillis(totalinmillis *DurationValueUnitMillisBuilder) *CpuBuilder

func (*CpuBuilder) User ¶

func (rb *CpuBuilder) User(user *DurationBuilder) *CpuBuilder

func (*CpuBuilder) UserInMillis ¶

func (rb *CpuBuilder) UserInMillis(userinmillis *DurationValueUnitMillisBuilder) *CpuBuilder

type CreatedStatusBuilder ¶

type CreatedStatusBuilder struct {
	// contains filtered or unexported fields
}

CreatedStatusBuilder holds CreatedStatus struct and provides a builder API.

func NewCreatedStatusBuilder ¶

func NewCreatedStatusBuilder() *CreatedStatusBuilder

NewCreatedStatus provides a builder for the CreatedStatus struct.

func (*CreatedStatusBuilder) Build ¶

func (rb *CreatedStatusBuilder) Build() CreatedStatus

Build finalize the chain and returns the CreatedStatus struct

func (*CreatedStatusBuilder) Created ¶

func (rb *CreatedStatusBuilder) Created(created bool) *CreatedStatusBuilder

type CronExpressionBuilder ¶

type CronExpressionBuilder struct {
	// contains filtered or unexported fields
}

CronExpressionBuilder holds CronExpression struct and provides a builder API.

func NewCronExpressionBuilder ¶

func NewCronExpressionBuilder() *CronExpressionBuilder

NewCronExpression provides a builder for the CronExpression struct.

func (*CronExpressionBuilder) Build ¶

Build finalize the chain and returns the CronExpression struct

func (*CronExpressionBuilder) CronExpression ¶

type CsvProcessor ¶

type CsvProcessor struct {
	Description   *string              `json:"description,omitempty"`
	EmptyValue    interface{}          `json:"empty_value,omitempty"`
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing *bool                `json:"ignore_missing,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Quote         *string              `json:"quote,omitempty"`
	Separator     *string              `json:"separator,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
	TargetFields  Fields               `json:"target_fields"`
	Trim          bool                 `json:"trim"`
}

CsvProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L153-L162

type CsvProcessorBuilder ¶

type CsvProcessorBuilder struct {
	// contains filtered or unexported fields
}

CsvProcessorBuilder holds CsvProcessor struct and provides a builder API.

func NewCsvProcessorBuilder ¶

func NewCsvProcessorBuilder() *CsvProcessorBuilder

NewCsvProcessor provides a builder for the CsvProcessor struct.

func (*CsvProcessorBuilder) Build ¶

func (rb *CsvProcessorBuilder) Build() CsvProcessor

Build finalize the chain and returns the CsvProcessor struct

func (*CsvProcessorBuilder) Description ¶

func (rb *CsvProcessorBuilder) Description(description string) *CsvProcessorBuilder

func (*CsvProcessorBuilder) EmptyValue ¶

func (rb *CsvProcessorBuilder) EmptyValue(emptyvalue interface{}) *CsvProcessorBuilder

func (*CsvProcessorBuilder) Field ¶

func (rb *CsvProcessorBuilder) Field(field Field) *CsvProcessorBuilder

func (*CsvProcessorBuilder) If_ ¶

func (*CsvProcessorBuilder) IgnoreFailure ¶

func (rb *CsvProcessorBuilder) IgnoreFailure(ignorefailure bool) *CsvProcessorBuilder

func (*CsvProcessorBuilder) IgnoreMissing ¶

func (rb *CsvProcessorBuilder) IgnoreMissing(ignoremissing bool) *CsvProcessorBuilder

func (*CsvProcessorBuilder) OnFailure ¶

func (*CsvProcessorBuilder) Quote ¶

func (*CsvProcessorBuilder) Separator ¶

func (rb *CsvProcessorBuilder) Separator(separator string) *CsvProcessorBuilder

func (*CsvProcessorBuilder) Tag ¶

func (*CsvProcessorBuilder) TargetFields ¶

func (rb *CsvProcessorBuilder) TargetFields(targetfields *FieldsBuilder) *CsvProcessorBuilder

func (*CsvProcessorBuilder) Trim ¶

type CumulativeCardinalityAggregate ¶

type CumulativeCardinalityAggregate struct {
	Meta          *Metadata `json:"meta,omitempty"`
	Value         int64     `json:"value"`
	ValueAsString *string   `json:"value_as_string,omitempty"`
}

CumulativeCardinalityAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L698-L706

type CumulativeCardinalityAggregateBuilder ¶

type CumulativeCardinalityAggregateBuilder struct {
	// contains filtered or unexported fields
}

CumulativeCardinalityAggregateBuilder holds CumulativeCardinalityAggregate struct and provides a builder API.

func NewCumulativeCardinalityAggregateBuilder ¶

func NewCumulativeCardinalityAggregateBuilder() *CumulativeCardinalityAggregateBuilder

NewCumulativeCardinalityAggregate provides a builder for the CumulativeCardinalityAggregate struct.

func (*CumulativeCardinalityAggregateBuilder) Build ¶

Build finalize the chain and returns the CumulativeCardinalityAggregate struct

func (*CumulativeCardinalityAggregateBuilder) Meta ¶

func (*CumulativeCardinalityAggregateBuilder) Value ¶

func (*CumulativeCardinalityAggregateBuilder) ValueAsString ¶

type CumulativeCardinalityAggregation ¶

type CumulativeCardinalityAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
}

CumulativeCardinalityAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L149-L149

type CumulativeCardinalityAggregationBuilder ¶

type CumulativeCardinalityAggregationBuilder struct {
	// contains filtered or unexported fields
}

CumulativeCardinalityAggregationBuilder holds CumulativeCardinalityAggregation struct and provides a builder API.

func NewCumulativeCardinalityAggregationBuilder ¶

func NewCumulativeCardinalityAggregationBuilder() *CumulativeCardinalityAggregationBuilder

NewCumulativeCardinalityAggregation provides a builder for the CumulativeCardinalityAggregation struct.

func (*CumulativeCardinalityAggregationBuilder) BucketsPath ¶

func (*CumulativeCardinalityAggregationBuilder) Build ¶

Build finalize the chain and returns the CumulativeCardinalityAggregation struct

func (*CumulativeCardinalityAggregationBuilder) Format ¶

func (*CumulativeCardinalityAggregationBuilder) GapPolicy ¶

func (*CumulativeCardinalityAggregationBuilder) Meta ¶

func (*CumulativeCardinalityAggregationBuilder) Name ¶

type CumulativeSumAggregation ¶

type CumulativeSumAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
}

CumulativeSumAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L151-L151

type CumulativeSumAggregationBuilder ¶

type CumulativeSumAggregationBuilder struct {
	// contains filtered or unexported fields
}

CumulativeSumAggregationBuilder holds CumulativeSumAggregation struct and provides a builder API.

func NewCumulativeSumAggregationBuilder ¶

func NewCumulativeSumAggregationBuilder() *CumulativeSumAggregationBuilder

NewCumulativeSumAggregation provides a builder for the CumulativeSumAggregation struct.

func (*CumulativeSumAggregationBuilder) BucketsPath ¶

func (*CumulativeSumAggregationBuilder) Build ¶

Build finalize the chain and returns the CumulativeSumAggregation struct

func (*CumulativeSumAggregationBuilder) Format ¶

func (*CumulativeSumAggregationBuilder) GapPolicy ¶

func (*CumulativeSumAggregationBuilder) Meta ¶

func (*CumulativeSumAggregationBuilder) Name ¶

type CurrentNode ¶

type CurrentNode struct {
	Attributes       map[string]string `json:"attributes"`
	Id               Id                `json:"id"`
	Name             Name              `json:"name"`
	TransportAddress TransportAddress  `json:"transport_address"`
	WeightRanking    int               `json:"weight_ranking"`
}

CurrentNode type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/allocation_explain/types.ts#L78-L84

type CurrentNodeBuilder ¶

type CurrentNodeBuilder struct {
	// contains filtered or unexported fields
}

CurrentNodeBuilder holds CurrentNode struct and provides a builder API.

func NewCurrentNodeBuilder ¶

func NewCurrentNodeBuilder() *CurrentNodeBuilder

NewCurrentNode provides a builder for the CurrentNode struct.

func (*CurrentNodeBuilder) Attributes ¶

func (rb *CurrentNodeBuilder) Attributes(value map[string]string) *CurrentNodeBuilder

func (*CurrentNodeBuilder) Build ¶

func (rb *CurrentNodeBuilder) Build() CurrentNode

Build finalize the chain and returns the CurrentNode struct

func (*CurrentNodeBuilder) Id ¶

func (*CurrentNodeBuilder) Name ¶

func (rb *CurrentNodeBuilder) Name(name Name) *CurrentNodeBuilder

func (*CurrentNodeBuilder) TransportAddress ¶

func (rb *CurrentNodeBuilder) TransportAddress(transportaddress TransportAddress) *CurrentNodeBuilder

func (*CurrentNodeBuilder) WeightRanking ¶

func (rb *CurrentNodeBuilder) WeightRanking(weightranking int) *CurrentNodeBuilder

type CustomAnalyzer ¶

type CustomAnalyzer struct {
	CharFilter           []string `json:"char_filter,omitempty"`
	Filter               []string `json:"filter,omitempty"`
	PositionIncrementGap *int     `json:"position_increment_gap,omitempty"`
	PositionOffsetGap    *int     `json:"position_offset_gap,omitempty"`
	Tokenizer            string   `json:"tokenizer"`
	Type                 string   `json:"type,omitempty"`
}

CustomAnalyzer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/analyzers.ts#L28-L35

type CustomAnalyzerBuilder ¶

type CustomAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

CustomAnalyzerBuilder holds CustomAnalyzer struct and provides a builder API.

func NewCustomAnalyzerBuilder ¶

func NewCustomAnalyzerBuilder() *CustomAnalyzerBuilder

NewCustomAnalyzer provides a builder for the CustomAnalyzer struct.

func (*CustomAnalyzerBuilder) Build ¶

Build finalize the chain and returns the CustomAnalyzer struct

func (*CustomAnalyzerBuilder) CharFilter ¶

func (rb *CustomAnalyzerBuilder) CharFilter(char_filter ...string) *CustomAnalyzerBuilder

func (*CustomAnalyzerBuilder) Filter ¶

func (rb *CustomAnalyzerBuilder) Filter(filter ...string) *CustomAnalyzerBuilder

func (*CustomAnalyzerBuilder) PositionIncrementGap ¶

func (rb *CustomAnalyzerBuilder) PositionIncrementGap(positionincrementgap int) *CustomAnalyzerBuilder

func (*CustomAnalyzerBuilder) PositionOffsetGap ¶

func (rb *CustomAnalyzerBuilder) PositionOffsetGap(positionoffsetgap int) *CustomAnalyzerBuilder

func (*CustomAnalyzerBuilder) Tokenizer ¶

func (rb *CustomAnalyzerBuilder) Tokenizer(tokenizer string) *CustomAnalyzerBuilder

type CustomCategorizeTextAnalyzer ¶

type CustomCategorizeTextAnalyzer struct {
	CharFilter []string `json:"char_filter,omitempty"`
	Filter     []string `json:"filter,omitempty"`
	Tokenizer  *string  `json:"tokenizer,omitempty"`
}

CustomCategorizeTextAnalyzer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L504-L508

type CustomCategorizeTextAnalyzerBuilder ¶

type CustomCategorizeTextAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

CustomCategorizeTextAnalyzerBuilder holds CustomCategorizeTextAnalyzer struct and provides a builder API.

func NewCustomCategorizeTextAnalyzerBuilder ¶

func NewCustomCategorizeTextAnalyzerBuilder() *CustomCategorizeTextAnalyzerBuilder

NewCustomCategorizeTextAnalyzer provides a builder for the CustomCategorizeTextAnalyzer struct.

func (*CustomCategorizeTextAnalyzerBuilder) Build ¶

Build finalize the chain and returns the CustomCategorizeTextAnalyzer struct

func (*CustomCategorizeTextAnalyzerBuilder) CharFilter ¶

func (*CustomCategorizeTextAnalyzerBuilder) Filter ¶

func (*CustomCategorizeTextAnalyzerBuilder) Tokenizer ¶

type CustomNormalizer ¶

type CustomNormalizer struct {
	CharFilter []string `json:"char_filter,omitempty"`
	Filter     []string `json:"filter,omitempty"`
	Type       string   `json:"type,omitempty"`
}

CustomNormalizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/normalizers.ts#L30-L34

type CustomNormalizerBuilder ¶

type CustomNormalizerBuilder struct {
	// contains filtered or unexported fields
}

CustomNormalizerBuilder holds CustomNormalizer struct and provides a builder API.

func NewCustomNormalizerBuilder ¶

func NewCustomNormalizerBuilder() *CustomNormalizerBuilder

NewCustomNormalizer provides a builder for the CustomNormalizer struct.

func (*CustomNormalizerBuilder) Build ¶

Build finalize the chain and returns the CustomNormalizer struct

func (*CustomNormalizerBuilder) CharFilter ¶

func (rb *CustomNormalizerBuilder) CharFilter(char_filter ...string) *CustomNormalizerBuilder

func (*CustomNormalizerBuilder) Filter ¶

type CustomSettingsBuilder ¶

type CustomSettingsBuilder struct {
	// contains filtered or unexported fields
}

CustomSettingsBuilder holds CustomSettings struct and provides a builder API.

func NewCustomSettingsBuilder ¶

func NewCustomSettingsBuilder() *CustomSettingsBuilder

NewCustomSettings provides a builder for the CustomSettings struct.

func (*CustomSettingsBuilder) Build ¶

Build finalize the chain and returns the CustomSettings struct

func (*CustomSettingsBuilder) CustomSettings ¶

type DailyScheduleBuilder ¶

type DailyScheduleBuilder struct {
	// contains filtered or unexported fields
}

DailyScheduleBuilder holds DailySchedule struct and provides a builder API.

func NewDailyScheduleBuilder ¶

func NewDailyScheduleBuilder() *DailyScheduleBuilder

NewDailySchedule provides a builder for the DailySchedule struct.

func (*DailyScheduleBuilder) At ¶

func (*DailyScheduleBuilder) Build ¶

func (rb *DailyScheduleBuilder) Build() DailySchedule

Build finalize the chain and returns the DailySchedule struct

type DanglingIndex ¶

type DanglingIndex struct {
	CreationDateMillis EpochTimeUnitMillis `json:"creation_date_millis"`
	IndexName          string              `json:"index_name"`
	IndexUuid          string              `json:"index_uuid"`
	NodeIds            Ids                 `json:"node_ids"`
}

DanglingIndex type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/dangling_indices/list_dangling_indices/ListDanglingIndicesResponse.ts#L29-L34

type DanglingIndexBuilder ¶

type DanglingIndexBuilder struct {
	// contains filtered or unexported fields
}

DanglingIndexBuilder holds DanglingIndex struct and provides a builder API.

func NewDanglingIndexBuilder ¶

func NewDanglingIndexBuilder() *DanglingIndexBuilder

NewDanglingIndex provides a builder for the DanglingIndex struct.

func (*DanglingIndexBuilder) Build ¶

func (rb *DanglingIndexBuilder) Build() DanglingIndex

Build finalize the chain and returns the DanglingIndex struct

func (*DanglingIndexBuilder) CreationDateMillis ¶

func (rb *DanglingIndexBuilder) CreationDateMillis(creationdatemillis *EpochTimeUnitMillisBuilder) *DanglingIndexBuilder

func (*DanglingIndexBuilder) IndexName ¶

func (rb *DanglingIndexBuilder) IndexName(indexname string) *DanglingIndexBuilder

func (*DanglingIndexBuilder) IndexUuid ¶

func (rb *DanglingIndexBuilder) IndexUuid(indexuuid string) *DanglingIndexBuilder

func (*DanglingIndexBuilder) NodeIds ¶

func (rb *DanglingIndexBuilder) NodeIds(nodeids *IdsBuilder) *DanglingIndexBuilder

type DataCounts ¶

type DataCounts struct {
	BucketCount                 int64  `json:"bucket_count"`
	EarliestRecordTimestamp     *int64 `json:"earliest_record_timestamp,omitempty"`
	EmptyBucketCount            int64  `json:"empty_bucket_count"`
	InputBytes                  int64  `json:"input_bytes"`
	InputFieldCount             int64  `json:"input_field_count"`
	InputRecordCount            int64  `json:"input_record_count"`
	InvalidDateCount            int64  `json:"invalid_date_count"`
	JobId                       Id     `json:"job_id"`
	LastDataTime                *int64 `json:"last_data_time,omitempty"`
	LatestBucketTimestamp       *int64 `json:"latest_bucket_timestamp,omitempty"`
	LatestEmptyBucketTimestamp  *int64 `json:"latest_empty_bucket_timestamp,omitempty"`
	LatestRecordTimestamp       *int64 `json:"latest_record_timestamp,omitempty"`
	LatestSparseBucketTimestamp *int64 `json:"latest_sparse_bucket_timestamp,omitempty"`
	LogTime                     *int64 `json:"log_time,omitempty"`
	MissingFieldCount           int64  `json:"missing_field_count"`
	OutOfOrderTimestampCount    int64  `json:"out_of_order_timestamp_count"`
	ProcessedFieldCount         int64  `json:"processed_field_count"`
	ProcessedRecordCount        int64  `json:"processed_record_count"`
	SparseBucketCount           int64  `json:"sparse_bucket_count"`
}

DataCounts type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Job.ts#L129-L149

type DataCountsBuilder ¶

type DataCountsBuilder struct {
	// contains filtered or unexported fields
}

DataCountsBuilder holds DataCounts struct and provides a builder API.

func NewDataCountsBuilder ¶

func NewDataCountsBuilder() *DataCountsBuilder

NewDataCounts provides a builder for the DataCounts struct.

func (*DataCountsBuilder) BucketCount ¶

func (rb *DataCountsBuilder) BucketCount(bucketcount int64) *DataCountsBuilder

func (*DataCountsBuilder) Build ¶

func (rb *DataCountsBuilder) Build() DataCounts

Build finalize the chain and returns the DataCounts struct

func (*DataCountsBuilder) EarliestRecordTimestamp ¶

func (rb *DataCountsBuilder) EarliestRecordTimestamp(earliestrecordtimestamp int64) *DataCountsBuilder

func (*DataCountsBuilder) EmptyBucketCount ¶

func (rb *DataCountsBuilder) EmptyBucketCount(emptybucketcount int64) *DataCountsBuilder

func (*DataCountsBuilder) InputBytes ¶

func (rb *DataCountsBuilder) InputBytes(inputbytes int64) *DataCountsBuilder

func (*DataCountsBuilder) InputFieldCount ¶

func (rb *DataCountsBuilder) InputFieldCount(inputfieldcount int64) *DataCountsBuilder

func (*DataCountsBuilder) InputRecordCount ¶

func (rb *DataCountsBuilder) InputRecordCount(inputrecordcount int64) *DataCountsBuilder

func (*DataCountsBuilder) InvalidDateCount ¶

func (rb *DataCountsBuilder) InvalidDateCount(invaliddatecount int64) *DataCountsBuilder

func (*DataCountsBuilder) JobId ¶

func (rb *DataCountsBuilder) JobId(jobid Id) *DataCountsBuilder

func (*DataCountsBuilder) LastDataTime ¶

func (rb *DataCountsBuilder) LastDataTime(lastdatatime int64) *DataCountsBuilder

func (*DataCountsBuilder) LatestBucketTimestamp ¶

func (rb *DataCountsBuilder) LatestBucketTimestamp(latestbuckettimestamp int64) *DataCountsBuilder

func (*DataCountsBuilder) LatestEmptyBucketTimestamp ¶

func (rb *DataCountsBuilder) LatestEmptyBucketTimestamp(latestemptybuckettimestamp int64) *DataCountsBuilder

func (*DataCountsBuilder) LatestRecordTimestamp ¶

func (rb *DataCountsBuilder) LatestRecordTimestamp(latestrecordtimestamp int64) *DataCountsBuilder

func (*DataCountsBuilder) LatestSparseBucketTimestamp ¶

func (rb *DataCountsBuilder) LatestSparseBucketTimestamp(latestsparsebuckettimestamp int64) *DataCountsBuilder

func (*DataCountsBuilder) LogTime ¶

func (rb *DataCountsBuilder) LogTime(logtime int64) *DataCountsBuilder

func (*DataCountsBuilder) MissingFieldCount ¶

func (rb *DataCountsBuilder) MissingFieldCount(missingfieldcount int64) *DataCountsBuilder

func (*DataCountsBuilder) OutOfOrderTimestampCount ¶

func (rb *DataCountsBuilder) OutOfOrderTimestampCount(outofordertimestampcount int64) *DataCountsBuilder

func (*DataCountsBuilder) ProcessedFieldCount ¶

func (rb *DataCountsBuilder) ProcessedFieldCount(processedfieldcount int64) *DataCountsBuilder

func (*DataCountsBuilder) ProcessedRecordCount ¶

func (rb *DataCountsBuilder) ProcessedRecordCount(processedrecordcount int64) *DataCountsBuilder

func (*DataCountsBuilder) SparseBucketCount ¶

func (rb *DataCountsBuilder) SparseBucketCount(sparsebucketcount int64) *DataCountsBuilder

type DataDescription ¶

type DataDescription struct {
	FieldDelimiter *string `json:"field_delimiter,omitempty"`
	// Format Only JSON format is supported at this time.
	Format *string `json:"format,omitempty"`
	// TimeField The name of the field that contains the timestamp.
	TimeField *Field `json:"time_field,omitempty"`
	// TimeFormat The time format, which can be `epoch`, `epoch_ms`, or a custom pattern. The
	// value `epoch` refers to UNIX or Epoch time (the number of seconds since 1 Jan
	// 1970). The value `epoch_ms` indicates that time is measured in milliseconds
	// since the epoch. The `epoch` and `epoch_ms` time formats accept either
	// integer or real values. Custom patterns must conform to the Java
	// DateTimeFormatter class. When you use date-time formatting patterns, it is
	// recommended that you provide the full date, time and time zone. For example:
	// `yyyy-MM-dd'T'HH:mm:ssX`. If the pattern that you specify is not sufficient
	// to produce a complete timestamp, job creation fails.
	TimeFormat *string `json:"time_format,omitempty"`
}

DataDescription type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Job.ts#L151-L167

type DataDescriptionBuilder ¶

type DataDescriptionBuilder struct {
	// contains filtered or unexported fields
}

DataDescriptionBuilder holds DataDescription struct and provides a builder API.

func NewDataDescriptionBuilder ¶

func NewDataDescriptionBuilder() *DataDescriptionBuilder

NewDataDescription provides a builder for the DataDescription struct.

func (*DataDescriptionBuilder) Build ¶

Build finalize the chain and returns the DataDescription struct

func (*DataDescriptionBuilder) FieldDelimiter ¶

func (rb *DataDescriptionBuilder) FieldDelimiter(fielddelimiter string) *DataDescriptionBuilder

func (*DataDescriptionBuilder) Format ¶

func (*DataDescriptionBuilder) TimeField ¶

func (rb *DataDescriptionBuilder) TimeField(timefield Field) *DataDescriptionBuilder

func (*DataDescriptionBuilder) TimeFormat ¶

func (rb *DataDescriptionBuilder) TimeFormat(timeformat string) *DataDescriptionBuilder

type DataEmailAttachmentBuilder ¶

type DataEmailAttachmentBuilder struct {
	// contains filtered or unexported fields
}

DataEmailAttachmentBuilder holds DataEmailAttachment struct and provides a builder API.

func NewDataEmailAttachmentBuilder ¶

func NewDataEmailAttachmentBuilder() *DataEmailAttachmentBuilder

NewDataEmailAttachment provides a builder for the DataEmailAttachment struct.

func (*DataEmailAttachmentBuilder) Build ¶

Build finalize the chain and returns the DataEmailAttachment struct

func (*DataEmailAttachmentBuilder) Format ¶

type DataFrameAnalyticsRecord ¶

type DataFrameAnalyticsRecord struct {
	// AssignmentExplanation why the job is or is not assigned to a node
	AssignmentExplanation *string `json:"assignment_explanation,omitempty"`
	// CreateTime job creation time
	CreateTime *string `json:"create_time,omitempty"`
	// Description description
	Description *string `json:"description,omitempty"`
	// DestIndex destination index
	DestIndex *IndexName `json:"dest_index,omitempty"`
	// FailureReason failure reason
	FailureReason *string `json:"failure_reason,omitempty"`
	// Id the id
	Id *Id `json:"id,omitempty"`
	// ModelMemoryLimit model memory limit
	ModelMemoryLimit *string `json:"model_memory_limit,omitempty"`
	// NodeAddress network address of the assigned node
	NodeAddress *string `json:"node.address,omitempty"`
	// NodeEphemeralId ephemeral id of the assigned node
	NodeEphemeralId *Id `json:"node.ephemeral_id,omitempty"`
	// NodeId id of the assigned node
	NodeId *Id `json:"node.id,omitempty"`
	// NodeName name of the assigned node
	NodeName *Name `json:"node.name,omitempty"`
	// Progress progress
	Progress *string `json:"progress,omitempty"`
	// SourceIndex source index
	SourceIndex *IndexName `json:"source_index,omitempty"`
	// State job state
	State *string `json:"state,omitempty"`
	// Type analysis type
	Type *string `json:"type,omitempty"`
	// Version the version of Elasticsearch when the analytics was created
	Version *VersionString `json:"version,omitempty"`
}

DataFrameAnalyticsRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/ml_data_frame_analytics/types.ts#L22-L102

type DataFrameAnalyticsRecordBuilder ¶

type DataFrameAnalyticsRecordBuilder struct {
	// contains filtered or unexported fields
}

DataFrameAnalyticsRecordBuilder holds DataFrameAnalyticsRecord struct and provides a builder API.

func NewDataFrameAnalyticsRecordBuilder ¶

func NewDataFrameAnalyticsRecordBuilder() *DataFrameAnalyticsRecordBuilder

NewDataFrameAnalyticsRecord provides a builder for the DataFrameAnalyticsRecord struct.

func (*DataFrameAnalyticsRecordBuilder) AssignmentExplanation ¶

func (rb *DataFrameAnalyticsRecordBuilder) AssignmentExplanation(assignmentexplanation string) *DataFrameAnalyticsRecordBuilder

func (*DataFrameAnalyticsRecordBuilder) Build ¶

Build finalize the chain and returns the DataFrameAnalyticsRecord struct

func (*DataFrameAnalyticsRecordBuilder) CreateTime ¶

func (*DataFrameAnalyticsRecordBuilder) Description ¶

func (*DataFrameAnalyticsRecordBuilder) DestIndex ¶

func (*DataFrameAnalyticsRecordBuilder) FailureReason ¶

func (*DataFrameAnalyticsRecordBuilder) Id ¶

func (*DataFrameAnalyticsRecordBuilder) ModelMemoryLimit ¶

func (rb *DataFrameAnalyticsRecordBuilder) ModelMemoryLimit(modelmemorylimit string) *DataFrameAnalyticsRecordBuilder

func (*DataFrameAnalyticsRecordBuilder) NodeAddress ¶

func (*DataFrameAnalyticsRecordBuilder) NodeEphemeralId ¶

func (rb *DataFrameAnalyticsRecordBuilder) NodeEphemeralId(nodeephemeralid Id) *DataFrameAnalyticsRecordBuilder

func (*DataFrameAnalyticsRecordBuilder) NodeId ¶

func (*DataFrameAnalyticsRecordBuilder) NodeName ¶

func (*DataFrameAnalyticsRecordBuilder) Progress ¶

func (*DataFrameAnalyticsRecordBuilder) SourceIndex ¶

func (*DataFrameAnalyticsRecordBuilder) State ¶

func (*DataFrameAnalyticsRecordBuilder) Type_ ¶

func (*DataFrameAnalyticsRecordBuilder) Version ¶

type DataPathStats ¶

type DataPathStats struct {
	Available            *string `json:"available,omitempty"`
	AvailableInBytes     *int64  `json:"available_in_bytes,omitempty"`
	DiskQueue            *string `json:"disk_queue,omitempty"`
	DiskReadSize         *string `json:"disk_read_size,omitempty"`
	DiskReadSizeInBytes  *int64  `json:"disk_read_size_in_bytes,omitempty"`
	DiskReads            *int64  `json:"disk_reads,omitempty"`
	DiskWriteSize        *string `json:"disk_write_size,omitempty"`
	DiskWriteSizeInBytes *int64  `json:"disk_write_size_in_bytes,omitempty"`
	DiskWrites           *int64  `json:"disk_writes,omitempty"`
	Free                 *string `json:"free,omitempty"`
	FreeInBytes          *int64  `json:"free_in_bytes,omitempty"`
	Mount                *string `json:"mount,omitempty"`
	Path                 *string `json:"path,omitempty"`
	Total                *string `json:"total,omitempty"`
	TotalInBytes         *int64  `json:"total_in_bytes,omitempty"`
	Type                 *string `json:"type,omitempty"`
}

DataPathStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L223-L240

type DataPathStatsBuilder ¶

type DataPathStatsBuilder struct {
	// contains filtered or unexported fields
}

DataPathStatsBuilder holds DataPathStats struct and provides a builder API.

func NewDataPathStatsBuilder ¶

func NewDataPathStatsBuilder() *DataPathStatsBuilder

NewDataPathStats provides a builder for the DataPathStats struct.

func (*DataPathStatsBuilder) Available ¶

func (rb *DataPathStatsBuilder) Available(available string) *DataPathStatsBuilder

func (*DataPathStatsBuilder) AvailableInBytes ¶

func (rb *DataPathStatsBuilder) AvailableInBytes(availableinbytes int64) *DataPathStatsBuilder

func (*DataPathStatsBuilder) Build ¶

func (rb *DataPathStatsBuilder) Build() DataPathStats

Build finalize the chain and returns the DataPathStats struct

func (*DataPathStatsBuilder) DiskQueue ¶

func (rb *DataPathStatsBuilder) DiskQueue(diskqueue string) *DataPathStatsBuilder

func (*DataPathStatsBuilder) DiskReadSize ¶

func (rb *DataPathStatsBuilder) DiskReadSize(diskreadsize string) *DataPathStatsBuilder

func (*DataPathStatsBuilder) DiskReadSizeInBytes ¶

func (rb *DataPathStatsBuilder) DiskReadSizeInBytes(diskreadsizeinbytes int64) *DataPathStatsBuilder

func (*DataPathStatsBuilder) DiskReads ¶

func (rb *DataPathStatsBuilder) DiskReads(diskreads int64) *DataPathStatsBuilder

func (*DataPathStatsBuilder) DiskWriteSize ¶

func (rb *DataPathStatsBuilder) DiskWriteSize(diskwritesize string) *DataPathStatsBuilder

func (*DataPathStatsBuilder) DiskWriteSizeInBytes ¶

func (rb *DataPathStatsBuilder) DiskWriteSizeInBytes(diskwritesizeinbytes int64) *DataPathStatsBuilder

func (*DataPathStatsBuilder) DiskWrites ¶

func (rb *DataPathStatsBuilder) DiskWrites(diskwrites int64) *DataPathStatsBuilder

func (*DataPathStatsBuilder) Free ¶

func (*DataPathStatsBuilder) FreeInBytes ¶

func (rb *DataPathStatsBuilder) FreeInBytes(freeinbytes int64) *DataPathStatsBuilder

func (*DataPathStatsBuilder) Mount ¶

func (*DataPathStatsBuilder) Path ¶

func (*DataPathStatsBuilder) Total ¶

func (*DataPathStatsBuilder) TotalInBytes ¶

func (rb *DataPathStatsBuilder) TotalInBytes(totalinbytes int64) *DataPathStatsBuilder

func (*DataPathStatsBuilder) Type_ ¶

type DataStream ¶

type DataStream struct {
	AllowCustomRouting *bool                     `json:"allow_custom_routing,omitempty"`
	Generation         int                       `json:"generation"`
	Hidden             bool                      `json:"hidden"`
	IlmPolicy          *Name                     `json:"ilm_policy,omitempty"`
	Indices            []DataStreamIndex         `json:"indices"`
	Meta_              *Metadata                 `json:"_meta,omitempty"`
	Name               DataStreamName            `json:"name"`
	Replicated         *bool                     `json:"replicated,omitempty"`
	Status             healthstatus.HealthStatus `json:"status"`
	System             *bool                     `json:"system,omitempty"`
	Template           Name                      `json:"template"`
	TimestampField     DataStreamTimestampField  `json:"timestamp_field"`
}

DataStream type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/DataStream.ts#L31-L46

type DataStreamBuilder ¶

type DataStreamBuilder struct {
	// contains filtered or unexported fields
}

DataStreamBuilder holds DataStream struct and provides a builder API.

func NewDataStreamBuilder ¶

func NewDataStreamBuilder() *DataStreamBuilder

NewDataStream provides a builder for the DataStream struct.

func (*DataStreamBuilder) AllowCustomRouting ¶

func (rb *DataStreamBuilder) AllowCustomRouting(allowcustomrouting bool) *DataStreamBuilder

func (*DataStreamBuilder) Build ¶

func (rb *DataStreamBuilder) Build() DataStream

Build finalize the chain and returns the DataStream struct

func (*DataStreamBuilder) Generation ¶

func (rb *DataStreamBuilder) Generation(generation int) *DataStreamBuilder

func (*DataStreamBuilder) Hidden ¶

func (rb *DataStreamBuilder) Hidden(hidden bool) *DataStreamBuilder

func (*DataStreamBuilder) IlmPolicy ¶

func (rb *DataStreamBuilder) IlmPolicy(ilmpolicy Name) *DataStreamBuilder

func (*DataStreamBuilder) Indices ¶

func (*DataStreamBuilder) Meta_ ¶

func (*DataStreamBuilder) Name ¶

func (*DataStreamBuilder) Replicated ¶

func (rb *DataStreamBuilder) Replicated(replicated bool) *DataStreamBuilder

func (*DataStreamBuilder) Status ¶

func (*DataStreamBuilder) System ¶

func (rb *DataStreamBuilder) System(system bool) *DataStreamBuilder

func (*DataStreamBuilder) Template ¶

func (rb *DataStreamBuilder) Template(template Name) *DataStreamBuilder

func (*DataStreamBuilder) TimestampField ¶

func (rb *DataStreamBuilder) TimestampField(timestampfield *DataStreamTimestampFieldBuilder) *DataStreamBuilder

type DataStreamIndex ¶

type DataStreamIndex struct {
	IndexName IndexName `json:"index_name"`
	IndexUuid Uuid      `json:"index_uuid"`
}

DataStreamIndex type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/DataStream.ts#L52-L55

type DataStreamIndexBuilder ¶

type DataStreamIndexBuilder struct {
	// contains filtered or unexported fields
}

DataStreamIndexBuilder holds DataStreamIndex struct and provides a builder API.

func NewDataStreamIndexBuilder ¶

func NewDataStreamIndexBuilder() *DataStreamIndexBuilder

NewDataStreamIndex provides a builder for the DataStreamIndex struct.

func (*DataStreamIndexBuilder) Build ¶

Build finalize the chain and returns the DataStreamIndex struct

func (*DataStreamIndexBuilder) IndexName ¶

func (rb *DataStreamIndexBuilder) IndexName(indexname IndexName) *DataStreamIndexBuilder

func (*DataStreamIndexBuilder) IndexUuid ¶

func (rb *DataStreamIndexBuilder) IndexUuid(indexuuid Uuid) *DataStreamIndexBuilder

type DataStreamNameBuilder ¶

type DataStreamNameBuilder struct {
	// contains filtered or unexported fields
}

DataStreamNameBuilder holds DataStreamName struct and provides a builder API.

func NewDataStreamNameBuilder ¶

func NewDataStreamNameBuilder() *DataStreamNameBuilder

NewDataStreamName provides a builder for the DataStreamName struct.

func (*DataStreamNameBuilder) Build ¶

Build finalize the chain and returns the DataStreamName struct

func (*DataStreamNameBuilder) DataStreamName ¶

type DataStreamNamesBuilder ¶

type DataStreamNamesBuilder struct {
	// contains filtered or unexported fields
}

DataStreamNamesBuilder holds DataStreamNames struct and provides a builder API.

func NewDataStreamNamesBuilder ¶

func NewDataStreamNamesBuilder() *DataStreamNamesBuilder

NewDataStreamNames provides a builder for the DataStreamNames struct.

func (*DataStreamNamesBuilder) Build ¶

Build finalize the chain and returns the DataStreamNames struct

func (*DataStreamNamesBuilder) DataStreamNames ¶

type DataStreamTimestampBuilder ¶

type DataStreamTimestampBuilder struct {
	// contains filtered or unexported fields
}

DataStreamTimestampBuilder holds DataStreamTimestamp struct and provides a builder API.

func NewDataStreamTimestampBuilder ¶

func NewDataStreamTimestampBuilder() *DataStreamTimestampBuilder

NewDataStreamTimestamp provides a builder for the DataStreamTimestamp struct.

func (*DataStreamTimestampBuilder) Build ¶

Build finalize the chain and returns the DataStreamTimestamp struct

func (*DataStreamTimestampBuilder) Enabled ¶

type DataStreamTimestampFieldBuilder ¶

type DataStreamTimestampFieldBuilder struct {
	// contains filtered or unexported fields
}

DataStreamTimestampFieldBuilder holds DataStreamTimestampField struct and provides a builder API.

func NewDataStreamTimestampFieldBuilder ¶

func NewDataStreamTimestampFieldBuilder() *DataStreamTimestampFieldBuilder

NewDataStreamTimestampField provides a builder for the DataStreamTimestampField struct.

func (*DataStreamTimestampFieldBuilder) Build ¶

Build finalize the chain and returns the DataStreamTimestampField struct

func (*DataStreamTimestampFieldBuilder) Name ¶

type DataStreamVisibilityBuilder ¶

type DataStreamVisibilityBuilder struct {
	// contains filtered or unexported fields
}

DataStreamVisibilityBuilder holds DataStreamVisibility struct and provides a builder API.

func NewDataStreamVisibilityBuilder ¶

func NewDataStreamVisibilityBuilder() *DataStreamVisibilityBuilder

NewDataStreamVisibility provides a builder for the DataStreamVisibility struct.

func (*DataStreamVisibilityBuilder) Build ¶

Build finalize the chain and returns the DataStreamVisibility struct

func (*DataStreamVisibilityBuilder) Hidden ¶

type DataStreams ¶

type DataStreams struct {
	Available    bool  `json:"available"`
	DataStreams  int64 `json:"data_streams"`
	Enabled      bool  `json:"enabled"`
	IndicesCount int64 `json:"indices_count"`
}

DataStreams type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L76-L79

type DataStreamsBuilder ¶

type DataStreamsBuilder struct {
	// contains filtered or unexported fields
}

DataStreamsBuilder holds DataStreams struct and provides a builder API.

func NewDataStreamsBuilder ¶

func NewDataStreamsBuilder() *DataStreamsBuilder

NewDataStreams provides a builder for the DataStreams struct.

func (*DataStreamsBuilder) Available ¶

func (rb *DataStreamsBuilder) Available(available bool) *DataStreamsBuilder

func (*DataStreamsBuilder) Build ¶

func (rb *DataStreamsBuilder) Build() DataStreams

Build finalize the chain and returns the DataStreams struct

func (*DataStreamsBuilder) DataStreams ¶

func (rb *DataStreamsBuilder) DataStreams(datastreams int64) *DataStreamsBuilder

func (*DataStreamsBuilder) Enabled ¶

func (rb *DataStreamsBuilder) Enabled(enabled bool) *DataStreamsBuilder

func (*DataStreamsBuilder) IndicesCount ¶

func (rb *DataStreamsBuilder) IndicesCount(indicescount int64) *DataStreamsBuilder

type DataStreamsStatsItem ¶

type DataStreamsStatsItem struct {
	BackingIndices   int                 `json:"backing_indices"`
	DataStream       Name                `json:"data_stream"`
	MaximumTimestamp EpochTimeUnitMillis `json:"maximum_timestamp"`
	StoreSize        *ByteSize           `json:"store_size,omitempty"`
	StoreSizeBytes   int                 `json:"store_size_bytes"`
}

DataStreamsStatsItem type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/data_streams_stats/IndicesDataStreamsStatsResponse.ts#L36-L42

type DataStreamsStatsItemBuilder ¶

type DataStreamsStatsItemBuilder struct {
	// contains filtered or unexported fields
}

DataStreamsStatsItemBuilder holds DataStreamsStatsItem struct and provides a builder API.

func NewDataStreamsStatsItemBuilder ¶

func NewDataStreamsStatsItemBuilder() *DataStreamsStatsItemBuilder

NewDataStreamsStatsItem provides a builder for the DataStreamsStatsItem struct.

func (*DataStreamsStatsItemBuilder) BackingIndices ¶

func (rb *DataStreamsStatsItemBuilder) BackingIndices(backingindices int) *DataStreamsStatsItemBuilder

func (*DataStreamsStatsItemBuilder) Build ¶

Build finalize the chain and returns the DataStreamsStatsItem struct

func (*DataStreamsStatsItemBuilder) DataStream ¶

func (rb *DataStreamsStatsItemBuilder) DataStream(datastream Name) *DataStreamsStatsItemBuilder

func (*DataStreamsStatsItemBuilder) MaximumTimestamp ¶

func (*DataStreamsStatsItemBuilder) StoreSize ¶

func (*DataStreamsStatsItemBuilder) StoreSizeBytes ¶

func (rb *DataStreamsStatsItemBuilder) StoreSizeBytes(storesizebytes int) *DataStreamsStatsItemBuilder

type DataTierPhaseStatistics ¶

type DataTierPhaseStatistics struct {
	DocCount                    int64 `json:"doc_count"`
	IndexCount                  int64 `json:"index_count"`
	NodeCount                   int64 `json:"node_count"`
	PrimaryShardCount           int64 `json:"primary_shard_count"`
	PrimaryShardSizeAvgBytes    int64 `json:"primary_shard_size_avg_bytes"`
	PrimaryShardSizeMadBytes    int64 `json:"primary_shard_size_mad_bytes"`
	PrimaryShardSizeMedianBytes int64 `json:"primary_shard_size_median_bytes"`
	PrimarySizeBytes            int64 `json:"primary_size_bytes"`
	TotalShardCount             int64 `json:"total_shard_count"`
	TotalSizeBytes              int64 `json:"total_size_bytes"`
}

DataTierPhaseStatistics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L81-L92

type DataTierPhaseStatisticsBuilder ¶

type DataTierPhaseStatisticsBuilder struct {
	// contains filtered or unexported fields
}

DataTierPhaseStatisticsBuilder holds DataTierPhaseStatistics struct and provides a builder API.

func NewDataTierPhaseStatisticsBuilder ¶

func NewDataTierPhaseStatisticsBuilder() *DataTierPhaseStatisticsBuilder

NewDataTierPhaseStatistics provides a builder for the DataTierPhaseStatistics struct.

func (*DataTierPhaseStatisticsBuilder) Build ¶

Build finalize the chain and returns the DataTierPhaseStatistics struct

func (*DataTierPhaseStatisticsBuilder) DocCount ¶

func (*DataTierPhaseStatisticsBuilder) IndexCount ¶

func (*DataTierPhaseStatisticsBuilder) NodeCount ¶

func (*DataTierPhaseStatisticsBuilder) PrimaryShardCount ¶

func (rb *DataTierPhaseStatisticsBuilder) PrimaryShardCount(primaryshardcount int64) *DataTierPhaseStatisticsBuilder

func (*DataTierPhaseStatisticsBuilder) PrimaryShardSizeAvgBytes ¶

func (rb *DataTierPhaseStatisticsBuilder) PrimaryShardSizeAvgBytes(primaryshardsizeavgbytes int64) *DataTierPhaseStatisticsBuilder

func (*DataTierPhaseStatisticsBuilder) PrimaryShardSizeMadBytes ¶

func (rb *DataTierPhaseStatisticsBuilder) PrimaryShardSizeMadBytes(primaryshardsizemadbytes int64) *DataTierPhaseStatisticsBuilder

func (*DataTierPhaseStatisticsBuilder) PrimaryShardSizeMedianBytes ¶

func (rb *DataTierPhaseStatisticsBuilder) PrimaryShardSizeMedianBytes(primaryshardsizemedianbytes int64) *DataTierPhaseStatisticsBuilder

func (*DataTierPhaseStatisticsBuilder) PrimarySizeBytes ¶

func (rb *DataTierPhaseStatisticsBuilder) PrimarySizeBytes(primarysizebytes int64) *DataTierPhaseStatisticsBuilder

func (*DataTierPhaseStatisticsBuilder) TotalShardCount ¶

func (rb *DataTierPhaseStatisticsBuilder) TotalShardCount(totalshardcount int64) *DataTierPhaseStatisticsBuilder

func (*DataTierPhaseStatisticsBuilder) TotalSizeBytes ¶

func (rb *DataTierPhaseStatisticsBuilder) TotalSizeBytes(totalsizebytes int64) *DataTierPhaseStatisticsBuilder

type DataTiers ¶

type DataTiers struct {
	Available   bool                     `json:"available"`
	DataCold    DataTierPhaseStatistics  `json:"data_cold"`
	DataContent DataTierPhaseStatistics  `json:"data_content"`
	DataFrozen  *DataTierPhaseStatistics `json:"data_frozen,omitempty"`
	DataHot     DataTierPhaseStatistics  `json:"data_hot"`
	DataWarm    DataTierPhaseStatistics  `json:"data_warm"`
	Enabled     bool                     `json:"enabled"`
}

DataTiers type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L322-L329

type DataTiersBuilder ¶

type DataTiersBuilder struct {
	// contains filtered or unexported fields
}

DataTiersBuilder holds DataTiers struct and provides a builder API.

func NewDataTiersBuilder ¶

func NewDataTiersBuilder() *DataTiersBuilder

NewDataTiers provides a builder for the DataTiers struct.

func (*DataTiersBuilder) Available ¶

func (rb *DataTiersBuilder) Available(available bool) *DataTiersBuilder

func (*DataTiersBuilder) Build ¶

func (rb *DataTiersBuilder) Build() DataTiers

Build finalize the chain and returns the DataTiers struct

func (*DataTiersBuilder) DataCold ¶

func (*DataTiersBuilder) DataContent ¶

func (rb *DataTiersBuilder) DataContent(datacontent *DataTierPhaseStatisticsBuilder) *DataTiersBuilder

func (*DataTiersBuilder) DataFrozen ¶

func (*DataTiersBuilder) DataHot ¶

func (*DataTiersBuilder) DataWarm ¶

func (*DataTiersBuilder) Enabled ¶

func (rb *DataTiersBuilder) Enabled(enabled bool) *DataTiersBuilder

type DatafeedAuthorization ¶

type DatafeedAuthorization struct {
	// ApiKey If an API key was used for the most recent update to the datafeed, its name
	// and identifier are listed in the response.
	ApiKey *ApiKeyAuthorization `json:"api_key,omitempty"`
	// Roles If a user ID was used for the most recent update to the datafeed, its roles
	// at the time of the update are listed in the response.
	Roles []string `json:"roles,omitempty"`
	// ServiceAccount If a service account was used for the most recent update to the datafeed, the
	// account name is listed in the response.
	ServiceAccount *string `json:"service_account,omitempty"`
}

DatafeedAuthorization type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Authorization.ts#L31-L43

type DatafeedAuthorizationBuilder ¶

type DatafeedAuthorizationBuilder struct {
	// contains filtered or unexported fields
}

DatafeedAuthorizationBuilder holds DatafeedAuthorization struct and provides a builder API.

func NewDatafeedAuthorizationBuilder ¶

func NewDatafeedAuthorizationBuilder() *DatafeedAuthorizationBuilder

NewDatafeedAuthorization provides a builder for the DatafeedAuthorization struct.

func (*DatafeedAuthorizationBuilder) ApiKey ¶

func (*DatafeedAuthorizationBuilder) Build ¶

Build finalize the chain and returns the DatafeedAuthorization struct

func (*DatafeedAuthorizationBuilder) Roles ¶

func (*DatafeedAuthorizationBuilder) ServiceAccount ¶

func (rb *DatafeedAuthorizationBuilder) ServiceAccount(serviceaccount string) *DatafeedAuthorizationBuilder

type DatafeedBuilder ¶

type DatafeedBuilder struct {
	// contains filtered or unexported fields
}

DatafeedBuilder holds Datafeed struct and provides a builder API.

func NewDatafeedBuilder ¶

func NewDatafeedBuilder() *DatafeedBuilder

NewDatafeed provides a builder for the Datafeed struct.

func (*DatafeedBuilder) Build ¶

func (rb *DatafeedBuilder) Build() Datafeed

Build finalize the chain and returns the Datafeed struct

func (*DatafeedBuilder) Count ¶

func (rb *DatafeedBuilder) Count(count int64) *DatafeedBuilder

type DatafeedConfig ¶

type DatafeedConfig struct {
	// Aggregations If set, the datafeed performs aggregation searches. Support for aggregations
	// is limited and should be used only with low cardinality data.
	Aggregations map[string]AggregationContainer `json:"aggregations,omitempty"`
	// ChunkingConfig Datafeeds might be required to search over long time periods, for several
	// months or years. This search is split into time chunks in order to ensure the
	// load on Elasticsearch is managed. Chunking configuration controls how the
	// size of these time chunks are calculated and is an advanced configuration
	// option.
	ChunkingConfig *ChunkingConfig `json:"chunking_config,omitempty"`
	// DatafeedId A numerical character string that uniquely identifies the datafeed. This
	// identifier can contain lowercase alphanumeric characters (a-z and 0-9),
	// hyphens, and underscores. It must start and end with alphanumeric characters.
	// The default value is the job identifier.
	DatafeedId *Id `json:"datafeed_id,omitempty"`
	// DelayedDataCheckConfig Specifies whether the datafeed checks for missing data and the size of the
	// window. The datafeed can optionally search over indices that have already
	// been read in an effort to determine whether any data has subsequently been
	// added to the index. If missing data is found, it is a good indication that
	// the `query_delay` option is set too low and the data is being indexed after
	// the datafeed has passed that moment in time. This check runs only on
	// real-time datafeeds.
	DelayedDataCheckConfig *DelayedDataCheckConfig `json:"delayed_data_check_config,omitempty"`
	// Frequency The interval at which scheduled queries are made while the datafeed runs in
	// real time. The default value is either the bucket span for short bucket
	// spans, or, for longer bucket spans, a sensible fraction of the bucket span.
	// For example: `150s`. When `frequency` is shorter than the bucket span,
	// interim results for the last (partial) bucket are written then eventually
	// overwritten by the full bucket results. If the datafeed uses aggregations,
	// this value must be divisible by the interval of the date histogram
	// aggregation.
	Frequency *Duration `json:"frequency,omitempty"`
	Indexes   []string  `json:"indexes,omitempty"`
	// Indices An array of index names. Wildcards are supported. If any indices are in
	// remote clusters, the machine learning nodes must have the
	// `remote_cluster_client` role.
	Indices []string `json:"indices"`
	// IndicesOptions Specifies index expansion options that are used during search.
	IndicesOptions *IndicesOptions `json:"indices_options,omitempty"`
	JobId          *Id             `json:"job_id,omitempty"`
	// MaxEmptySearches If a real-time datafeed has never seen any data (including during any initial
	// training period) then it will automatically stop itself and close its
	// associated job after this many real-time searches that return no documents.
	// In other words, it will stop after `frequency` times `max_empty_searches` of
	// real-time operation. If not set then a datafeed with no end time that sees no
	// data will remain started until it is explicitly stopped.
	MaxEmptySearches *int `json:"max_empty_searches,omitempty"`
	// Query The Elasticsearch query domain-specific language (DSL). This value
	// corresponds to the query object in an Elasticsearch search POST body. All the
	// options that are supported by Elasticsearch can be used, as this object is
	// passed verbatim to Elasticsearch.
	Query QueryContainer `json:"query"`
	// QueryDelay The number of seconds behind real time that data is queried. For example, if
	// data from 10:04 a.m. might not be searchable in Elasticsearch until 10:06
	// a.m., set this property to 120 seconds. The default value is randomly
	// selected between `60s` and `120s`. This randomness improves the query
	// performance when there are multiple jobs running on the same node.
	QueryDelay *Duration `json:"query_delay,omitempty"`
	// RuntimeMappings Specifies runtime fields for the datafeed search.
	RuntimeMappings *RuntimeFields `json:"runtime_mappings,omitempty"`
	// ScriptFields Specifies scripts that evaluate custom expressions and returns script fields
	// to the datafeed. The detector configuration objects in a job can contain
	// functions that use these script fields.
	ScriptFields map[string]ScriptField `json:"script_fields,omitempty"`
	// ScrollSize The size parameter that is used in Elasticsearch searches when the datafeed
	// does not use aggregations. The maximum value is the value of
	// `index.max_result_window`, which is 10,000 by default.
	ScrollSize *int `json:"scroll_size,omitempty"`
}

DatafeedConfig type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Datafeed.ts#L60-L117

type DatafeedConfigBuilder ¶

type DatafeedConfigBuilder struct {
	// contains filtered or unexported fields
}

DatafeedConfigBuilder holds DatafeedConfig struct and provides a builder API.

func NewDatafeedConfigBuilder ¶

func NewDatafeedConfigBuilder() *DatafeedConfigBuilder

NewDatafeedConfig provides a builder for the DatafeedConfig struct.

func (*DatafeedConfigBuilder) Aggregations ¶

func (*DatafeedConfigBuilder) Build ¶

Build finalize the chain and returns the DatafeedConfig struct

func (*DatafeedConfigBuilder) ChunkingConfig ¶

func (rb *DatafeedConfigBuilder) ChunkingConfig(chunkingconfig *ChunkingConfigBuilder) *DatafeedConfigBuilder

func (*DatafeedConfigBuilder) DatafeedId ¶

func (rb *DatafeedConfigBuilder) DatafeedId(datafeedid Id) *DatafeedConfigBuilder

func (*DatafeedConfigBuilder) DelayedDataCheckConfig ¶

func (rb *DatafeedConfigBuilder) DelayedDataCheckConfig(delayeddatacheckconfig *DelayedDataCheckConfigBuilder) *DatafeedConfigBuilder

func (*DatafeedConfigBuilder) Frequency ¶

func (rb *DatafeedConfigBuilder) Frequency(frequency *DurationBuilder) *DatafeedConfigBuilder

func (*DatafeedConfigBuilder) Indexes ¶

func (rb *DatafeedConfigBuilder) Indexes(indexes ...string) *DatafeedConfigBuilder

func (*DatafeedConfigBuilder) Indices ¶

func (rb *DatafeedConfigBuilder) Indices(indices ...string) *DatafeedConfigBuilder

func (*DatafeedConfigBuilder) IndicesOptions ¶

func (rb *DatafeedConfigBuilder) IndicesOptions(indicesoptions *IndicesOptionsBuilder) *DatafeedConfigBuilder

func (*DatafeedConfigBuilder) JobId ¶

func (*DatafeedConfigBuilder) MaxEmptySearches ¶

func (rb *DatafeedConfigBuilder) MaxEmptySearches(maxemptysearches int) *DatafeedConfigBuilder

func (*DatafeedConfigBuilder) Query ¶

func (*DatafeedConfigBuilder) QueryDelay ¶

func (rb *DatafeedConfigBuilder) QueryDelay(querydelay *DurationBuilder) *DatafeedConfigBuilder

func (*DatafeedConfigBuilder) RuntimeMappings ¶

func (rb *DatafeedConfigBuilder) RuntimeMappings(runtimemappings *RuntimeFieldsBuilder) *DatafeedConfigBuilder

func (*DatafeedConfigBuilder) ScriptFields ¶

func (*DatafeedConfigBuilder) ScrollSize ¶

func (rb *DatafeedConfigBuilder) ScrollSize(scrollsize int) *DatafeedConfigBuilder

type DatafeedRunningState ¶

type DatafeedRunningState struct {
	RealTimeConfigured bool                        `json:"real_time_configured"`
	RealTimeRunning    bool                        `json:"real_time_running"`
	SearchInterval     *RunningStateSearchInterval `json:"search_interval,omitempty"`
}

DatafeedRunningState type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Datafeed.ts#L158-L162

type DatafeedRunningStateBuilder ¶

type DatafeedRunningStateBuilder struct {
	// contains filtered or unexported fields
}

DatafeedRunningStateBuilder holds DatafeedRunningState struct and provides a builder API.

func NewDatafeedRunningStateBuilder ¶

func NewDatafeedRunningStateBuilder() *DatafeedRunningStateBuilder

NewDatafeedRunningState provides a builder for the DatafeedRunningState struct.

func (*DatafeedRunningStateBuilder) Build ¶

Build finalize the chain and returns the DatafeedRunningState struct

func (*DatafeedRunningStateBuilder) RealTimeConfigured ¶

func (rb *DatafeedRunningStateBuilder) RealTimeConfigured(realtimeconfigured bool) *DatafeedRunningStateBuilder

func (*DatafeedRunningStateBuilder) RealTimeRunning ¶

func (rb *DatafeedRunningStateBuilder) RealTimeRunning(realtimerunning bool) *DatafeedRunningStateBuilder

func (*DatafeedRunningStateBuilder) SearchInterval ¶

type DatafeedStats ¶

type DatafeedStats struct {
	AssignmentExplanation *string                     `json:"assignment_explanation,omitempty"`
	DatafeedId            Id                          `json:"datafeed_id"`
	Node                  *DiscoveryNode              `json:"node,omitempty"`
	RunningState          *DatafeedRunningState       `json:"running_state,omitempty"`
	State                 datafeedstate.DatafeedState `json:"state"`
	TimingStats           DatafeedTimingStats         `json:"timing_stats"`
}

DatafeedStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Datafeed.ts#L140-L147

type DatafeedStatsBuilder ¶

type DatafeedStatsBuilder struct {
	// contains filtered or unexported fields
}

DatafeedStatsBuilder holds DatafeedStats struct and provides a builder API.

func NewDatafeedStatsBuilder ¶

func NewDatafeedStatsBuilder() *DatafeedStatsBuilder

NewDatafeedStats provides a builder for the DatafeedStats struct.

func (*DatafeedStatsBuilder) AssignmentExplanation ¶

func (rb *DatafeedStatsBuilder) AssignmentExplanation(assignmentexplanation string) *DatafeedStatsBuilder

func (*DatafeedStatsBuilder) Build ¶

func (rb *DatafeedStatsBuilder) Build() DatafeedStats

Build finalize the chain and returns the DatafeedStats struct

func (*DatafeedStatsBuilder) DatafeedId ¶

func (rb *DatafeedStatsBuilder) DatafeedId(datafeedid Id) *DatafeedStatsBuilder

func (*DatafeedStatsBuilder) Node ¶

func (*DatafeedStatsBuilder) RunningState ¶

func (*DatafeedStatsBuilder) State ¶

func (*DatafeedStatsBuilder) TimingStats ¶

type DatafeedTimingStats ¶

type DatafeedTimingStats struct {
	AverageSearchTimePerBucketMs          *DurationValueUnitFloatMillis `json:"average_search_time_per_bucket_ms,omitempty"`
	BucketCount                           int64                         `json:"bucket_count"`
	ExponentialAverageSearchTimePerHourMs DurationValueUnitFloatMillis  `json:"exponential_average_search_time_per_hour_ms"`
	JobId                                 Id                            `json:"job_id"`
	SearchCount                           int64                         `json:"search_count"`
	TotalSearchTimeMs                     DurationValueUnitFloatMillis  `json:"total_search_time_ms"`
}

DatafeedTimingStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Datafeed.ts#L149-L156

type DatafeedTimingStatsBuilder ¶

type DatafeedTimingStatsBuilder struct {
	// contains filtered or unexported fields
}

DatafeedTimingStatsBuilder holds DatafeedTimingStats struct and provides a builder API.

func NewDatafeedTimingStatsBuilder ¶

func NewDatafeedTimingStatsBuilder() *DatafeedTimingStatsBuilder

NewDatafeedTimingStats provides a builder for the DatafeedTimingStats struct.

func (*DatafeedTimingStatsBuilder) AverageSearchTimePerBucketMs ¶

func (rb *DatafeedTimingStatsBuilder) AverageSearchTimePerBucketMs(averagesearchtimeperbucketms *DurationValueUnitFloatMillisBuilder) *DatafeedTimingStatsBuilder

func (*DatafeedTimingStatsBuilder) BucketCount ¶

func (rb *DatafeedTimingStatsBuilder) BucketCount(bucketcount int64) *DatafeedTimingStatsBuilder

func (*DatafeedTimingStatsBuilder) Build ¶

Build finalize the chain and returns the DatafeedTimingStats struct

func (*DatafeedTimingStatsBuilder) ExponentialAverageSearchTimePerHourMs ¶

func (rb *DatafeedTimingStatsBuilder) ExponentialAverageSearchTimePerHourMs(exponentialaveragesearchtimeperhourms *DurationValueUnitFloatMillisBuilder) *DatafeedTimingStatsBuilder

func (*DatafeedTimingStatsBuilder) JobId ¶

func (*DatafeedTimingStatsBuilder) SearchCount ¶

func (rb *DatafeedTimingStatsBuilder) SearchCount(searchcount int64) *DatafeedTimingStatsBuilder

func (*DatafeedTimingStatsBuilder) TotalSearchTimeMs ¶

type DatafeedsBuilder ¶

type DatafeedsBuilder struct {
	// contains filtered or unexported fields
}

DatafeedsBuilder holds Datafeeds struct and provides a builder API.

func NewDatafeedsBuilder ¶

func NewDatafeedsBuilder() *DatafeedsBuilder

NewDatafeeds provides a builder for the Datafeeds struct.

func (*DatafeedsBuilder) Build ¶

func (rb *DatafeedsBuilder) Build() Datafeeds

Build finalize the chain and returns the Datafeeds struct

func (*DatafeedsBuilder) ScrollSize ¶

func (rb *DatafeedsBuilder) ScrollSize(scrollsize int) *DatafeedsBuilder

type DatafeedsRecord ¶

type DatafeedsRecord struct {
	// AssignmentExplanation why the datafeed is or is not assigned to a node
	AssignmentExplanation *string `json:"assignment_explanation,omitempty"`
	// BucketsCount bucket count
	BucketsCount *string `json:"buckets.count,omitempty"`
	// Id the datafeed_id
	Id *string `json:"id,omitempty"`
	// NodeAddress network address of the assigned node
	NodeAddress *string `json:"node.address,omitempty"`
	// NodeEphemeralId ephemeral id of the assigned node
	NodeEphemeralId *string `json:"node.ephemeral_id,omitempty"`
	// NodeId id of the assigned node
	NodeId *string `json:"node.id,omitempty"`
	// NodeName name of the assigned node
	NodeName *string `json:"node.name,omitempty"`
	// SearchBucketAvg the average search time per bucket (millisecond)
	SearchBucketAvg *string `json:"search.bucket_avg,omitempty"`
	// SearchCount number of searches ran by the datafeed
	SearchCount *string `json:"search.count,omitempty"`
	// SearchExpAvgHour the exponential average search time per hour (millisecond)
	SearchExpAvgHour *string `json:"search.exp_avg_hour,omitempty"`
	// SearchTime the total search time
	SearchTime *string `json:"search.time,omitempty"`
	// State the datafeed state
	State *datafeedstate.DatafeedState `json:"state,omitempty"`
}

DatafeedsRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/ml_datafeeds/types.ts#L22-L83

type DatafeedsRecordBuilder ¶

type DatafeedsRecordBuilder struct {
	// contains filtered or unexported fields
}

DatafeedsRecordBuilder holds DatafeedsRecord struct and provides a builder API.

func NewDatafeedsRecordBuilder ¶

func NewDatafeedsRecordBuilder() *DatafeedsRecordBuilder

NewDatafeedsRecord provides a builder for the DatafeedsRecord struct.

func (*DatafeedsRecordBuilder) AssignmentExplanation ¶

func (rb *DatafeedsRecordBuilder) AssignmentExplanation(assignmentexplanation string) *DatafeedsRecordBuilder

func (*DatafeedsRecordBuilder) BucketsCount ¶

func (rb *DatafeedsRecordBuilder) BucketsCount(bucketscount string) *DatafeedsRecordBuilder

func (*DatafeedsRecordBuilder) Build ¶

Build finalize the chain and returns the DatafeedsRecord struct

func (*DatafeedsRecordBuilder) Id ¶

func (*DatafeedsRecordBuilder) NodeAddress ¶

func (rb *DatafeedsRecordBuilder) NodeAddress(nodeaddress string) *DatafeedsRecordBuilder

func (*DatafeedsRecordBuilder) NodeEphemeralId ¶

func (rb *DatafeedsRecordBuilder) NodeEphemeralId(nodeephemeralid string) *DatafeedsRecordBuilder

func (*DatafeedsRecordBuilder) NodeId ¶

func (*DatafeedsRecordBuilder) NodeName ¶

func (rb *DatafeedsRecordBuilder) NodeName(nodename string) *DatafeedsRecordBuilder

func (*DatafeedsRecordBuilder) SearchBucketAvg ¶

func (rb *DatafeedsRecordBuilder) SearchBucketAvg(searchbucketavg string) *DatafeedsRecordBuilder

func (*DatafeedsRecordBuilder) SearchCount ¶

func (rb *DatafeedsRecordBuilder) SearchCount(searchcount string) *DatafeedsRecordBuilder

func (*DatafeedsRecordBuilder) SearchExpAvgHour ¶

func (rb *DatafeedsRecordBuilder) SearchExpAvgHour(searchexpavghour string) *DatafeedsRecordBuilder

func (*DatafeedsRecordBuilder) SearchTime ¶

func (rb *DatafeedsRecordBuilder) SearchTime(searchtime string) *DatafeedsRecordBuilder

func (*DatafeedsRecordBuilder) State ¶

type DataframeAnalysis ¶

type DataframeAnalysis struct {
	// Alpha Advanced configuration option. Machine learning uses loss guided tree
	// growing, which means that the decision trees grow where the regularized loss
	// decreases most quickly. This parameter affects loss calculations by acting as
	// a multiplier of the tree depth. Higher alpha values result in shallower trees
	// and faster training times. By default, this value is calculated during
	// hyperparameter optimization. It must be greater than or equal to zero.
	Alpha *float64 `json:"alpha,omitempty"`
	// DependentVariable Defines which field of the document is to be predicted. It must match one of
	// the fields in the index being used to train. If this field is missing from a
	// document, then that document will not be used for training, but a prediction
	// with the trained model will be generated for it. It is also known as
	// continuous target variable.
	// For classification analysis, the data type of the field must be numeric
	// (`integer`, `short`, `long`, `byte`), categorical (`ip` or `keyword`), or
	// `boolean`. There must be no more than 30 different values in this field.
	// For regression analysis, the data type of the field must be numeric.
	DependentVariable string `json:"dependent_variable"`
	// DownsampleFactor Advanced configuration option. Controls the fraction of data that is used to
	// compute the derivatives of the loss function for tree training. A small value
	// results in the use of a small fraction of the data. If this value is set to
	// be less than 1, accuracy typically improves. However, too small a value may
	// result in poor convergence for the ensemble and so require more trees. By
	// default, this value is calculated during hyperparameter optimization. It must
	// be greater than zero and less than or equal to 1.
	DownsampleFactor *float64 `json:"downsample_factor,omitempty"`
	// EarlyStoppingEnabled Advanced configuration option. Specifies whether the training process should
	// finish if it is not finding any better performing models. If disabled, the
	// training process can take significantly longer and the chance of finding a
	// better performing model is unremarkable.
	EarlyStoppingEnabled *bool `json:"early_stopping_enabled,omitempty"`
	// Eta Advanced configuration option. The shrinkage applied to the weights. Smaller
	// values result in larger forests which have a better generalization error.
	// However, larger forests cause slower training. By default, this value is
	// calculated during hyperparameter optimization. It must be a value between
	// 0.001 and 1.
	Eta *float64 `json:"eta,omitempty"`
	// EtaGrowthRatePerTree Advanced configuration option. Specifies the rate at which `eta` increases
	// for each new tree that is added to the forest. For example, a rate of 1.05
	// increases `eta` by 5% for each extra tree. By default, this value is
	// calculated during hyperparameter optimization. It must be between 0.5 and 2.
	EtaGrowthRatePerTree *float64 `json:"eta_growth_rate_per_tree,omitempty"`
	// FeatureBagFraction Advanced configuration option. Defines the fraction of features that will be
	// used when selecting a random bag for each candidate split. By default, this
	// value is calculated during hyperparameter optimization.
	FeatureBagFraction *float64 `json:"feature_bag_fraction,omitempty"`
	// FeatureProcessors Advanced configuration option. A collection of feature preprocessors that
	// modify one or more included fields. The analysis uses the resulting one or
	// more features instead of the original document field. However, these features
	// are ephemeral; they are not stored in the destination index. Multiple
	// `feature_processors` entries can refer to the same document fields. Automatic
	// categorical feature encoding still occurs for the fields that are unprocessed
	// by a custom processor or that have categorical values. Use this property only
	// if you want to override the automatic feature encoding of the specified
	// fields.
	FeatureProcessors []DataframeAnalysisFeatureProcessor `json:"feature_processors,omitempty"`
	// Gamma Advanced configuration option. Regularization parameter to prevent
	// overfitting on the training data set. Multiplies a linear penalty associated
	// with the size of individual trees in the forest. A high gamma value causes
	// training to prefer small trees. A small gamma value results in larger
	// individual trees and slower training. By default, this value is calculated
	// during hyperparameter optimization. It must be a nonnegative value.
	Gamma *float64 `json:"gamma,omitempty"`
	// Lambda Advanced configuration option. Regularization parameter to prevent
	// overfitting on the training data set. Multiplies an L2 regularization term
	// which applies to leaf weights of the individual trees in the forest. A high
	// lambda value causes training to favor small leaf weights. This behavior makes
	// the prediction function smoother at the expense of potentially not being able
	// to capture relevant relationships between the features and the dependent
	// variable. A small lambda value results in large individual trees and slower
	// training. By default, this value is calculated during hyperparameter
	// optimization. It must be a nonnegative value.
	Lambda *float64 `json:"lambda,omitempty"`
	// MaxOptimizationRoundsPerHyperparameter Advanced configuration option. A multiplier responsible for determining the
	// maximum number of hyperparameter optimization steps in the Bayesian
	// optimization procedure. The maximum number of steps is determined based on
	// the number of undefined hyperparameters times the maximum optimization rounds
	// per hyperparameter. By default, this value is calculated during
	// hyperparameter optimization.
	MaxOptimizationRoundsPerHyperparameter *int `json:"max_optimization_rounds_per_hyperparameter,omitempty"`
	// MaxTrees Advanced configuration option. Defines the maximum number of decision trees
	// in the forest. The maximum value is 2000. By default, this value is
	// calculated during hyperparameter optimization.
	MaxTrees *int `json:"max_trees,omitempty"`
	// NumTopFeatureImportanceValues Advanced configuration option. Specifies the maximum number of feature
	// importance values per document to return. By default, no feature importance
	// calculation occurs.
	NumTopFeatureImportanceValues *int `json:"num_top_feature_importance_values,omitempty"`
	// PredictionFieldName Defines the name of the prediction field in the results. Defaults to
	// `<dependent_variable>_prediction`.
	PredictionFieldName *Field `json:"prediction_field_name,omitempty"`
	// RandomizeSeed Defines the seed for the random generator that is used to pick training data.
	// By default, it is randomly generated. Set it to a specific value to use the
	// same training data each time you start a job (assuming other related
	// parameters such as `source` and `analyzed_fields` are the same).
	RandomizeSeed *float64 `json:"randomize_seed,omitempty"`
	// SoftTreeDepthLimit Advanced configuration option. Machine learning uses loss guided tree
	// growing, which means that the decision trees grow where the regularized loss
	// decreases most quickly. This soft limit combines with the
	// `soft_tree_depth_tolerance` to penalize trees that exceed the specified
	// depth; the regularized loss increases quickly beyond this depth. By default,
	// this value is calculated during hyperparameter optimization. It must be
	// greater than or equal to 0.
	SoftTreeDepthLimit *int `json:"soft_tree_depth_limit,omitempty"`
	// SoftTreeDepthTolerance Advanced configuration option. This option controls how quickly the
	// regularized loss increases when the tree depth exceeds
	// `soft_tree_depth_limit`. By default, this value is calculated during
	// hyperparameter optimization. It must be greater than or equal to 0.01.
	SoftTreeDepthTolerance *float64 `json:"soft_tree_depth_tolerance,omitempty"`
	// TrainingPercent Defines what percentage of the eligible documents that will be used for
	// training. Documents that are ignored by the analysis (for example those that
	// contain arrays with more than one value) won’t be included in the calculation
	// for used percentage.
	TrainingPercent *Percentage `json:"training_percent,omitempty"`
}

DataframeAnalysis type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L134-L213

type DataframeAnalysisAnalyzedFields ¶

type DataframeAnalysisAnalyzedFields struct {
	// Excludes An array of strings that defines the fields that will be included in the
	// analysis.
	Excludes []string `json:"excludes"`
	// Includes An array of strings that defines the fields that will be excluded from the
	// analysis. You do not need to add fields with unsupported data types to
	// excludes, these fields are excluded from the analysis automatically.
	Includes []string `json:"includes"`
}

DataframeAnalysisAnalyzedFields type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L238-L244

type DataframeAnalysisAnalyzedFieldsBuilder ¶

type DataframeAnalysisAnalyzedFieldsBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalysisAnalyzedFieldsBuilder holds DataframeAnalysisAnalyzedFields struct and provides a builder API.

func NewDataframeAnalysisAnalyzedFieldsBuilder ¶

func NewDataframeAnalysisAnalyzedFieldsBuilder() *DataframeAnalysisAnalyzedFieldsBuilder

NewDataframeAnalysisAnalyzedFields provides a builder for the DataframeAnalysisAnalyzedFields struct.

func (*DataframeAnalysisAnalyzedFieldsBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalysisAnalyzedFields struct

func (*DataframeAnalysisAnalyzedFieldsBuilder) Excludes ¶

func (*DataframeAnalysisAnalyzedFieldsBuilder) Includes ¶

type DataframeAnalysisBuilder ¶

type DataframeAnalysisBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalysisBuilder holds DataframeAnalysis struct and provides a builder API.

func NewDataframeAnalysisBuilder ¶

func NewDataframeAnalysisBuilder() *DataframeAnalysisBuilder

NewDataframeAnalysis provides a builder for the DataframeAnalysis struct.

func (*DataframeAnalysisBuilder) Alpha ¶

func (*DataframeAnalysisBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalysis struct

func (*DataframeAnalysisBuilder) DependentVariable ¶

func (rb *DataframeAnalysisBuilder) DependentVariable(dependentvariable string) *DataframeAnalysisBuilder

func (*DataframeAnalysisBuilder) DownsampleFactor ¶

func (rb *DataframeAnalysisBuilder) DownsampleFactor(downsamplefactor float64) *DataframeAnalysisBuilder

func (*DataframeAnalysisBuilder) EarlyStoppingEnabled ¶

func (rb *DataframeAnalysisBuilder) EarlyStoppingEnabled(earlystoppingenabled bool) *DataframeAnalysisBuilder

func (*DataframeAnalysisBuilder) Eta ¶

func (*DataframeAnalysisBuilder) EtaGrowthRatePerTree ¶

func (rb *DataframeAnalysisBuilder) EtaGrowthRatePerTree(etagrowthratepertree float64) *DataframeAnalysisBuilder

func (*DataframeAnalysisBuilder) FeatureBagFraction ¶

func (rb *DataframeAnalysisBuilder) FeatureBagFraction(featurebagfraction float64) *DataframeAnalysisBuilder

func (*DataframeAnalysisBuilder) FeatureProcessors ¶

func (*DataframeAnalysisBuilder) Gamma ¶

func (*DataframeAnalysisBuilder) Lambda ¶

func (*DataframeAnalysisBuilder) MaxOptimizationRoundsPerHyperparameter ¶

func (rb *DataframeAnalysisBuilder) MaxOptimizationRoundsPerHyperparameter(maxoptimizationroundsperhyperparameter int) *DataframeAnalysisBuilder

func (*DataframeAnalysisBuilder) MaxTrees ¶

func (rb *DataframeAnalysisBuilder) MaxTrees(maxtrees int) *DataframeAnalysisBuilder

func (*DataframeAnalysisBuilder) NumTopFeatureImportanceValues ¶

func (rb *DataframeAnalysisBuilder) NumTopFeatureImportanceValues(numtopfeatureimportancevalues int) *DataframeAnalysisBuilder

func (*DataframeAnalysisBuilder) PredictionFieldName ¶

func (rb *DataframeAnalysisBuilder) PredictionFieldName(predictionfieldname Field) *DataframeAnalysisBuilder

func (*DataframeAnalysisBuilder) RandomizeSeed ¶

func (rb *DataframeAnalysisBuilder) RandomizeSeed(randomizeseed float64) *DataframeAnalysisBuilder

func (*DataframeAnalysisBuilder) SoftTreeDepthLimit ¶

func (rb *DataframeAnalysisBuilder) SoftTreeDepthLimit(softtreedepthlimit int) *DataframeAnalysisBuilder

func (*DataframeAnalysisBuilder) SoftTreeDepthTolerance ¶

func (rb *DataframeAnalysisBuilder) SoftTreeDepthTolerance(softtreedepthtolerance float64) *DataframeAnalysisBuilder

func (*DataframeAnalysisBuilder) TrainingPercent ¶

func (rb *DataframeAnalysisBuilder) TrainingPercent(trainingpercent *PercentageBuilder) *DataframeAnalysisBuilder

type DataframeAnalysisClassification ¶

type DataframeAnalysisClassification struct {
	// Alpha Advanced configuration option. Machine learning uses loss guided tree
	// growing, which means that the decision trees grow where the regularized loss
	// decreases most quickly. This parameter affects loss calculations by acting as
	// a multiplier of the tree depth. Higher alpha values result in shallower trees
	// and faster training times. By default, this value is calculated during
	// hyperparameter optimization. It must be greater than or equal to zero.
	Alpha                    *float64 `json:"alpha,omitempty"`
	ClassAssignmentObjective *string  `json:"class_assignment_objective,omitempty"`
	// DependentVariable Defines which field of the document is to be predicted. It must match one of
	// the fields in the index being used to train. If this field is missing from a
	// document, then that document will not be used for training, but a prediction
	// with the trained model will be generated for it. It is also known as
	// continuous target variable.
	// For classification analysis, the data type of the field must be numeric
	// (`integer`, `short`, `long`, `byte`), categorical (`ip` or `keyword`), or
	// `boolean`. There must be no more than 30 different values in this field.
	// For regression analysis, the data type of the field must be numeric.
	DependentVariable string `json:"dependent_variable"`
	// DownsampleFactor Advanced configuration option. Controls the fraction of data that is used to
	// compute the derivatives of the loss function for tree training. A small value
	// results in the use of a small fraction of the data. If this value is set to
	// be less than 1, accuracy typically improves. However, too small a value may
	// result in poor convergence for the ensemble and so require more trees. By
	// default, this value is calculated during hyperparameter optimization. It must
	// be greater than zero and less than or equal to 1.
	DownsampleFactor *float64 `json:"downsample_factor,omitempty"`
	// EarlyStoppingEnabled Advanced configuration option. Specifies whether the training process should
	// finish if it is not finding any better performing models. If disabled, the
	// training process can take significantly longer and the chance of finding a
	// better performing model is unremarkable.
	EarlyStoppingEnabled *bool `json:"early_stopping_enabled,omitempty"`
	// Eta Advanced configuration option. The shrinkage applied to the weights. Smaller
	// values result in larger forests which have a better generalization error.
	// However, larger forests cause slower training. By default, this value is
	// calculated during hyperparameter optimization. It must be a value between
	// 0.001 and 1.
	Eta *float64 `json:"eta,omitempty"`
	// EtaGrowthRatePerTree Advanced configuration option. Specifies the rate at which `eta` increases
	// for each new tree that is added to the forest. For example, a rate of 1.05
	// increases `eta` by 5% for each extra tree. By default, this value is
	// calculated during hyperparameter optimization. It must be between 0.5 and 2.
	EtaGrowthRatePerTree *float64 `json:"eta_growth_rate_per_tree,omitempty"`
	// FeatureBagFraction Advanced configuration option. Defines the fraction of features that will be
	// used when selecting a random bag for each candidate split. By default, this
	// value is calculated during hyperparameter optimization.
	FeatureBagFraction *float64 `json:"feature_bag_fraction,omitempty"`
	// FeatureProcessors Advanced configuration option. A collection of feature preprocessors that
	// modify one or more included fields. The analysis uses the resulting one or
	// more features instead of the original document field. However, these features
	// are ephemeral; they are not stored in the destination index. Multiple
	// `feature_processors` entries can refer to the same document fields. Automatic
	// categorical feature encoding still occurs for the fields that are unprocessed
	// by a custom processor or that have categorical values. Use this property only
	// if you want to override the automatic feature encoding of the specified
	// fields.
	FeatureProcessors []DataframeAnalysisFeatureProcessor `json:"feature_processors,omitempty"`
	// Gamma Advanced configuration option. Regularization parameter to prevent
	// overfitting on the training data set. Multiplies a linear penalty associated
	// with the size of individual trees in the forest. A high gamma value causes
	// training to prefer small trees. A small gamma value results in larger
	// individual trees and slower training. By default, this value is calculated
	// during hyperparameter optimization. It must be a nonnegative value.
	Gamma *float64 `json:"gamma,omitempty"`
	// Lambda Advanced configuration option. Regularization parameter to prevent
	// overfitting on the training data set. Multiplies an L2 regularization term
	// which applies to leaf weights of the individual trees in the forest. A high
	// lambda value causes training to favor small leaf weights. This behavior makes
	// the prediction function smoother at the expense of potentially not being able
	// to capture relevant relationships between the features and the dependent
	// variable. A small lambda value results in large individual trees and slower
	// training. By default, this value is calculated during hyperparameter
	// optimization. It must be a nonnegative value.
	Lambda *float64 `json:"lambda,omitempty"`
	// MaxOptimizationRoundsPerHyperparameter Advanced configuration option. A multiplier responsible for determining the
	// maximum number of hyperparameter optimization steps in the Bayesian
	// optimization procedure. The maximum number of steps is determined based on
	// the number of undefined hyperparameters times the maximum optimization rounds
	// per hyperparameter. By default, this value is calculated during
	// hyperparameter optimization.
	MaxOptimizationRoundsPerHyperparameter *int `json:"max_optimization_rounds_per_hyperparameter,omitempty"`
	// MaxTrees Advanced configuration option. Defines the maximum number of decision trees
	// in the forest. The maximum value is 2000. By default, this value is
	// calculated during hyperparameter optimization.
	MaxTrees *int `json:"max_trees,omitempty"`
	// NumTopClasses Defines the number of categories for which the predicted probabilities are
	// reported. It must be non-negative or -1. If it is -1 or greater than the
	// total number of categories, probabilities are reported for all categories; if
	// you have a large number of categories, there could be a significant effect on
	// the size of your destination index. NOTE: To use the AUC ROC evaluation
	// method, `num_top_classes` must be set to -1 or a value greater than or equal
	// to the total number of categories.
	NumTopClasses *int `json:"num_top_classes,omitempty"`
	// NumTopFeatureImportanceValues Advanced configuration option. Specifies the maximum number of feature
	// importance values per document to return. By default, no feature importance
	// calculation occurs.
	NumTopFeatureImportanceValues *int `json:"num_top_feature_importance_values,omitempty"`
	// PredictionFieldName Defines the name of the prediction field in the results. Defaults to
	// `<dependent_variable>_prediction`.
	PredictionFieldName *Field `json:"prediction_field_name,omitempty"`
	// RandomizeSeed Defines the seed for the random generator that is used to pick training data.
	// By default, it is randomly generated. Set it to a specific value to use the
	// same training data each time you start a job (assuming other related
	// parameters such as `source` and `analyzed_fields` are the same).
	RandomizeSeed *float64 `json:"randomize_seed,omitempty"`
	// SoftTreeDepthLimit Advanced configuration option. Machine learning uses loss guided tree
	// growing, which means that the decision trees grow where the regularized loss
	// decreases most quickly. This soft limit combines with the
	// `soft_tree_depth_tolerance` to penalize trees that exceed the specified
	// depth; the regularized loss increases quickly beyond this depth. By default,
	// this value is calculated during hyperparameter optimization. It must be
	// greater than or equal to 0.
	SoftTreeDepthLimit *int `json:"soft_tree_depth_limit,omitempty"`
	// SoftTreeDepthTolerance Advanced configuration option. This option controls how quickly the
	// regularized loss increases when the tree depth exceeds
	// `soft_tree_depth_limit`. By default, this value is calculated during
	// hyperparameter optimization. It must be greater than or equal to 0.01.
	SoftTreeDepthTolerance *float64 `json:"soft_tree_depth_tolerance,omitempty"`
	// TrainingPercent Defines what percentage of the eligible documents that will be used for
	// training. Documents that are ignored by the analysis (for example those that
	// contain arrays with more than one value) won’t be included in the calculation
	// for used percentage.
	TrainingPercent *Percentage `json:"training_percent,omitempty"`
}

DataframeAnalysisClassification type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L227-L236

type DataframeAnalysisClassificationBuilder ¶

type DataframeAnalysisClassificationBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalysisClassificationBuilder holds DataframeAnalysisClassification struct and provides a builder API.

func NewDataframeAnalysisClassificationBuilder ¶

func NewDataframeAnalysisClassificationBuilder() *DataframeAnalysisClassificationBuilder

NewDataframeAnalysisClassification provides a builder for the DataframeAnalysisClassification struct.

func (*DataframeAnalysisClassificationBuilder) Alpha ¶

func (*DataframeAnalysisClassificationBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalysisClassification struct

func (*DataframeAnalysisClassificationBuilder) ClassAssignmentObjective ¶

func (rb *DataframeAnalysisClassificationBuilder) ClassAssignmentObjective(classassignmentobjective string) *DataframeAnalysisClassificationBuilder

func (*DataframeAnalysisClassificationBuilder) DependentVariable ¶

func (*DataframeAnalysisClassificationBuilder) DownsampleFactor ¶

func (*DataframeAnalysisClassificationBuilder) EarlyStoppingEnabled ¶

func (rb *DataframeAnalysisClassificationBuilder) EarlyStoppingEnabled(earlystoppingenabled bool) *DataframeAnalysisClassificationBuilder

func (*DataframeAnalysisClassificationBuilder) Eta ¶

func (*DataframeAnalysisClassificationBuilder) EtaGrowthRatePerTree ¶

func (rb *DataframeAnalysisClassificationBuilder) EtaGrowthRatePerTree(etagrowthratepertree float64) *DataframeAnalysisClassificationBuilder

func (*DataframeAnalysisClassificationBuilder) FeatureBagFraction ¶

func (*DataframeAnalysisClassificationBuilder) FeatureProcessors ¶

func (*DataframeAnalysisClassificationBuilder) Gamma ¶

func (*DataframeAnalysisClassificationBuilder) Lambda ¶

func (*DataframeAnalysisClassificationBuilder) MaxOptimizationRoundsPerHyperparameter ¶

func (rb *DataframeAnalysisClassificationBuilder) MaxOptimizationRoundsPerHyperparameter(maxoptimizationroundsperhyperparameter int) *DataframeAnalysisClassificationBuilder

func (*DataframeAnalysisClassificationBuilder) MaxTrees ¶

func (*DataframeAnalysisClassificationBuilder) NumTopClasses ¶

func (*DataframeAnalysisClassificationBuilder) NumTopFeatureImportanceValues ¶

func (rb *DataframeAnalysisClassificationBuilder) NumTopFeatureImportanceValues(numtopfeatureimportancevalues int) *DataframeAnalysisClassificationBuilder

func (*DataframeAnalysisClassificationBuilder) PredictionFieldName ¶

func (rb *DataframeAnalysisClassificationBuilder) PredictionFieldName(predictionfieldname Field) *DataframeAnalysisClassificationBuilder

func (*DataframeAnalysisClassificationBuilder) RandomizeSeed ¶

func (*DataframeAnalysisClassificationBuilder) SoftTreeDepthLimit ¶

func (rb *DataframeAnalysisClassificationBuilder) SoftTreeDepthLimit(softtreedepthlimit int) *DataframeAnalysisClassificationBuilder

func (*DataframeAnalysisClassificationBuilder) SoftTreeDepthTolerance ¶

func (rb *DataframeAnalysisClassificationBuilder) SoftTreeDepthTolerance(softtreedepthtolerance float64) *DataframeAnalysisClassificationBuilder

func (*DataframeAnalysisClassificationBuilder) TrainingPercent ¶

type DataframeAnalysisContainer ¶

type DataframeAnalysisContainer struct {
	// Classification The configuration information necessary to perform classification.
	Classification *DataframeAnalysisClassification `json:"classification,omitempty"`
	// OutlierDetection The configuration information necessary to perform outlier detection. NOTE:
	// Advanced parameters are for fine-tuning classification analysis. They are set
	// automatically by hyperparameter optimization to give the minimum validation
	// error. It is highly recommended to use the default values unless you fully
	// understand the function of these parameters.
	OutlierDetection *DataframeAnalysisOutlierDetection `json:"outlier_detection,omitempty"`
	// Regression The configuration information necessary to perform regression. NOTE: Advanced
	// parameters are for fine-tuning regression analysis. They are set
	// automatically by hyperparameter optimization to give the minimum validation
	// error. It is highly recommended to use the default values unless you fully
	// understand the function of these parameters.
	Regression *DataframeAnalysisRegression `json:"regression,omitempty"`
}

DataframeAnalysisContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L84-L101

type DataframeAnalysisContainerBuilder ¶

type DataframeAnalysisContainerBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalysisContainerBuilder holds DataframeAnalysisContainer struct and provides a builder API.

func NewDataframeAnalysisContainerBuilder ¶

func NewDataframeAnalysisContainerBuilder() *DataframeAnalysisContainerBuilder

NewDataframeAnalysisContainer provides a builder for the DataframeAnalysisContainer struct.

func (*DataframeAnalysisContainerBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalysisContainer struct

func (*DataframeAnalysisContainerBuilder) Classification ¶

func (*DataframeAnalysisContainerBuilder) OutlierDetection ¶

func (*DataframeAnalysisContainerBuilder) Regression ¶

type DataframeAnalysisFeatureProcessor ¶

type DataframeAnalysisFeatureProcessor struct {
	// FrequencyEncoding The configuration information necessary to perform frequency encoding.
	FrequencyEncoding *DataframeAnalysisFeatureProcessorFrequencyEncoding `json:"frequency_encoding,omitempty"`
	// MultiEncoding The configuration information necessary to perform multi encoding. It allows
	// multiple processors to be changed together. This way the output of a
	// processor can then be passed to another as an input.
	MultiEncoding *DataframeAnalysisFeatureProcessorMultiEncoding `json:"multi_encoding,omitempty"`
	// NGramEncoding The configuration information necessary to perform n-gram encoding. Features
	// created by this encoder have the following name format:
	// <feature_prefix>.<ngram><string position>. For example, if the feature_prefix
	// is f, the feature name for the second unigram in a string is f.11.
	NGramEncoding *DataframeAnalysisFeatureProcessorNGramEncoding `json:"n_gram_encoding,omitempty"`
	// OneHotEncoding The configuration information necessary to perform one hot encoding.
	OneHotEncoding *DataframeAnalysisFeatureProcessorOneHotEncoding `json:"one_hot_encoding,omitempty"`
	// TargetMeanEncoding The configuration information necessary to perform target mean encoding.
	TargetMeanEncoding *DataframeAnalysisFeatureProcessorTargetMeanEncoding `json:"target_mean_encoding,omitempty"`
}

DataframeAnalysisFeatureProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L246-L258

type DataframeAnalysisFeatureProcessorBuilder ¶

type DataframeAnalysisFeatureProcessorBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalysisFeatureProcessorBuilder holds DataframeAnalysisFeatureProcessor struct and provides a builder API.

func NewDataframeAnalysisFeatureProcessorBuilder ¶

func NewDataframeAnalysisFeatureProcessorBuilder() *DataframeAnalysisFeatureProcessorBuilder

NewDataframeAnalysisFeatureProcessor provides a builder for the DataframeAnalysisFeatureProcessor struct.

func (*DataframeAnalysisFeatureProcessorBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalysisFeatureProcessor struct

func (*DataframeAnalysisFeatureProcessorBuilder) TargetMeanEncoding ¶

type DataframeAnalysisFeatureProcessorFrequencyEncoding ¶

type DataframeAnalysisFeatureProcessorFrequencyEncoding struct {
	// FeatureName The resulting feature name.
	FeatureName Name  `json:"feature_name"`
	Field       Field `json:"field"`
	// FrequencyMap The resulting frequency map for the field value. If the field value is
	// missing from the frequency_map, the resulting value is 0.
	FrequencyMap map[string]float64 `json:"frequency_map"`
}

DataframeAnalysisFeatureProcessorFrequencyEncoding type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L260-L267

type DataframeAnalysisFeatureProcessorFrequencyEncodingBuilder ¶

type DataframeAnalysisFeatureProcessorFrequencyEncodingBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalysisFeatureProcessorFrequencyEncodingBuilder holds DataframeAnalysisFeatureProcessorFrequencyEncoding struct and provides a builder API.

func NewDataframeAnalysisFeatureProcessorFrequencyEncodingBuilder ¶

func NewDataframeAnalysisFeatureProcessorFrequencyEncodingBuilder() *DataframeAnalysisFeatureProcessorFrequencyEncodingBuilder

NewDataframeAnalysisFeatureProcessorFrequencyEncoding provides a builder for the DataframeAnalysisFeatureProcessorFrequencyEncoding struct.

func (*DataframeAnalysisFeatureProcessorFrequencyEncodingBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalysisFeatureProcessorFrequencyEncoding struct

func (*DataframeAnalysisFeatureProcessorFrequencyEncodingBuilder) FeatureName ¶

func (*DataframeAnalysisFeatureProcessorFrequencyEncodingBuilder) Field ¶

func (*DataframeAnalysisFeatureProcessorFrequencyEncodingBuilder) FrequencyMap ¶

type DataframeAnalysisFeatureProcessorMultiEncoding ¶

type DataframeAnalysisFeatureProcessorMultiEncoding struct {
	// Processors The ordered array of custom processors to execute. Must be more than 1.
	Processors []int `json:"processors"`
}

DataframeAnalysisFeatureProcessorMultiEncoding type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L269-L272

type DataframeAnalysisFeatureProcessorMultiEncodingBuilder ¶

type DataframeAnalysisFeatureProcessorMultiEncodingBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalysisFeatureProcessorMultiEncodingBuilder holds DataframeAnalysisFeatureProcessorMultiEncoding struct and provides a builder API.

func NewDataframeAnalysisFeatureProcessorMultiEncodingBuilder ¶

func NewDataframeAnalysisFeatureProcessorMultiEncodingBuilder() *DataframeAnalysisFeatureProcessorMultiEncodingBuilder

NewDataframeAnalysisFeatureProcessorMultiEncoding provides a builder for the DataframeAnalysisFeatureProcessorMultiEncoding struct.

func (*DataframeAnalysisFeatureProcessorMultiEncodingBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalysisFeatureProcessorMultiEncoding struct

func (*DataframeAnalysisFeatureProcessorMultiEncodingBuilder) Processors ¶

type DataframeAnalysisFeatureProcessorNGramEncoding ¶

type DataframeAnalysisFeatureProcessorNGramEncoding struct {
	Custom *bool `json:"custom,omitempty"`
	// FeaturePrefix The feature name prefix. Defaults to ngram_<start>_<length>.
	FeaturePrefix *string `json:"feature_prefix,omitempty"`
	// Field The name of the text field to encode.
	Field Field `json:"field"`
	// Length Specifies the length of the n-gram substring. Defaults to 50. Must be greater
	// than 0.
	Length *int `json:"length,omitempty"`
	// NGrams Specifies which n-grams to gather. It’s an array of integer values where the
	// minimum value is 1, and a maximum value is 5.
	NGrams []int `json:"n_grams"`
	// Start Specifies the zero-indexed start of the n-gram substring. Negative values are
	// allowed for encoding n-grams of string suffixes. Defaults to 0.
	Start *int `json:"start,omitempty"`
}

DataframeAnalysisFeatureProcessorNGramEncoding type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L274-L286

type DataframeAnalysisFeatureProcessorNGramEncodingBuilder ¶

type DataframeAnalysisFeatureProcessorNGramEncodingBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalysisFeatureProcessorNGramEncodingBuilder holds DataframeAnalysisFeatureProcessorNGramEncoding struct and provides a builder API.

func NewDataframeAnalysisFeatureProcessorNGramEncodingBuilder ¶

func NewDataframeAnalysisFeatureProcessorNGramEncodingBuilder() *DataframeAnalysisFeatureProcessorNGramEncodingBuilder

NewDataframeAnalysisFeatureProcessorNGramEncoding provides a builder for the DataframeAnalysisFeatureProcessorNGramEncoding struct.

func (*DataframeAnalysisFeatureProcessorNGramEncodingBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalysisFeatureProcessorNGramEncoding struct

func (*DataframeAnalysisFeatureProcessorNGramEncodingBuilder) Custom ¶

func (*DataframeAnalysisFeatureProcessorNGramEncodingBuilder) FeaturePrefix ¶

func (*DataframeAnalysisFeatureProcessorNGramEncodingBuilder) Field ¶

func (*DataframeAnalysisFeatureProcessorNGramEncodingBuilder) Length ¶

func (*DataframeAnalysisFeatureProcessorNGramEncodingBuilder) NGrams ¶

func (*DataframeAnalysisFeatureProcessorNGramEncodingBuilder) Start ¶

type DataframeAnalysisFeatureProcessorOneHotEncoding ¶

type DataframeAnalysisFeatureProcessorOneHotEncoding struct {
	// Field The name of the field to encode.
	Field Field `json:"field"`
	// HotMap The one hot map mapping the field value with the column name.
	HotMap string `json:"hot_map"`
}

DataframeAnalysisFeatureProcessorOneHotEncoding type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L288-L293

type DataframeAnalysisFeatureProcessorOneHotEncodingBuilder ¶

type DataframeAnalysisFeatureProcessorOneHotEncodingBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalysisFeatureProcessorOneHotEncodingBuilder holds DataframeAnalysisFeatureProcessorOneHotEncoding struct and provides a builder API.

func NewDataframeAnalysisFeatureProcessorOneHotEncodingBuilder ¶

func NewDataframeAnalysisFeatureProcessorOneHotEncodingBuilder() *DataframeAnalysisFeatureProcessorOneHotEncodingBuilder

NewDataframeAnalysisFeatureProcessorOneHotEncoding provides a builder for the DataframeAnalysisFeatureProcessorOneHotEncoding struct.

func (*DataframeAnalysisFeatureProcessorOneHotEncodingBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalysisFeatureProcessorOneHotEncoding struct

func (*DataframeAnalysisFeatureProcessorOneHotEncodingBuilder) Field ¶

func (*DataframeAnalysisFeatureProcessorOneHotEncodingBuilder) HotMap ¶

type DataframeAnalysisFeatureProcessorTargetMeanEncoding ¶

type DataframeAnalysisFeatureProcessorTargetMeanEncoding struct {
	// DefaultValue The default value if field value is not found in the target_map.
	DefaultValue int `json:"default_value"`
	// FeatureName The resulting feature name.
	FeatureName Name `json:"feature_name"`
	// Field The name of the field to encode.
	Field Field `json:"field"`
	// TargetMap The field value to target mean transition map.
	TargetMap map[string]interface{} `json:"target_map"`
}

DataframeAnalysisFeatureProcessorTargetMeanEncoding type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L295-L304

type DataframeAnalysisFeatureProcessorTargetMeanEncodingBuilder ¶

type DataframeAnalysisFeatureProcessorTargetMeanEncodingBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalysisFeatureProcessorTargetMeanEncodingBuilder holds DataframeAnalysisFeatureProcessorTargetMeanEncoding struct and provides a builder API.

func NewDataframeAnalysisFeatureProcessorTargetMeanEncodingBuilder ¶

func NewDataframeAnalysisFeatureProcessorTargetMeanEncodingBuilder() *DataframeAnalysisFeatureProcessorTargetMeanEncodingBuilder

NewDataframeAnalysisFeatureProcessorTargetMeanEncoding provides a builder for the DataframeAnalysisFeatureProcessorTargetMeanEncoding struct.

func (*DataframeAnalysisFeatureProcessorTargetMeanEncodingBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalysisFeatureProcessorTargetMeanEncoding struct

func (*DataframeAnalysisFeatureProcessorTargetMeanEncodingBuilder) DefaultValue ¶

func (*DataframeAnalysisFeatureProcessorTargetMeanEncodingBuilder) FeatureName ¶

func (*DataframeAnalysisFeatureProcessorTargetMeanEncodingBuilder) Field ¶

func (*DataframeAnalysisFeatureProcessorTargetMeanEncodingBuilder) TargetMap ¶

type DataframeAnalysisOutlierDetection ¶

type DataframeAnalysisOutlierDetection struct {
	// ComputeFeatureInfluence Specifies whether the feature influence calculation is enabled.
	ComputeFeatureInfluence *bool `json:"compute_feature_influence,omitempty"`
	// FeatureInfluenceThreshold The minimum outlier score that a document needs to have in order to calculate
	// its feature influence score. Value range: 0-1.
	FeatureInfluenceThreshold *float64 `json:"feature_influence_threshold,omitempty"`
	// Method The method that outlier detection uses. Available methods are `lof`, `ldof`,
	// `distance_kth_nn`, `distance_knn`, and `ensemble`. The default value is
	// ensemble, which means that outlier detection uses an ensemble of different
	// methods and normalises and combines their individual outlier scores to obtain
	// the overall outlier score.
	Method *string `json:"method,omitempty"`
	// NNeighbors Defines the value for how many nearest neighbors each method of outlier
	// detection uses to calculate its outlier score. When the value is not set,
	// different values are used for different ensemble members. This default
	// behavior helps improve the diversity in the ensemble; only override it if you
	// are confident that the value you choose is appropriate for the data set.
	NNeighbors *int `json:"n_neighbors,omitempty"`
	// OutlierFraction The proportion of the data set that is assumed to be outlying prior to
	// outlier detection. For example, 0.05 means it is assumed that 5% of values
	// are real outliers and 95% are inliers.
	OutlierFraction *float64 `json:"outlier_fraction,omitempty"`
	// StandardizationEnabled If true, the following operation is performed on the columns before computing
	// outlier scores: `(x_i - mean(x_i)) / sd(x_i)`.
	StandardizationEnabled *bool `json:"standardization_enabled,omitempty"`
}

DataframeAnalysisOutlierDetection type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L103-L132

type DataframeAnalysisOutlierDetectionBuilder ¶

type DataframeAnalysisOutlierDetectionBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalysisOutlierDetectionBuilder holds DataframeAnalysisOutlierDetection struct and provides a builder API.

func NewDataframeAnalysisOutlierDetectionBuilder ¶

func NewDataframeAnalysisOutlierDetectionBuilder() *DataframeAnalysisOutlierDetectionBuilder

NewDataframeAnalysisOutlierDetection provides a builder for the DataframeAnalysisOutlierDetection struct.

func (*DataframeAnalysisOutlierDetectionBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalysisOutlierDetection struct

func (*DataframeAnalysisOutlierDetectionBuilder) ComputeFeatureInfluence ¶

func (rb *DataframeAnalysisOutlierDetectionBuilder) ComputeFeatureInfluence(computefeatureinfluence bool) *DataframeAnalysisOutlierDetectionBuilder

func (*DataframeAnalysisOutlierDetectionBuilder) FeatureInfluenceThreshold ¶

func (rb *DataframeAnalysisOutlierDetectionBuilder) FeatureInfluenceThreshold(featureinfluencethreshold float64) *DataframeAnalysisOutlierDetectionBuilder

func (*DataframeAnalysisOutlierDetectionBuilder) Method ¶

func (*DataframeAnalysisOutlierDetectionBuilder) NNeighbors ¶

func (*DataframeAnalysisOutlierDetectionBuilder) OutlierFraction ¶

func (*DataframeAnalysisOutlierDetectionBuilder) StandardizationEnabled ¶

func (rb *DataframeAnalysisOutlierDetectionBuilder) StandardizationEnabled(standardizationenabled bool) *DataframeAnalysisOutlierDetectionBuilder

type DataframeAnalysisRegression ¶

type DataframeAnalysisRegression struct {
	// Alpha Advanced configuration option. Machine learning uses loss guided tree
	// growing, which means that the decision trees grow where the regularized loss
	// decreases most quickly. This parameter affects loss calculations by acting as
	// a multiplier of the tree depth. Higher alpha values result in shallower trees
	// and faster training times. By default, this value is calculated during
	// hyperparameter optimization. It must be greater than or equal to zero.
	Alpha *float64 `json:"alpha,omitempty"`
	// DependentVariable Defines which field of the document is to be predicted. It must match one of
	// the fields in the index being used to train. If this field is missing from a
	// document, then that document will not be used for training, but a prediction
	// with the trained model will be generated for it. It is also known as
	// continuous target variable.
	// For classification analysis, the data type of the field must be numeric
	// (`integer`, `short`, `long`, `byte`), categorical (`ip` or `keyword`), or
	// `boolean`. There must be no more than 30 different values in this field.
	// For regression analysis, the data type of the field must be numeric.
	DependentVariable string `json:"dependent_variable"`
	// DownsampleFactor Advanced configuration option. Controls the fraction of data that is used to
	// compute the derivatives of the loss function for tree training. A small value
	// results in the use of a small fraction of the data. If this value is set to
	// be less than 1, accuracy typically improves. However, too small a value may
	// result in poor convergence for the ensemble and so require more trees. By
	// default, this value is calculated during hyperparameter optimization. It must
	// be greater than zero and less than or equal to 1.
	DownsampleFactor *float64 `json:"downsample_factor,omitempty"`
	// EarlyStoppingEnabled Advanced configuration option. Specifies whether the training process should
	// finish if it is not finding any better performing models. If disabled, the
	// training process can take significantly longer and the chance of finding a
	// better performing model is unremarkable.
	EarlyStoppingEnabled *bool `json:"early_stopping_enabled,omitempty"`
	// Eta Advanced configuration option. The shrinkage applied to the weights. Smaller
	// values result in larger forests which have a better generalization error.
	// However, larger forests cause slower training. By default, this value is
	// calculated during hyperparameter optimization. It must be a value between
	// 0.001 and 1.
	Eta *float64 `json:"eta,omitempty"`
	// EtaGrowthRatePerTree Advanced configuration option. Specifies the rate at which `eta` increases
	// for each new tree that is added to the forest. For example, a rate of 1.05
	// increases `eta` by 5% for each extra tree. By default, this value is
	// calculated during hyperparameter optimization. It must be between 0.5 and 2.
	EtaGrowthRatePerTree *float64 `json:"eta_growth_rate_per_tree,omitempty"`
	// FeatureBagFraction Advanced configuration option. Defines the fraction of features that will be
	// used when selecting a random bag for each candidate split. By default, this
	// value is calculated during hyperparameter optimization.
	FeatureBagFraction *float64 `json:"feature_bag_fraction,omitempty"`
	// FeatureProcessors Advanced configuration option. A collection of feature preprocessors that
	// modify one or more included fields. The analysis uses the resulting one or
	// more features instead of the original document field. However, these features
	// are ephemeral; they are not stored in the destination index. Multiple
	// `feature_processors` entries can refer to the same document fields. Automatic
	// categorical feature encoding still occurs for the fields that are unprocessed
	// by a custom processor or that have categorical values. Use this property only
	// if you want to override the automatic feature encoding of the specified
	// fields.
	FeatureProcessors []DataframeAnalysisFeatureProcessor `json:"feature_processors,omitempty"`
	// Gamma Advanced configuration option. Regularization parameter to prevent
	// overfitting on the training data set. Multiplies a linear penalty associated
	// with the size of individual trees in the forest. A high gamma value causes
	// training to prefer small trees. A small gamma value results in larger
	// individual trees and slower training. By default, this value is calculated
	// during hyperparameter optimization. It must be a nonnegative value.
	Gamma *float64 `json:"gamma,omitempty"`
	// Lambda Advanced configuration option. Regularization parameter to prevent
	// overfitting on the training data set. Multiplies an L2 regularization term
	// which applies to leaf weights of the individual trees in the forest. A high
	// lambda value causes training to favor small leaf weights. This behavior makes
	// the prediction function smoother at the expense of potentially not being able
	// to capture relevant relationships between the features and the dependent
	// variable. A small lambda value results in large individual trees and slower
	// training. By default, this value is calculated during hyperparameter
	// optimization. It must be a nonnegative value.
	Lambda *float64 `json:"lambda,omitempty"`
	// LossFunction The loss function used during regression. Available options are `mse` (mean
	// squared error), `msle` (mean squared logarithmic error), `huber`
	// (Pseudo-Huber loss).
	LossFunction *string `json:"loss_function,omitempty"`
	// LossFunctionParameter A positive number that is used as a parameter to the `loss_function`.
	LossFunctionParameter *float64 `json:"loss_function_parameter,omitempty"`
	// MaxOptimizationRoundsPerHyperparameter Advanced configuration option. A multiplier responsible for determining the
	// maximum number of hyperparameter optimization steps in the Bayesian
	// optimization procedure. The maximum number of steps is determined based on
	// the number of undefined hyperparameters times the maximum optimization rounds
	// per hyperparameter. By default, this value is calculated during
	// hyperparameter optimization.
	MaxOptimizationRoundsPerHyperparameter *int `json:"max_optimization_rounds_per_hyperparameter,omitempty"`
	// MaxTrees Advanced configuration option. Defines the maximum number of decision trees
	// in the forest. The maximum value is 2000. By default, this value is
	// calculated during hyperparameter optimization.
	MaxTrees *int `json:"max_trees,omitempty"`
	// NumTopFeatureImportanceValues Advanced configuration option. Specifies the maximum number of feature
	// importance values per document to return. By default, no feature importance
	// calculation occurs.
	NumTopFeatureImportanceValues *int `json:"num_top_feature_importance_values,omitempty"`
	// PredictionFieldName Defines the name of the prediction field in the results. Defaults to
	// `<dependent_variable>_prediction`.
	PredictionFieldName *Field `json:"prediction_field_name,omitempty"`
	// RandomizeSeed Defines the seed for the random generator that is used to pick training data.
	// By default, it is randomly generated. Set it to a specific value to use the
	// same training data each time you start a job (assuming other related
	// parameters such as `source` and `analyzed_fields` are the same).
	RandomizeSeed *float64 `json:"randomize_seed,omitempty"`
	// SoftTreeDepthLimit Advanced configuration option. Machine learning uses loss guided tree
	// growing, which means that the decision trees grow where the regularized loss
	// decreases most quickly. This soft limit combines with the
	// `soft_tree_depth_tolerance` to penalize trees that exceed the specified
	// depth; the regularized loss increases quickly beyond this depth. By default,
	// this value is calculated during hyperparameter optimization. It must be
	// greater than or equal to 0.
	SoftTreeDepthLimit *int `json:"soft_tree_depth_limit,omitempty"`
	// SoftTreeDepthTolerance Advanced configuration option. This option controls how quickly the
	// regularized loss increases when the tree depth exceeds
	// `soft_tree_depth_limit`. By default, this value is calculated during
	// hyperparameter optimization. It must be greater than or equal to 0.01.
	SoftTreeDepthTolerance *float64 `json:"soft_tree_depth_tolerance,omitempty"`
	// TrainingPercent Defines what percentage of the eligible documents that will be used for
	// training. Documents that are ignored by the analysis (for example those that
	// contain arrays with more than one value) won’t be included in the calculation
	// for used percentage.
	TrainingPercent *Percentage `json:"training_percent,omitempty"`
}

DataframeAnalysisRegression type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L215-L225

type DataframeAnalysisRegressionBuilder ¶

type DataframeAnalysisRegressionBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalysisRegressionBuilder holds DataframeAnalysisRegression struct and provides a builder API.

func NewDataframeAnalysisRegressionBuilder ¶

func NewDataframeAnalysisRegressionBuilder() *DataframeAnalysisRegressionBuilder

NewDataframeAnalysisRegression provides a builder for the DataframeAnalysisRegression struct.

func (*DataframeAnalysisRegressionBuilder) Alpha ¶

func (*DataframeAnalysisRegressionBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalysisRegression struct

func (*DataframeAnalysisRegressionBuilder) DependentVariable ¶

func (rb *DataframeAnalysisRegressionBuilder) DependentVariable(dependentvariable string) *DataframeAnalysisRegressionBuilder

func (*DataframeAnalysisRegressionBuilder) DownsampleFactor ¶

func (rb *DataframeAnalysisRegressionBuilder) DownsampleFactor(downsamplefactor float64) *DataframeAnalysisRegressionBuilder

func (*DataframeAnalysisRegressionBuilder) EarlyStoppingEnabled ¶

func (rb *DataframeAnalysisRegressionBuilder) EarlyStoppingEnabled(earlystoppingenabled bool) *DataframeAnalysisRegressionBuilder

func (*DataframeAnalysisRegressionBuilder) Eta ¶

func (*DataframeAnalysisRegressionBuilder) EtaGrowthRatePerTree ¶

func (rb *DataframeAnalysisRegressionBuilder) EtaGrowthRatePerTree(etagrowthratepertree float64) *DataframeAnalysisRegressionBuilder

func (*DataframeAnalysisRegressionBuilder) FeatureBagFraction ¶

func (rb *DataframeAnalysisRegressionBuilder) FeatureBagFraction(featurebagfraction float64) *DataframeAnalysisRegressionBuilder

func (*DataframeAnalysisRegressionBuilder) FeatureProcessors ¶

func (*DataframeAnalysisRegressionBuilder) Gamma ¶

func (*DataframeAnalysisRegressionBuilder) Lambda ¶

func (*DataframeAnalysisRegressionBuilder) LossFunction ¶

func (*DataframeAnalysisRegressionBuilder) LossFunctionParameter ¶

func (rb *DataframeAnalysisRegressionBuilder) LossFunctionParameter(lossfunctionparameter float64) *DataframeAnalysisRegressionBuilder

func (*DataframeAnalysisRegressionBuilder) MaxOptimizationRoundsPerHyperparameter ¶

func (rb *DataframeAnalysisRegressionBuilder) MaxOptimizationRoundsPerHyperparameter(maxoptimizationroundsperhyperparameter int) *DataframeAnalysisRegressionBuilder

func (*DataframeAnalysisRegressionBuilder) MaxTrees ¶

func (*DataframeAnalysisRegressionBuilder) NumTopFeatureImportanceValues ¶

func (rb *DataframeAnalysisRegressionBuilder) NumTopFeatureImportanceValues(numtopfeatureimportancevalues int) *DataframeAnalysisRegressionBuilder

func (*DataframeAnalysisRegressionBuilder) PredictionFieldName ¶

func (rb *DataframeAnalysisRegressionBuilder) PredictionFieldName(predictionfieldname Field) *DataframeAnalysisRegressionBuilder

func (*DataframeAnalysisRegressionBuilder) RandomizeSeed ¶

func (*DataframeAnalysisRegressionBuilder) SoftTreeDepthLimit ¶

func (rb *DataframeAnalysisRegressionBuilder) SoftTreeDepthLimit(softtreedepthlimit int) *DataframeAnalysisRegressionBuilder

func (*DataframeAnalysisRegressionBuilder) SoftTreeDepthTolerance ¶

func (rb *DataframeAnalysisRegressionBuilder) SoftTreeDepthTolerance(softtreedepthtolerance float64) *DataframeAnalysisRegressionBuilder

func (*DataframeAnalysisRegressionBuilder) TrainingPercent ¶

type DataframeAnalytics ¶

type DataframeAnalytics struct {
	// AnalysisStats An object containing information about the analysis job.
	AnalysisStats *DataframeAnalyticsStatsContainer `json:"analysis_stats,omitempty"`
	// AssignmentExplanation For running jobs only, contains messages relating to the selection of a node
	// to run the job.
	AssignmentExplanation *string `json:"assignment_explanation,omitempty"`
	// DataCounts An object that provides counts for the quantity of documents skipped, used in
	// training, or available for testing.
	DataCounts DataframeAnalyticsStatsDataCounts `json:"data_counts"`
	// Id The unique identifier of the data frame analytics job.
	Id Id `json:"id"`
	// MemoryUsage An object describing memory usage of the analytics. It is present only after
	// the job is started and memory usage is reported.
	MemoryUsage DataframeAnalyticsStatsMemoryUsage `json:"memory_usage"`
	// Node Contains properties for the node that runs the job. This information is
	// available only for running jobs.
	Node *NodeAttributes `json:"node,omitempty"`
	// Progress The progress report of the data frame analytics job by phase.
	Progress []DataframeAnalyticsStatsProgress `json:"progress"`
	// State The status of the data frame analytics job, which can be one of the following
	// values: failed, started, starting, stopping, stopped.
	State dataframestate.DataframeState `json:"state"`
}

DataframeAnalytics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L324-L341

type DataframeAnalyticsAuthorization ¶

type DataframeAnalyticsAuthorization struct {
	// ApiKey If an API key was used for the most recent update to the job, its name and
	// identifier are listed in the response.
	ApiKey *ApiKeyAuthorization `json:"api_key,omitempty"`
	// Roles If a user ID was used for the most recent update to the job, its roles at the
	// time of the update are listed in the response.
	Roles []string `json:"roles,omitempty"`
	// ServiceAccount If a service account was used for the most recent update to the job, the
	// account name is listed in the response.
	ServiceAccount *string `json:"service_account,omitempty"`
}

DataframeAnalyticsAuthorization type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Authorization.ts#L45-L57

type DataframeAnalyticsAuthorizationBuilder ¶

type DataframeAnalyticsAuthorizationBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalyticsAuthorizationBuilder holds DataframeAnalyticsAuthorization struct and provides a builder API.

func NewDataframeAnalyticsAuthorizationBuilder ¶

func NewDataframeAnalyticsAuthorizationBuilder() *DataframeAnalyticsAuthorizationBuilder

NewDataframeAnalyticsAuthorization provides a builder for the DataframeAnalyticsAuthorization struct.

func (*DataframeAnalyticsAuthorizationBuilder) ApiKey ¶

func (*DataframeAnalyticsAuthorizationBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalyticsAuthorization struct

func (*DataframeAnalyticsAuthorizationBuilder) Roles ¶

func (*DataframeAnalyticsAuthorizationBuilder) ServiceAccount ¶

type DataframeAnalyticsBuilder ¶

type DataframeAnalyticsBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalyticsBuilder holds DataframeAnalytics struct and provides a builder API.

func NewDataframeAnalyticsBuilder ¶

func NewDataframeAnalyticsBuilder() *DataframeAnalyticsBuilder

NewDataframeAnalytics provides a builder for the DataframeAnalytics struct.

func (*DataframeAnalyticsBuilder) AnalysisStats ¶

func (*DataframeAnalyticsBuilder) AssignmentExplanation ¶

func (rb *DataframeAnalyticsBuilder) AssignmentExplanation(assignmentexplanation string) *DataframeAnalyticsBuilder

func (*DataframeAnalyticsBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalytics struct

func (*DataframeAnalyticsBuilder) DataCounts ¶

func (*DataframeAnalyticsBuilder) Id ¶

func (*DataframeAnalyticsBuilder) MemoryUsage ¶

func (*DataframeAnalyticsBuilder) Node ¶

func (*DataframeAnalyticsBuilder) Progress ¶

func (*DataframeAnalyticsBuilder) State ¶

type DataframeAnalyticsDestination ¶

type DataframeAnalyticsDestination struct {
	// Index Defines the destination index to store the results of the data frame
	// analytics job.
	Index IndexName `json:"index"`
	// ResultsField Defines the name of the field in which to store the results of the analysis.
	// Defaults to `ml`.
	ResultsField *Field `json:"results_field,omitempty"`
}

DataframeAnalyticsDestination type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L77-L82

type DataframeAnalyticsDestinationBuilder ¶

type DataframeAnalyticsDestinationBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalyticsDestinationBuilder holds DataframeAnalyticsDestination struct and provides a builder API.

func NewDataframeAnalyticsDestinationBuilder ¶

func NewDataframeAnalyticsDestinationBuilder() *DataframeAnalyticsDestinationBuilder

NewDataframeAnalyticsDestination provides a builder for the DataframeAnalyticsDestination struct.

func (*DataframeAnalyticsDestinationBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalyticsDestination struct

func (*DataframeAnalyticsDestinationBuilder) Index ¶

func (*DataframeAnalyticsDestinationBuilder) ResultsField ¶

type DataframeAnalyticsFieldSelection ¶

type DataframeAnalyticsFieldSelection struct {
	// FeatureType The feature type of this field for the analysis. May be categorical or
	// numerical.
	FeatureType *string `json:"feature_type,omitempty"`
	// IsIncluded Whether the field is selected to be included in the analysis.
	IsIncluded bool `json:"is_included"`
	// IsRequired Whether the field is required.
	IsRequired bool `json:"is_required"`
	// MappingTypes The mapping types of the field.
	MappingTypes []string `json:"mapping_types"`
	// Name The field name.
	Name Field `json:"name"`
	// Reason The reason a field is not selected to be included in the analysis.
	Reason *string `json:"reason,omitempty"`
}

DataframeAnalyticsFieldSelection type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L55-L68

type DataframeAnalyticsFieldSelectionBuilder ¶

type DataframeAnalyticsFieldSelectionBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalyticsFieldSelectionBuilder holds DataframeAnalyticsFieldSelection struct and provides a builder API.

func NewDataframeAnalyticsFieldSelectionBuilder ¶

func NewDataframeAnalyticsFieldSelectionBuilder() *DataframeAnalyticsFieldSelectionBuilder

NewDataframeAnalyticsFieldSelection provides a builder for the DataframeAnalyticsFieldSelection struct.

func (*DataframeAnalyticsFieldSelectionBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalyticsFieldSelection struct

func (*DataframeAnalyticsFieldSelectionBuilder) FeatureType ¶

func (*DataframeAnalyticsFieldSelectionBuilder) IsIncluded ¶

func (*DataframeAnalyticsFieldSelectionBuilder) IsRequired ¶

func (*DataframeAnalyticsFieldSelectionBuilder) MappingTypes ¶

func (*DataframeAnalyticsFieldSelectionBuilder) Name ¶

func (*DataframeAnalyticsFieldSelectionBuilder) Reason ¶

type DataframeAnalyticsMemoryEstimation ¶

type DataframeAnalyticsMemoryEstimation struct {
	// ExpectedMemoryWithDisk Estimated memory usage under the assumption that overflowing to disk is
	// allowed during data frame analytics. expected_memory_with_disk is usually
	// smaller than expected_memory_without_disk as using disk allows to limit the
	// main memory needed to perform data frame analytics.
	ExpectedMemoryWithDisk string `json:"expected_memory_with_disk"`
	// ExpectedMemoryWithoutDisk Estimated memory usage under the assumption that the whole data frame
	// analytics should happen in memory (i.e. without overflowing to disk).
	ExpectedMemoryWithoutDisk string `json:"expected_memory_without_disk"`
}

DataframeAnalyticsMemoryEstimation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L70-L75

type DataframeAnalyticsMemoryEstimationBuilder ¶

type DataframeAnalyticsMemoryEstimationBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalyticsMemoryEstimationBuilder holds DataframeAnalyticsMemoryEstimation struct and provides a builder API.

func NewDataframeAnalyticsMemoryEstimationBuilder ¶

func NewDataframeAnalyticsMemoryEstimationBuilder() *DataframeAnalyticsMemoryEstimationBuilder

NewDataframeAnalyticsMemoryEstimation provides a builder for the DataframeAnalyticsMemoryEstimation struct.

func (*DataframeAnalyticsMemoryEstimationBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalyticsMemoryEstimation struct

func (*DataframeAnalyticsMemoryEstimationBuilder) ExpectedMemoryWithDisk ¶

func (rb *DataframeAnalyticsMemoryEstimationBuilder) ExpectedMemoryWithDisk(expectedmemorywithdisk string) *DataframeAnalyticsMemoryEstimationBuilder

func (*DataframeAnalyticsMemoryEstimationBuilder) ExpectedMemoryWithoutDisk ¶

func (rb *DataframeAnalyticsMemoryEstimationBuilder) ExpectedMemoryWithoutDisk(expectedmemorywithoutdisk string) *DataframeAnalyticsMemoryEstimationBuilder

type DataframeAnalyticsSource ¶

type DataframeAnalyticsSource struct {
	// Index Index or indices on which to perform the analysis. It can be a single index
	// or index pattern as well as an array of indices or patterns. NOTE: If your
	// source indices contain documents with the same IDs, only the document that is
	// indexed last appears in the destination index.
	Index Indices `json:"index"`
	// Query The Elasticsearch query domain-specific language (DSL). This value
	// corresponds to the query object in an Elasticsearch search POST body. All the
	// options that are supported by Elasticsearch can be used, as this object is
	// passed verbatim to Elasticsearch. By default, this property has the following
	// value: {"match_all": {}}.
	Query *QueryContainer `json:"query,omitempty"`
	// RuntimeMappings Definitions of runtime fields that will become part of the mapping of the
	// destination index.
	RuntimeMappings *RuntimeFields `json:"runtime_mappings,omitempty"`
	// Source_ Specify `includes` and/or `excludes patterns to select which fields will be
	// present in the destination. Fields that are excluded cannot be included in
	// the analysis.
	Source_ *DataframeAnalysisAnalyzedFields `json:"_source,omitempty"`
}

DataframeAnalyticsSource type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L39-L53

type DataframeAnalyticsSourceBuilder ¶

type DataframeAnalyticsSourceBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalyticsSourceBuilder holds DataframeAnalyticsSource struct and provides a builder API.

func NewDataframeAnalyticsSourceBuilder ¶

func NewDataframeAnalyticsSourceBuilder() *DataframeAnalyticsSourceBuilder

NewDataframeAnalyticsSource provides a builder for the DataframeAnalyticsSource struct.

func (*DataframeAnalyticsSourceBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalyticsSource struct

func (*DataframeAnalyticsSourceBuilder) Index ¶

func (*DataframeAnalyticsSourceBuilder) Query ¶

func (*DataframeAnalyticsSourceBuilder) RuntimeMappings ¶

func (*DataframeAnalyticsSourceBuilder) Source_ ¶

type DataframeAnalyticsStatsContainer ¶

type DataframeAnalyticsStatsContainer struct {
	// ClassificationStats An object containing information about the classification analysis job.
	ClassificationStats *DataframeAnalyticsStatsHyperparameters `json:"classification_stats,omitempty"`
	// OutlierDetectionStats An object containing information about the outlier detection job.
	OutlierDetectionStats *DataframeAnalyticsStatsOutlierDetection `json:"outlier_detection_stats,omitempty"`
	// RegressionStats An object containing information about the regression analysis.
	RegressionStats *DataframeAnalyticsStatsHyperparameters `json:"regression_stats,omitempty"`
}

DataframeAnalyticsStatsContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L370-L378

type DataframeAnalyticsStatsContainerBuilder ¶

type DataframeAnalyticsStatsContainerBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalyticsStatsContainerBuilder holds DataframeAnalyticsStatsContainer struct and provides a builder API.

func NewDataframeAnalyticsStatsContainerBuilder ¶

func NewDataframeAnalyticsStatsContainerBuilder() *DataframeAnalyticsStatsContainerBuilder

NewDataframeAnalyticsStatsContainer provides a builder for the DataframeAnalyticsStatsContainer struct.

func (*DataframeAnalyticsStatsContainerBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalyticsStatsContainer struct

func (*DataframeAnalyticsStatsContainerBuilder) ClassificationStats ¶

func (*DataframeAnalyticsStatsContainerBuilder) OutlierDetectionStats ¶

func (*DataframeAnalyticsStatsContainerBuilder) RegressionStats ¶

type DataframeAnalyticsStatsDataCounts ¶

type DataframeAnalyticsStatsDataCounts struct {
	// SkippedDocsCount The number of documents that are skipped during the analysis because they
	// contained values that are not supported by the analysis. For example, outlier
	// detection does not support missing fields so it skips documents with missing
	// fields. Likewise, all types of analysis skip documents that contain arrays
	// with more than one element.
	SkippedDocsCount int `json:"skipped_docs_count"`
	// TestDocsCount The number of documents that are not used for training the model and can be
	// used for testing.
	TestDocsCount int `json:"test_docs_count"`
	// TrainingDocsCount The number of documents that are used for training the model.
	TrainingDocsCount int `json:"training_docs_count"`
}

DataframeAnalyticsStatsDataCounts type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L361-L368

type DataframeAnalyticsStatsDataCountsBuilder ¶

type DataframeAnalyticsStatsDataCountsBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalyticsStatsDataCountsBuilder holds DataframeAnalyticsStatsDataCounts struct and provides a builder API.

func NewDataframeAnalyticsStatsDataCountsBuilder ¶

func NewDataframeAnalyticsStatsDataCountsBuilder() *DataframeAnalyticsStatsDataCountsBuilder

NewDataframeAnalyticsStatsDataCounts provides a builder for the DataframeAnalyticsStatsDataCounts struct.

func (*DataframeAnalyticsStatsDataCountsBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalyticsStatsDataCounts struct

func (*DataframeAnalyticsStatsDataCountsBuilder) SkippedDocsCount ¶

func (*DataframeAnalyticsStatsDataCountsBuilder) TestDocsCount ¶

func (*DataframeAnalyticsStatsDataCountsBuilder) TrainingDocsCount ¶

type DataframeAnalyticsStatsHyperparameters ¶

type DataframeAnalyticsStatsHyperparameters struct {
	Hyperparameters Hyperparameters `json:"hyperparameters"`
	// Iteration The number of iterations on the analysis.
	Iteration      int                 `json:"iteration"`
	Timestamp      EpochTimeUnitMillis `json:"timestamp"`
	TimingStats    TimingStats         `json:"timing_stats"`
	ValidationLoss ValidationLoss      `json:"validation_loss"`
}

DataframeAnalyticsStatsHyperparameters type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L380-L387

type DataframeAnalyticsStatsHyperparametersBuilder ¶

type DataframeAnalyticsStatsHyperparametersBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalyticsStatsHyperparametersBuilder holds DataframeAnalyticsStatsHyperparameters struct and provides a builder API.

func NewDataframeAnalyticsStatsHyperparametersBuilder ¶

func NewDataframeAnalyticsStatsHyperparametersBuilder() *DataframeAnalyticsStatsHyperparametersBuilder

NewDataframeAnalyticsStatsHyperparameters provides a builder for the DataframeAnalyticsStatsHyperparameters struct.

func (*DataframeAnalyticsStatsHyperparametersBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalyticsStatsHyperparameters struct

func (*DataframeAnalyticsStatsHyperparametersBuilder) Hyperparameters ¶

func (*DataframeAnalyticsStatsHyperparametersBuilder) Iteration ¶

func (*DataframeAnalyticsStatsHyperparametersBuilder) Timestamp ¶

func (*DataframeAnalyticsStatsHyperparametersBuilder) TimingStats ¶

func (*DataframeAnalyticsStatsHyperparametersBuilder) ValidationLoss ¶

type DataframeAnalyticsStatsMemoryUsage ¶

type DataframeAnalyticsStatsMemoryUsage struct {
	// MemoryReestimateBytes This value is present when the status is hard_limit and it is a new estimate
	// of how much memory the job needs.
	MemoryReestimateBytes *int64 `json:"memory_reestimate_bytes,omitempty"`
	// PeakUsageBytes The number of bytes used at the highest peak of memory usage.
	PeakUsageBytes int64 `json:"peak_usage_bytes"`
	// Status The memory usage status.
	Status string `json:"status"`
	// Timestamp The timestamp when memory usage was calculated.
	Timestamp *EpochTimeUnitMillis `json:"timestamp,omitempty"`
}

DataframeAnalyticsStatsMemoryUsage type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L350-L359

type DataframeAnalyticsStatsMemoryUsageBuilder ¶

type DataframeAnalyticsStatsMemoryUsageBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalyticsStatsMemoryUsageBuilder holds DataframeAnalyticsStatsMemoryUsage struct and provides a builder API.

func NewDataframeAnalyticsStatsMemoryUsageBuilder ¶

func NewDataframeAnalyticsStatsMemoryUsageBuilder() *DataframeAnalyticsStatsMemoryUsageBuilder

NewDataframeAnalyticsStatsMemoryUsage provides a builder for the DataframeAnalyticsStatsMemoryUsage struct.

func (*DataframeAnalyticsStatsMemoryUsageBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalyticsStatsMemoryUsage struct

func (*DataframeAnalyticsStatsMemoryUsageBuilder) MemoryReestimateBytes ¶

func (rb *DataframeAnalyticsStatsMemoryUsageBuilder) MemoryReestimateBytes(memoryreestimatebytes int64) *DataframeAnalyticsStatsMemoryUsageBuilder

func (*DataframeAnalyticsStatsMemoryUsageBuilder) PeakUsageBytes ¶

func (*DataframeAnalyticsStatsMemoryUsageBuilder) Status ¶

func (*DataframeAnalyticsStatsMemoryUsageBuilder) Timestamp ¶

type DataframeAnalyticsStatsOutlierDetection ¶

type DataframeAnalyticsStatsOutlierDetection struct {
	Parameters  OutlierDetectionParameters `json:"parameters"`
	Timestamp   EpochTimeUnitMillis        `json:"timestamp"`
	TimingStats TimingStats                `json:"timing_stats"`
}

DataframeAnalyticsStatsOutlierDetection type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L389-L393

type DataframeAnalyticsStatsOutlierDetectionBuilder ¶

type DataframeAnalyticsStatsOutlierDetectionBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalyticsStatsOutlierDetectionBuilder holds DataframeAnalyticsStatsOutlierDetection struct and provides a builder API.

func NewDataframeAnalyticsStatsOutlierDetectionBuilder ¶

func NewDataframeAnalyticsStatsOutlierDetectionBuilder() *DataframeAnalyticsStatsOutlierDetectionBuilder

NewDataframeAnalyticsStatsOutlierDetection provides a builder for the DataframeAnalyticsStatsOutlierDetection struct.

func (*DataframeAnalyticsStatsOutlierDetectionBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalyticsStatsOutlierDetection struct

func (*DataframeAnalyticsStatsOutlierDetectionBuilder) Parameters ¶

func (*DataframeAnalyticsStatsOutlierDetectionBuilder) Timestamp ¶

func (*DataframeAnalyticsStatsOutlierDetectionBuilder) TimingStats ¶

type DataframeAnalyticsStatsProgress ¶

type DataframeAnalyticsStatsProgress struct {
	// Phase Defines the phase of the data frame analytics job.
	Phase string `json:"phase"`
	// ProgressPercent The progress that the data frame analytics job has made expressed in
	// percentage.
	ProgressPercent int `json:"progress_percent"`
}

DataframeAnalyticsStatsProgress type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L343-L348

type DataframeAnalyticsStatsProgressBuilder ¶

type DataframeAnalyticsStatsProgressBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalyticsStatsProgressBuilder holds DataframeAnalyticsStatsProgress struct and provides a builder API.

func NewDataframeAnalyticsStatsProgressBuilder ¶

func NewDataframeAnalyticsStatsProgressBuilder() *DataframeAnalyticsStatsProgressBuilder

NewDataframeAnalyticsStatsProgress provides a builder for the DataframeAnalyticsStatsProgress struct.

func (*DataframeAnalyticsStatsProgressBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalyticsStatsProgress struct

func (*DataframeAnalyticsStatsProgressBuilder) Phase ¶

func (*DataframeAnalyticsStatsProgressBuilder) ProgressPercent ¶

type DataframeAnalyticsSummary ¶

type DataframeAnalyticsSummary struct {
	AllowLazyStart *bool                            `json:"allow_lazy_start,omitempty"`
	Analysis       DataframeAnalysisContainer       `json:"analysis"`
	AnalyzedFields *DataframeAnalysisAnalyzedFields `json:"analyzed_fields,omitempty"`
	// Authorization The security privileges that the job uses to run its queries. If Elastic
	// Stack security features were disabled at the time of the most recent update
	// to the job, this property is omitted.
	Authorization    *DataframeAnalyticsAuthorization `json:"authorization,omitempty"`
	CreateTime       *EpochTimeUnitMillis             `json:"create_time,omitempty"`
	Description      *string                          `json:"description,omitempty"`
	Dest             DataframeAnalyticsDestination    `json:"dest"`
	Id               Id                               `json:"id"`
	MaxNumThreads    *int                             `json:"max_num_threads,omitempty"`
	ModelMemoryLimit *string                          `json:"model_memory_limit,omitempty"`
	Source           DataframeAnalyticsSource         `json:"source"`
	Version          *VersionString                   `json:"version,omitempty"`
}

DataframeAnalyticsSummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L306-L322

type DataframeAnalyticsSummaryBuilder ¶

type DataframeAnalyticsSummaryBuilder struct {
	// contains filtered or unexported fields
}

DataframeAnalyticsSummaryBuilder holds DataframeAnalyticsSummary struct and provides a builder API.

func NewDataframeAnalyticsSummaryBuilder ¶

func NewDataframeAnalyticsSummaryBuilder() *DataframeAnalyticsSummaryBuilder

NewDataframeAnalyticsSummary provides a builder for the DataframeAnalyticsSummary struct.

func (*DataframeAnalyticsSummaryBuilder) AllowLazyStart ¶

func (rb *DataframeAnalyticsSummaryBuilder) AllowLazyStart(allowlazystart bool) *DataframeAnalyticsSummaryBuilder

func (*DataframeAnalyticsSummaryBuilder) Analysis ¶

func (*DataframeAnalyticsSummaryBuilder) AnalyzedFields ¶

func (*DataframeAnalyticsSummaryBuilder) Authorization ¶

func (*DataframeAnalyticsSummaryBuilder) Build ¶

Build finalize the chain and returns the DataframeAnalyticsSummary struct

func (*DataframeAnalyticsSummaryBuilder) CreateTime ¶

func (*DataframeAnalyticsSummaryBuilder) Description ¶

func (*DataframeAnalyticsSummaryBuilder) Id ¶

func (*DataframeAnalyticsSummaryBuilder) MaxNumThreads ¶

func (rb *DataframeAnalyticsSummaryBuilder) MaxNumThreads(maxnumthreads int) *DataframeAnalyticsSummaryBuilder

func (*DataframeAnalyticsSummaryBuilder) ModelMemoryLimit ¶

func (rb *DataframeAnalyticsSummaryBuilder) ModelMemoryLimit(modelmemorylimit string) *DataframeAnalyticsSummaryBuilder

func (*DataframeAnalyticsSummaryBuilder) Source ¶

func (*DataframeAnalyticsSummaryBuilder) Version ¶

type DataframeClassificationSummary ¶

type DataframeClassificationSummary struct {
	Accuracy                  *DataframeClassificationSummaryAccuracy                  `json:"accuracy,omitempty"`
	AucRoc                    *DataframeEvaluationSummaryAucRoc                        `json:"auc_roc,omitempty"`
	MulticlassConfusionMatrix *DataframeClassificationSummaryMulticlassConfusionMatrix `json:"multiclass_confusion_matrix,omitempty"`
	Precision                 *DataframeClassificationSummaryPrecision                 `json:"precision,omitempty"`
	Recall                    *DataframeClassificationSummaryRecall                    `json:"recall,omitempty"`
}

DataframeClassificationSummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/evaluate_data_frame/types.ts#L31-L37

type DataframeClassificationSummaryAccuracy ¶

type DataframeClassificationSummaryAccuracy struct {
	Classes         []DataframeEvaluationClass `json:"classes"`
	OverallAccuracy float64                    `json:"overall_accuracy"`
}

DataframeClassificationSummaryAccuracy type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/evaluate_data_frame/types.ts#L70-L73

type DataframeClassificationSummaryAccuracyBuilder ¶

type DataframeClassificationSummaryAccuracyBuilder struct {
	// contains filtered or unexported fields
}

DataframeClassificationSummaryAccuracyBuilder holds DataframeClassificationSummaryAccuracy struct and provides a builder API.

func NewDataframeClassificationSummaryAccuracyBuilder ¶

func NewDataframeClassificationSummaryAccuracyBuilder() *DataframeClassificationSummaryAccuracyBuilder

NewDataframeClassificationSummaryAccuracy provides a builder for the DataframeClassificationSummaryAccuracy struct.

func (*DataframeClassificationSummaryAccuracyBuilder) Build ¶

Build finalize the chain and returns the DataframeClassificationSummaryAccuracy struct

func (*DataframeClassificationSummaryAccuracyBuilder) Classes ¶

func (*DataframeClassificationSummaryAccuracyBuilder) OverallAccuracy ¶

type DataframeClassificationSummaryBuilder ¶

type DataframeClassificationSummaryBuilder struct {
	// contains filtered or unexported fields
}

DataframeClassificationSummaryBuilder holds DataframeClassificationSummary struct and provides a builder API.

func NewDataframeClassificationSummaryBuilder ¶

func NewDataframeClassificationSummaryBuilder() *DataframeClassificationSummaryBuilder

NewDataframeClassificationSummary provides a builder for the DataframeClassificationSummary struct.

func (*DataframeClassificationSummaryBuilder) Build ¶

Build finalize the chain and returns the DataframeClassificationSummary struct

func (*DataframeClassificationSummaryBuilder) MulticlassConfusionMatrix ¶

type DataframeClassificationSummaryMulticlassConfusionMatrix ¶

type DataframeClassificationSummaryMulticlassConfusionMatrix struct {
	ConfusionMatrix       []ConfusionMatrixItem `json:"confusion_matrix"`
	OtherActualClassCount int                   `json:"other_actual_class_count"`
}

DataframeClassificationSummaryMulticlassConfusionMatrix type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/evaluate_data_frame/types.ts#L79-L82

type DataframeClassificationSummaryMulticlassConfusionMatrixBuilder ¶

type DataframeClassificationSummaryMulticlassConfusionMatrixBuilder struct {
	// contains filtered or unexported fields
}

DataframeClassificationSummaryMulticlassConfusionMatrixBuilder holds DataframeClassificationSummaryMulticlassConfusionMatrix struct and provides a builder API.

func NewDataframeClassificationSummaryMulticlassConfusionMatrixBuilder ¶

func NewDataframeClassificationSummaryMulticlassConfusionMatrixBuilder() *DataframeClassificationSummaryMulticlassConfusionMatrixBuilder

NewDataframeClassificationSummaryMulticlassConfusionMatrix provides a builder for the DataframeClassificationSummaryMulticlassConfusionMatrix struct.

func (*DataframeClassificationSummaryMulticlassConfusionMatrixBuilder) Build ¶

Build finalize the chain and returns the DataframeClassificationSummaryMulticlassConfusionMatrix struct

func (*DataframeClassificationSummaryMulticlassConfusionMatrixBuilder) ConfusionMatrix ¶

func (*DataframeClassificationSummaryMulticlassConfusionMatrixBuilder) OtherActualClassCount ¶

type DataframeClassificationSummaryPrecision ¶

type DataframeClassificationSummaryPrecision struct {
	AvgPrecision float64                    `json:"avg_precision"`
	Classes      []DataframeEvaluationClass `json:"classes"`
}

DataframeClassificationSummaryPrecision type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/evaluate_data_frame/types.ts#L60-L63

type DataframeClassificationSummaryPrecisionBuilder ¶

type DataframeClassificationSummaryPrecisionBuilder struct {
	// contains filtered or unexported fields
}

DataframeClassificationSummaryPrecisionBuilder holds DataframeClassificationSummaryPrecision struct and provides a builder API.

func NewDataframeClassificationSummaryPrecisionBuilder ¶

func NewDataframeClassificationSummaryPrecisionBuilder() *DataframeClassificationSummaryPrecisionBuilder

NewDataframeClassificationSummaryPrecision provides a builder for the DataframeClassificationSummaryPrecision struct.

func (*DataframeClassificationSummaryPrecisionBuilder) AvgPrecision ¶

func (*DataframeClassificationSummaryPrecisionBuilder) Build ¶

Build finalize the chain and returns the DataframeClassificationSummaryPrecision struct

func (*DataframeClassificationSummaryPrecisionBuilder) Classes ¶

type DataframeClassificationSummaryRecall ¶

type DataframeClassificationSummaryRecall struct {
	AvgRecall float64                    `json:"avg_recall"`
	Classes   []DataframeEvaluationClass `json:"classes"`
}

DataframeClassificationSummaryRecall type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/evaluate_data_frame/types.ts#L65-L68

type DataframeClassificationSummaryRecallBuilder ¶

type DataframeClassificationSummaryRecallBuilder struct {
	// contains filtered or unexported fields
}

DataframeClassificationSummaryRecallBuilder holds DataframeClassificationSummaryRecall struct and provides a builder API.

func NewDataframeClassificationSummaryRecallBuilder ¶

func NewDataframeClassificationSummaryRecallBuilder() *DataframeClassificationSummaryRecallBuilder

NewDataframeClassificationSummaryRecall provides a builder for the DataframeClassificationSummaryRecall struct.

func (*DataframeClassificationSummaryRecallBuilder) AvgRecall ¶

func (*DataframeClassificationSummaryRecallBuilder) Build ¶

Build finalize the chain and returns the DataframeClassificationSummaryRecall struct

func (*DataframeClassificationSummaryRecallBuilder) Classes ¶

type DataframeEvaluationClass ¶

type DataframeEvaluationClass struct {
	ClassName Name    `json:"class_name"`
	Value     float64 `json:"value"`
}

DataframeEvaluationClass type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/evaluate_data_frame/types.ts#L75-L77

type DataframeEvaluationClassBuilder ¶

type DataframeEvaluationClassBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationClassBuilder holds DataframeEvaluationClass struct and provides a builder API.

func NewDataframeEvaluationClassBuilder ¶

func NewDataframeEvaluationClassBuilder() *DataframeEvaluationClassBuilder

NewDataframeEvaluationClass provides a builder for the DataframeEvaluationClass struct.

func (*DataframeEvaluationClassBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationClass struct

func (*DataframeEvaluationClassBuilder) ClassName ¶

func (*DataframeEvaluationClassBuilder) Value ¶

type DataframeEvaluationClassification ¶

type DataframeEvaluationClassification struct {
	// ActualField The field of the index which contains the ground truth. The data type of this
	// field can be boolean or integer. If the data type is integer, the value has
	// to be either 0 (false) or 1 (true).
	ActualField Field `json:"actual_field"`
	// Metrics Specifies the metrics that are used for the evaluation.
	Metrics *DataframeEvaluationClassificationMetrics `json:"metrics,omitempty"`
	// PredictedField The field in the index which contains the predicted value, in other words the
	// results of the classification analysis.
	PredictedField *Field `json:"predicted_field,omitempty"`
	// TopClassesField The field of the index which is an array of documents of the form {
	// "class_name": XXX, "class_probability": YYY }. This field must be defined as
	// nested in the mappings.
	TopClassesField *Field `json:"top_classes_field,omitempty"`
}

DataframeEvaluationClassification type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeEvaluation.ts#L35-L44

type DataframeEvaluationClassificationBuilder ¶

type DataframeEvaluationClassificationBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationClassificationBuilder holds DataframeEvaluationClassification struct and provides a builder API.

func NewDataframeEvaluationClassificationBuilder ¶

func NewDataframeEvaluationClassificationBuilder() *DataframeEvaluationClassificationBuilder

NewDataframeEvaluationClassification provides a builder for the DataframeEvaluationClassification struct.

func (*DataframeEvaluationClassificationBuilder) ActualField ¶

func (*DataframeEvaluationClassificationBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationClassification struct

func (*DataframeEvaluationClassificationBuilder) PredictedField ¶

func (*DataframeEvaluationClassificationBuilder) TopClassesField ¶

type DataframeEvaluationClassificationMetrics ¶

type DataframeEvaluationClassificationMetrics struct {
	// Accuracy Accuracy of predictions (per-class and overall).
	Accuracy map[string]interface{} `json:"accuracy,omitempty"`
	// AucRoc The AUC ROC (area under the curve of the receiver operating characteristic)
	// score and optionally the curve. It is calculated for a specific class
	// (provided as "class_name") treated as positive.
	AucRoc *DataframeEvaluationClassificationMetricsAucRoc `json:"auc_roc,omitempty"`
	// MulticlassConfusionMatrix Multiclass confusion matrix.
	MulticlassConfusionMatrix map[string]interface{} `json:"multiclass_confusion_matrix,omitempty"`
	// Precision Precision of predictions (per-class and average).
	Precision map[string]interface{} `json:"precision,omitempty"`
	// Recall Recall of predictions (per-class and average).
	Recall map[string]interface{} `json:"recall,omitempty"`
}

DataframeEvaluationClassificationMetrics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeEvaluation.ts#L73-L78

type DataframeEvaluationClassificationMetricsAucRoc ¶

type DataframeEvaluationClassificationMetricsAucRoc struct {
	// ClassName Name of the only class that is treated as positive during AUC ROC
	// calculation. Other classes are treated as negative ("one-vs-all" strategy).
	// All the evaluated documents must have class_name in the list of their top
	// classes.
	ClassName *Name `json:"class_name,omitempty"`
	// IncludeCurve Whether or not the curve should be returned in addition to the score. Default
	// value is false.
	IncludeCurve *bool `json:"include_curve,omitempty"`
}

DataframeEvaluationClassificationMetricsAucRoc type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeEvaluation.ts#L85-L90

type DataframeEvaluationClassificationMetricsAucRocBuilder ¶

type DataframeEvaluationClassificationMetricsAucRocBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationClassificationMetricsAucRocBuilder holds DataframeEvaluationClassificationMetricsAucRoc struct and provides a builder API.

func NewDataframeEvaluationClassificationMetricsAucRocBuilder ¶

func NewDataframeEvaluationClassificationMetricsAucRocBuilder() *DataframeEvaluationClassificationMetricsAucRocBuilder

NewDataframeEvaluationClassificationMetricsAucRoc provides a builder for the DataframeEvaluationClassificationMetricsAucRoc struct.

func (*DataframeEvaluationClassificationMetricsAucRocBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationClassificationMetricsAucRoc struct

func (*DataframeEvaluationClassificationMetricsAucRocBuilder) ClassName ¶

func (*DataframeEvaluationClassificationMetricsAucRocBuilder) IncludeCurve ¶

type DataframeEvaluationClassificationMetricsBuilder ¶

type DataframeEvaluationClassificationMetricsBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationClassificationMetricsBuilder holds DataframeEvaluationClassificationMetrics struct and provides a builder API.

func NewDataframeEvaluationClassificationMetricsBuilder ¶

func NewDataframeEvaluationClassificationMetricsBuilder() *DataframeEvaluationClassificationMetricsBuilder

NewDataframeEvaluationClassificationMetrics provides a builder for the DataframeEvaluationClassificationMetrics struct.

func (*DataframeEvaluationClassificationMetricsBuilder) Accuracy ¶

func (*DataframeEvaluationClassificationMetricsBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationClassificationMetrics struct

func (*DataframeEvaluationClassificationMetricsBuilder) MulticlassConfusionMatrix ¶

func (*DataframeEvaluationClassificationMetricsBuilder) Precision ¶

func (*DataframeEvaluationClassificationMetricsBuilder) Recall ¶

type DataframeEvaluationContainer ¶

type DataframeEvaluationContainer struct {
	// Classification Classification evaluation evaluates the results of a classification analysis
	// which outputs a prediction that identifies to which of the classes each
	// document belongs.
	Classification *DataframeEvaluationClassification `json:"classification,omitempty"`
	// OutlierDetection Outlier detection evaluates the results of an outlier detection analysis
	// which outputs the probability that each document is an outlier.
	OutlierDetection *DataframeEvaluationOutlierDetection `json:"outlier_detection,omitempty"`
	// Regression Regression evaluation evaluates the results of a regression analysis which
	// outputs a prediction of values.
	Regression *DataframeEvaluationRegression `json:"regression,omitempty"`
}

DataframeEvaluationContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeEvaluation.ts#L25-L33

type DataframeEvaluationContainerBuilder ¶

type DataframeEvaluationContainerBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationContainerBuilder holds DataframeEvaluationContainer struct and provides a builder API.

func NewDataframeEvaluationContainerBuilder ¶

func NewDataframeEvaluationContainerBuilder() *DataframeEvaluationContainerBuilder

NewDataframeEvaluationContainer provides a builder for the DataframeEvaluationContainer struct.

func (*DataframeEvaluationContainerBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationContainer struct

func (*DataframeEvaluationContainerBuilder) Classification ¶

func (*DataframeEvaluationContainerBuilder) OutlierDetection ¶

func (*DataframeEvaluationContainerBuilder) Regression ¶

type DataframeEvaluationMetrics ¶

type DataframeEvaluationMetrics struct {
	// AucRoc The AUC ROC (area under the curve of the receiver operating characteristic)
	// score and optionally the curve. It is calculated for a specific class
	// (provided as "class_name") treated as positive.
	AucRoc *DataframeEvaluationClassificationMetricsAucRoc `json:"auc_roc,omitempty"`
	// Precision Precision of predictions (per-class and average).
	Precision map[string]interface{} `json:"precision,omitempty"`
	// Recall Recall of predictions (per-class and average).
	Recall map[string]interface{} `json:"recall,omitempty"`
}

DataframeEvaluationMetrics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeEvaluation.ts#L64-L71

type DataframeEvaluationMetricsBuilder ¶

type DataframeEvaluationMetricsBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationMetricsBuilder holds DataframeEvaluationMetrics struct and provides a builder API.

func NewDataframeEvaluationMetricsBuilder ¶

func NewDataframeEvaluationMetricsBuilder() *DataframeEvaluationMetricsBuilder

NewDataframeEvaluationMetrics provides a builder for the DataframeEvaluationMetrics struct.

func (*DataframeEvaluationMetricsBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationMetrics struct

func (*DataframeEvaluationMetricsBuilder) Precision ¶

func (rb *DataframeEvaluationMetricsBuilder) Precision(value map[string]interface{}) *DataframeEvaluationMetricsBuilder

func (*DataframeEvaluationMetricsBuilder) Recall ¶

type DataframeEvaluationOutlierDetection ¶

type DataframeEvaluationOutlierDetection struct {
	// ActualField The field of the index which contains the ground truth. The data type of this
	// field can be boolean or integer. If the data type is integer, the value has
	// to be either 0 (false) or 1 (true).
	ActualField Field `json:"actual_field"`
	// Metrics Specifies the metrics that are used for the evaluation.
	Metrics *DataframeEvaluationOutlierDetectionMetrics `json:"metrics,omitempty"`
	// PredictedProbabilityField The field of the index that defines the probability of whether the item
	// belongs to the class in question or not. It’s the field that contains the
	// results of the analysis.
	PredictedProbabilityField Field `json:"predicted_probability_field"`
}

DataframeEvaluationOutlierDetection type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeEvaluation.ts#L46-L53

type DataframeEvaluationOutlierDetectionBuilder ¶

type DataframeEvaluationOutlierDetectionBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationOutlierDetectionBuilder holds DataframeEvaluationOutlierDetection struct and provides a builder API.

func NewDataframeEvaluationOutlierDetectionBuilder ¶

func NewDataframeEvaluationOutlierDetectionBuilder() *DataframeEvaluationOutlierDetectionBuilder

NewDataframeEvaluationOutlierDetection provides a builder for the DataframeEvaluationOutlierDetection struct.

func (*DataframeEvaluationOutlierDetectionBuilder) ActualField ¶

func (*DataframeEvaluationOutlierDetectionBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationOutlierDetection struct

func (*DataframeEvaluationOutlierDetectionBuilder) PredictedProbabilityField ¶

func (rb *DataframeEvaluationOutlierDetectionBuilder) PredictedProbabilityField(predictedprobabilityfield Field) *DataframeEvaluationOutlierDetectionBuilder

type DataframeEvaluationOutlierDetectionMetrics ¶

type DataframeEvaluationOutlierDetectionMetrics struct {
	// AucRoc The AUC ROC (area under the curve of the receiver operating characteristic)
	// score and optionally the curve. It is calculated for a specific class
	// (provided as "class_name") treated as positive.
	AucRoc *DataframeEvaluationClassificationMetricsAucRoc `json:"auc_roc,omitempty"`
	// ConfusionMatrix Accuracy of predictions (per-class and overall).
	ConfusionMatrix map[string]interface{} `json:"confusion_matrix,omitempty"`
	// Precision Precision of predictions (per-class and average).
	Precision map[string]interface{} `json:"precision,omitempty"`
	// Recall Recall of predictions (per-class and average).
	Recall map[string]interface{} `json:"recall,omitempty"`
}

DataframeEvaluationOutlierDetectionMetrics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeEvaluation.ts#L80-L83

type DataframeEvaluationOutlierDetectionMetricsBuilder ¶

type DataframeEvaluationOutlierDetectionMetricsBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationOutlierDetectionMetricsBuilder holds DataframeEvaluationOutlierDetectionMetrics struct and provides a builder API.

func NewDataframeEvaluationOutlierDetectionMetricsBuilder ¶

func NewDataframeEvaluationOutlierDetectionMetricsBuilder() *DataframeEvaluationOutlierDetectionMetricsBuilder

NewDataframeEvaluationOutlierDetectionMetrics provides a builder for the DataframeEvaluationOutlierDetectionMetrics struct.

func (*DataframeEvaluationOutlierDetectionMetricsBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationOutlierDetectionMetrics struct

func (*DataframeEvaluationOutlierDetectionMetricsBuilder) ConfusionMatrix ¶

func (*DataframeEvaluationOutlierDetectionMetricsBuilder) Precision ¶

func (*DataframeEvaluationOutlierDetectionMetricsBuilder) Recall ¶

type DataframeEvaluationRegression ¶

type DataframeEvaluationRegression struct {
	// ActualField The field of the index which contains the ground truth. The data type of this
	// field must be numerical.
	ActualField Field `json:"actual_field"`
	// Metrics Specifies the metrics that are used for the evaluation. For more information
	// on mse, msle, and huber, consult the Jupyter notebook on regression loss
	// functions.
	Metrics *DataframeEvaluationRegressionMetrics `json:"metrics,omitempty"`
	// PredictedField The field in the index that contains the predicted value, in other words the
	// results of the regression analysis.
	PredictedField Field `json:"predicted_field"`
}

DataframeEvaluationRegression type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeEvaluation.ts#L55-L62

type DataframeEvaluationRegressionBuilder ¶

type DataframeEvaluationRegressionBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationRegressionBuilder holds DataframeEvaluationRegression struct and provides a builder API.

func NewDataframeEvaluationRegressionBuilder ¶

func NewDataframeEvaluationRegressionBuilder() *DataframeEvaluationRegressionBuilder

NewDataframeEvaluationRegression provides a builder for the DataframeEvaluationRegression struct.

func (*DataframeEvaluationRegressionBuilder) ActualField ¶

func (*DataframeEvaluationRegressionBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationRegression struct

func (*DataframeEvaluationRegressionBuilder) PredictedField ¶

type DataframeEvaluationRegressionMetrics ¶

type DataframeEvaluationRegressionMetrics struct {
	// Huber Pseudo Huber loss function.
	Huber *DataframeEvaluationRegressionMetricsHuber `json:"huber,omitempty"`
	// Mse Average squared difference between the predicted values and the actual
	// (ground truth) value. For more information, read this wiki article.
	Mse map[string]interface{} `json:"mse,omitempty"`
	// Msle Average squared difference between the logarithm of the predicted values and
	// the logarithm of the actual (ground truth) value.
	Msle *DataframeEvaluationRegressionMetricsMsle `json:"msle,omitempty"`
	// RSquared Proportion of the variance in the dependent variable that is predictable from
	// the independent variables.
	RSquared map[string]interface{} `json:"r_squared,omitempty"`
}

DataframeEvaluationRegressionMetrics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeEvaluation.ts#L92-L110

type DataframeEvaluationRegressionMetricsBuilder ¶

type DataframeEvaluationRegressionMetricsBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationRegressionMetricsBuilder holds DataframeEvaluationRegressionMetrics struct and provides a builder API.

func NewDataframeEvaluationRegressionMetricsBuilder ¶

func NewDataframeEvaluationRegressionMetricsBuilder() *DataframeEvaluationRegressionMetricsBuilder

NewDataframeEvaluationRegressionMetrics provides a builder for the DataframeEvaluationRegressionMetrics struct.

func (*DataframeEvaluationRegressionMetricsBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationRegressionMetrics struct

func (*DataframeEvaluationRegressionMetricsBuilder) Mse ¶

func (*DataframeEvaluationRegressionMetricsBuilder) RSquared ¶

type DataframeEvaluationRegressionMetricsHuber ¶

type DataframeEvaluationRegressionMetricsHuber struct {
	// Delta Approximates 1/2 (prediction - actual)2 for values much less than delta and
	// approximates a straight line with slope delta for values much larger than
	// delta. Defaults to 1. Delta needs to be greater than 0.
	Delta *float64 `json:"delta,omitempty"`
}

DataframeEvaluationRegressionMetricsHuber type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeEvaluation.ts#L117-L120

type DataframeEvaluationRegressionMetricsHuberBuilder ¶

type DataframeEvaluationRegressionMetricsHuberBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationRegressionMetricsHuberBuilder holds DataframeEvaluationRegressionMetricsHuber struct and provides a builder API.

func NewDataframeEvaluationRegressionMetricsHuberBuilder ¶

func NewDataframeEvaluationRegressionMetricsHuberBuilder() *DataframeEvaluationRegressionMetricsHuberBuilder

NewDataframeEvaluationRegressionMetricsHuber provides a builder for the DataframeEvaluationRegressionMetricsHuber struct.

func (*DataframeEvaluationRegressionMetricsHuberBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationRegressionMetricsHuber struct

func (*DataframeEvaluationRegressionMetricsHuberBuilder) Delta ¶

type DataframeEvaluationRegressionMetricsMsle ¶

type DataframeEvaluationRegressionMetricsMsle struct {
	// Offset Defines the transition point at which you switch from minimizing quadratic
	// error to minimizing quadratic log error. Defaults to 1.
	Offset *float64 `json:"offset,omitempty"`
}

DataframeEvaluationRegressionMetricsMsle type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeEvaluation.ts#L112-L115

type DataframeEvaluationRegressionMetricsMsleBuilder ¶

type DataframeEvaluationRegressionMetricsMsleBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationRegressionMetricsMsleBuilder holds DataframeEvaluationRegressionMetricsMsle struct and provides a builder API.

func NewDataframeEvaluationRegressionMetricsMsleBuilder ¶

func NewDataframeEvaluationRegressionMetricsMsleBuilder() *DataframeEvaluationRegressionMetricsMsleBuilder

NewDataframeEvaluationRegressionMetricsMsle provides a builder for the DataframeEvaluationRegressionMetricsMsle struct.

func (*DataframeEvaluationRegressionMetricsMsleBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationRegressionMetricsMsle struct

func (*DataframeEvaluationRegressionMetricsMsleBuilder) Offset ¶

type DataframeEvaluationSummaryAucRocBuilder ¶

type DataframeEvaluationSummaryAucRocBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationSummaryAucRocBuilder holds DataframeEvaluationSummaryAucRoc struct and provides a builder API.

func NewDataframeEvaluationSummaryAucRocBuilder ¶

func NewDataframeEvaluationSummaryAucRocBuilder() *DataframeEvaluationSummaryAucRocBuilder

NewDataframeEvaluationSummaryAucRoc provides a builder for the DataframeEvaluationSummaryAucRoc struct.

func (*DataframeEvaluationSummaryAucRocBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationSummaryAucRoc struct

func (*DataframeEvaluationSummaryAucRocBuilder) Value ¶

type DataframeEvaluationSummaryAucRocCurveItem ¶

type DataframeEvaluationSummaryAucRocCurveItem struct {
	Fpr       float64 `json:"fpr"`
	Threshold float64 `json:"threshold"`
	Tpr       float64 `json:"tpr"`
}

DataframeEvaluationSummaryAucRocCurveItem type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/evaluate_data_frame/types.ts#L54-L58

type DataframeEvaluationSummaryAucRocCurveItemBuilder ¶

type DataframeEvaluationSummaryAucRocCurveItemBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationSummaryAucRocCurveItemBuilder holds DataframeEvaluationSummaryAucRocCurveItem struct and provides a builder API.

func NewDataframeEvaluationSummaryAucRocCurveItemBuilder ¶

func NewDataframeEvaluationSummaryAucRocCurveItemBuilder() *DataframeEvaluationSummaryAucRocCurveItemBuilder

NewDataframeEvaluationSummaryAucRocCurveItem provides a builder for the DataframeEvaluationSummaryAucRocCurveItem struct.

func (*DataframeEvaluationSummaryAucRocCurveItemBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationSummaryAucRocCurveItem struct

func (*DataframeEvaluationSummaryAucRocCurveItemBuilder) Fpr ¶

func (*DataframeEvaluationSummaryAucRocCurveItemBuilder) Threshold ¶

func (*DataframeEvaluationSummaryAucRocCurveItemBuilder) Tpr ¶

type DataframeEvaluationValueBuilder ¶

type DataframeEvaluationValueBuilder struct {
	// contains filtered or unexported fields
}

DataframeEvaluationValueBuilder holds DataframeEvaluationValue struct and provides a builder API.

func NewDataframeEvaluationValueBuilder ¶

func NewDataframeEvaluationValueBuilder() *DataframeEvaluationValueBuilder

NewDataframeEvaluationValue provides a builder for the DataframeEvaluationValue struct.

func (*DataframeEvaluationValueBuilder) Build ¶

Build finalize the chain and returns the DataframeEvaluationValue struct

func (*DataframeEvaluationValueBuilder) Value ¶

type DataframeOutlierDetectionSummary ¶

type DataframeOutlierDetectionSummary struct {
	AucRoc          *DataframeEvaluationSummaryAucRoc   `json:"auc_roc,omitempty"`
	ConfusionMatrix map[string]ConfusionMatrixThreshold `json:"confusion_matrix,omitempty"`
	Precision       map[string]float64                  `json:"precision,omitempty"`
	Recall          map[string]float64                  `json:"recall,omitempty"`
}

DataframeOutlierDetectionSummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/evaluate_data_frame/types.ts#L24-L29

type DataframeOutlierDetectionSummaryBuilder ¶

type DataframeOutlierDetectionSummaryBuilder struct {
	// contains filtered or unexported fields
}

DataframeOutlierDetectionSummaryBuilder holds DataframeOutlierDetectionSummary struct and provides a builder API.

func NewDataframeOutlierDetectionSummaryBuilder ¶

func NewDataframeOutlierDetectionSummaryBuilder() *DataframeOutlierDetectionSummaryBuilder

NewDataframeOutlierDetectionSummary provides a builder for the DataframeOutlierDetectionSummary struct.

func (*DataframeOutlierDetectionSummaryBuilder) Build ¶

Build finalize the chain and returns the DataframeOutlierDetectionSummary struct

func (*DataframeOutlierDetectionSummaryBuilder) ConfusionMatrix ¶

func (*DataframeOutlierDetectionSummaryBuilder) Precision ¶

func (*DataframeOutlierDetectionSummaryBuilder) Recall ¶

type DataframePreviewConfig ¶

type DataframePreviewConfig struct {
	Analysis         DataframeAnalysisContainer       `json:"analysis"`
	AnalyzedFields   *DataframeAnalysisAnalyzedFields `json:"analyzed_fields,omitempty"`
	MaxNumThreads    *int                             `json:"max_num_threads,omitempty"`
	ModelMemoryLimit *string                          `json:"model_memory_limit,omitempty"`
	Source           DataframeAnalyticsSource         `json:"source"`
}

DataframePreviewConfig type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/preview_data_frame_analytics/types.ts#L27-L33

type DataframePreviewConfigBuilder ¶

type DataframePreviewConfigBuilder struct {
	// contains filtered or unexported fields
}

DataframePreviewConfigBuilder holds DataframePreviewConfig struct and provides a builder API.

func NewDataframePreviewConfigBuilder ¶

func NewDataframePreviewConfigBuilder() *DataframePreviewConfigBuilder

NewDataframePreviewConfig provides a builder for the DataframePreviewConfig struct.

func (*DataframePreviewConfigBuilder) Analysis ¶

func (*DataframePreviewConfigBuilder) AnalyzedFields ¶

func (*DataframePreviewConfigBuilder) Build ¶

Build finalize the chain and returns the DataframePreviewConfig struct

func (*DataframePreviewConfigBuilder) MaxNumThreads ¶

func (rb *DataframePreviewConfigBuilder) MaxNumThreads(maxnumthreads int) *DataframePreviewConfigBuilder

func (*DataframePreviewConfigBuilder) ModelMemoryLimit ¶

func (rb *DataframePreviewConfigBuilder) ModelMemoryLimit(modelmemorylimit string) *DataframePreviewConfigBuilder

func (*DataframePreviewConfigBuilder) Source ¶

type DataframeRegressionSummary ¶

type DataframeRegressionSummary struct {
	Huber    *DataframeEvaluationValue `json:"huber,omitempty"`
	Mse      *DataframeEvaluationValue `json:"mse,omitempty"`
	Msle     *DataframeEvaluationValue `json:"msle,omitempty"`
	RSquared *DataframeEvaluationValue `json:"r_squared,omitempty"`
}

DataframeRegressionSummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/evaluate_data_frame/types.ts#L39-L44

type DataframeRegressionSummaryBuilder ¶

type DataframeRegressionSummaryBuilder struct {
	// contains filtered or unexported fields
}

DataframeRegressionSummaryBuilder holds DataframeRegressionSummary struct and provides a builder API.

func NewDataframeRegressionSummaryBuilder ¶

func NewDataframeRegressionSummaryBuilder() *DataframeRegressionSummaryBuilder

NewDataframeRegressionSummary provides a builder for the DataframeRegressionSummary struct.

func (*DataframeRegressionSummaryBuilder) Build ¶

Build finalize the chain and returns the DataframeRegressionSummary struct

func (*DataframeRegressionSummaryBuilder) Huber ¶

func (*DataframeRegressionSummaryBuilder) Mse ¶

func (*DataframeRegressionSummaryBuilder) Msle ¶

func (*DataframeRegressionSummaryBuilder) RSquared ¶

type DateDecayFunction ¶

type DateDecayFunction struct {
	DateDecayFunction map[Field]DecayPlacementDateMathDuration `json:"DateDecayFunction,omitempty"`
	MultiValueMode    *multivaluemode.MultiValueMode           `json:"multi_value_mode,omitempty"`
}

DateDecayFunction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L92-L94

type DateDecayFunctionBuilder ¶

type DateDecayFunctionBuilder struct {
	// contains filtered or unexported fields
}

DateDecayFunctionBuilder holds DateDecayFunction struct and provides a builder API.

func NewDateDecayFunctionBuilder ¶

func NewDateDecayFunctionBuilder() *DateDecayFunctionBuilder

NewDateDecayFunction provides a builder for the DateDecayFunction struct.

func (*DateDecayFunctionBuilder) Build ¶

Build finalize the chain and returns the DateDecayFunction struct

func (*DateDecayFunctionBuilder) DateDecayFunction ¶

func (*DateDecayFunctionBuilder) MultiValueMode ¶

type DateDistanceFeatureQuery ¶

type DateDistanceFeatureQuery struct {
	Boost      *float32 `json:"boost,omitempty"`
	Field      Field    `json:"field"`
	Origin     DateMath `json:"origin"`
	Pivot      Duration `json:"pivot"`
	QueryName_ *string  `json:"_name,omitempty"`
}

DateDistanceFeatureQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L51-L54

type DateDistanceFeatureQueryBuilder ¶

type DateDistanceFeatureQueryBuilder struct {
	// contains filtered or unexported fields
}

DateDistanceFeatureQueryBuilder holds DateDistanceFeatureQuery struct and provides a builder API.

func NewDateDistanceFeatureQueryBuilder ¶

func NewDateDistanceFeatureQueryBuilder() *DateDistanceFeatureQueryBuilder

NewDateDistanceFeatureQuery provides a builder for the DateDistanceFeatureQuery struct.

func (*DateDistanceFeatureQueryBuilder) Boost ¶

func (*DateDistanceFeatureQueryBuilder) Build ¶

Build finalize the chain and returns the DateDistanceFeatureQuery struct

func (*DateDistanceFeatureQueryBuilder) Field ¶

func (*DateDistanceFeatureQueryBuilder) Origin ¶

func (*DateDistanceFeatureQueryBuilder) Pivot ¶

func (*DateDistanceFeatureQueryBuilder) QueryName_ ¶

type DateFormatBuilder ¶

type DateFormatBuilder struct {
	// contains filtered or unexported fields
}

DateFormatBuilder holds DateFormat struct and provides a builder API.

func NewDateFormatBuilder ¶

func NewDateFormatBuilder() *DateFormatBuilder

NewDateFormat provides a builder for the DateFormat struct.

func (*DateFormatBuilder) Build ¶

func (b *DateFormatBuilder) Build() DateFormat

Build finalize the chain and returns the DateFormat struct

func (*DateFormatBuilder) DateFormat ¶

func (b *DateFormatBuilder) DateFormat(value DateFormat) *DateFormatBuilder

type DateHistogramAggregateBuilder ¶

type DateHistogramAggregateBuilder struct {
	// contains filtered or unexported fields
}

DateHistogramAggregateBuilder holds DateHistogramAggregate struct and provides a builder API.

func NewDateHistogramAggregateBuilder ¶

func NewDateHistogramAggregateBuilder() *DateHistogramAggregateBuilder

NewDateHistogramAggregate provides a builder for the DateHistogramAggregate struct.

func (*DateHistogramAggregateBuilder) Buckets ¶

func (*DateHistogramAggregateBuilder) Build ¶

Build finalize the chain and returns the DateHistogramAggregate struct

func (*DateHistogramAggregateBuilder) Meta ¶

type DateHistogramAggregation ¶

type DateHistogramAggregation struct {
	CalendarInterval *calendarinterval.CalendarInterval `json:"calendar_interval,omitempty"`
	ExtendedBounds   *ExtendedBoundsFieldDateMath       `json:"extended_bounds,omitempty"`
	Field            *Field                             `json:"field,omitempty"`
	FixedInterval    *Duration                          `json:"fixed_interval,omitempty"`
	Format           *string                            `json:"format,omitempty"`
	HardBounds       *ExtendedBoundsFieldDateMath       `json:"hard_bounds,omitempty"`
	Interval         *Duration                          `json:"interval,omitempty"`
	Keyed            *bool                              `json:"keyed,omitempty"`
	Meta             *Metadata                          `json:"meta,omitempty"`
	MinDocCount      *int                               `json:"min_doc_count,omitempty"`
	Missing          *DateTime                          `json:"missing,omitempty"`
	Name             *string                            `json:"name,omitempty"`
	Offset           *Duration                          `json:"offset,omitempty"`
	Order            *AggregateOrder                    `json:"order,omitempty"`
	Params           map[string]interface{}             `json:"params,omitempty"`
	Script           *Script                            `json:"script,omitempty"`
	TimeZone         *TimeZone                          `json:"time_zone,omitempty"`
}

DateHistogramAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L90-L107

type DateHistogramAggregationBuilder ¶

type DateHistogramAggregationBuilder struct {
	// contains filtered or unexported fields
}

DateHistogramAggregationBuilder holds DateHistogramAggregation struct and provides a builder API.

func NewDateHistogramAggregationBuilder ¶

func NewDateHistogramAggregationBuilder() *DateHistogramAggregationBuilder

NewDateHistogramAggregation provides a builder for the DateHistogramAggregation struct.

func (*DateHistogramAggregationBuilder) Build ¶

Build finalize the chain and returns the DateHistogramAggregation struct

func (*DateHistogramAggregationBuilder) CalendarInterval ¶

func (*DateHistogramAggregationBuilder) ExtendedBounds ¶

func (*DateHistogramAggregationBuilder) Field ¶

func (*DateHistogramAggregationBuilder) FixedInterval ¶

func (*DateHistogramAggregationBuilder) Format ¶

func (*DateHistogramAggregationBuilder) HardBounds ¶

func (*DateHistogramAggregationBuilder) Interval ¶

func (*DateHistogramAggregationBuilder) Keyed ¶

func (*DateHistogramAggregationBuilder) Meta ¶

func (*DateHistogramAggregationBuilder) MinDocCount ¶

func (*DateHistogramAggregationBuilder) Missing ¶

func (*DateHistogramAggregationBuilder) Name ¶

func (*DateHistogramAggregationBuilder) Offset ¶

func (*DateHistogramAggregationBuilder) Order ¶

func (*DateHistogramAggregationBuilder) Params ¶

func (rb *DateHistogramAggregationBuilder) Params(value map[string]interface{}) *DateHistogramAggregationBuilder

func (*DateHistogramAggregationBuilder) Script ¶

func (*DateHistogramAggregationBuilder) TimeZone ¶

type DateHistogramBucket ¶

type DateHistogramBucket struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Key          EpochTimeUnitMillis         `json:"key"`
	KeyAsString  *string                     `json:"key_as_string,omitempty"`
}

DateHistogramBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L338-L341

type DateHistogramBucketBuilder ¶

type DateHistogramBucketBuilder struct {
	// contains filtered or unexported fields
}

DateHistogramBucketBuilder holds DateHistogramBucket struct and provides a builder API.

func NewDateHistogramBucketBuilder ¶

func NewDateHistogramBucketBuilder() *DateHistogramBucketBuilder

NewDateHistogramBucket provides a builder for the DateHistogramBucket struct.

func (*DateHistogramBucketBuilder) Aggregations ¶

func (*DateHistogramBucketBuilder) Build ¶

Build finalize the chain and returns the DateHistogramBucket struct

func (*DateHistogramBucketBuilder) DocCount ¶

func (*DateHistogramBucketBuilder) Key ¶

func (*DateHistogramBucketBuilder) KeyAsString ¶

func (rb *DateHistogramBucketBuilder) KeyAsString(keyasstring string) *DateHistogramBucketBuilder

type DateHistogramGrouping ¶

type DateHistogramGrouping struct {
	CalendarInterval *Duration `json:"calendar_interval,omitempty"`
	Delay            *Duration `json:"delay,omitempty"`
	Field            Field     `json:"field"`
	FixedInterval    *Duration `json:"fixed_interval,omitempty"`
	Format           *string   `json:"format,omitempty"`
	Interval         *Duration `json:"interval,omitempty"`
	TimeZone         *TimeZone `json:"time_zone,omitempty"`
}

DateHistogramGrouping type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/rollup/_types/Groupings.ts#L30-L38

type DateHistogramGroupingBuilder ¶

type DateHistogramGroupingBuilder struct {
	// contains filtered or unexported fields
}

DateHistogramGroupingBuilder holds DateHistogramGrouping struct and provides a builder API.

func NewDateHistogramGroupingBuilder ¶

func NewDateHistogramGroupingBuilder() *DateHistogramGroupingBuilder

NewDateHistogramGrouping provides a builder for the DateHistogramGrouping struct.

func (*DateHistogramGroupingBuilder) Build ¶

Build finalize the chain and returns the DateHistogramGrouping struct

func (*DateHistogramGroupingBuilder) CalendarInterval ¶

func (rb *DateHistogramGroupingBuilder) CalendarInterval(calendarinterval *DurationBuilder) *DateHistogramGroupingBuilder

func (*DateHistogramGroupingBuilder) Delay ¶

func (*DateHistogramGroupingBuilder) Field ¶

func (*DateHistogramGroupingBuilder) FixedInterval ¶

func (*DateHistogramGroupingBuilder) Format ¶

func (*DateHistogramGroupingBuilder) Interval ¶

func (*DateHistogramGroupingBuilder) TimeZone ¶

type DateIndexNameProcessor ¶

type DateIndexNameProcessor struct {
	DateFormats []string `json:"date_formats"`
	// DateRounding How to round the date when formatting the date into the index name. Valid
	// values are:
	// `y` (year), `M` (month), `w` (week), `d` (day), `h` (hour), `m` (minute) and
	// `s` (second).
	// Supports template snippets.
	DateRounding    string               `json:"date_rounding"`
	Field           Field                `json:"field"`
	If              *string              `json:"if,omitempty"`
	IgnoreFailure   *bool                `json:"ignore_failure,omitempty"`
	IndexNameFormat string               `json:"index_name_format"`
	IndexNamePrefix string               `json:"index_name_prefix"`
	Locale          string               `json:"locale"`
	OnFailure       []ProcessorContainer `json:"on_failure,omitempty"`
	Tag             *string              `json:"tag,omitempty"`
	Timezone        string               `json:"timezone"`
}

DateIndexNameProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L164-L177

type DateIndexNameProcessorBuilder ¶

type DateIndexNameProcessorBuilder struct {
	// contains filtered or unexported fields
}

DateIndexNameProcessorBuilder holds DateIndexNameProcessor struct and provides a builder API.

func NewDateIndexNameProcessorBuilder ¶

func NewDateIndexNameProcessorBuilder() *DateIndexNameProcessorBuilder

NewDateIndexNameProcessor provides a builder for the DateIndexNameProcessor struct.

func (*DateIndexNameProcessorBuilder) Build ¶

Build finalize the chain and returns the DateIndexNameProcessor struct

func (*DateIndexNameProcessorBuilder) DateFormats ¶

func (rb *DateIndexNameProcessorBuilder) DateFormats(date_formats ...string) *DateIndexNameProcessorBuilder

func (*DateIndexNameProcessorBuilder) DateRounding ¶

func (rb *DateIndexNameProcessorBuilder) DateRounding(daterounding string) *DateIndexNameProcessorBuilder

func (*DateIndexNameProcessorBuilder) Field ¶

func (*DateIndexNameProcessorBuilder) If_ ¶

func (*DateIndexNameProcessorBuilder) IgnoreFailure ¶

func (rb *DateIndexNameProcessorBuilder) IgnoreFailure(ignorefailure bool) *DateIndexNameProcessorBuilder

func (*DateIndexNameProcessorBuilder) IndexNameFormat ¶

func (rb *DateIndexNameProcessorBuilder) IndexNameFormat(indexnameformat string) *DateIndexNameProcessorBuilder

func (*DateIndexNameProcessorBuilder) IndexNamePrefix ¶

func (rb *DateIndexNameProcessorBuilder) IndexNamePrefix(indexnameprefix string) *DateIndexNameProcessorBuilder

func (*DateIndexNameProcessorBuilder) Locale ¶

func (*DateIndexNameProcessorBuilder) OnFailure ¶

func (*DateIndexNameProcessorBuilder) Tag ¶

func (*DateIndexNameProcessorBuilder) Timezone ¶

type DateMathBuilder ¶

type DateMathBuilder struct {
	// contains filtered or unexported fields
}

DateMathBuilder holds DateMath struct and provides a builder API.

func NewDateMathBuilder ¶

func NewDateMathBuilder() *DateMathBuilder

NewDateMath provides a builder for the DateMath struct.

func (*DateMathBuilder) Build ¶

func (b *DateMathBuilder) Build() DateMath

Build finalize the chain and returns the DateMath struct

func (*DateMathBuilder) DateMath ¶

func (b *DateMathBuilder) DateMath(value DateMath) *DateMathBuilder

type DateNanosProperty ¶

type DateNanosProperty struct {
	Boost           *float64                       `json:"boost,omitempty"`
	CopyTo          *Fields                        `json:"copy_to,omitempty"`
	DocValues       *bool                          `json:"doc_values,omitempty"`
	Dynamic         *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields          map[PropertyName]Property      `json:"fields,omitempty"`
	Format          *string                        `json:"format,omitempty"`
	IgnoreAbove     *int                           `json:"ignore_above,omitempty"`
	IgnoreMalformed *bool                          `json:"ignore_malformed,omitempty"`
	Index           *bool                          `json:"index,omitempty"`
	LocalMetadata   *Metadata                      `json:"local_metadata,omitempty"`
	Meta            map[string]string              `json:"meta,omitempty"`
	NullValue       *DateTime                      `json:"null_value,omitempty"`
	PrecisionStep   *int                           `json:"precision_step,omitempty"`
	Properties      map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity      *string                        `json:"similarity,omitempty"`
	Store           *bool                          `json:"store,omitempty"`
	Type            string                         `json:"type,omitempty"`
}

DateNanosProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L73-L81

type DateNanosPropertyBuilder ¶

type DateNanosPropertyBuilder struct {
	// contains filtered or unexported fields
}

DateNanosPropertyBuilder holds DateNanosProperty struct and provides a builder API.

func NewDateNanosPropertyBuilder ¶

func NewDateNanosPropertyBuilder() *DateNanosPropertyBuilder

NewDateNanosProperty provides a builder for the DateNanosProperty struct.

func (*DateNanosPropertyBuilder) Boost ¶

func (*DateNanosPropertyBuilder) Build ¶

Build finalize the chain and returns the DateNanosProperty struct

func (*DateNanosPropertyBuilder) CopyTo ¶

func (*DateNanosPropertyBuilder) DocValues ¶

func (rb *DateNanosPropertyBuilder) DocValues(docvalues bool) *DateNanosPropertyBuilder

func (*DateNanosPropertyBuilder) Dynamic ¶

func (*DateNanosPropertyBuilder) Fields ¶

func (*DateNanosPropertyBuilder) Format ¶

func (*DateNanosPropertyBuilder) IgnoreAbove ¶

func (rb *DateNanosPropertyBuilder) IgnoreAbove(ignoreabove int) *DateNanosPropertyBuilder

func (*DateNanosPropertyBuilder) IgnoreMalformed ¶

func (rb *DateNanosPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *DateNanosPropertyBuilder

func (*DateNanosPropertyBuilder) Index ¶

func (*DateNanosPropertyBuilder) LocalMetadata ¶

func (rb *DateNanosPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *DateNanosPropertyBuilder

func (*DateNanosPropertyBuilder) Meta ¶

func (*DateNanosPropertyBuilder) NullValue ¶

func (*DateNanosPropertyBuilder) PrecisionStep ¶

func (rb *DateNanosPropertyBuilder) PrecisionStep(precisionstep int) *DateNanosPropertyBuilder

func (*DateNanosPropertyBuilder) Properties ¶

func (*DateNanosPropertyBuilder) Similarity ¶

func (rb *DateNanosPropertyBuilder) Similarity(similarity string) *DateNanosPropertyBuilder

func (*DateNanosPropertyBuilder) Store ¶

type DateProcessor ¶

type DateProcessor struct {
	Field         Field                `json:"field"`
	Formats       []string             `json:"formats"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	Locale        *string              `json:"locale,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
	TargetField   *Field               `json:"target_field,omitempty"`
	Timezone      *string              `json:"timezone,omitempty"`
}

DateProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L179-L185

type DateProcessorBuilder ¶

type DateProcessorBuilder struct {
	// contains filtered or unexported fields
}

DateProcessorBuilder holds DateProcessor struct and provides a builder API.

func NewDateProcessorBuilder ¶

func NewDateProcessorBuilder() *DateProcessorBuilder

NewDateProcessor provides a builder for the DateProcessor struct.

func (*DateProcessorBuilder) Build ¶

func (rb *DateProcessorBuilder) Build() DateProcessor

Build finalize the chain and returns the DateProcessor struct

func (*DateProcessorBuilder) Field ¶

func (*DateProcessorBuilder) Formats ¶

func (rb *DateProcessorBuilder) Formats(formats ...string) *DateProcessorBuilder

func (*DateProcessorBuilder) If_ ¶

func (*DateProcessorBuilder) IgnoreFailure ¶

func (rb *DateProcessorBuilder) IgnoreFailure(ignorefailure bool) *DateProcessorBuilder

func (*DateProcessorBuilder) Locale ¶

func (rb *DateProcessorBuilder) Locale(locale string) *DateProcessorBuilder

func (*DateProcessorBuilder) OnFailure ¶

func (*DateProcessorBuilder) Tag ¶

func (*DateProcessorBuilder) TargetField ¶

func (rb *DateProcessorBuilder) TargetField(targetfield Field) *DateProcessorBuilder

func (*DateProcessorBuilder) Timezone ¶

func (rb *DateProcessorBuilder) Timezone(timezone string) *DateProcessorBuilder

type DateProperty ¶

type DateProperty struct {
	Boost           *float64                       `json:"boost,omitempty"`
	CopyTo          *Fields                        `json:"copy_to,omitempty"`
	DocValues       *bool                          `json:"doc_values,omitempty"`
	Dynamic         *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fielddata       *NumericFielddata              `json:"fielddata,omitempty"`
	Fields          map[PropertyName]Property      `json:"fields,omitempty"`
	Format          *string                        `json:"format,omitempty"`
	IgnoreAbove     *int                           `json:"ignore_above,omitempty"`
	IgnoreMalformed *bool                          `json:"ignore_malformed,omitempty"`
	Index           *bool                          `json:"index,omitempty"`
	LocalMetadata   *Metadata                      `json:"local_metadata,omitempty"`
	Locale          *string                        `json:"locale,omitempty"`
	Meta            map[string]string              `json:"meta,omitempty"`
	NullValue       *DateTime                      `json:"null_value,omitempty"`
	PrecisionStep   *int                           `json:"precision_step,omitempty"`
	Properties      map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity      *string                        `json:"similarity,omitempty"`
	Store           *bool                          `json:"store,omitempty"`
	Type            string                         `json:"type,omitempty"`
}

DateProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L61-L71

type DatePropertyBuilder ¶

type DatePropertyBuilder struct {
	// contains filtered or unexported fields
}

DatePropertyBuilder holds DateProperty struct and provides a builder API.

func NewDatePropertyBuilder ¶

func NewDatePropertyBuilder() *DatePropertyBuilder

NewDateProperty provides a builder for the DateProperty struct.

func (*DatePropertyBuilder) Boost ¶

func (*DatePropertyBuilder) Build ¶

func (rb *DatePropertyBuilder) Build() DateProperty

Build finalize the chain and returns the DateProperty struct

func (*DatePropertyBuilder) CopyTo ¶

func (*DatePropertyBuilder) DocValues ¶

func (rb *DatePropertyBuilder) DocValues(docvalues bool) *DatePropertyBuilder

func (*DatePropertyBuilder) Dynamic ¶

func (*DatePropertyBuilder) Fielddata ¶

func (*DatePropertyBuilder) Fields ¶

func (*DatePropertyBuilder) Format ¶

func (rb *DatePropertyBuilder) Format(format string) *DatePropertyBuilder

func (*DatePropertyBuilder) IgnoreAbove ¶

func (rb *DatePropertyBuilder) IgnoreAbove(ignoreabove int) *DatePropertyBuilder

func (*DatePropertyBuilder) IgnoreMalformed ¶

func (rb *DatePropertyBuilder) IgnoreMalformed(ignoremalformed bool) *DatePropertyBuilder

func (*DatePropertyBuilder) Index ¶

func (rb *DatePropertyBuilder) Index(index bool) *DatePropertyBuilder

func (*DatePropertyBuilder) LocalMetadata ¶

func (rb *DatePropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *DatePropertyBuilder

func (*DatePropertyBuilder) Locale ¶

func (rb *DatePropertyBuilder) Locale(locale string) *DatePropertyBuilder

func (*DatePropertyBuilder) Meta ¶

func (*DatePropertyBuilder) NullValue ¶

func (rb *DatePropertyBuilder) NullValue(nullvalue *DateTimeBuilder) *DatePropertyBuilder

func (*DatePropertyBuilder) PrecisionStep ¶

func (rb *DatePropertyBuilder) PrecisionStep(precisionstep int) *DatePropertyBuilder

func (*DatePropertyBuilder) Properties ¶

func (*DatePropertyBuilder) Similarity ¶

func (rb *DatePropertyBuilder) Similarity(similarity string) *DatePropertyBuilder

func (*DatePropertyBuilder) Store ¶

func (rb *DatePropertyBuilder) Store(store bool) *DatePropertyBuilder

type DateRangeAggregateBuilder ¶

type DateRangeAggregateBuilder struct {
	// contains filtered or unexported fields
}

DateRangeAggregateBuilder holds DateRangeAggregate struct and provides a builder API.

func NewDateRangeAggregateBuilder ¶

func NewDateRangeAggregateBuilder() *DateRangeAggregateBuilder

NewDateRangeAggregate provides a builder for the DateRangeAggregate struct.

func (*DateRangeAggregateBuilder) Buckets ¶

func (*DateRangeAggregateBuilder) Build ¶

Build finalize the chain and returns the DateRangeAggregate struct

func (*DateRangeAggregateBuilder) Meta ¶

type DateRangeAggregation ¶

type DateRangeAggregation struct {
	Field    *Field                `json:"field,omitempty"`
	Format   *string               `json:"format,omitempty"`
	Keyed    *bool                 `json:"keyed,omitempty"`
	Meta     *Metadata             `json:"meta,omitempty"`
	Missing  *Missing              `json:"missing,omitempty"`
	Name     *string               `json:"name,omitempty"`
	Ranges   []DateRangeExpression `json:"ranges,omitempty"`
	TimeZone *TimeZone             `json:"time_zone,omitempty"`
}

DateRangeAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L128-L135

type DateRangeAggregationBuilder ¶

type DateRangeAggregationBuilder struct {
	// contains filtered or unexported fields
}

DateRangeAggregationBuilder holds DateRangeAggregation struct and provides a builder API.

func NewDateRangeAggregationBuilder ¶

func NewDateRangeAggregationBuilder() *DateRangeAggregationBuilder

NewDateRangeAggregation provides a builder for the DateRangeAggregation struct.

func (*DateRangeAggregationBuilder) Build ¶

Build finalize the chain and returns the DateRangeAggregation struct

func (*DateRangeAggregationBuilder) Field ¶

func (*DateRangeAggregationBuilder) Format ¶

func (*DateRangeAggregationBuilder) Keyed ¶

func (*DateRangeAggregationBuilder) Meta ¶

func (*DateRangeAggregationBuilder) Missing ¶

func (*DateRangeAggregationBuilder) Name ¶

func (*DateRangeAggregationBuilder) Ranges ¶

func (*DateRangeAggregationBuilder) TimeZone ¶

type DateRangeExpression ¶

type DateRangeExpression struct {
	From *FieldDateMath `json:"from,omitempty"`
	Key  *string        `json:"key,omitempty"`
	To   *FieldDateMath `json:"to,omitempty"`
}

DateRangeExpression type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L146-L150

type DateRangeExpressionBuilder ¶

type DateRangeExpressionBuilder struct {
	// contains filtered or unexported fields
}

DateRangeExpressionBuilder holds DateRangeExpression struct and provides a builder API.

func NewDateRangeExpressionBuilder ¶

func NewDateRangeExpressionBuilder() *DateRangeExpressionBuilder

NewDateRangeExpression provides a builder for the DateRangeExpression struct.

func (*DateRangeExpressionBuilder) Build ¶

Build finalize the chain and returns the DateRangeExpression struct

func (*DateRangeExpressionBuilder) From ¶

func (*DateRangeExpressionBuilder) Key ¶

func (*DateRangeExpressionBuilder) To ¶

type DateRangeProperty ¶

type DateRangeProperty struct {
	Boost         *float64                       `json:"boost,omitempty"`
	Coerce        *bool                          `json:"coerce,omitempty"`
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	DocValues     *bool                          `json:"doc_values,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	Format        *string                        `json:"format,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	Index         *bool                          `json:"index,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

DateRangeProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/range.ts#L29-L32

type DateRangePropertyBuilder ¶

type DateRangePropertyBuilder struct {
	// contains filtered or unexported fields
}

DateRangePropertyBuilder holds DateRangeProperty struct and provides a builder API.

func NewDateRangePropertyBuilder ¶

func NewDateRangePropertyBuilder() *DateRangePropertyBuilder

NewDateRangeProperty provides a builder for the DateRangeProperty struct.

func (*DateRangePropertyBuilder) Boost ¶

func (*DateRangePropertyBuilder) Build ¶

Build finalize the chain and returns the DateRangeProperty struct

func (*DateRangePropertyBuilder) Coerce ¶

func (*DateRangePropertyBuilder) CopyTo ¶

func (*DateRangePropertyBuilder) DocValues ¶

func (rb *DateRangePropertyBuilder) DocValues(docvalues bool) *DateRangePropertyBuilder

func (*DateRangePropertyBuilder) Dynamic ¶

func (*DateRangePropertyBuilder) Fields ¶

func (*DateRangePropertyBuilder) Format ¶

func (*DateRangePropertyBuilder) IgnoreAbove ¶

func (rb *DateRangePropertyBuilder) IgnoreAbove(ignoreabove int) *DateRangePropertyBuilder

func (*DateRangePropertyBuilder) Index ¶

func (*DateRangePropertyBuilder) LocalMetadata ¶

func (rb *DateRangePropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *DateRangePropertyBuilder

func (*DateRangePropertyBuilder) Meta ¶

func (*DateRangePropertyBuilder) Properties ¶

func (*DateRangePropertyBuilder) Similarity ¶

func (rb *DateRangePropertyBuilder) Similarity(similarity string) *DateRangePropertyBuilder

func (*DateRangePropertyBuilder) Store ¶

type DateRangeQuery ¶

type DateRangeQuery struct {
	Boost      *float32                     `json:"boost,omitempty"`
	Format     *DateFormat                  `json:"format,omitempty"`
	From       DateMath                     `json:"from,omitempty"`
	Gt         *DateMath                    `json:"gt,omitempty"`
	Gte        *DateMath                    `json:"gte,omitempty"`
	Lt         *DateMath                    `json:"lt,omitempty"`
	Lte        *DateMath                    `json:"lte,omitempty"`
	QueryName_ *string                      `json:"_name,omitempty"`
	Relation   *rangerelation.RangeRelation `json:"relation,omitempty"`
	TimeZone   *TimeZone                    `json:"time_zone,omitempty"`
	To         DateMath                     `json:"to,omitempty"`
}

DateRangeQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L81-L90

type DateRangeQueryBuilder ¶

type DateRangeQueryBuilder struct {
	// contains filtered or unexported fields
}

DateRangeQueryBuilder holds DateRangeQuery struct and provides a builder API.

func NewDateRangeQueryBuilder ¶

func NewDateRangeQueryBuilder() *DateRangeQueryBuilder

NewDateRangeQuery provides a builder for the DateRangeQuery struct.

func (*DateRangeQueryBuilder) Boost ¶

func (*DateRangeQueryBuilder) Build ¶

Build finalize the chain and returns the DateRangeQuery struct

func (*DateRangeQueryBuilder) Format ¶

func (*DateRangeQueryBuilder) From ¶

func (*DateRangeQueryBuilder) Gt ¶

func (*DateRangeQueryBuilder) Gte ¶

func (*DateRangeQueryBuilder) Lt ¶

func (*DateRangeQueryBuilder) Lte ¶

func (*DateRangeQueryBuilder) QueryName_ ¶

func (rb *DateRangeQueryBuilder) QueryName_(queryname_ string) *DateRangeQueryBuilder

func (*DateRangeQueryBuilder) Relation ¶

func (*DateRangeQueryBuilder) TimeZone ¶

func (rb *DateRangeQueryBuilder) TimeZone(timezone TimeZone) *DateRangeQueryBuilder

func (*DateRangeQueryBuilder) To ¶

type DateTime ¶

type DateTime interface{}

DateTime holds the union for the following types:

EpochTimeUnitMillis
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Time.ts#L22-L27

type DateTimeBuilder ¶

type DateTimeBuilder struct {
	// contains filtered or unexported fields
}

DateTimeBuilder holds DateTime struct and provides a builder API.

func NewDateTimeBuilder ¶

func NewDateTimeBuilder() *DateTimeBuilder

NewDateTime provides a builder for the DateTime struct.

func (*DateTimeBuilder) Build ¶

func (u *DateTimeBuilder) Build() DateTime

Build finalize the chain and returns the DateTime struct

func (*DateTimeBuilder) EpochTimeUnitMillis ¶

func (u *DateTimeBuilder) EpochTimeUnitMillis(epochtimeunitmillis *EpochTimeUnitMillisBuilder) *DateTimeBuilder

func (*DateTimeBuilder) String ¶

func (u *DateTimeBuilder) String(string string) *DateTimeBuilder

type DecayFunction ¶

type DecayFunction interface{}

DecayFunction holds the union for the following types:

DateDecayFunction
GeoDecayFunction
NumericDecayFunction

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L100-L105

type DecayFunctionBaseBuilder ¶

type DecayFunctionBaseBuilder struct {
	// contains filtered or unexported fields
}

DecayFunctionBaseBuilder holds DecayFunctionBase struct and provides a builder API.

func NewDecayFunctionBaseBuilder ¶

func NewDecayFunctionBaseBuilder() *DecayFunctionBaseBuilder

NewDecayFunctionBase provides a builder for the DecayFunctionBase struct.

func (*DecayFunctionBaseBuilder) Build ¶

Build finalize the chain and returns the DecayFunctionBase struct

func (*DecayFunctionBaseBuilder) MultiValueMode ¶

type DecayFunctionBuilder ¶

type DecayFunctionBuilder struct {
	// contains filtered or unexported fields
}

DecayFunctionBuilder holds DecayFunction struct and provides a builder API.

func NewDecayFunctionBuilder ¶

func NewDecayFunctionBuilder() *DecayFunctionBuilder

NewDecayFunction provides a builder for the DecayFunction struct.

func (*DecayFunctionBuilder) Build ¶

Build finalize the chain and returns the DecayFunction struct

func (*DecayFunctionBuilder) DateDecayFunction ¶

func (u *DecayFunctionBuilder) DateDecayFunction(datedecayfunction *DateDecayFunctionBuilder) *DecayFunctionBuilder

func (*DecayFunctionBuilder) GeoDecayFunction ¶

func (u *DecayFunctionBuilder) GeoDecayFunction(geodecayfunction *GeoDecayFunctionBuilder) *DecayFunctionBuilder

func (*DecayFunctionBuilder) NumericDecayFunction ¶

func (u *DecayFunctionBuilder) NumericDecayFunction(numericdecayfunction *NumericDecayFunctionBuilder) *DecayFunctionBuilder

type DecayPlacementDateMathDuration ¶

type DecayPlacementDateMathDuration struct {
	Decay  *float64  `json:"decay,omitempty"`
	Offset *Duration `json:"offset,omitempty"`
	Origin *DateMath `json:"origin,omitempty"`
	Scale  *Duration `json:"scale,omitempty"`
}

DecayPlacementDateMathDuration type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L77-L82

type DecayPlacementDateMathDurationBuilder ¶

type DecayPlacementDateMathDurationBuilder struct {
	// contains filtered or unexported fields
}

DecayPlacementDateMathDurationBuilder holds DecayPlacementDateMathDuration struct and provides a builder API.

func NewDecayPlacementDateMathDurationBuilder ¶

func NewDecayPlacementDateMathDurationBuilder() *DecayPlacementDateMathDurationBuilder

NewDecayPlacementDateMathDuration provides a builder for the DecayPlacementDateMathDuration struct.

func (*DecayPlacementDateMathDurationBuilder) Build ¶

Build finalize the chain and returns the DecayPlacementDateMathDuration struct

func (*DecayPlacementDateMathDurationBuilder) Decay ¶

func (*DecayPlacementDateMathDurationBuilder) Offset ¶

func (*DecayPlacementDateMathDurationBuilder) Origin ¶

func (*DecayPlacementDateMathDurationBuilder) Scale ¶

type DecayPlacementGeoLocationDistance ¶

type DecayPlacementGeoLocationDistance struct {
	Decay  *float64     `json:"decay,omitempty"`
	Offset *Distance    `json:"offset,omitempty"`
	Origin *GeoLocation `json:"origin,omitempty"`
	Scale  *Distance    `json:"scale,omitempty"`
}

DecayPlacementGeoLocationDistance type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L77-L82

type DecayPlacementGeoLocationDistanceBuilder ¶

type DecayPlacementGeoLocationDistanceBuilder struct {
	// contains filtered or unexported fields
}

DecayPlacementGeoLocationDistanceBuilder holds DecayPlacementGeoLocationDistance struct and provides a builder API.

func NewDecayPlacementGeoLocationDistanceBuilder ¶

func NewDecayPlacementGeoLocationDistanceBuilder() *DecayPlacementGeoLocationDistanceBuilder

NewDecayPlacementGeoLocationDistance provides a builder for the DecayPlacementGeoLocationDistance struct.

func (*DecayPlacementGeoLocationDistanceBuilder) Build ¶

Build finalize the chain and returns the DecayPlacementGeoLocationDistance struct

func (*DecayPlacementGeoLocationDistanceBuilder) Decay ¶

func (*DecayPlacementGeoLocationDistanceBuilder) Offset ¶

func (*DecayPlacementGeoLocationDistanceBuilder) Origin ¶

func (*DecayPlacementGeoLocationDistanceBuilder) Scale ¶

type DecayPlacementdoubledouble ¶

type DecayPlacementdoubledouble struct {
	Decay  *float64 `json:"decay,omitempty"`
	Offset *float64 `json:"offset,omitempty"`
	Origin *float64 `json:"origin,omitempty"`
	Scale  *float64 `json:"scale,omitempty"`
}

DecayPlacementdoubledouble type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L77-L82

type DecayPlacementdoubledoubleBuilder ¶

type DecayPlacementdoubledoubleBuilder struct {
	// contains filtered or unexported fields
}

DecayPlacementdoubledoubleBuilder holds DecayPlacementdoubledouble struct and provides a builder API.

func NewDecayPlacementdoubledoubleBuilder ¶

func NewDecayPlacementdoubledoubleBuilder() *DecayPlacementdoubledoubleBuilder

NewDecayPlacementdoubledouble provides a builder for the DecayPlacementdoubledouble struct.

func (*DecayPlacementdoubledoubleBuilder) Build ¶

Build finalize the chain and returns the DecayPlacementdoubledouble struct

func (*DecayPlacementdoubledoubleBuilder) Decay ¶

func (*DecayPlacementdoubledoubleBuilder) Offset ¶

func (*DecayPlacementdoubledoubleBuilder) Origin ¶

func (*DecayPlacementdoubledoubleBuilder) Scale ¶

type Defaults ¶

type Defaults struct {
	AnomalyDetectors AnomalyDetectors `json:"anomaly_detectors"`
	Datafeeds        Datafeeds        `json:"datafeeds"`
}

Defaults type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/info/types.ts#L24-L27

type DefaultsBuilder ¶

type DefaultsBuilder struct {
	// contains filtered or unexported fields
}

DefaultsBuilder holds Defaults struct and provides a builder API.

func NewDefaultsBuilder ¶

func NewDefaultsBuilder() *DefaultsBuilder

NewDefaults provides a builder for the Defaults struct.

func (*DefaultsBuilder) AnomalyDetectors ¶

func (rb *DefaultsBuilder) AnomalyDetectors(anomalydetectors *AnomalyDetectorsBuilder) *DefaultsBuilder

func (*DefaultsBuilder) Build ¶

func (rb *DefaultsBuilder) Build() Defaults

Build finalize the chain and returns the Defaults struct

func (*DefaultsBuilder) Datafeeds ¶

func (rb *DefaultsBuilder) Datafeeds(datafeeds *DatafeedsBuilder) *DefaultsBuilder

type Definition ¶

type Definition struct {
	// Preprocessors Collection of preprocessors
	Preprocessors []Preprocessor `json:"preprocessors,omitempty"`
	// TrainedModel The definition of the trained model.
	TrainedModel TrainedModel `json:"trained_model"`
}

Definition type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/put_trained_model/types.ts#L24-L29

type DefinitionBuilder ¶

type DefinitionBuilder struct {
	// contains filtered or unexported fields
}

DefinitionBuilder holds Definition struct and provides a builder API.

func NewDefinitionBuilder ¶

func NewDefinitionBuilder() *DefinitionBuilder

NewDefinition provides a builder for the Definition struct.

func (*DefinitionBuilder) Build ¶

func (rb *DefinitionBuilder) Build() Definition

Build finalize the chain and returns the Definition struct

func (*DefinitionBuilder) Preprocessors ¶

func (rb *DefinitionBuilder) Preprocessors(preprocessors []PreprocessorBuilder) *DefinitionBuilder

func (*DefinitionBuilder) TrainedModel ¶

func (rb *DefinitionBuilder) TrainedModel(trainedmodel *TrainedModelBuilder) *DefinitionBuilder

type DelayedDataCheckConfig ¶

type DelayedDataCheckConfig struct {
	// CheckWindow The window of time that is searched for late data. This window of time ends
	// with the latest finalized bucket.
	// It defaults to null, which causes an appropriate `check_window` to be
	// calculated when the real-time datafeed runs.
	// In particular, the default `check_window` span calculation is based on the
	// maximum of `2h` or `8 * bucket_span`.
	CheckWindow *Duration `json:"check_window,omitempty"`
	// Enabled Specifies whether the datafeed periodically checks for delayed data.
	Enabled bool `json:"enabled"`
}

DelayedDataCheckConfig type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Datafeed.ts#L119-L130

type DelayedDataCheckConfigBuilder ¶

type DelayedDataCheckConfigBuilder struct {
	// contains filtered or unexported fields
}

DelayedDataCheckConfigBuilder holds DelayedDataCheckConfig struct and provides a builder API.

func NewDelayedDataCheckConfigBuilder ¶

func NewDelayedDataCheckConfigBuilder() *DelayedDataCheckConfigBuilder

NewDelayedDataCheckConfig provides a builder for the DelayedDataCheckConfig struct.

func (*DelayedDataCheckConfigBuilder) Build ¶

Build finalize the chain and returns the DelayedDataCheckConfig struct

func (*DelayedDataCheckConfigBuilder) CheckWindow ¶

func (*DelayedDataCheckConfigBuilder) Enabled ¶

type DelimitedPayloadTokenFilter ¶

type DelimitedPayloadTokenFilter struct {
	Delimiter *string                                            `json:"delimiter,omitempty"`
	Encoding  *delimitedpayloadencoding.DelimitedPayloadEncoding `json:"encoding,omitempty"`
	Type      string                                             `json:"type,omitempty"`
	Version   *VersionString                                     `json:"version,omitempty"`
}

DelimitedPayloadTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L67-L71

type DelimitedPayloadTokenFilterBuilder ¶

type DelimitedPayloadTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

DelimitedPayloadTokenFilterBuilder holds DelimitedPayloadTokenFilter struct and provides a builder API.

func NewDelimitedPayloadTokenFilterBuilder ¶

func NewDelimitedPayloadTokenFilterBuilder() *DelimitedPayloadTokenFilterBuilder

NewDelimitedPayloadTokenFilter provides a builder for the DelimitedPayloadTokenFilter struct.

func (*DelimitedPayloadTokenFilterBuilder) Build ¶

Build finalize the chain and returns the DelimitedPayloadTokenFilter struct

func (*DelimitedPayloadTokenFilterBuilder) Delimiter ¶

func (*DelimitedPayloadTokenFilterBuilder) Version ¶

type DenseVectorIndexOptions ¶

type DenseVectorIndexOptions struct {
	EfConstruction int    `json:"ef_construction"`
	M              int    `json:"m"`
	Type           string `json:"type"`
}

DenseVectorIndexOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/DenseVectorIndexOptions.ts#L22-L26

type DenseVectorIndexOptionsBuilder ¶

type DenseVectorIndexOptionsBuilder struct {
	// contains filtered or unexported fields
}

DenseVectorIndexOptionsBuilder holds DenseVectorIndexOptions struct and provides a builder API.

func NewDenseVectorIndexOptionsBuilder ¶

func NewDenseVectorIndexOptionsBuilder() *DenseVectorIndexOptionsBuilder

NewDenseVectorIndexOptions provides a builder for the DenseVectorIndexOptions struct.

func (*DenseVectorIndexOptionsBuilder) Build ¶

Build finalize the chain and returns the DenseVectorIndexOptions struct

func (*DenseVectorIndexOptionsBuilder) EfConstruction ¶

func (rb *DenseVectorIndexOptionsBuilder) EfConstruction(efconstruction int) *DenseVectorIndexOptionsBuilder

func (*DenseVectorIndexOptionsBuilder) M ¶

func (*DenseVectorIndexOptionsBuilder) Type_ ¶

type DenseVectorProperty ¶

type DenseVectorProperty struct {
	Dims          int                            `json:"dims"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	Index         *bool                          `json:"index,omitempty"`
	IndexOptions  *DenseVectorIndexOptions       `json:"index_options,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

DenseVectorProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/complex.ts#L50-L56

type DenseVectorPropertyBuilder ¶

type DenseVectorPropertyBuilder struct {
	// contains filtered or unexported fields
}

DenseVectorPropertyBuilder holds DenseVectorProperty struct and provides a builder API.

func NewDenseVectorPropertyBuilder ¶

func NewDenseVectorPropertyBuilder() *DenseVectorPropertyBuilder

NewDenseVectorProperty provides a builder for the DenseVectorProperty struct.

func (*DenseVectorPropertyBuilder) Build ¶

Build finalize the chain and returns the DenseVectorProperty struct

func (*DenseVectorPropertyBuilder) Dims ¶

func (*DenseVectorPropertyBuilder) Dynamic ¶

func (*DenseVectorPropertyBuilder) Fields ¶

func (*DenseVectorPropertyBuilder) IgnoreAbove ¶

func (rb *DenseVectorPropertyBuilder) IgnoreAbove(ignoreabove int) *DenseVectorPropertyBuilder

func (*DenseVectorPropertyBuilder) Index ¶

func (*DenseVectorPropertyBuilder) IndexOptions ¶

func (*DenseVectorPropertyBuilder) LocalMetadata ¶

func (rb *DenseVectorPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *DenseVectorPropertyBuilder

func (*DenseVectorPropertyBuilder) Meta ¶

func (*DenseVectorPropertyBuilder) Properties ¶

func (*DenseVectorPropertyBuilder) Similarity ¶

func (rb *DenseVectorPropertyBuilder) Similarity(similarity string) *DenseVectorPropertyBuilder

type Deprecation ¶

type Deprecation struct {
	Details string `json:"details"`
	// Level The level property describes the significance of the issue.
	Level   deprecationlevel.DeprecationLevel `json:"level"`
	Message string                            `json:"message"`
	Url     string                            `json:"url"`
}

Deprecation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/migration/deprecations/types.ts#L29-L35

type DeprecationBuilder ¶

type DeprecationBuilder struct {
	// contains filtered or unexported fields
}

DeprecationBuilder holds Deprecation struct and provides a builder API.

func NewDeprecationBuilder ¶

func NewDeprecationBuilder() *DeprecationBuilder

NewDeprecation provides a builder for the Deprecation struct.

func (*DeprecationBuilder) Build ¶

func (rb *DeprecationBuilder) Build() Deprecation

Build finalize the chain and returns the Deprecation struct

func (*DeprecationBuilder) Details ¶

func (rb *DeprecationBuilder) Details(details string) *DeprecationBuilder

func (*DeprecationBuilder) Level ¶

func (*DeprecationBuilder) Message ¶

func (rb *DeprecationBuilder) Message(message string) *DeprecationBuilder

func (*DeprecationBuilder) Url ¶

type DeprecationIndexingBuilder ¶

type DeprecationIndexingBuilder struct {
	// contains filtered or unexported fields
}

DeprecationIndexingBuilder holds DeprecationIndexing struct and provides a builder API.

func NewDeprecationIndexingBuilder ¶

func NewDeprecationIndexingBuilder() *DeprecationIndexingBuilder

NewDeprecationIndexing provides a builder for the DeprecationIndexing struct.

func (*DeprecationIndexingBuilder) Build ¶

Build finalize the chain and returns the DeprecationIndexing struct

func (*DeprecationIndexingBuilder) Enabled ¶

type DerivativeAggregate ¶

type DerivativeAggregate struct {
	Meta                    *Metadata `json:"meta,omitempty"`
	NormalizedValue         *float64  `json:"normalized_value,omitempty"`
	NormalizedValueAsString *string   `json:"normalized_value_as_string,omitempty"`
	// Value The metric value. A missing value generally means that there was no data to
	// aggregate,
	// unless specified otherwise.
	Value         float64 `json:"value,omitempty"`
	ValueAsString *string `json:"value_as_string,omitempty"`
}

DerivativeAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L216-L220

type DerivativeAggregateBuilder ¶

type DerivativeAggregateBuilder struct {
	// contains filtered or unexported fields
}

DerivativeAggregateBuilder holds DerivativeAggregate struct and provides a builder API.

func NewDerivativeAggregateBuilder ¶

func NewDerivativeAggregateBuilder() *DerivativeAggregateBuilder

NewDerivativeAggregate provides a builder for the DerivativeAggregate struct.

func (*DerivativeAggregateBuilder) Build ¶

Build finalize the chain and returns the DerivativeAggregate struct

func (*DerivativeAggregateBuilder) Meta ¶

func (*DerivativeAggregateBuilder) NormalizedValue ¶

func (rb *DerivativeAggregateBuilder) NormalizedValue(normalizedvalue float64) *DerivativeAggregateBuilder

func (*DerivativeAggregateBuilder) NormalizedValueAsString ¶

func (rb *DerivativeAggregateBuilder) NormalizedValueAsString(normalizedvalueasstring string) *DerivativeAggregateBuilder

func (*DerivativeAggregateBuilder) Value ¶

func (*DerivativeAggregateBuilder) ValueAsString ¶

func (rb *DerivativeAggregateBuilder) ValueAsString(valueasstring string) *DerivativeAggregateBuilder

type DerivativeAggregation ¶

type DerivativeAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
}

DerivativeAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L153-L153

type DerivativeAggregationBuilder ¶

type DerivativeAggregationBuilder struct {
	// contains filtered or unexported fields
}

DerivativeAggregationBuilder holds DerivativeAggregation struct and provides a builder API.

func NewDerivativeAggregationBuilder ¶

func NewDerivativeAggregationBuilder() *DerivativeAggregationBuilder

NewDerivativeAggregation provides a builder for the DerivativeAggregation struct.

func (*DerivativeAggregationBuilder) BucketsPath ¶

func (*DerivativeAggregationBuilder) Build ¶

Build finalize the chain and returns the DerivativeAggregation struct

func (*DerivativeAggregationBuilder) Format ¶

func (*DerivativeAggregationBuilder) GapPolicy ¶

func (*DerivativeAggregationBuilder) Meta ¶

func (*DerivativeAggregationBuilder) Name ¶

type Destination ¶

type Destination struct {
	// Index The destination index for the transform. The mappings of the destination
	// index are deduced based on the source
	// fields when possible. If alternate mappings are required, use the create
	// index API prior to starting the
	// transform.
	Index *IndexName `json:"index,omitempty"`
	// Pipeline The unique identifier for an ingest pipeline.
	Pipeline *string `json:"pipeline,omitempty"`
}

Destination type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/_types/Transform.ts#L34-L45

type DestinationBuilder ¶

type DestinationBuilder struct {
	// contains filtered or unexported fields
}

DestinationBuilder holds Destination struct and provides a builder API.

func NewDestinationBuilder ¶

func NewDestinationBuilder() *DestinationBuilder

NewDestination provides a builder for the Destination struct.

func (*DestinationBuilder) Build ¶

func (rb *DestinationBuilder) Build() Destination

Build finalize the chain and returns the Destination struct

func (*DestinationBuilder) Index ¶

func (*DestinationBuilder) Pipeline ¶

func (rb *DestinationBuilder) Pipeline(pipeline string) *DestinationBuilder

type DetectionRule ¶

type DetectionRule struct {
	// Actions The set of actions to be triggered when the rule applies. If more than one
	// action is specified the effects of all actions are combined.
	Actions []ruleaction.RuleAction `json:"actions,omitempty"`
	// Conditions An array of numeric conditions when the rule applies. A rule must either have
	// a non-empty scope or at least one condition. Multiple conditions are combined
	// together with a logical AND.
	Conditions []RuleCondition `json:"conditions,omitempty"`
	// Scope A scope of series where the rule applies. A rule must either have a non-empty
	// scope or at least one condition. By default, the scope includes all series.
	// Scoping is allowed for any of the fields that are also specified in
	// `by_field_name`, `over_field_name`, or `partition_field_name`.
	Scope map[Field]FilterRef `json:"scope,omitempty"`
}

DetectionRule type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Rule.ts#L25-L39

type DetectionRuleBuilder ¶

type DetectionRuleBuilder struct {
	// contains filtered or unexported fields
}

DetectionRuleBuilder holds DetectionRule struct and provides a builder API.

func NewDetectionRuleBuilder ¶

func NewDetectionRuleBuilder() *DetectionRuleBuilder

NewDetectionRule provides a builder for the DetectionRule struct.

func (*DetectionRuleBuilder) Actions ¶

func (*DetectionRuleBuilder) Build ¶

func (rb *DetectionRuleBuilder) Build() DetectionRule

Build finalize the chain and returns the DetectionRule struct

func (*DetectionRuleBuilder) Conditions ¶

func (rb *DetectionRuleBuilder) Conditions(conditions []RuleConditionBuilder) *DetectionRuleBuilder

func (*DetectionRuleBuilder) Scope ¶

type Detector ¶

type Detector struct {
	// ByFieldName The field used to split the data. In particular, this property is used for
	// analyzing the splits with respect to their own history. It is used for
	// finding unusual values in the context of the split.
	ByFieldName *Field `json:"by_field_name,omitempty"`
	// CustomRules Custom rules enable you to customize the way detectors operate. For example,
	// a rule may dictate conditions under which results should be skipped. Kibana
	// refers to custom rules as job rules.
	CustomRules []DetectionRule `json:"custom_rules,omitempty"`
	// DetectorDescription A description of the detector.
	DetectorDescription *string `json:"detector_description,omitempty"`
	// DetectorIndex A unique identifier for the detector. This identifier is based on the order
	// of the detectors in the `analysis_config`, starting at zero. If you specify a
	// value for this property, it is ignored.
	DetectorIndex *int `json:"detector_index,omitempty"`
	// ExcludeFrequent If set, frequent entities are excluded from influencing the anomaly results.
	// Entities can be considered frequent over time or frequent in a population. If
	// you are working with both over and by fields, you can set `exclude_frequent`
	// to `all` for both fields, or to `by` or `over` for those specific fields.
	ExcludeFrequent *excludefrequent.ExcludeFrequent `json:"exclude_frequent,omitempty"`
	// FieldName The field that the detector uses in the function. If you use an event rate
	// function such as count or rare, do not specify this field. The `field_name`
	// cannot contain double quotes or backslashes.
	FieldName *Field `json:"field_name,omitempty"`
	// Function The analysis function that is used. For example, `count`, `rare`, `mean`,
	// `min`, `max`, or `sum`.
	Function string `json:"function"`
	// OverFieldName The field used to split the data. In particular, this property is used for
	// analyzing the splits with respect to the history of all splits. It is used
	// for finding unusual values in the population of all splits.
	OverFieldName *Field `json:"over_field_name,omitempty"`
	// PartitionFieldName The field used to segment the analysis. When you use this property, you have
	// completely independent baselines for each value of this field.
	PartitionFieldName *Field `json:"partition_field_name,omitempty"`
	// UseNull Defines whether a new series is used as the null series when there is no
	// value for the by or partition fields.
	UseNull *bool `json:"use_null,omitempty"`
}

Detector type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Detector.ts#L25-L67

type DetectorBuilder ¶

type DetectorBuilder struct {
	// contains filtered or unexported fields
}

DetectorBuilder holds Detector struct and provides a builder API.

func NewDetectorBuilder ¶

func NewDetectorBuilder() *DetectorBuilder

NewDetector provides a builder for the Detector struct.

func (*DetectorBuilder) Build ¶

func (rb *DetectorBuilder) Build() Detector

Build finalize the chain and returns the Detector struct

func (*DetectorBuilder) ByFieldName ¶

func (rb *DetectorBuilder) ByFieldName(byfieldname Field) *DetectorBuilder

func (*DetectorBuilder) CustomRules ¶

func (rb *DetectorBuilder) CustomRules(custom_rules []DetectionRuleBuilder) *DetectorBuilder

func (*DetectorBuilder) DetectorDescription ¶

func (rb *DetectorBuilder) DetectorDescription(detectordescription string) *DetectorBuilder

func (*DetectorBuilder) DetectorIndex ¶

func (rb *DetectorBuilder) DetectorIndex(detectorindex int) *DetectorBuilder

func (*DetectorBuilder) ExcludeFrequent ¶

func (rb *DetectorBuilder) ExcludeFrequent(excludefrequent excludefrequent.ExcludeFrequent) *DetectorBuilder

func (*DetectorBuilder) FieldName ¶

func (rb *DetectorBuilder) FieldName(fieldname Field) *DetectorBuilder

func (*DetectorBuilder) Function ¶

func (rb *DetectorBuilder) Function(function string) *DetectorBuilder

func (*DetectorBuilder) OverFieldName ¶

func (rb *DetectorBuilder) OverFieldName(overfieldname Field) *DetectorBuilder

func (*DetectorBuilder) PartitionFieldName ¶

func (rb *DetectorBuilder) PartitionFieldName(partitionfieldname Field) *DetectorBuilder

func (*DetectorBuilder) UseNull ¶

func (rb *DetectorBuilder) UseNull(usenull bool) *DetectorBuilder

type DetectorRead ¶

type DetectorRead struct {
	// ByFieldName The field used to split the data. In particular, this property is used for
	// analyzing the splits with respect to their own history. It is used for
	// finding unusual values in the context of the split.
	ByFieldName *Field `json:"by_field_name,omitempty"`
	// CustomRules Custom rules enable you to customize the way detectors operate. For example,
	// a rule may dictate conditions under which results should be skipped. Kibana
	// refers to custom rules as job rules.
	CustomRules []DetectionRule `json:"custom_rules,omitempty"`
	// DetectorDescription A description of the detector.
	DetectorDescription *string `json:"detector_description,omitempty"`
	// DetectorIndex A unique identifier for the detector. This identifier is based on the order
	// of the detectors in the `analysis_config`, starting at zero. If you specify a
	// value for this property, it is ignored.
	DetectorIndex *int `json:"detector_index,omitempty"`
	// ExcludeFrequent If set, frequent entities are excluded from influencing the anomaly results.
	// Entities can be considered frequent over time or frequent in a population. If
	// you are working with both over and by fields, you can set `exclude_frequent`
	// to `all` for both fields, or to `by` or `over` for those specific fields.
	ExcludeFrequent *excludefrequent.ExcludeFrequent `json:"exclude_frequent,omitempty"`
	// FieldName The field that the detector uses in the function. If you use an event rate
	// function such as count or rare, do not specify this field. The `field_name`
	// cannot contain double quotes or backslashes.
	FieldName *Field `json:"field_name,omitempty"`
	// Function The analysis function that is used. For example, `count`, `rare`, `mean`,
	// `min`, `max`, or `sum`.
	Function string `json:"function"`
	// OverFieldName The field used to split the data. In particular, this property is used for
	// analyzing the splits with respect to the history of all splits. It is used
	// for finding unusual values in the population of all splits.
	OverFieldName *Field `json:"over_field_name,omitempty"`
	// PartitionFieldName The field used to segment the analysis. When you use this property, you have
	// completely independent baselines for each value of this field.
	PartitionFieldName *Field `json:"partition_field_name,omitempty"`
	// UseNull Defines whether a new series is used as the null series when there is no
	// value for the by or partition fields.
	UseNull *bool `json:"use_null,omitempty"`
}

DetectorRead type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Detector.ts#L69-L80

type DetectorReadBuilder ¶

type DetectorReadBuilder struct {
	// contains filtered or unexported fields
}

DetectorReadBuilder holds DetectorRead struct and provides a builder API.

func NewDetectorReadBuilder ¶

func NewDetectorReadBuilder() *DetectorReadBuilder

NewDetectorRead provides a builder for the DetectorRead struct.

func (*DetectorReadBuilder) Build ¶

func (rb *DetectorReadBuilder) Build() DetectorRead

Build finalize the chain and returns the DetectorRead struct

func (*DetectorReadBuilder) ByFieldName ¶

func (rb *DetectorReadBuilder) ByFieldName(byfieldname Field) *DetectorReadBuilder

func (*DetectorReadBuilder) CustomRules ¶

func (rb *DetectorReadBuilder) CustomRules(custom_rules []DetectionRuleBuilder) *DetectorReadBuilder

func (*DetectorReadBuilder) DetectorDescription ¶

func (rb *DetectorReadBuilder) DetectorDescription(detectordescription string) *DetectorReadBuilder

func (*DetectorReadBuilder) DetectorIndex ¶

func (rb *DetectorReadBuilder) DetectorIndex(detectorindex int) *DetectorReadBuilder

func (*DetectorReadBuilder) ExcludeFrequent ¶

func (rb *DetectorReadBuilder) ExcludeFrequent(excludefrequent excludefrequent.ExcludeFrequent) *DetectorReadBuilder

func (*DetectorReadBuilder) FieldName ¶

func (rb *DetectorReadBuilder) FieldName(fieldname Field) *DetectorReadBuilder

func (*DetectorReadBuilder) Function ¶

func (rb *DetectorReadBuilder) Function(function string) *DetectorReadBuilder

func (*DetectorReadBuilder) OverFieldName ¶

func (rb *DetectorReadBuilder) OverFieldName(overfieldname Field) *DetectorReadBuilder

func (*DetectorReadBuilder) PartitionFieldName ¶

func (rb *DetectorReadBuilder) PartitionFieldName(partitionfieldname Field) *DetectorReadBuilder

func (*DetectorReadBuilder) UseNull ¶

func (rb *DetectorReadBuilder) UseNull(usenull bool) *DetectorReadBuilder

type DictionaryDecompounderTokenFilter ¶

type DictionaryDecompounderTokenFilter struct {
	HyphenationPatternsPath *string        `json:"hyphenation_patterns_path,omitempty"`
	MaxSubwordSize          *int           `json:"max_subword_size,omitempty"`
	MinSubwordSize          *int           `json:"min_subword_size,omitempty"`
	MinWordSize             *int           `json:"min_word_size,omitempty"`
	OnlyLongestMatch        *bool          `json:"only_longest_match,omitempty"`
	Type                    string         `json:"type,omitempty"`
	Version                 *VersionString `json:"version,omitempty"`
	WordList                []string       `json:"word_list,omitempty"`
	WordListPath            *string        `json:"word_list_path,omitempty"`
}

DictionaryDecompounderTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L53-L55

type DictionaryDecompounderTokenFilterBuilder ¶

type DictionaryDecompounderTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

DictionaryDecompounderTokenFilterBuilder holds DictionaryDecompounderTokenFilter struct and provides a builder API.

func NewDictionaryDecompounderTokenFilterBuilder ¶

func NewDictionaryDecompounderTokenFilterBuilder() *DictionaryDecompounderTokenFilterBuilder

NewDictionaryDecompounderTokenFilter provides a builder for the DictionaryDecompounderTokenFilter struct.

func (*DictionaryDecompounderTokenFilterBuilder) Build ¶

Build finalize the chain and returns the DictionaryDecompounderTokenFilter struct

func (*DictionaryDecompounderTokenFilterBuilder) HyphenationPatternsPath ¶

func (rb *DictionaryDecompounderTokenFilterBuilder) HyphenationPatternsPath(hyphenationpatternspath string) *DictionaryDecompounderTokenFilterBuilder

func (*DictionaryDecompounderTokenFilterBuilder) MaxSubwordSize ¶

func (*DictionaryDecompounderTokenFilterBuilder) MinSubwordSize ¶

func (*DictionaryDecompounderTokenFilterBuilder) MinWordSize ¶

func (*DictionaryDecompounderTokenFilterBuilder) OnlyLongestMatch ¶

func (*DictionaryDecompounderTokenFilterBuilder) Version ¶

func (*DictionaryDecompounderTokenFilterBuilder) WordList ¶

func (*DictionaryDecompounderTokenFilterBuilder) WordListPath ¶

type DirectGenerator ¶

type DirectGenerator struct {
	Field          Field                    `json:"field"`
	MaxEdits       *int                     `json:"max_edits,omitempty"`
	MaxInspections *float32                 `json:"max_inspections,omitempty"`
	MaxTermFreq    *float32                 `json:"max_term_freq,omitempty"`
	MinDocFreq     *float32                 `json:"min_doc_freq,omitempty"`
	MinWordLength  *int                     `json:"min_word_length,omitempty"`
	PostFilter     *string                  `json:"post_filter,omitempty"`
	PreFilter      *string                  `json:"pre_filter,omitempty"`
	PrefixLength   *int                     `json:"prefix_length,omitempty"`
	Size           *int                     `json:"size,omitempty"`
	SuggestMode    *suggestmode.SuggestMode `json:"suggest_mode,omitempty"`
}

DirectGenerator type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L161-L173

type DirectGeneratorBuilder ¶

type DirectGeneratorBuilder struct {
	// contains filtered or unexported fields
}

DirectGeneratorBuilder holds DirectGenerator struct and provides a builder API.

func NewDirectGeneratorBuilder ¶

func NewDirectGeneratorBuilder() *DirectGeneratorBuilder

NewDirectGenerator provides a builder for the DirectGenerator struct.

func (*DirectGeneratorBuilder) Build ¶

Build finalize the chain and returns the DirectGenerator struct

func (*DirectGeneratorBuilder) Field ¶

func (*DirectGeneratorBuilder) MaxEdits ¶

func (rb *DirectGeneratorBuilder) MaxEdits(maxedits int) *DirectGeneratorBuilder

func (*DirectGeneratorBuilder) MaxInspections ¶

func (rb *DirectGeneratorBuilder) MaxInspections(maxinspections float32) *DirectGeneratorBuilder

func (*DirectGeneratorBuilder) MaxTermFreq ¶

func (rb *DirectGeneratorBuilder) MaxTermFreq(maxtermfreq float32) *DirectGeneratorBuilder

func (*DirectGeneratorBuilder) MinDocFreq ¶

func (rb *DirectGeneratorBuilder) MinDocFreq(mindocfreq float32) *DirectGeneratorBuilder

func (*DirectGeneratorBuilder) MinWordLength ¶

func (rb *DirectGeneratorBuilder) MinWordLength(minwordlength int) *DirectGeneratorBuilder

func (*DirectGeneratorBuilder) PostFilter ¶

func (rb *DirectGeneratorBuilder) PostFilter(postfilter string) *DirectGeneratorBuilder

func (*DirectGeneratorBuilder) PreFilter ¶

func (rb *DirectGeneratorBuilder) PreFilter(prefilter string) *DirectGeneratorBuilder

func (*DirectGeneratorBuilder) PrefixLength ¶

func (rb *DirectGeneratorBuilder) PrefixLength(prefixlength int) *DirectGeneratorBuilder

func (*DirectGeneratorBuilder) Size ¶

func (*DirectGeneratorBuilder) SuggestMode ¶

type DisMaxQuery ¶

type DisMaxQuery struct {
	Boost      *float32         `json:"boost,omitempty"`
	Queries    []QueryContainer `json:"queries"`
	QueryName_ *string          `json:"_name,omitempty"`
	TieBreaker *float64         `json:"tie_breaker,omitempty"`
}

DisMaxQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L46-L50

type DisMaxQueryBuilder ¶

type DisMaxQueryBuilder struct {
	// contains filtered or unexported fields
}

DisMaxQueryBuilder holds DisMaxQuery struct and provides a builder API.

func NewDisMaxQueryBuilder ¶

func NewDisMaxQueryBuilder() *DisMaxQueryBuilder

NewDisMaxQuery provides a builder for the DisMaxQuery struct.

func (*DisMaxQueryBuilder) Boost ¶

func (rb *DisMaxQueryBuilder) Boost(boost float32) *DisMaxQueryBuilder

func (*DisMaxQueryBuilder) Build ¶

func (rb *DisMaxQueryBuilder) Build() DisMaxQuery

Build finalize the chain and returns the DisMaxQuery struct

func (*DisMaxQueryBuilder) Queries ¶

func (*DisMaxQueryBuilder) QueryName_ ¶

func (rb *DisMaxQueryBuilder) QueryName_(queryname_ string) *DisMaxQueryBuilder

func (*DisMaxQueryBuilder) TieBreaker ¶

func (rb *DisMaxQueryBuilder) TieBreaker(tiebreaker float64) *DisMaxQueryBuilder

type Discovery ¶

type Discovery struct {
	ClusterApplierStats     *ClusterAppliedStats          `json:"cluster_applier_stats,omitempty"`
	ClusterStateQueue       *ClusterStateQueue            `json:"cluster_state_queue,omitempty"`
	ClusterStateUpdate      map[string]ClusterStateUpdate `json:"cluster_state_update,omitempty"`
	PublishedClusterStates  *PublishedClusterStates       `json:"published_cluster_states,omitempty"`
	SerializedClusterStates *SerializedClusterState       `json:"serialized_cluster_states,omitempty"`
}

Discovery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L76-L82

type DiscoveryBuilder ¶

type DiscoveryBuilder struct {
	// contains filtered or unexported fields
}

DiscoveryBuilder holds Discovery struct and provides a builder API.

func NewDiscoveryBuilder ¶

func NewDiscoveryBuilder() *DiscoveryBuilder

NewDiscovery provides a builder for the Discovery struct.

func (*DiscoveryBuilder) Build ¶

func (rb *DiscoveryBuilder) Build() Discovery

Build finalize the chain and returns the Discovery struct

func (*DiscoveryBuilder) ClusterApplierStats ¶

func (rb *DiscoveryBuilder) ClusterApplierStats(clusterapplierstats *ClusterAppliedStatsBuilder) *DiscoveryBuilder

func (*DiscoveryBuilder) ClusterStateQueue ¶

func (rb *DiscoveryBuilder) ClusterStateQueue(clusterstatequeue *ClusterStateQueueBuilder) *DiscoveryBuilder

func (*DiscoveryBuilder) ClusterStateUpdate ¶

func (rb *DiscoveryBuilder) ClusterStateUpdate(values map[string]*ClusterStateUpdateBuilder) *DiscoveryBuilder

func (*DiscoveryBuilder) PublishedClusterStates ¶

func (rb *DiscoveryBuilder) PublishedClusterStates(publishedclusterstates *PublishedClusterStatesBuilder) *DiscoveryBuilder

func (*DiscoveryBuilder) SerializedClusterStates ¶

func (rb *DiscoveryBuilder) SerializedClusterStates(serializedclusterstates *SerializedClusterStateBuilder) *DiscoveryBuilder

type DiscoveryNode ¶

type DiscoveryNode struct {
	Attributes       map[string]string `json:"attributes"`
	EphemeralId      Id                `json:"ephemeral_id"`
	Id               Id                `json:"id"`
	Name             Name              `json:"name"`
	TransportAddress TransportAddress  `json:"transport_address"`
}

DiscoveryNode type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DiscoveryNode.ts#L24-L30

type DiscoveryNodeBuilder ¶

type DiscoveryNodeBuilder struct {
	// contains filtered or unexported fields
}

DiscoveryNodeBuilder holds DiscoveryNode struct and provides a builder API.

func NewDiscoveryNodeBuilder ¶

func NewDiscoveryNodeBuilder() *DiscoveryNodeBuilder

NewDiscoveryNode provides a builder for the DiscoveryNode struct.

func (*DiscoveryNodeBuilder) Attributes ¶

func (rb *DiscoveryNodeBuilder) Attributes(value map[string]string) *DiscoveryNodeBuilder

func (*DiscoveryNodeBuilder) Build ¶

func (rb *DiscoveryNodeBuilder) Build() DiscoveryNode

Build finalize the chain and returns the DiscoveryNode struct

func (*DiscoveryNodeBuilder) EphemeralId ¶

func (rb *DiscoveryNodeBuilder) EphemeralId(ephemeralid Id) *DiscoveryNodeBuilder

func (*DiscoveryNodeBuilder) Id ¶

func (*DiscoveryNodeBuilder) Name ¶

func (*DiscoveryNodeBuilder) TransportAddress ¶

func (rb *DiscoveryNodeBuilder) TransportAddress(transportaddress TransportAddress) *DiscoveryNodeBuilder

type DiskUsage ¶

type DiskUsage struct {
	FreeBytes       int64   `json:"free_bytes"`
	FreeDiskPercent float64 `json:"free_disk_percent"`
	Path            string  `json:"path"`
	TotalBytes      int64   `json:"total_bytes"`
	UsedBytes       int64   `json:"used_bytes"`
	UsedDiskPercent float64 `json:"used_disk_percent"`
}

DiskUsage type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/allocation_explain/types.ts#L62-L69

type DiskUsageBuilder ¶

type DiskUsageBuilder struct {
	// contains filtered or unexported fields
}

DiskUsageBuilder holds DiskUsage struct and provides a builder API.

func NewDiskUsageBuilder ¶

func NewDiskUsageBuilder() *DiskUsageBuilder

NewDiskUsage provides a builder for the DiskUsage struct.

func (*DiskUsageBuilder) Build ¶

func (rb *DiskUsageBuilder) Build() DiskUsage

Build finalize the chain and returns the DiskUsage struct

func (*DiskUsageBuilder) FreeBytes ¶

func (rb *DiskUsageBuilder) FreeBytes(freebytes int64) *DiskUsageBuilder

func (*DiskUsageBuilder) FreeDiskPercent ¶

func (rb *DiskUsageBuilder) FreeDiskPercent(freediskpercent float64) *DiskUsageBuilder

func (*DiskUsageBuilder) Path ¶

func (rb *DiskUsageBuilder) Path(path string) *DiskUsageBuilder

func (*DiskUsageBuilder) TotalBytes ¶

func (rb *DiskUsageBuilder) TotalBytes(totalbytes int64) *DiskUsageBuilder

func (*DiskUsageBuilder) UsedBytes ¶

func (rb *DiskUsageBuilder) UsedBytes(usedbytes int64) *DiskUsageBuilder

func (*DiskUsageBuilder) UsedDiskPercent ¶

func (rb *DiskUsageBuilder) UsedDiskPercent(useddiskpercent float64) *DiskUsageBuilder

type DissectProcessor ¶

type DissectProcessor struct {
	AppendSeparator string               `json:"append_separator"`
	Field           Field                `json:"field"`
	If              *string              `json:"if,omitempty"`
	IgnoreFailure   *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing   bool                 `json:"ignore_missing"`
	OnFailure       []ProcessorContainer `json:"on_failure,omitempty"`
	Pattern         string               `json:"pattern"`
	Tag             *string              `json:"tag,omitempty"`
}

DissectProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L187-L192

type DissectProcessorBuilder ¶

type DissectProcessorBuilder struct {
	// contains filtered or unexported fields
}

DissectProcessorBuilder holds DissectProcessor struct and provides a builder API.

func NewDissectProcessorBuilder ¶

func NewDissectProcessorBuilder() *DissectProcessorBuilder

NewDissectProcessor provides a builder for the DissectProcessor struct.

func (*DissectProcessorBuilder) AppendSeparator ¶

func (rb *DissectProcessorBuilder) AppendSeparator(appendseparator string) *DissectProcessorBuilder

func (*DissectProcessorBuilder) Build ¶

Build finalize the chain and returns the DissectProcessor struct

func (*DissectProcessorBuilder) Field ¶

func (*DissectProcessorBuilder) If_ ¶

func (*DissectProcessorBuilder) IgnoreFailure ¶

func (rb *DissectProcessorBuilder) IgnoreFailure(ignorefailure bool) *DissectProcessorBuilder

func (*DissectProcessorBuilder) IgnoreMissing ¶

func (rb *DissectProcessorBuilder) IgnoreMissing(ignoremissing bool) *DissectProcessorBuilder

func (*DissectProcessorBuilder) OnFailure ¶

func (*DissectProcessorBuilder) Pattern ¶

func (*DissectProcessorBuilder) Tag ¶

type DistanceBuilder ¶

type DistanceBuilder struct {
	// contains filtered or unexported fields
}

DistanceBuilder holds Distance struct and provides a builder API.

func NewDistanceBuilder ¶

func NewDistanceBuilder() *DistanceBuilder

NewDistance provides a builder for the Distance struct.

func (*DistanceBuilder) Build ¶

func (b *DistanceBuilder) Build() Distance

Build finalize the chain and returns the Distance struct

func (*DistanceBuilder) Distance ¶

func (b *DistanceBuilder) Distance(value Distance) *DistanceBuilder

type DistanceFeatureQuery ¶

type DistanceFeatureQuery interface{}

DistanceFeatureQuery holds the union for the following types:

DateDistanceFeatureQuery
GeoDistanceFeatureQuery

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L56-L60

type DistanceFeatureQueryBaseDateMathDuration ¶

type DistanceFeatureQueryBaseDateMathDuration struct {
	Boost      *float32 `json:"boost,omitempty"`
	Field      Field    `json:"field"`
	Origin     DateMath `json:"origin"`
	Pivot      Duration `json:"pivot"`
	QueryName_ *string  `json:"_name,omitempty"`
}

DistanceFeatureQueryBaseDateMathDuration type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L40-L44

type DistanceFeatureQueryBaseDateMathDurationBuilder ¶

type DistanceFeatureQueryBaseDateMathDurationBuilder struct {
	// contains filtered or unexported fields
}

DistanceFeatureQueryBaseDateMathDurationBuilder holds DistanceFeatureQueryBaseDateMathDuration struct and provides a builder API.

func NewDistanceFeatureQueryBaseDateMathDurationBuilder ¶

func NewDistanceFeatureQueryBaseDateMathDurationBuilder() *DistanceFeatureQueryBaseDateMathDurationBuilder

NewDistanceFeatureQueryBaseDateMathDuration provides a builder for the DistanceFeatureQueryBaseDateMathDuration struct.

func (*DistanceFeatureQueryBaseDateMathDurationBuilder) Boost ¶

func (*DistanceFeatureQueryBaseDateMathDurationBuilder) Build ¶

Build finalize the chain and returns the DistanceFeatureQueryBaseDateMathDuration struct

func (*DistanceFeatureQueryBaseDateMathDurationBuilder) Field ¶

func (*DistanceFeatureQueryBaseDateMathDurationBuilder) Origin ¶

func (*DistanceFeatureQueryBaseDateMathDurationBuilder) Pivot ¶

func (*DistanceFeatureQueryBaseDateMathDurationBuilder) QueryName_ ¶

type DistanceFeatureQueryBaseGeoLocationDistance ¶

type DistanceFeatureQueryBaseGeoLocationDistance struct {
	Boost      *float32    `json:"boost,omitempty"`
	Field      Field       `json:"field"`
	Origin     GeoLocation `json:"origin"`
	Pivot      Distance    `json:"pivot"`
	QueryName_ *string     `json:"_name,omitempty"`
}

DistanceFeatureQueryBaseGeoLocationDistance type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L40-L44

type DistanceFeatureQueryBaseGeoLocationDistanceBuilder ¶

type DistanceFeatureQueryBaseGeoLocationDistanceBuilder struct {
	// contains filtered or unexported fields
}

DistanceFeatureQueryBaseGeoLocationDistanceBuilder holds DistanceFeatureQueryBaseGeoLocationDistance struct and provides a builder API.

func NewDistanceFeatureQueryBaseGeoLocationDistanceBuilder ¶

func NewDistanceFeatureQueryBaseGeoLocationDistanceBuilder() *DistanceFeatureQueryBaseGeoLocationDistanceBuilder

NewDistanceFeatureQueryBaseGeoLocationDistance provides a builder for the DistanceFeatureQueryBaseGeoLocationDistance struct.

func (*DistanceFeatureQueryBaseGeoLocationDistanceBuilder) Boost ¶

func (*DistanceFeatureQueryBaseGeoLocationDistanceBuilder) Build ¶

Build finalize the chain and returns the DistanceFeatureQueryBaseGeoLocationDistance struct

func (*DistanceFeatureQueryBaseGeoLocationDistanceBuilder) Field ¶

func (*DistanceFeatureQueryBaseGeoLocationDistanceBuilder) Origin ¶

func (*DistanceFeatureQueryBaseGeoLocationDistanceBuilder) Pivot ¶

func (*DistanceFeatureQueryBaseGeoLocationDistanceBuilder) QueryName_ ¶

type DistanceFeatureQueryBuilder ¶

type DistanceFeatureQueryBuilder struct {
	// contains filtered or unexported fields
}

DistanceFeatureQueryBuilder holds DistanceFeatureQuery struct and provides a builder API.

func NewDistanceFeatureQueryBuilder ¶

func NewDistanceFeatureQueryBuilder() *DistanceFeatureQueryBuilder

NewDistanceFeatureQuery provides a builder for the DistanceFeatureQuery struct.

func (*DistanceFeatureQueryBuilder) Build ¶

Build finalize the chain and returns the DistanceFeatureQuery struct

func (*DistanceFeatureQueryBuilder) DateDistanceFeatureQuery ¶

func (u *DistanceFeatureQueryBuilder) DateDistanceFeatureQuery(datedistancefeaturequery *DateDistanceFeatureQueryBuilder) *DistanceFeatureQueryBuilder

func (*DistanceFeatureQueryBuilder) GeoDistanceFeatureQuery ¶

func (u *DistanceFeatureQueryBuilder) GeoDistanceFeatureQuery(geodistancefeaturequery *GeoDistanceFeatureQueryBuilder) *DistanceFeatureQueryBuilder

type DiversifiedSamplerAggregation ¶

type DiversifiedSamplerAggregation struct {
	ExecutionHint   *sampleraggregationexecutionhint.SamplerAggregationExecutionHint `json:"execution_hint,omitempty"`
	Field           *Field                                                           `json:"field,omitempty"`
	MaxDocsPerValue *int                                                             `json:"max_docs_per_value,omitempty"`
	Meta            *Metadata                                                        `json:"meta,omitempty"`
	Name            *string                                                          `json:"name,omitempty"`
	Script          *Script                                                          `json:"script,omitempty"`
	ShardSize       *int                                                             `json:"shard_size,omitempty"`
}

DiversifiedSamplerAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L152-L158

type DiversifiedSamplerAggregationBuilder ¶

type DiversifiedSamplerAggregationBuilder struct {
	// contains filtered or unexported fields
}

DiversifiedSamplerAggregationBuilder holds DiversifiedSamplerAggregation struct and provides a builder API.

func NewDiversifiedSamplerAggregationBuilder ¶

func NewDiversifiedSamplerAggregationBuilder() *DiversifiedSamplerAggregationBuilder

NewDiversifiedSamplerAggregation provides a builder for the DiversifiedSamplerAggregation struct.

func (*DiversifiedSamplerAggregationBuilder) Build ¶

Build finalize the chain and returns the DiversifiedSamplerAggregation struct

func (*DiversifiedSamplerAggregationBuilder) Field ¶

func (*DiversifiedSamplerAggregationBuilder) MaxDocsPerValue ¶

func (*DiversifiedSamplerAggregationBuilder) Meta ¶

func (*DiversifiedSamplerAggregationBuilder) Name ¶

func (*DiversifiedSamplerAggregationBuilder) Script ¶

func (*DiversifiedSamplerAggregationBuilder) ShardSize ¶

type DocStats ¶

type DocStats struct {
	Count   int64  `json:"count"`
	Deleted *int64 `json:"deleted,omitempty"`
}

DocStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L64-L67

type DocStatsBuilder ¶

type DocStatsBuilder struct {
	// contains filtered or unexported fields
}

DocStatsBuilder holds DocStats struct and provides a builder API.

func NewDocStatsBuilder ¶

func NewDocStatsBuilder() *DocStatsBuilder

NewDocStats provides a builder for the DocStats struct.

func (*DocStatsBuilder) Build ¶

func (rb *DocStatsBuilder) Build() DocStats

Build finalize the chain and returns the DocStats struct

func (*DocStatsBuilder) Count ¶

func (rb *DocStatsBuilder) Count(count int64) *DocStatsBuilder

func (*DocStatsBuilder) Deleted ¶

func (rb *DocStatsBuilder) Deleted(deleted int64) *DocStatsBuilder

type DocValuesPropertyBase ¶

type DocValuesPropertyBase struct {
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	DocValues     *bool                          `json:"doc_values,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
}

DocValuesPropertyBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L45-L47

type DocValuesPropertyBaseBuilder ¶

type DocValuesPropertyBaseBuilder struct {
	// contains filtered or unexported fields
}

DocValuesPropertyBaseBuilder holds DocValuesPropertyBase struct and provides a builder API.

func NewDocValuesPropertyBaseBuilder ¶

func NewDocValuesPropertyBaseBuilder() *DocValuesPropertyBaseBuilder

NewDocValuesPropertyBase provides a builder for the DocValuesPropertyBase struct.

func (*DocValuesPropertyBaseBuilder) Build ¶

Build finalize the chain and returns the DocValuesPropertyBase struct

func (*DocValuesPropertyBaseBuilder) CopyTo ¶

func (*DocValuesPropertyBaseBuilder) DocValues ¶

func (*DocValuesPropertyBaseBuilder) Dynamic ¶

func (*DocValuesPropertyBaseBuilder) Fields ¶

func (*DocValuesPropertyBaseBuilder) IgnoreAbove ¶

func (rb *DocValuesPropertyBaseBuilder) IgnoreAbove(ignoreabove int) *DocValuesPropertyBaseBuilder

func (*DocValuesPropertyBaseBuilder) LocalMetadata ¶

func (*DocValuesPropertyBaseBuilder) Meta ¶

func (*DocValuesPropertyBaseBuilder) Properties ¶

func (*DocValuesPropertyBaseBuilder) Similarity ¶

func (*DocValuesPropertyBaseBuilder) Store ¶

type Document ¶

type Document struct {
	Id_     *Id         `json:"_id,omitempty"`
	Index_  *IndexName  `json:"_index,omitempty"`
	Source_ interface{} `json:"_source,omitempty"`
}

Document type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/simulate/types.ts#L39-L43

type DocumentBuilder ¶

type DocumentBuilder struct {
	// contains filtered or unexported fields
}

DocumentBuilder holds Document struct and provides a builder API.

func NewDocumentBuilder ¶

func NewDocumentBuilder() *DocumentBuilder

NewDocument provides a builder for the Document struct.

func (*DocumentBuilder) Build ¶

func (rb *DocumentBuilder) Build() Document

Build finalize the chain and returns the Document struct

func (*DocumentBuilder) Id_ ¶

func (rb *DocumentBuilder) Id_(id_ Id) *DocumentBuilder

func (*DocumentBuilder) Index_ ¶

func (rb *DocumentBuilder) Index_(index_ IndexName) *DocumentBuilder

func (*DocumentBuilder) Source_ ¶

func (rb *DocumentBuilder) Source_(source_ interface{}) *DocumentBuilder

type DocumentRating ¶

type DocumentRating struct {
	// Id_ The document ID.
	Id_ Id `json:"_id"`
	// Index_ The document’s index. For data streams, this should be the document’s backing
	// index.
	Index_ IndexName `json:"_index"`
	// Rating The document’s relevance with regard to this search request.
	Rating int `json:"rating"`
}

DocumentRating type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/rank_eval/types.ts#L116-L123

type DocumentRatingBuilder ¶

type DocumentRatingBuilder struct {
	// contains filtered or unexported fields
}

DocumentRatingBuilder holds DocumentRating struct and provides a builder API.

func NewDocumentRatingBuilder ¶

func NewDocumentRatingBuilder() *DocumentRatingBuilder

NewDocumentRating provides a builder for the DocumentRating struct.

func (*DocumentRatingBuilder) Build ¶

Build finalize the chain and returns the DocumentRating struct

func (*DocumentRatingBuilder) Id_ ¶

func (*DocumentRatingBuilder) Index_ ¶

func (*DocumentRatingBuilder) Rating ¶

func (rb *DocumentRatingBuilder) Rating(rating int) *DocumentRatingBuilder

type DocumentSimulation ¶

type DocumentSimulation struct {
	Id_      Id                     `json:"_id"`
	Index_   IndexName              `json:"_index"`
	Ingest_  Ingest                 `json:"_ingest"`
	Parent_  *string                `json:"_parent,omitempty"`
	Routing_ *string                `json:"_routing,omitempty"`
	Source_  map[string]interface{} `json:"_source"`
}

DocumentSimulation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/simulate/types.ts#L45-L52

type DocumentSimulationBuilder ¶

type DocumentSimulationBuilder struct {
	// contains filtered or unexported fields
}

DocumentSimulationBuilder holds DocumentSimulation struct and provides a builder API.

func NewDocumentSimulationBuilder ¶

func NewDocumentSimulationBuilder() *DocumentSimulationBuilder

NewDocumentSimulation provides a builder for the DocumentSimulation struct.

func (*DocumentSimulationBuilder) Build ¶

Build finalize the chain and returns the DocumentSimulation struct

func (*DocumentSimulationBuilder) Id_ ¶

func (*DocumentSimulationBuilder) Index_ ¶

func (*DocumentSimulationBuilder) Ingest_ ¶

func (*DocumentSimulationBuilder) Parent_ ¶

func (*DocumentSimulationBuilder) Routing_ ¶

func (*DocumentSimulationBuilder) Source_ ¶

func (rb *DocumentSimulationBuilder) Source_(value map[string]interface{}) *DocumentSimulationBuilder

type DotExpanderProcessor ¶

type DotExpanderProcessor struct {
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Path          *string              `json:"path,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
}

DotExpanderProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L194-L197

type DotExpanderProcessorBuilder ¶

type DotExpanderProcessorBuilder struct {
	// contains filtered or unexported fields
}

DotExpanderProcessorBuilder holds DotExpanderProcessor struct and provides a builder API.

func NewDotExpanderProcessorBuilder ¶

func NewDotExpanderProcessorBuilder() *DotExpanderProcessorBuilder

NewDotExpanderProcessor provides a builder for the DotExpanderProcessor struct.

func (*DotExpanderProcessorBuilder) Build ¶

Build finalize the chain and returns the DotExpanderProcessor struct

func (*DotExpanderProcessorBuilder) Field ¶

func (*DotExpanderProcessorBuilder) If_ ¶

func (*DotExpanderProcessorBuilder) IgnoreFailure ¶

func (rb *DotExpanderProcessorBuilder) IgnoreFailure(ignorefailure bool) *DotExpanderProcessorBuilder

func (*DotExpanderProcessorBuilder) OnFailure ¶

func (*DotExpanderProcessorBuilder) Path ¶

func (*DotExpanderProcessorBuilder) Tag ¶

type DoubleNumberProperty ¶

type DoubleNumberProperty struct {
	Coerce           *bool                                      `json:"coerce,omitempty"`
	CopyTo           *Fields                                    `json:"copy_to,omitempty"`
	DocValues        *bool                                      `json:"doc_values,omitempty"`
	Dynamic          *dynamicmapping.DynamicMapping             `json:"dynamic,omitempty"`
	Fields           map[PropertyName]Property                  `json:"fields,omitempty"`
	IgnoreAbove      *int                                       `json:"ignore_above,omitempty"`
	IgnoreMalformed  *bool                                      `json:"ignore_malformed,omitempty"`
	Index            *bool                                      `json:"index,omitempty"`
	LocalMetadata    *Metadata                                  `json:"local_metadata,omitempty"`
	Meta             map[string]string                          `json:"meta,omitempty"`
	NullValue        *float64                                   `json:"null_value,omitempty"`
	OnScriptError    *onscripterror.OnScriptError               `json:"on_script_error,omitempty"`
	Properties       map[PropertyName]Property                  `json:"properties,omitempty"`
	Script           *Script                                    `json:"script,omitempty"`
	Similarity       *string                                    `json:"similarity,omitempty"`
	Store            *bool                                      `json:"store,omitempty"`
	TimeSeriesMetric *timeseriesmetrictype.TimeSeriesMetricType `json:"time_series_metric,omitempty"`
	Type             string                                     `json:"type,omitempty"`
}

DoubleNumberProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L129-L132

type DoubleNumberPropertyBuilder ¶

type DoubleNumberPropertyBuilder struct {
	// contains filtered or unexported fields
}

DoubleNumberPropertyBuilder holds DoubleNumberProperty struct and provides a builder API.

func NewDoubleNumberPropertyBuilder ¶

func NewDoubleNumberPropertyBuilder() *DoubleNumberPropertyBuilder

NewDoubleNumberProperty provides a builder for the DoubleNumberProperty struct.

func (*DoubleNumberPropertyBuilder) Build ¶

Build finalize the chain and returns the DoubleNumberProperty struct

func (*DoubleNumberPropertyBuilder) Coerce ¶

func (*DoubleNumberPropertyBuilder) CopyTo ¶

func (*DoubleNumberPropertyBuilder) DocValues ¶

func (*DoubleNumberPropertyBuilder) Dynamic ¶

func (*DoubleNumberPropertyBuilder) Fields ¶

func (*DoubleNumberPropertyBuilder) IgnoreAbove ¶

func (rb *DoubleNumberPropertyBuilder) IgnoreAbove(ignoreabove int) *DoubleNumberPropertyBuilder

func (*DoubleNumberPropertyBuilder) IgnoreMalformed ¶

func (rb *DoubleNumberPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *DoubleNumberPropertyBuilder

func (*DoubleNumberPropertyBuilder) Index ¶

func (*DoubleNumberPropertyBuilder) LocalMetadata ¶

func (rb *DoubleNumberPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *DoubleNumberPropertyBuilder

func (*DoubleNumberPropertyBuilder) Meta ¶

func (*DoubleNumberPropertyBuilder) NullValue ¶

func (*DoubleNumberPropertyBuilder) OnScriptError ¶

func (*DoubleNumberPropertyBuilder) Properties ¶

func (*DoubleNumberPropertyBuilder) Script ¶

func (*DoubleNumberPropertyBuilder) Similarity ¶

func (*DoubleNumberPropertyBuilder) Store ¶

func (*DoubleNumberPropertyBuilder) TimeSeriesMetric ¶

type DoubleRangeProperty ¶

type DoubleRangeProperty struct {
	Boost         *float64                       `json:"boost,omitempty"`
	Coerce        *bool                          `json:"coerce,omitempty"`
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	DocValues     *bool                          `json:"doc_values,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	Index         *bool                          `json:"index,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

DoubleRangeProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/range.ts#L34-L36

type DoubleRangePropertyBuilder ¶

type DoubleRangePropertyBuilder struct {
	// contains filtered or unexported fields
}

DoubleRangePropertyBuilder holds DoubleRangeProperty struct and provides a builder API.

func NewDoubleRangePropertyBuilder ¶

func NewDoubleRangePropertyBuilder() *DoubleRangePropertyBuilder

NewDoubleRangeProperty provides a builder for the DoubleRangeProperty struct.

func (*DoubleRangePropertyBuilder) Boost ¶

func (*DoubleRangePropertyBuilder) Build ¶

Build finalize the chain and returns the DoubleRangeProperty struct

func (*DoubleRangePropertyBuilder) Coerce ¶

func (*DoubleRangePropertyBuilder) CopyTo ¶

func (*DoubleRangePropertyBuilder) DocValues ¶

func (*DoubleRangePropertyBuilder) Dynamic ¶

func (*DoubleRangePropertyBuilder) Fields ¶

func (*DoubleRangePropertyBuilder) IgnoreAbove ¶

func (rb *DoubleRangePropertyBuilder) IgnoreAbove(ignoreabove int) *DoubleRangePropertyBuilder

func (*DoubleRangePropertyBuilder) Index ¶

func (*DoubleRangePropertyBuilder) LocalMetadata ¶

func (rb *DoubleRangePropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *DoubleRangePropertyBuilder

func (*DoubleRangePropertyBuilder) Meta ¶

func (*DoubleRangePropertyBuilder) Properties ¶

func (*DoubleRangePropertyBuilder) Similarity ¶

func (rb *DoubleRangePropertyBuilder) Similarity(similarity string) *DoubleRangePropertyBuilder

func (*DoubleRangePropertyBuilder) Store ¶

type DoubleTermsAggregate ¶

type DoubleTermsAggregate struct {
	Buckets                 BucketsDoubleTermsBucket `json:"buckets"`
	DocCountErrorUpperBound *int64                   `json:"doc_count_error_upper_bound,omitempty"`
	Meta                    *Metadata                `json:"meta,omitempty"`
	SumOtherDocCount        int64                    `json:"sum_other_doc_count"`
}

DoubleTermsAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L398-L403

type DoubleTermsAggregateBuilder ¶

type DoubleTermsAggregateBuilder struct {
	// contains filtered or unexported fields
}

DoubleTermsAggregateBuilder holds DoubleTermsAggregate struct and provides a builder API.

func NewDoubleTermsAggregateBuilder ¶

func NewDoubleTermsAggregateBuilder() *DoubleTermsAggregateBuilder

NewDoubleTermsAggregate provides a builder for the DoubleTermsAggregate struct.

func (*DoubleTermsAggregateBuilder) Buckets ¶

func (*DoubleTermsAggregateBuilder) Build ¶

Build finalize the chain and returns the DoubleTermsAggregate struct

func (*DoubleTermsAggregateBuilder) DocCountErrorUpperBound ¶

func (rb *DoubleTermsAggregateBuilder) DocCountErrorUpperBound(doccounterrorupperbound int64) *DoubleTermsAggregateBuilder

func (*DoubleTermsAggregateBuilder) Meta ¶

func (*DoubleTermsAggregateBuilder) SumOtherDocCount ¶

func (rb *DoubleTermsAggregateBuilder) SumOtherDocCount(sumotherdoccount int64) *DoubleTermsAggregateBuilder

type DoubleTermsBucket ¶

type DoubleTermsBucket struct {
	Aggregations  map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount      int64                       `json:"doc_count"`
	DocCountError *int64                      `json:"doc_count_error,omitempty"`
	Key           float64                     `json:"key"`
	KeyAsString   *string                     `json:"key_as_string,omitempty"`
}

DoubleTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L405-L408

type DoubleTermsBucketBuilder ¶

type DoubleTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

DoubleTermsBucketBuilder holds DoubleTermsBucket struct and provides a builder API.

func NewDoubleTermsBucketBuilder ¶

func NewDoubleTermsBucketBuilder() *DoubleTermsBucketBuilder

NewDoubleTermsBucket provides a builder for the DoubleTermsBucket struct.

func (*DoubleTermsBucketBuilder) Aggregations ¶

func (*DoubleTermsBucketBuilder) Build ¶

Build finalize the chain and returns the DoubleTermsBucket struct

func (*DoubleTermsBucketBuilder) DocCount ¶

func (*DoubleTermsBucketBuilder) DocCountError ¶

func (rb *DoubleTermsBucketBuilder) DocCountError(doccounterror int64) *DoubleTermsBucketBuilder

func (*DoubleTermsBucketBuilder) Key ¶

func (*DoubleTermsBucketBuilder) KeyAsString ¶

func (rb *DoubleTermsBucketBuilder) KeyAsString(keyasstring string) *DoubleTermsBucketBuilder

type DropProcessor ¶

type DropProcessor struct {
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
}

DropProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L199-L199

type DropProcessorBuilder ¶

type DropProcessorBuilder struct {
	// contains filtered or unexported fields
}

DropProcessorBuilder holds DropProcessor struct and provides a builder API.

func NewDropProcessorBuilder ¶

func NewDropProcessorBuilder() *DropProcessorBuilder

NewDropProcessor provides a builder for the DropProcessor struct.

func (*DropProcessorBuilder) Build ¶

func (rb *DropProcessorBuilder) Build() DropProcessor

Build finalize the chain and returns the DropProcessor struct

func (*DropProcessorBuilder) If_ ¶

func (*DropProcessorBuilder) IgnoreFailure ¶

func (rb *DropProcessorBuilder) IgnoreFailure(ignorefailure bool) *DropProcessorBuilder

func (*DropProcessorBuilder) OnFailure ¶

func (*DropProcessorBuilder) Tag ¶

type DurationBuilder ¶

type DurationBuilder struct {
	// contains filtered or unexported fields
}

DurationBuilder holds Duration struct and provides a builder API.

func NewDurationBuilder ¶

func NewDurationBuilder() *DurationBuilder

NewDuration provides a builder for the Duration struct.

func (*DurationBuilder) Build ¶

func (u *DurationBuilder) Build() Duration

Build finalize the chain and returns the Duration struct

func (*DurationBuilder) String ¶

func (u *DurationBuilder) String(string string) *DurationBuilder

type DurationLargeBuilder ¶

type DurationLargeBuilder struct {
	// contains filtered or unexported fields
}

DurationLargeBuilder holds DurationLarge struct and provides a builder API.

func NewDurationLargeBuilder ¶

func NewDurationLargeBuilder() *DurationLargeBuilder

NewDurationLarge provides a builder for the DurationLarge struct.

func (*DurationLargeBuilder) Build ¶

Build finalize the chain and returns the DurationLarge struct

func (*DurationLargeBuilder) DurationLarge ¶

func (b *DurationLargeBuilder) DurationLarge(value DurationLarge) *DurationLargeBuilder

type DurationValueUnitFloatMillisBuilder ¶

type DurationValueUnitFloatMillisBuilder struct {
	// contains filtered or unexported fields
}

DurationValueUnitFloatMillisBuilder holds DurationValueUnitFloatMillis struct and provides a builder API.

func NewDurationValueUnitFloatMillisBuilder ¶

func NewDurationValueUnitFloatMillisBuilder() *DurationValueUnitFloatMillisBuilder

NewDurationValueUnitFloatMillis provides a builder for the DurationValueUnitFloatMillis struct.

func (*DurationValueUnitFloatMillisBuilder) Build ¶

Build finalize the chain and returns the DurationValueUnitFloatMillis struct

func (*DurationValueUnitFloatMillisBuilder) DurationValueUnitFloatMillis ¶

type DurationValueUnitMillisBuilder ¶

type DurationValueUnitMillisBuilder struct {
	// contains filtered or unexported fields
}

DurationValueUnitMillisBuilder holds DurationValueUnitMillis struct and provides a builder API.

func NewDurationValueUnitMillisBuilder ¶

func NewDurationValueUnitMillisBuilder() *DurationValueUnitMillisBuilder

NewDurationValueUnitMillis provides a builder for the DurationValueUnitMillis struct.

func (*DurationValueUnitMillisBuilder) Build ¶

Build finalize the chain and returns the DurationValueUnitMillis struct

func (*DurationValueUnitMillisBuilder) DurationValueUnitMillis ¶

type DurationValueUnitNanosBuilder ¶

type DurationValueUnitNanosBuilder struct {
	// contains filtered or unexported fields
}

DurationValueUnitNanosBuilder holds DurationValueUnitNanos struct and provides a builder API.

func NewDurationValueUnitNanosBuilder ¶

func NewDurationValueUnitNanosBuilder() *DurationValueUnitNanosBuilder

NewDurationValueUnitNanos provides a builder for the DurationValueUnitNanos struct.

func (*DurationValueUnitNanosBuilder) Build ¶

Build finalize the chain and returns the DurationValueUnitNanos struct

func (*DurationValueUnitNanosBuilder) DurationValueUnitNanos ¶

type DurationValueUnitSecondsBuilder ¶

type DurationValueUnitSecondsBuilder struct {
	// contains filtered or unexported fields
}

DurationValueUnitSecondsBuilder holds DurationValueUnitSeconds struct and provides a builder API.

func NewDurationValueUnitSecondsBuilder ¶

func NewDurationValueUnitSecondsBuilder() *DurationValueUnitSecondsBuilder

NewDurationValueUnitSeconds provides a builder for the DurationValueUnitSeconds struct.

func (*DurationValueUnitSecondsBuilder) Build ¶

Build finalize the chain and returns the DurationValueUnitSeconds struct

func (*DurationValueUnitSecondsBuilder) DurationValueUnitSeconds ¶

type DutchAnalyzer ¶

type DutchAnalyzer struct {
	Stopwords *StopWords `json:"stopwords,omitempty"`
	Type      string     `json:"type,omitempty"`
}

DutchAnalyzer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/analyzers.ts#L61-L64

type DutchAnalyzerBuilder ¶

type DutchAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

DutchAnalyzerBuilder holds DutchAnalyzer struct and provides a builder API.

func NewDutchAnalyzerBuilder ¶

func NewDutchAnalyzerBuilder() *DutchAnalyzerBuilder

NewDutchAnalyzer provides a builder for the DutchAnalyzer struct.

func (*DutchAnalyzerBuilder) Build ¶

func (rb *DutchAnalyzerBuilder) Build() DutchAnalyzer

Build finalize the chain and returns the DutchAnalyzer struct

func (*DutchAnalyzerBuilder) Stopwords ¶

func (rb *DutchAnalyzerBuilder) Stopwords(stopwords *StopWordsBuilder) *DutchAnalyzerBuilder

type DynamicProperty ¶

type DynamicProperty struct {
	Analyzer             *string                                    `json:"analyzer,omitempty"`
	Boost                *float64                                   `json:"boost,omitempty"`
	Coerce               *bool                                      `json:"coerce,omitempty"`
	CopyTo               *Fields                                    `json:"copy_to,omitempty"`
	DocValues            *bool                                      `json:"doc_values,omitempty"`
	Dynamic              *dynamicmapping.DynamicMapping             `json:"dynamic,omitempty"`
	EagerGlobalOrdinals  *bool                                      `json:"eager_global_ordinals,omitempty"`
	Enabled              *bool                                      `json:"enabled,omitempty"`
	Fields               map[PropertyName]Property                  `json:"fields,omitempty"`
	Format               *string                                    `json:"format,omitempty"`
	IgnoreAbove          *int                                       `json:"ignore_above,omitempty"`
	IgnoreMalformed      *bool                                      `json:"ignore_malformed,omitempty"`
	Index                *bool                                      `json:"index,omitempty"`
	IndexOptions         *indexoptions.IndexOptions                 `json:"index_options,omitempty"`
	IndexPhrases         *bool                                      `json:"index_phrases,omitempty"`
	IndexPrefixes        *TextIndexPrefixes                         `json:"index_prefixes,omitempty"`
	LocalMetadata        *Metadata                                  `json:"local_metadata,omitempty"`
	Locale               *string                                    `json:"locale,omitempty"`
	Meta                 map[string]string                          `json:"meta,omitempty"`
	Norms                *bool                                      `json:"norms,omitempty"`
	NullValue            *FieldValue                                `json:"null_value,omitempty"`
	OnScriptError        *onscripterror.OnScriptError               `json:"on_script_error,omitempty"`
	PositionIncrementGap *int                                       `json:"position_increment_gap,omitempty"`
	PrecisionStep        *int                                       `json:"precision_step,omitempty"`
	Properties           map[PropertyName]Property                  `json:"properties,omitempty"`
	Script               *Script                                    `json:"script,omitempty"`
	SearchAnalyzer       *string                                    `json:"search_analyzer,omitempty"`
	SearchQuoteAnalyzer  *string                                    `json:"search_quote_analyzer,omitempty"`
	Similarity           *string                                    `json:"similarity,omitempty"`
	Store                *bool                                      `json:"store,omitempty"`
	TermVector           *termvectoroption.TermVectorOption         `json:"term_vector,omitempty"`
	TimeSeriesMetric     *timeseriesmetrictype.TimeSeriesMetricType `json:"time_series_metric,omitempty"`
	Type                 string                                     `json:"type,omitempty"`
}

DynamicProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L264-L295

type DynamicPropertyBuilder ¶

type DynamicPropertyBuilder struct {
	// contains filtered or unexported fields
}

DynamicPropertyBuilder holds DynamicProperty struct and provides a builder API.

func NewDynamicPropertyBuilder ¶

func NewDynamicPropertyBuilder() *DynamicPropertyBuilder

NewDynamicProperty provides a builder for the DynamicProperty struct.

func (*DynamicPropertyBuilder) Analyzer ¶

func (rb *DynamicPropertyBuilder) Analyzer(analyzer string) *DynamicPropertyBuilder

func (*DynamicPropertyBuilder) Boost ¶

func (*DynamicPropertyBuilder) Build ¶

Build finalize the chain and returns the DynamicProperty struct

func (*DynamicPropertyBuilder) Coerce ¶

func (*DynamicPropertyBuilder) CopyTo ¶

func (*DynamicPropertyBuilder) DocValues ¶

func (rb *DynamicPropertyBuilder) DocValues(docvalues bool) *DynamicPropertyBuilder

func (*DynamicPropertyBuilder) Dynamic ¶

func (*DynamicPropertyBuilder) EagerGlobalOrdinals ¶

func (rb *DynamicPropertyBuilder) EagerGlobalOrdinals(eagerglobalordinals bool) *DynamicPropertyBuilder

func (*DynamicPropertyBuilder) Enabled ¶

func (rb *DynamicPropertyBuilder) Enabled(enabled bool) *DynamicPropertyBuilder

func (*DynamicPropertyBuilder) Fields ¶

func (*DynamicPropertyBuilder) Format ¶

func (*DynamicPropertyBuilder) IgnoreAbove ¶

func (rb *DynamicPropertyBuilder) IgnoreAbove(ignoreabove int) *DynamicPropertyBuilder

func (*DynamicPropertyBuilder) IgnoreMalformed ¶

func (rb *DynamicPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *DynamicPropertyBuilder

func (*DynamicPropertyBuilder) Index ¶

func (*DynamicPropertyBuilder) IndexOptions ¶

func (*DynamicPropertyBuilder) IndexPhrases ¶

func (rb *DynamicPropertyBuilder) IndexPhrases(indexphrases bool) *DynamicPropertyBuilder

func (*DynamicPropertyBuilder) IndexPrefixes ¶

func (rb *DynamicPropertyBuilder) IndexPrefixes(indexprefixes *TextIndexPrefixesBuilder) *DynamicPropertyBuilder

func (*DynamicPropertyBuilder) LocalMetadata ¶

func (rb *DynamicPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *DynamicPropertyBuilder

func (*DynamicPropertyBuilder) Locale ¶

func (*DynamicPropertyBuilder) Meta ¶

func (*DynamicPropertyBuilder) Norms ¶

func (*DynamicPropertyBuilder) NullValue ¶

func (*DynamicPropertyBuilder) OnScriptError ¶

func (*DynamicPropertyBuilder) PositionIncrementGap ¶

func (rb *DynamicPropertyBuilder) PositionIncrementGap(positionincrementgap int) *DynamicPropertyBuilder

func (*DynamicPropertyBuilder) PrecisionStep ¶

func (rb *DynamicPropertyBuilder) PrecisionStep(precisionstep int) *DynamicPropertyBuilder

func (*DynamicPropertyBuilder) Properties ¶

func (*DynamicPropertyBuilder) Script ¶

func (*DynamicPropertyBuilder) SearchAnalyzer ¶

func (rb *DynamicPropertyBuilder) SearchAnalyzer(searchanalyzer string) *DynamicPropertyBuilder

func (*DynamicPropertyBuilder) SearchQuoteAnalyzer ¶

func (rb *DynamicPropertyBuilder) SearchQuoteAnalyzer(searchquoteanalyzer string) *DynamicPropertyBuilder

func (*DynamicPropertyBuilder) Similarity ¶

func (rb *DynamicPropertyBuilder) Similarity(similarity string) *DynamicPropertyBuilder

func (*DynamicPropertyBuilder) Store ¶

func (*DynamicPropertyBuilder) TermVector ¶

func (*DynamicPropertyBuilder) TimeSeriesMetric ¶

type DynamicTemplate ¶

type DynamicTemplate struct {
	Mapping          *Property            `json:"mapping,omitempty"`
	Match            *string              `json:"match,omitempty"`
	MatchMappingType *string              `json:"match_mapping_type,omitempty"`
	MatchPattern     *matchtype.MatchType `json:"match_pattern,omitempty"`
	PathMatch        *string              `json:"path_match,omitempty"`
	PathUnmatch      *string              `json:"path_unmatch,omitempty"`
	Unmatch          *string              `json:"unmatch,omitempty"`
}

DynamicTemplate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/dynamic-template.ts#L22-L30

type DynamicTemplateBuilder ¶

type DynamicTemplateBuilder struct {
	// contains filtered or unexported fields
}

DynamicTemplateBuilder holds DynamicTemplate struct and provides a builder API.

func NewDynamicTemplateBuilder ¶

func NewDynamicTemplateBuilder() *DynamicTemplateBuilder

NewDynamicTemplate provides a builder for the DynamicTemplate struct.

func (*DynamicTemplateBuilder) Build ¶

Build finalize the chain and returns the DynamicTemplate struct

func (*DynamicTemplateBuilder) Mapping ¶

func (*DynamicTemplateBuilder) Match ¶

func (*DynamicTemplateBuilder) MatchMappingType ¶

func (rb *DynamicTemplateBuilder) MatchMappingType(matchmappingtype string) *DynamicTemplateBuilder

func (*DynamicTemplateBuilder) MatchPattern ¶

func (rb *DynamicTemplateBuilder) MatchPattern(matchpattern matchtype.MatchType) *DynamicTemplateBuilder

func (*DynamicTemplateBuilder) PathMatch ¶

func (rb *DynamicTemplateBuilder) PathMatch(pathmatch string) *DynamicTemplateBuilder

func (*DynamicTemplateBuilder) PathUnmatch ¶

func (rb *DynamicTemplateBuilder) PathUnmatch(pathunmatch string) *DynamicTemplateBuilder

func (*DynamicTemplateBuilder) Unmatch ¶

type EdgeNGramTokenFilter ¶

type EdgeNGramTokenFilter struct {
	MaxGram          *int                         `json:"max_gram,omitempty"`
	MinGram          *int                         `json:"min_gram,omitempty"`
	PreserveOriginal *bool                        `json:"preserve_original,omitempty"`
	Side             *edgengramside.EdgeNGramSide `json:"side,omitempty"`
	Type             string                       `json:"type,omitempty"`
	Version          *VersionString               `json:"version,omitempty"`
}

EdgeNGramTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L78-L84

type EdgeNGramTokenFilterBuilder ¶

type EdgeNGramTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

EdgeNGramTokenFilterBuilder holds EdgeNGramTokenFilter struct and provides a builder API.

func NewEdgeNGramTokenFilterBuilder ¶

func NewEdgeNGramTokenFilterBuilder() *EdgeNGramTokenFilterBuilder

NewEdgeNGramTokenFilter provides a builder for the EdgeNGramTokenFilter struct.

func (*EdgeNGramTokenFilterBuilder) Build ¶

Build finalize the chain and returns the EdgeNGramTokenFilter struct

func (*EdgeNGramTokenFilterBuilder) MaxGram ¶

func (*EdgeNGramTokenFilterBuilder) MinGram ¶

func (*EdgeNGramTokenFilterBuilder) PreserveOriginal ¶

func (rb *EdgeNGramTokenFilterBuilder) PreserveOriginal(preserveoriginal bool) *EdgeNGramTokenFilterBuilder

func (*EdgeNGramTokenFilterBuilder) Side ¶

func (*EdgeNGramTokenFilterBuilder) Version ¶

type EdgeNGramTokenizer ¶

type EdgeNGramTokenizer struct {
	CustomTokenChars *string               `json:"custom_token_chars,omitempty"`
	MaxGram          int                   `json:"max_gram"`
	MinGram          int                   `json:"min_gram"`
	TokenChars       []tokenchar.TokenChar `json:"token_chars"`
	Type             string                `json:"type,omitempty"`
	Version          *VersionString        `json:"version,omitempty"`
}

EdgeNGramTokenizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L30-L36

type EdgeNGramTokenizerBuilder ¶

type EdgeNGramTokenizerBuilder struct {
	// contains filtered or unexported fields
}

EdgeNGramTokenizerBuilder holds EdgeNGramTokenizer struct and provides a builder API.

func NewEdgeNGramTokenizerBuilder ¶

func NewEdgeNGramTokenizerBuilder() *EdgeNGramTokenizerBuilder

NewEdgeNGramTokenizer provides a builder for the EdgeNGramTokenizer struct.

func (*EdgeNGramTokenizerBuilder) Build ¶

Build finalize the chain and returns the EdgeNGramTokenizer struct

func (*EdgeNGramTokenizerBuilder) CustomTokenChars ¶

func (rb *EdgeNGramTokenizerBuilder) CustomTokenChars(customtokenchars string) *EdgeNGramTokenizerBuilder

func (*EdgeNGramTokenizerBuilder) MaxGram ¶

func (*EdgeNGramTokenizerBuilder) MinGram ¶

func (*EdgeNGramTokenizerBuilder) TokenChars ¶

func (*EdgeNGramTokenizerBuilder) Version ¶

type ElasticsearchVersionInfo ¶

type ElasticsearchVersionInfo struct {
	BuildDate                        DateTime      `json:"build_date"`
	BuildFlavor                      string        `json:"build_flavor"`
	BuildHash                        string        `json:"build_hash"`
	BuildSnapshot                    bool          `json:"build_snapshot"`
	BuildType                        string        `json:"build_type"`
	Int                              string        `json:"number"`
	LuceneVersion                    VersionString `json:"lucene_version"`
	MinimumIndexCompatibilityVersion VersionString `json:"minimum_index_compatibility_version"`
	MinimumWireCompatibilityVersion  VersionString `json:"minimum_wire_compatibility_version"`
}

ElasticsearchVersionInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Base.ts#L54-L64

type ElasticsearchVersionInfoBuilder ¶

type ElasticsearchVersionInfoBuilder struct {
	// contains filtered or unexported fields
}

ElasticsearchVersionInfoBuilder holds ElasticsearchVersionInfo struct and provides a builder API.

func NewElasticsearchVersionInfoBuilder ¶

func NewElasticsearchVersionInfoBuilder() *ElasticsearchVersionInfoBuilder

NewElasticsearchVersionInfo provides a builder for the ElasticsearchVersionInfo struct.

func (*ElasticsearchVersionInfoBuilder) Build ¶

Build finalize the chain and returns the ElasticsearchVersionInfo struct

func (*ElasticsearchVersionInfoBuilder) BuildDate ¶

func (*ElasticsearchVersionInfoBuilder) BuildFlavor ¶

func (*ElasticsearchVersionInfoBuilder) BuildHash ¶

func (*ElasticsearchVersionInfoBuilder) BuildSnapshot ¶

func (rb *ElasticsearchVersionInfoBuilder) BuildSnapshot(buildsnapshot bool) *ElasticsearchVersionInfoBuilder

func (*ElasticsearchVersionInfoBuilder) BuildType ¶

func (*ElasticsearchVersionInfoBuilder) Int ¶

func (*ElasticsearchVersionInfoBuilder) LuceneVersion ¶

func (*ElasticsearchVersionInfoBuilder) MinimumIndexCompatibilityVersion ¶

func (rb *ElasticsearchVersionInfoBuilder) MinimumIndexCompatibilityVersion(minimumindexcompatibilityversion VersionString) *ElasticsearchVersionInfoBuilder

func (*ElasticsearchVersionInfoBuilder) MinimumWireCompatibilityVersion ¶

func (rb *ElasticsearchVersionInfoBuilder) MinimumWireCompatibilityVersion(minimumwirecompatibilityversion VersionString) *ElasticsearchVersionInfoBuilder

type ElisionTokenFilter ¶

type ElisionTokenFilter struct {
	Articles     []string       `json:"articles,omitempty"`
	ArticlesCase *bool          `json:"articles_case,omitempty"`
	ArticlesPath *string        `json:"articles_path,omitempty"`
	Type         string         `json:"type,omitempty"`
	Version      *VersionString `json:"version,omitempty"`
}

ElisionTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L186-L191

type ElisionTokenFilterBuilder ¶

type ElisionTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

ElisionTokenFilterBuilder holds ElisionTokenFilter struct and provides a builder API.

func NewElisionTokenFilterBuilder ¶

func NewElisionTokenFilterBuilder() *ElisionTokenFilterBuilder

NewElisionTokenFilter provides a builder for the ElisionTokenFilter struct.

func (*ElisionTokenFilterBuilder) Articles ¶

func (rb *ElisionTokenFilterBuilder) Articles(articles ...string) *ElisionTokenFilterBuilder

func (*ElisionTokenFilterBuilder) ArticlesCase ¶

func (rb *ElisionTokenFilterBuilder) ArticlesCase(articlescase bool) *ElisionTokenFilterBuilder

func (*ElisionTokenFilterBuilder) ArticlesPath ¶

func (rb *ElisionTokenFilterBuilder) ArticlesPath(articlespath string) *ElisionTokenFilterBuilder

func (*ElisionTokenFilterBuilder) Build ¶

Build finalize the chain and returns the ElisionTokenFilter struct

func (*ElisionTokenFilterBuilder) Version ¶

type Email ¶

type Email struct {
	Attachments map[string]EmailAttachmentContainer `json:"attachments,omitempty"`
	Bcc         []string                            `json:"bcc,omitempty"`
	Body        *EmailBody                          `json:"body,omitempty"`
	Cc          []string                            `json:"cc,omitempty"`
	From        *string                             `json:"from,omitempty"`
	Id          *Id                                 `json:"id,omitempty"`
	Priority    *emailpriority.EmailPriority        `json:"priority,omitempty"`
	ReplyTo     []string                            `json:"reply_to,omitempty"`
	SentDate    *DateTime                           `json:"sent_date,omitempty"`
	Subject     string                              `json:"subject"`
	To          []string                            `json:"to"`
}

Email type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L238-L250

type EmailAction ¶

type EmailAction struct {
	Attachments map[string]EmailAttachmentContainer `json:"attachments,omitempty"`
	Bcc         []string                            `json:"bcc,omitempty"`
	Body        *EmailBody                          `json:"body,omitempty"`
	Cc          []string                            `json:"cc,omitempty"`
	From        *string                             `json:"from,omitempty"`
	Id          *Id                                 `json:"id,omitempty"`
	Priority    *emailpriority.EmailPriority        `json:"priority,omitempty"`
	ReplyTo     []string                            `json:"reply_to,omitempty"`
	SentDate    *DateTime                           `json:"sent_date,omitempty"`
	Subject     string                              `json:"subject"`
	To          []string                            `json:"to"`
}

EmailAction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L252-L252

type EmailActionBuilder ¶

type EmailActionBuilder struct {
	// contains filtered or unexported fields
}

EmailActionBuilder holds EmailAction struct and provides a builder API.

func NewEmailActionBuilder ¶

func NewEmailActionBuilder() *EmailActionBuilder

NewEmailAction provides a builder for the EmailAction struct.

func (*EmailActionBuilder) Attachments ¶

func (*EmailActionBuilder) Bcc ¶

func (rb *EmailActionBuilder) Bcc(bcc ...string) *EmailActionBuilder

func (*EmailActionBuilder) Body ¶

func (*EmailActionBuilder) Build ¶

func (rb *EmailActionBuilder) Build() EmailAction

Build finalize the chain and returns the EmailAction struct

func (*EmailActionBuilder) Cc ¶

func (*EmailActionBuilder) From ¶

func (*EmailActionBuilder) Id ¶

func (*EmailActionBuilder) Priority ¶

func (*EmailActionBuilder) ReplyTo ¶

func (rb *EmailActionBuilder) ReplyTo(reply_to ...string) *EmailActionBuilder

func (*EmailActionBuilder) SentDate ¶

func (rb *EmailActionBuilder) SentDate(sentdate *DateTimeBuilder) *EmailActionBuilder

func (*EmailActionBuilder) Subject ¶

func (rb *EmailActionBuilder) Subject(subject string) *EmailActionBuilder

func (*EmailActionBuilder) To ¶

type EmailAttachmentContainer ¶

type EmailAttachmentContainer struct {
	Data      *DataEmailAttachment      `json:"data,omitempty"`
	Http      *HttpEmailAttachment      `json:"http,omitempty"`
	Reporting *ReportingEmailAttachment `json:"reporting,omitempty"`
}

EmailAttachmentContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L211-L216

type EmailAttachmentContainerBuilder ¶

type EmailAttachmentContainerBuilder struct {
	// contains filtered or unexported fields
}

EmailAttachmentContainerBuilder holds EmailAttachmentContainer struct and provides a builder API.

func NewEmailAttachmentContainerBuilder ¶

func NewEmailAttachmentContainerBuilder() *EmailAttachmentContainerBuilder

NewEmailAttachmentContainer provides a builder for the EmailAttachmentContainer struct.

func (*EmailAttachmentContainerBuilder) Build ¶

Build finalize the chain and returns the EmailAttachmentContainer struct

func (*EmailAttachmentContainerBuilder) Data ¶

func (*EmailAttachmentContainerBuilder) Http ¶

func (*EmailAttachmentContainerBuilder) Reporting ¶

type EmailBodyBuilder ¶

type EmailBodyBuilder struct {
	// contains filtered or unexported fields
}

EmailBodyBuilder holds EmailBody struct and provides a builder API.

func NewEmailBodyBuilder ¶

func NewEmailBodyBuilder() *EmailBodyBuilder

NewEmailBody provides a builder for the EmailBody struct.

func (*EmailBodyBuilder) Build ¶

func (rb *EmailBodyBuilder) Build() EmailBody

Build finalize the chain and returns the EmailBody struct

func (*EmailBodyBuilder) Html ¶

func (rb *EmailBodyBuilder) Html(html string) *EmailBodyBuilder

func (*EmailBodyBuilder) Text ¶

func (rb *EmailBodyBuilder) Text(text string) *EmailBodyBuilder

type EmailBuilder ¶

type EmailBuilder struct {
	// contains filtered or unexported fields
}

EmailBuilder holds Email struct and provides a builder API.

func NewEmailBuilder ¶

func NewEmailBuilder() *EmailBuilder

NewEmail provides a builder for the Email struct.

func (*EmailBuilder) Attachments ¶

func (rb *EmailBuilder) Attachments(values map[string]*EmailAttachmentContainerBuilder) *EmailBuilder

func (*EmailBuilder) Bcc ¶

func (rb *EmailBuilder) Bcc(bcc ...string) *EmailBuilder

func (*EmailBuilder) Body ¶

func (rb *EmailBuilder) Body(body *EmailBodyBuilder) *EmailBuilder

func (*EmailBuilder) Build ¶

func (rb *EmailBuilder) Build() Email

Build finalize the chain and returns the Email struct

func (*EmailBuilder) Cc ¶

func (rb *EmailBuilder) Cc(cc ...string) *EmailBuilder

func (*EmailBuilder) From ¶

func (rb *EmailBuilder) From(from string) *EmailBuilder

func (*EmailBuilder) Id ¶

func (rb *EmailBuilder) Id(id Id) *EmailBuilder

func (*EmailBuilder) Priority ¶

func (rb *EmailBuilder) Priority(priority emailpriority.EmailPriority) *EmailBuilder

func (*EmailBuilder) ReplyTo ¶

func (rb *EmailBuilder) ReplyTo(reply_to ...string) *EmailBuilder

func (*EmailBuilder) SentDate ¶

func (rb *EmailBuilder) SentDate(sentdate *DateTimeBuilder) *EmailBuilder

func (*EmailBuilder) Subject ¶

func (rb *EmailBuilder) Subject(subject string) *EmailBuilder

func (*EmailBuilder) To ¶

func (rb *EmailBuilder) To(to ...string) *EmailBuilder

type EmailResult ¶

type EmailResult struct {
	Account *string `json:"account,omitempty"`
	Message Email   `json:"message"`
	Reason  *string `json:"reason,omitempty"`
}

EmailResult type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L205-L209

type EmailResultBuilder ¶

type EmailResultBuilder struct {
	// contains filtered or unexported fields
}

EmailResultBuilder holds EmailResult struct and provides a builder API.

func NewEmailResultBuilder ¶

func NewEmailResultBuilder() *EmailResultBuilder

NewEmailResult provides a builder for the EmailResult struct.

func (*EmailResultBuilder) Account ¶

func (rb *EmailResultBuilder) Account(account string) *EmailResultBuilder

func (*EmailResultBuilder) Build ¶

func (rb *EmailResultBuilder) Build() EmailResult

Build finalize the chain and returns the EmailResult struct

func (*EmailResultBuilder) Message ¶

func (rb *EmailResultBuilder) Message(message *EmailBuilder) *EmailResultBuilder

func (*EmailResultBuilder) Reason ¶

func (rb *EmailResultBuilder) Reason(reason string) *EmailResultBuilder

type EmptyObjectBuilder ¶

type EmptyObjectBuilder struct {
	// contains filtered or unexported fields
}

EmptyObjectBuilder holds EmptyObject struct and provides a builder API.

func NewEmptyObjectBuilder ¶

func NewEmptyObjectBuilder() *EmptyObjectBuilder

NewEmptyObject provides a builder for the EmptyObject struct.

func (*EmptyObjectBuilder) Build ¶

func (rb *EmptyObjectBuilder) Build() EmptyObject

Build finalize the chain and returns the EmptyObject struct

type EnrichProcessor ¶

type EnrichProcessor struct {
	Field         Field                              `json:"field"`
	If            *string                            `json:"if,omitempty"`
	IgnoreFailure *bool                              `json:"ignore_failure,omitempty"`
	IgnoreMissing *bool                              `json:"ignore_missing,omitempty"`
	MaxMatches    *int                               `json:"max_matches,omitempty"`
	OnFailure     []ProcessorContainer               `json:"on_failure,omitempty"`
	Override      *bool                              `json:"override,omitempty"`
	PolicyName    string                             `json:"policy_name"`
	ShapeRelation *geoshaperelation.GeoShapeRelation `json:"shape_relation,omitempty"`
	Tag           *string                            `json:"tag,omitempty"`
	TargetField   Field                              `json:"target_field"`
}

EnrichProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L201-L209

type EnrichProcessorBuilder ¶

type EnrichProcessorBuilder struct {
	// contains filtered or unexported fields
}

EnrichProcessorBuilder holds EnrichProcessor struct and provides a builder API.

func NewEnrichProcessorBuilder ¶

func NewEnrichProcessorBuilder() *EnrichProcessorBuilder

NewEnrichProcessor provides a builder for the EnrichProcessor struct.

func (*EnrichProcessorBuilder) Build ¶

Build finalize the chain and returns the EnrichProcessor struct

func (*EnrichProcessorBuilder) Field ¶

func (*EnrichProcessorBuilder) If_ ¶

func (*EnrichProcessorBuilder) IgnoreFailure ¶

func (rb *EnrichProcessorBuilder) IgnoreFailure(ignorefailure bool) *EnrichProcessorBuilder

func (*EnrichProcessorBuilder) IgnoreMissing ¶

func (rb *EnrichProcessorBuilder) IgnoreMissing(ignoremissing bool) *EnrichProcessorBuilder

func (*EnrichProcessorBuilder) MaxMatches ¶

func (rb *EnrichProcessorBuilder) MaxMatches(maxmatches int) *EnrichProcessorBuilder

func (*EnrichProcessorBuilder) OnFailure ¶

func (*EnrichProcessorBuilder) Override ¶

func (rb *EnrichProcessorBuilder) Override(override bool) *EnrichProcessorBuilder

func (*EnrichProcessorBuilder) PolicyName ¶

func (rb *EnrichProcessorBuilder) PolicyName(policyname string) *EnrichProcessorBuilder

func (*EnrichProcessorBuilder) ShapeRelation ¶

func (*EnrichProcessorBuilder) Tag ¶

func (*EnrichProcessorBuilder) TargetField ¶

func (rb *EnrichProcessorBuilder) TargetField(targetfield Field) *EnrichProcessorBuilder

type Ensemble ¶

type Ensemble struct {
	AggregateOutput      *AggregateOutput `json:"aggregate_output,omitempty"`
	ClassificationLabels []string         `json:"classification_labels,omitempty"`
	FeatureNames         []string         `json:"feature_names,omitempty"`
	TargetType           *string          `json:"target_type,omitempty"`
	TrainedModels        []TrainedModel   `json:"trained_models"`
}

Ensemble type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/put_trained_model/types.ts#L93-L99

type EnsembleBuilder ¶

type EnsembleBuilder struct {
	// contains filtered or unexported fields
}

EnsembleBuilder holds Ensemble struct and provides a builder API.

func NewEnsembleBuilder ¶

func NewEnsembleBuilder() *EnsembleBuilder

NewEnsemble provides a builder for the Ensemble struct.

func (*EnsembleBuilder) AggregateOutput ¶

func (rb *EnsembleBuilder) AggregateOutput(aggregateoutput *AggregateOutputBuilder) *EnsembleBuilder

func (*EnsembleBuilder) Build ¶

func (rb *EnsembleBuilder) Build() Ensemble

Build finalize the chain and returns the Ensemble struct

func (*EnsembleBuilder) ClassificationLabels ¶

func (rb *EnsembleBuilder) ClassificationLabels(classification_labels ...string) *EnsembleBuilder

func (*EnsembleBuilder) FeatureNames ¶

func (rb *EnsembleBuilder) FeatureNames(feature_names ...string) *EnsembleBuilder

func (*EnsembleBuilder) TargetType ¶

func (rb *EnsembleBuilder) TargetType(targettype string) *EnsembleBuilder

func (*EnsembleBuilder) TrainedModels ¶

func (rb *EnsembleBuilder) TrainedModels(trained_models []TrainedModelBuilder) *EnsembleBuilder

type EpochTimeUnitMillisBuilder ¶

type EpochTimeUnitMillisBuilder struct {
	// contains filtered or unexported fields
}

EpochTimeUnitMillisBuilder holds EpochTimeUnitMillis struct and provides a builder API.

func NewEpochTimeUnitMillisBuilder ¶

func NewEpochTimeUnitMillisBuilder() *EpochTimeUnitMillisBuilder

NewEpochTimeUnitMillis provides a builder for the EpochTimeUnitMillis struct.

func (*EpochTimeUnitMillisBuilder) Build ¶

Build finalize the chain and returns the EpochTimeUnitMillis struct

func (*EpochTimeUnitMillisBuilder) EpochTimeUnitMillis ¶

type EpochTimeUnitSecondsBuilder ¶

type EpochTimeUnitSecondsBuilder struct {
	// contains filtered or unexported fields
}

EpochTimeUnitSecondsBuilder holds EpochTimeUnitSeconds struct and provides a builder API.

func NewEpochTimeUnitSecondsBuilder ¶

func NewEpochTimeUnitSecondsBuilder() *EpochTimeUnitSecondsBuilder

NewEpochTimeUnitSeconds provides a builder for the EpochTimeUnitSeconds struct.

func (*EpochTimeUnitSecondsBuilder) Build ¶

Build finalize the chain and returns the EpochTimeUnitSeconds struct

func (*EpochTimeUnitSecondsBuilder) EpochTimeUnitSeconds ¶

type Eql ¶

type Eql struct {
	Available bool             `json:"available"`
	Enabled   bool             `json:"enabled"`
	Features  EqlFeatures      `json:"features"`
	Queries   map[string]Query `json:"queries"`
}

Eql type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L331-L334

type EqlBuilder ¶

type EqlBuilder struct {
	// contains filtered or unexported fields
}

EqlBuilder holds Eql struct and provides a builder API.

func NewEqlBuilder ¶

func NewEqlBuilder() *EqlBuilder

NewEql provides a builder for the Eql struct.

func (*EqlBuilder) Available ¶

func (rb *EqlBuilder) Available(available bool) *EqlBuilder

func (*EqlBuilder) Build ¶

func (rb *EqlBuilder) Build() Eql

Build finalize the chain and returns the Eql struct

func (*EqlBuilder) Enabled ¶

func (rb *EqlBuilder) Enabled(enabled bool) *EqlBuilder

func (*EqlBuilder) Features ¶

func (rb *EqlBuilder) Features(features *EqlFeaturesBuilder) *EqlBuilder

func (*EqlBuilder) Queries ¶

func (rb *EqlBuilder) Queries(values map[string]*QueryBuilder) *EqlBuilder

type EqlFeatures ¶

type EqlFeatures struct {
	Event     uint                 `json:"event"`
	Join      uint                 `json:"join"`
	Joins     EqlFeaturesJoin      `json:"joins"`
	Keys      EqlFeaturesKeys      `json:"keys"`
	Pipes     EqlFeaturesPipes     `json:"pipes"`
	Sequence  uint                 `json:"sequence"`
	Sequences EqlFeaturesSequences `json:"sequences"`
}

EqlFeatures type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L94-L102

type EqlFeaturesBuilder ¶

type EqlFeaturesBuilder struct {
	// contains filtered or unexported fields
}

EqlFeaturesBuilder holds EqlFeatures struct and provides a builder API.

func NewEqlFeaturesBuilder ¶

func NewEqlFeaturesBuilder() *EqlFeaturesBuilder

NewEqlFeatures provides a builder for the EqlFeatures struct.

func (*EqlFeaturesBuilder) Build ¶

func (rb *EqlFeaturesBuilder) Build() EqlFeatures

Build finalize the chain and returns the EqlFeatures struct

func (*EqlFeaturesBuilder) Event ¶

func (rb *EqlFeaturesBuilder) Event(event uint) *EqlFeaturesBuilder

func (*EqlFeaturesBuilder) Join ¶

func (rb *EqlFeaturesBuilder) Join(join uint) *EqlFeaturesBuilder

func (*EqlFeaturesBuilder) Joins ¶

func (*EqlFeaturesBuilder) Keys ¶

func (*EqlFeaturesBuilder) Pipes ¶

func (*EqlFeaturesBuilder) Sequence ¶

func (rb *EqlFeaturesBuilder) Sequence(sequence uint) *EqlFeaturesBuilder

func (*EqlFeaturesBuilder) Sequences ¶

type EqlFeaturesJoin ¶

type EqlFeaturesJoin struct {
	JoinQueriesFiveOrMore uint `json:"join_queries_five_or_more"`
	JoinQueriesFour       uint `json:"join_queries_four"`
	JoinQueriesThree      uint `json:"join_queries_three"`
	JoinQueriesTwo        uint `json:"join_queries_two"`
	JoinUntil             uint `json:"join_until"`
}

EqlFeaturesJoin type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L104-L110

type EqlFeaturesJoinBuilder ¶

type EqlFeaturesJoinBuilder struct {
	// contains filtered or unexported fields
}

EqlFeaturesJoinBuilder holds EqlFeaturesJoin struct and provides a builder API.

func NewEqlFeaturesJoinBuilder ¶

func NewEqlFeaturesJoinBuilder() *EqlFeaturesJoinBuilder

NewEqlFeaturesJoin provides a builder for the EqlFeaturesJoin struct.

func (*EqlFeaturesJoinBuilder) Build ¶

Build finalize the chain and returns the EqlFeaturesJoin struct

func (*EqlFeaturesJoinBuilder) JoinQueriesFiveOrMore ¶

func (rb *EqlFeaturesJoinBuilder) JoinQueriesFiveOrMore(joinqueriesfiveormore uint) *EqlFeaturesJoinBuilder

func (*EqlFeaturesJoinBuilder) JoinQueriesFour ¶

func (rb *EqlFeaturesJoinBuilder) JoinQueriesFour(joinqueriesfour uint) *EqlFeaturesJoinBuilder

func (*EqlFeaturesJoinBuilder) JoinQueriesThree ¶

func (rb *EqlFeaturesJoinBuilder) JoinQueriesThree(joinqueriesthree uint) *EqlFeaturesJoinBuilder

func (*EqlFeaturesJoinBuilder) JoinQueriesTwo ¶

func (rb *EqlFeaturesJoinBuilder) JoinQueriesTwo(joinqueriestwo uint) *EqlFeaturesJoinBuilder

func (*EqlFeaturesJoinBuilder) JoinUntil ¶

func (rb *EqlFeaturesJoinBuilder) JoinUntil(joinuntil uint) *EqlFeaturesJoinBuilder

type EqlFeaturesKeys ¶

type EqlFeaturesKeys struct {
	JoinKeysFiveOrMore uint `json:"join_keys_five_or_more"`
	JoinKeysFour       uint `json:"join_keys_four"`
	JoinKeysOne        uint `json:"join_keys_one"`
	JoinKeysThree      uint `json:"join_keys_three"`
	JoinKeysTwo        uint `json:"join_keys_two"`
}

EqlFeaturesKeys type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L112-L118

type EqlFeaturesKeysBuilder ¶

type EqlFeaturesKeysBuilder struct {
	// contains filtered or unexported fields
}

EqlFeaturesKeysBuilder holds EqlFeaturesKeys struct and provides a builder API.

func NewEqlFeaturesKeysBuilder ¶

func NewEqlFeaturesKeysBuilder() *EqlFeaturesKeysBuilder

NewEqlFeaturesKeys provides a builder for the EqlFeaturesKeys struct.

func (*EqlFeaturesKeysBuilder) Build ¶

Build finalize the chain and returns the EqlFeaturesKeys struct

func (*EqlFeaturesKeysBuilder) JoinKeysFiveOrMore ¶

func (rb *EqlFeaturesKeysBuilder) JoinKeysFiveOrMore(joinkeysfiveormore uint) *EqlFeaturesKeysBuilder

func (*EqlFeaturesKeysBuilder) JoinKeysFour ¶

func (rb *EqlFeaturesKeysBuilder) JoinKeysFour(joinkeysfour uint) *EqlFeaturesKeysBuilder

func (*EqlFeaturesKeysBuilder) JoinKeysOne ¶

func (rb *EqlFeaturesKeysBuilder) JoinKeysOne(joinkeysone uint) *EqlFeaturesKeysBuilder

func (*EqlFeaturesKeysBuilder) JoinKeysThree ¶

func (rb *EqlFeaturesKeysBuilder) JoinKeysThree(joinkeysthree uint) *EqlFeaturesKeysBuilder

func (*EqlFeaturesKeysBuilder) JoinKeysTwo ¶

func (rb *EqlFeaturesKeysBuilder) JoinKeysTwo(joinkeystwo uint) *EqlFeaturesKeysBuilder

type EqlFeaturesPipes ¶

type EqlFeaturesPipes struct {
	PipeHead uint `json:"pipe_head"`
	PipeTail uint `json:"pipe_tail"`
}

EqlFeaturesPipes type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L120-L123

type EqlFeaturesPipesBuilder ¶

type EqlFeaturesPipesBuilder struct {
	// contains filtered or unexported fields
}

EqlFeaturesPipesBuilder holds EqlFeaturesPipes struct and provides a builder API.

func NewEqlFeaturesPipesBuilder ¶

func NewEqlFeaturesPipesBuilder() *EqlFeaturesPipesBuilder

NewEqlFeaturesPipes provides a builder for the EqlFeaturesPipes struct.

func (*EqlFeaturesPipesBuilder) Build ¶

Build finalize the chain and returns the EqlFeaturesPipes struct

func (*EqlFeaturesPipesBuilder) PipeHead ¶

func (rb *EqlFeaturesPipesBuilder) PipeHead(pipehead uint) *EqlFeaturesPipesBuilder

func (*EqlFeaturesPipesBuilder) PipeTail ¶

func (rb *EqlFeaturesPipesBuilder) PipeTail(pipetail uint) *EqlFeaturesPipesBuilder

type EqlFeaturesSequences ¶

type EqlFeaturesSequences struct {
	SequenceMaxspan           uint `json:"sequence_maxspan"`
	SequenceQueriesFiveOrMore uint `json:"sequence_queries_five_or_more"`
	SequenceQueriesFour       uint `json:"sequence_queries_four"`
	SequenceQueriesThree      uint `json:"sequence_queries_three"`
	SequenceQueriesTwo        uint `json:"sequence_queries_two"`
	SequenceUntil             uint `json:"sequence_until"`
}

EqlFeaturesSequences type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L125-L132

type EqlFeaturesSequencesBuilder ¶

type EqlFeaturesSequencesBuilder struct {
	// contains filtered or unexported fields
}

EqlFeaturesSequencesBuilder holds EqlFeaturesSequences struct and provides a builder API.

func NewEqlFeaturesSequencesBuilder ¶

func NewEqlFeaturesSequencesBuilder() *EqlFeaturesSequencesBuilder

NewEqlFeaturesSequences provides a builder for the EqlFeaturesSequences struct.

func (*EqlFeaturesSequencesBuilder) Build ¶

Build finalize the chain and returns the EqlFeaturesSequences struct

func (*EqlFeaturesSequencesBuilder) SequenceMaxspan ¶

func (rb *EqlFeaturesSequencesBuilder) SequenceMaxspan(sequencemaxspan uint) *EqlFeaturesSequencesBuilder

func (*EqlFeaturesSequencesBuilder) SequenceQueriesFiveOrMore ¶

func (rb *EqlFeaturesSequencesBuilder) SequenceQueriesFiveOrMore(sequencequeriesfiveormore uint) *EqlFeaturesSequencesBuilder

func (*EqlFeaturesSequencesBuilder) SequenceQueriesFour ¶

func (rb *EqlFeaturesSequencesBuilder) SequenceQueriesFour(sequencequeriesfour uint) *EqlFeaturesSequencesBuilder

func (*EqlFeaturesSequencesBuilder) SequenceQueriesThree ¶

func (rb *EqlFeaturesSequencesBuilder) SequenceQueriesThree(sequencequeriesthree uint) *EqlFeaturesSequencesBuilder

func (*EqlFeaturesSequencesBuilder) SequenceQueriesTwo ¶

func (rb *EqlFeaturesSequencesBuilder) SequenceQueriesTwo(sequencequeriestwo uint) *EqlFeaturesSequencesBuilder

func (*EqlFeaturesSequencesBuilder) SequenceUntil ¶

func (rb *EqlFeaturesSequencesBuilder) SequenceUntil(sequenceuntil uint) *EqlFeaturesSequencesBuilder

type EqlHits ¶

type EqlHits struct {
	// Events Contains events matching the query. Each object represents a matching event.
	Events []HitsEvent `json:"events,omitempty"`
	// Sequences Contains event sequences matching the query. Each object represents a
	// matching sequence. This parameter is only returned for EQL queries containing
	// a sequence.
	Sequences []HitsSequence `json:"sequences,omitempty"`
	// Total Metadata about the number of matching events or sequences.
	Total *TotalHits `json:"total,omitempty"`
}

EqlHits type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/eql/_types/EqlHits.ts#L25-L39

type EqlHitsBuilder ¶

type EqlHitsBuilder struct {
	// contains filtered or unexported fields
}

EqlHitsBuilder holds EqlHits struct and provides a builder API.

func NewEqlHitsBuilder ¶

func NewEqlHitsBuilder() *EqlHitsBuilder

NewEqlHits provides a builder for the EqlHits struct.

func (*EqlHitsBuilder) Build ¶

func (rb *EqlHitsBuilder) Build() EqlHits

Build finalize the chain and returns the EqlHits struct

func (*EqlHitsBuilder) Events ¶

func (rb *EqlHitsBuilder) Events(events []HitsEventBuilder) *EqlHitsBuilder

func (*EqlHitsBuilder) Sequences ¶

func (rb *EqlHitsBuilder) Sequences(sequences []HitsSequenceBuilder) *EqlHitsBuilder

func (*EqlHitsBuilder) Total ¶

func (rb *EqlHitsBuilder) Total(total *TotalHitsBuilder) *EqlHitsBuilder

type EqlSearchResponseBase ¶

type EqlSearchResponseBase struct {
	// Hits Contains matching events and sequences. Also contains related metadata.
	Hits EqlHits `json:"hits"`
	// Id Identifier for the search.
	Id *Id `json:"id,omitempty"`
	// IsPartial If true, the response does not contain complete search results.
	IsPartial *bool `json:"is_partial,omitempty"`
	// IsRunning If true, the search request is still executing.
	IsRunning *bool `json:"is_running,omitempty"`
	// TimedOut If true, the request timed out before completion.
	TimedOut *bool `json:"timed_out,omitempty"`
	// Took Milliseconds it took Elasticsearch to execute the request.
	Took *DurationValueUnitMillis `json:"took,omitempty"`
}

EqlSearchResponseBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/eql/_types/EqlSearchResponseBase.ts#L25-L50

type EqlSearchResponseBaseBuilder ¶

type EqlSearchResponseBaseBuilder struct {
	// contains filtered or unexported fields
}

EqlSearchResponseBaseBuilder holds EqlSearchResponseBase struct and provides a builder API.

func NewEqlSearchResponseBaseBuilder ¶

func NewEqlSearchResponseBaseBuilder() *EqlSearchResponseBaseBuilder

NewEqlSearchResponseBase provides a builder for the EqlSearchResponseBase struct.

func (*EqlSearchResponseBaseBuilder) Build ¶

Build finalize the chain and returns the EqlSearchResponseBase struct

func (*EqlSearchResponseBaseBuilder) Hits ¶

func (*EqlSearchResponseBaseBuilder) Id ¶

func (*EqlSearchResponseBaseBuilder) IsPartial ¶

func (*EqlSearchResponseBaseBuilder) IsRunning ¶

func (*EqlSearchResponseBaseBuilder) TimedOut ¶

func (*EqlSearchResponseBaseBuilder) Took ¶

type ErrorCause ¶

type ErrorCause struct {
	CausedBy *ErrorCause            `json:"caused_by,omitempty"`
	Metadata map[string]interface{} `json:"metadata,omitempty"`
	// Reason A human-readable explanation of the error, in english
	Reason    string       `json:"reason"`
	RootCause []ErrorCause `json:"root_cause,omitempty"`
	// StackTrace The server stack trace. Present only if the `error_trace=true` parameter was
	// sent with the request.
	StackTrace *string      `json:"stack_trace,omitempty"`
	Suppressed []ErrorCause `json:"suppressed,omitempty"`
	// Type The type of error
	Type string `json:"type"`
}

ErrorCause type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Errors.ts#L25-L48

type ErrorCauseBuilder ¶

type ErrorCauseBuilder struct {
	// contains filtered or unexported fields
}

ErrorCauseBuilder holds ErrorCause struct and provides a builder API.

func NewErrorCauseBuilder ¶

func NewErrorCauseBuilder() *ErrorCauseBuilder

NewErrorCause provides a builder for the ErrorCause struct.

func (*ErrorCauseBuilder) Build ¶

func (rb *ErrorCauseBuilder) Build() ErrorCause

Build finalize the chain and returns the ErrorCause struct

func (*ErrorCauseBuilder) CausedBy ¶

func (rb *ErrorCauseBuilder) CausedBy(causedby *ErrorCauseBuilder) *ErrorCauseBuilder

func (*ErrorCauseBuilder) Metadata ¶

func (rb *ErrorCauseBuilder) Metadata(value map[string]interface{}) *ErrorCauseBuilder

func (*ErrorCauseBuilder) Reason ¶

func (rb *ErrorCauseBuilder) Reason(reason string) *ErrorCauseBuilder

func (*ErrorCauseBuilder) RootCause ¶

func (rb *ErrorCauseBuilder) RootCause(root_cause []ErrorCauseBuilder) *ErrorCauseBuilder

func (*ErrorCauseBuilder) StackTrace ¶

func (rb *ErrorCauseBuilder) StackTrace(stacktrace string) *ErrorCauseBuilder

func (*ErrorCauseBuilder) Suppressed ¶

func (rb *ErrorCauseBuilder) Suppressed(suppressed []ErrorCauseBuilder) *ErrorCauseBuilder

func (*ErrorCauseBuilder) Type_ ¶

func (rb *ErrorCauseBuilder) Type_(type_ string) *ErrorCauseBuilder

type ErrorResponseBaseBuilder ¶

type ErrorResponseBaseBuilder struct {
	// contains filtered or unexported fields
}

ErrorResponseBaseBuilder holds ErrorResponseBase struct and provides a builder API.

func NewErrorResponseBaseBuilder ¶

func NewErrorResponseBaseBuilder() *ErrorResponseBaseBuilder

NewErrorResponseBase provides a builder for the ErrorResponseBase struct.

func (*ErrorResponseBaseBuilder) Build ¶

Build finalize the chain and returns the ErrorResponseBase struct

func (*ErrorResponseBaseBuilder) Error ¶

func (*ErrorResponseBaseBuilder) Status ¶

type EwmaModelSettingsBuilder ¶

type EwmaModelSettingsBuilder struct {
	// contains filtered or unexported fields
}

EwmaModelSettingsBuilder holds EwmaModelSettings struct and provides a builder API.

func NewEwmaModelSettingsBuilder ¶

func NewEwmaModelSettingsBuilder() *EwmaModelSettingsBuilder

NewEwmaModelSettings provides a builder for the EwmaModelSettings struct.

func (*EwmaModelSettingsBuilder) Alpha ¶

func (*EwmaModelSettingsBuilder) Build ¶

Build finalize the chain and returns the EwmaModelSettings struct

type EwmaMovingAverageAggregation ¶

type EwmaMovingAverageAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Minimize    *bool                `json:"minimize,omitempty"`
	Model       string               `json:"model,omitempty"`
	Name        *string              `json:"name,omitempty"`
	Predict     *int                 `json:"predict,omitempty"`
	Settings    EwmaModelSettings    `json:"settings"`
	Window      *int                 `json:"window,omitempty"`
}

EwmaMovingAverageAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L200-L203

type EwmaMovingAverageAggregationBuilder ¶

type EwmaMovingAverageAggregationBuilder struct {
	// contains filtered or unexported fields
}

EwmaMovingAverageAggregationBuilder holds EwmaMovingAverageAggregation struct and provides a builder API.

func NewEwmaMovingAverageAggregationBuilder ¶

func NewEwmaMovingAverageAggregationBuilder() *EwmaMovingAverageAggregationBuilder

NewEwmaMovingAverageAggregation provides a builder for the EwmaMovingAverageAggregation struct.

func (*EwmaMovingAverageAggregationBuilder) BucketsPath ¶

func (*EwmaMovingAverageAggregationBuilder) Build ¶

Build finalize the chain and returns the EwmaMovingAverageAggregation struct

func (*EwmaMovingAverageAggregationBuilder) Format ¶

func (*EwmaMovingAverageAggregationBuilder) GapPolicy ¶

func (*EwmaMovingAverageAggregationBuilder) Meta ¶

func (*EwmaMovingAverageAggregationBuilder) Minimize ¶

func (*EwmaMovingAverageAggregationBuilder) Name ¶

func (*EwmaMovingAverageAggregationBuilder) Predict ¶

func (*EwmaMovingAverageAggregationBuilder) Settings ¶

func (*EwmaMovingAverageAggregationBuilder) Window ¶

type ExecuteEnrichPolicyStatusBuilder ¶

type ExecuteEnrichPolicyStatusBuilder struct {
	// contains filtered or unexported fields
}

ExecuteEnrichPolicyStatusBuilder holds ExecuteEnrichPolicyStatus struct and provides a builder API.

func NewExecuteEnrichPolicyStatusBuilder ¶

func NewExecuteEnrichPolicyStatusBuilder() *ExecuteEnrichPolicyStatusBuilder

NewExecuteEnrichPolicyStatus provides a builder for the ExecuteEnrichPolicyStatus struct.

func (*ExecuteEnrichPolicyStatusBuilder) Build ¶

Build finalize the chain and returns the ExecuteEnrichPolicyStatus struct

func (*ExecuteEnrichPolicyStatusBuilder) Phase ¶

type ExecutingPolicyBuilder ¶

type ExecutingPolicyBuilder struct {
	// contains filtered or unexported fields
}

ExecutingPolicyBuilder holds ExecutingPolicy struct and provides a builder API.

func NewExecutingPolicyBuilder ¶

func NewExecutingPolicyBuilder() *ExecutingPolicyBuilder

NewExecutingPolicy provides a builder for the ExecutingPolicy struct.

func (*ExecutingPolicyBuilder) Build ¶

Build finalize the chain and returns the ExecutingPolicy struct

func (*ExecutingPolicyBuilder) Name ¶

func (*ExecutingPolicyBuilder) Task ¶

type ExecutionResult ¶

type ExecutionResult struct {
	Actions           []ExecutionResultAction  `json:"actions"`
	Condition         ExecutionResultCondition `json:"condition"`
	ExecutionDuration DurationValueUnitMillis  `json:"execution_duration"`
	ExecutionTime     DateTime                 `json:"execution_time"`
	Input             ExecutionResultInput     `json:"input"`
}

ExecutionResult type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Execution.ts#L60-L66

type ExecutionResultAction ¶

type ExecutionResultAction struct {
	Email     *EmailResult                            `json:"email,omitempty"`
	Error     *ErrorCause                             `json:"error,omitempty"`
	Id        Id                                      `json:"id"`
	Index     *IndexResult                            `json:"index,omitempty"`
	Logging   *LoggingResult                          `json:"logging,omitempty"`
	Pagerduty *PagerDutyResult                        `json:"pagerduty,omitempty"`
	Reason    *string                                 `json:"reason,omitempty"`
	Slack     *SlackResult                            `json:"slack,omitempty"`
	Status    actionstatusoptions.ActionStatusOptions `json:"status"`
	Type      actiontype.ActionType                   `json:"type"`
	Webhook   *WebhookResult                          `json:"webhook,omitempty"`
}

ExecutionResultAction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Execution.ts#L74-L86

type ExecutionResultActionBuilder ¶

type ExecutionResultActionBuilder struct {
	// contains filtered or unexported fields
}

ExecutionResultActionBuilder holds ExecutionResultAction struct and provides a builder API.

func NewExecutionResultActionBuilder ¶

func NewExecutionResultActionBuilder() *ExecutionResultActionBuilder

NewExecutionResultAction provides a builder for the ExecutionResultAction struct.

func (*ExecutionResultActionBuilder) Build ¶

Build finalize the chain and returns the ExecutionResultAction struct

func (*ExecutionResultActionBuilder) Email ¶

func (*ExecutionResultActionBuilder) Error ¶

func (*ExecutionResultActionBuilder) Id ¶

func (*ExecutionResultActionBuilder) Index ¶

func (*ExecutionResultActionBuilder) Logging ¶

func (*ExecutionResultActionBuilder) Pagerduty ¶

func (*ExecutionResultActionBuilder) Reason ¶

func (*ExecutionResultActionBuilder) Slack ¶

func (*ExecutionResultActionBuilder) Status ¶

func (*ExecutionResultActionBuilder) Type_ ¶

func (*ExecutionResultActionBuilder) Webhook ¶

type ExecutionResultBuilder ¶

type ExecutionResultBuilder struct {
	// contains filtered or unexported fields
}

ExecutionResultBuilder holds ExecutionResult struct and provides a builder API.

func NewExecutionResultBuilder ¶

func NewExecutionResultBuilder() *ExecutionResultBuilder

NewExecutionResult provides a builder for the ExecutionResult struct.

func (*ExecutionResultBuilder) Actions ¶

func (*ExecutionResultBuilder) Build ¶

Build finalize the chain and returns the ExecutionResult struct

func (*ExecutionResultBuilder) Condition ¶

func (*ExecutionResultBuilder) ExecutionDuration ¶

func (rb *ExecutionResultBuilder) ExecutionDuration(executionduration *DurationValueUnitMillisBuilder) *ExecutionResultBuilder

func (*ExecutionResultBuilder) ExecutionTime ¶

func (rb *ExecutionResultBuilder) ExecutionTime(executiontime *DateTimeBuilder) *ExecutionResultBuilder

func (*ExecutionResultBuilder) Input ¶

type ExecutionResultConditionBuilder ¶

type ExecutionResultConditionBuilder struct {
	// contains filtered or unexported fields
}

ExecutionResultConditionBuilder holds ExecutionResultCondition struct and provides a builder API.

func NewExecutionResultConditionBuilder ¶

func NewExecutionResultConditionBuilder() *ExecutionResultConditionBuilder

NewExecutionResultCondition provides a builder for the ExecutionResultCondition struct.

func (*ExecutionResultConditionBuilder) Build ¶

Build finalize the chain and returns the ExecutionResultCondition struct

func (*ExecutionResultConditionBuilder) Met ¶

func (*ExecutionResultConditionBuilder) Status ¶

func (*ExecutionResultConditionBuilder) Type_ ¶

type ExecutionResultInput ¶

type ExecutionResultInput struct {
	Payload map[string]interface{}                  `json:"payload"`
	Status  actionstatusoptions.ActionStatusOptions `json:"status"`
	Type    inputtype.InputType                     `json:"type"`
}

ExecutionResultInput type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Execution.ts#L88-L92

type ExecutionResultInputBuilder ¶

type ExecutionResultInputBuilder struct {
	// contains filtered or unexported fields
}

ExecutionResultInputBuilder holds ExecutionResultInput struct and provides a builder API.

func NewExecutionResultInputBuilder ¶

func NewExecutionResultInputBuilder() *ExecutionResultInputBuilder

NewExecutionResultInput provides a builder for the ExecutionResultInput struct.

func (*ExecutionResultInputBuilder) Build ¶

Build finalize the chain and returns the ExecutionResultInput struct

func (*ExecutionResultInputBuilder) Payload ¶

func (rb *ExecutionResultInputBuilder) Payload(value map[string]interface{}) *ExecutionResultInputBuilder

func (*ExecutionResultInputBuilder) Status ¶

func (*ExecutionResultInputBuilder) Type_ ¶

type ExecutionState ¶

type ExecutionState struct {
	Reason     *string  `json:"reason,omitempty"`
	Successful bool     `json:"successful"`
	Timestamp  DateTime `json:"timestamp"`
}

ExecutionState type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Action.ts#L117-L121

type ExecutionStateBuilder ¶

type ExecutionStateBuilder struct {
	// contains filtered or unexported fields
}

ExecutionStateBuilder holds ExecutionState struct and provides a builder API.

func NewExecutionStateBuilder ¶

func NewExecutionStateBuilder() *ExecutionStateBuilder

NewExecutionState provides a builder for the ExecutionState struct.

func (*ExecutionStateBuilder) Build ¶

Build finalize the chain and returns the ExecutionState struct

func (*ExecutionStateBuilder) Reason ¶

func (*ExecutionStateBuilder) Successful ¶

func (rb *ExecutionStateBuilder) Successful(successful bool) *ExecutionStateBuilder

func (*ExecutionStateBuilder) Timestamp ¶

func (rb *ExecutionStateBuilder) Timestamp(timestamp *DateTimeBuilder) *ExecutionStateBuilder

type ExecutionThreadPool ¶

type ExecutionThreadPool struct {
	MaxSize   int64 `json:"max_size"`
	QueueSize int64 `json:"queue_size"`
}

ExecutionThreadPool type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Execution.ts#L94-L97

type ExecutionThreadPoolBuilder ¶

type ExecutionThreadPoolBuilder struct {
	// contains filtered or unexported fields
}

ExecutionThreadPoolBuilder holds ExecutionThreadPool struct and provides a builder API.

func NewExecutionThreadPoolBuilder ¶

func NewExecutionThreadPoolBuilder() *ExecutionThreadPoolBuilder

NewExecutionThreadPool provides a builder for the ExecutionThreadPool struct.

func (*ExecutionThreadPoolBuilder) Build ¶

Build finalize the chain and returns the ExecutionThreadPool struct

func (*ExecutionThreadPoolBuilder) MaxSize ¶

func (*ExecutionThreadPoolBuilder) QueueSize ¶

type ExistsQuery ¶

type ExistsQuery struct {
	Boost      *float32 `json:"boost,omitempty"`
	Field      Field    `json:"field"`
	QueryName_ *string  `json:"_name,omitempty"`
}

ExistsQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L36-L38

type ExistsQueryBuilder ¶

type ExistsQueryBuilder struct {
	// contains filtered or unexported fields
}

ExistsQueryBuilder holds ExistsQuery struct and provides a builder API.

func NewExistsQueryBuilder ¶

func NewExistsQueryBuilder() *ExistsQueryBuilder

NewExistsQuery provides a builder for the ExistsQuery struct.

func (*ExistsQueryBuilder) Boost ¶

func (rb *ExistsQueryBuilder) Boost(boost float32) *ExistsQueryBuilder

func (*ExistsQueryBuilder) Build ¶

func (rb *ExistsQueryBuilder) Build() ExistsQuery

Build finalize the chain and returns the ExistsQuery struct

func (*ExistsQueryBuilder) Field ¶

func (rb *ExistsQueryBuilder) Field(field Field) *ExistsQueryBuilder

func (*ExistsQueryBuilder) QueryName_ ¶

func (rb *ExistsQueryBuilder) QueryName_(queryname_ string) *ExistsQueryBuilder

type ExpandWildcardsBuilder ¶

type ExpandWildcardsBuilder struct {
	// contains filtered or unexported fields
}

ExpandWildcardsBuilder holds ExpandWildcards struct and provides a builder API.

func NewExpandWildcardsBuilder ¶

func NewExpandWildcardsBuilder() *ExpandWildcardsBuilder

NewExpandWildcards provides a builder for the ExpandWildcards struct.

func (*ExpandWildcardsBuilder) Build ¶

Build finalize the chain and returns the ExpandWildcards struct

func (*ExpandWildcardsBuilder) ExpandWildcards ¶

type ExplainAnalyzeToken ¶

type ExplainAnalyzeToken struct {
	Bytes               string                 `json:"bytes"`
	EndOffset           int64                  `json:"end_offset"`
	ExplainAnalyzeToken map[string]interface{} `json:"ExplainAnalyzeToken,omitempty"`
	Keyword             *bool                  `json:"keyword,omitempty"`
	Position            int64                  `json:"position"`
	PositionLength      int64                  `json:"positionLength"`
	StartOffset         int64                  `json:"start_offset"`
	TermFrequency       int64                  `json:"termFrequency"`
	Token               string                 `json:"token"`
	Type                string                 `json:"type"`
}

ExplainAnalyzeToken type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/analyze/types.ts#L52-L64

type ExplainAnalyzeTokenBuilder ¶

type ExplainAnalyzeTokenBuilder struct {
	// contains filtered or unexported fields
}

ExplainAnalyzeTokenBuilder holds ExplainAnalyzeToken struct and provides a builder API.

func NewExplainAnalyzeTokenBuilder ¶

func NewExplainAnalyzeTokenBuilder() *ExplainAnalyzeTokenBuilder

NewExplainAnalyzeToken provides a builder for the ExplainAnalyzeToken struct.

func (*ExplainAnalyzeTokenBuilder) Build ¶

Build finalize the chain and returns the ExplainAnalyzeToken struct

func (*ExplainAnalyzeTokenBuilder) Bytes ¶

func (*ExplainAnalyzeTokenBuilder) EndOffset ¶

func (*ExplainAnalyzeTokenBuilder) ExplainAnalyzeToken ¶

func (rb *ExplainAnalyzeTokenBuilder) ExplainAnalyzeToken(value map[string]interface{}) *ExplainAnalyzeTokenBuilder

func (*ExplainAnalyzeTokenBuilder) Keyword ¶

func (*ExplainAnalyzeTokenBuilder) Position ¶

func (*ExplainAnalyzeTokenBuilder) PositionLength ¶

func (rb *ExplainAnalyzeTokenBuilder) PositionLength(positionlength int64) *ExplainAnalyzeTokenBuilder

func (*ExplainAnalyzeTokenBuilder) StartOffset ¶

func (rb *ExplainAnalyzeTokenBuilder) StartOffset(startoffset int64) *ExplainAnalyzeTokenBuilder

func (*ExplainAnalyzeTokenBuilder) TermFrequency ¶

func (rb *ExplainAnalyzeTokenBuilder) TermFrequency(termfrequency int64) *ExplainAnalyzeTokenBuilder

func (*ExplainAnalyzeTokenBuilder) Token ¶

func (*ExplainAnalyzeTokenBuilder) Type_ ¶

type Explanation ¶

type Explanation struct {
	Description string              `json:"description"`
	Details     []ExplanationDetail `json:"details"`
	Value       float32             `json:"value"`
}

Explanation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/explain/types.ts#L22-L26

type ExplanationBuilder ¶

type ExplanationBuilder struct {
	// contains filtered or unexported fields
}

ExplanationBuilder holds Explanation struct and provides a builder API.

func NewExplanationBuilder ¶

func NewExplanationBuilder() *ExplanationBuilder

NewExplanation provides a builder for the Explanation struct.

func (*ExplanationBuilder) Build ¶

func (rb *ExplanationBuilder) Build() Explanation

Build finalize the chain and returns the Explanation struct

func (*ExplanationBuilder) Description ¶

func (rb *ExplanationBuilder) Description(description string) *ExplanationBuilder

func (*ExplanationBuilder) Details ¶

func (*ExplanationBuilder) Value ¶

func (rb *ExplanationBuilder) Value(value float32) *ExplanationBuilder

type ExplanationDetail ¶

type ExplanationDetail struct {
	Description string              `json:"description"`
	Details     []ExplanationDetail `json:"details,omitempty"`
	Value       float32             `json:"value"`
}

ExplanationDetail type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/explain/types.ts#L28-L32

type ExplanationDetailBuilder ¶

type ExplanationDetailBuilder struct {
	// contains filtered or unexported fields
}

ExplanationDetailBuilder holds ExplanationDetail struct and provides a builder API.

func NewExplanationDetailBuilder ¶

func NewExplanationDetailBuilder() *ExplanationDetailBuilder

NewExplanationDetail provides a builder for the ExplanationDetail struct.

func (*ExplanationDetailBuilder) Build ¶

Build finalize the chain and returns the ExplanationDetail struct

func (*ExplanationDetailBuilder) Description ¶

func (rb *ExplanationDetailBuilder) Description(description string) *ExplanationDetailBuilder

func (*ExplanationDetailBuilder) Details ¶

func (*ExplanationDetailBuilder) Value ¶

type ExploreControls ¶

type ExploreControls struct {
	SampleDiversity *SampleDiversity `json:"sample_diversity,omitempty"`
	SampleSize      *int             `json:"sample_size,omitempty"`
	Timeout         *Duration        `json:"timeout,omitempty"`
	UseSignificance bool             `json:"use_significance"`
}

ExploreControls type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/graph/_types/ExploreControls.ts#L24-L29

type ExploreControlsBuilder ¶

type ExploreControlsBuilder struct {
	// contains filtered or unexported fields
}

ExploreControlsBuilder holds ExploreControls struct and provides a builder API.

func NewExploreControlsBuilder ¶

func NewExploreControlsBuilder() *ExploreControlsBuilder

NewExploreControls provides a builder for the ExploreControls struct.

func (*ExploreControlsBuilder) Build ¶

Build finalize the chain and returns the ExploreControls struct

func (*ExploreControlsBuilder) SampleDiversity ¶

func (rb *ExploreControlsBuilder) SampleDiversity(samplediversity *SampleDiversityBuilder) *ExploreControlsBuilder

func (*ExploreControlsBuilder) SampleSize ¶

func (rb *ExploreControlsBuilder) SampleSize(samplesize int) *ExploreControlsBuilder

func (*ExploreControlsBuilder) Timeout ¶

func (*ExploreControlsBuilder) UseSignificance ¶

func (rb *ExploreControlsBuilder) UseSignificance(usesignificance bool) *ExploreControlsBuilder

type ExtendedBoundsFieldDateMathBuilder ¶

type ExtendedBoundsFieldDateMathBuilder struct {
	// contains filtered or unexported fields
}

ExtendedBoundsFieldDateMathBuilder holds ExtendedBoundsFieldDateMath struct and provides a builder API.

func NewExtendedBoundsFieldDateMathBuilder ¶

func NewExtendedBoundsFieldDateMathBuilder() *ExtendedBoundsFieldDateMathBuilder

NewExtendedBoundsFieldDateMath provides a builder for the ExtendedBoundsFieldDateMath struct.

func (*ExtendedBoundsFieldDateMathBuilder) Build ¶

Build finalize the chain and returns the ExtendedBoundsFieldDateMath struct

func (*ExtendedBoundsFieldDateMathBuilder) Max ¶

func (*ExtendedBoundsFieldDateMathBuilder) Min ¶

type ExtendedBoundsdoubleBuilder ¶

type ExtendedBoundsdoubleBuilder struct {
	// contains filtered or unexported fields
}

ExtendedBoundsdoubleBuilder holds ExtendedBoundsdouble struct and provides a builder API.

func NewExtendedBoundsdoubleBuilder ¶

func NewExtendedBoundsdoubleBuilder() *ExtendedBoundsdoubleBuilder

NewExtendedBoundsdouble provides a builder for the ExtendedBoundsdouble struct.

func (*ExtendedBoundsdoubleBuilder) Build ¶

Build finalize the chain and returns the ExtendedBoundsdouble struct

func (*ExtendedBoundsdoubleBuilder) Max ¶

func (*ExtendedBoundsdoubleBuilder) Min ¶

type ExtendedMemoryStats ¶

type ExtendedMemoryStats struct {
	AdjustedTotalInBytes *int64  `json:"adjusted_total_in_bytes,omitempty"`
	FreeInBytes          *int64  `json:"free_in_bytes,omitempty"`
	FreePercent          *int    `json:"free_percent,omitempty"`
	Resident             *string `json:"resident,omitempty"`
	ResidentInBytes      *int64  `json:"resident_in_bytes,omitempty"`
	Share                *string `json:"share,omitempty"`
	ShareInBytes         *int64  `json:"share_in_bytes,omitempty"`
	TotalInBytes         *int64  `json:"total_in_bytes,omitempty"`
	TotalVirtual         *string `json:"total_virtual,omitempty"`
	TotalVirtualInBytes  *int64  `json:"total_virtual_in_bytes,omitempty"`
	UsedInBytes          *int64  `json:"used_in_bytes,omitempty"`
	UsedPercent          *int    `json:"used_percent,omitempty"`
}

ExtendedMemoryStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L255-L258

type ExtendedMemoryStatsBuilder ¶

type ExtendedMemoryStatsBuilder struct {
	// contains filtered or unexported fields
}

ExtendedMemoryStatsBuilder holds ExtendedMemoryStats struct and provides a builder API.

func NewExtendedMemoryStatsBuilder ¶

func NewExtendedMemoryStatsBuilder() *ExtendedMemoryStatsBuilder

NewExtendedMemoryStats provides a builder for the ExtendedMemoryStats struct.

func (*ExtendedMemoryStatsBuilder) AdjustedTotalInBytes ¶

func (rb *ExtendedMemoryStatsBuilder) AdjustedTotalInBytes(adjustedtotalinbytes int64) *ExtendedMemoryStatsBuilder

func (*ExtendedMemoryStatsBuilder) Build ¶

Build finalize the chain and returns the ExtendedMemoryStats struct

func (*ExtendedMemoryStatsBuilder) FreeInBytes ¶

func (rb *ExtendedMemoryStatsBuilder) FreeInBytes(freeinbytes int64) *ExtendedMemoryStatsBuilder

func (*ExtendedMemoryStatsBuilder) FreePercent ¶

func (rb *ExtendedMemoryStatsBuilder) FreePercent(freepercent int) *ExtendedMemoryStatsBuilder

func (*ExtendedMemoryStatsBuilder) Resident ¶

func (*ExtendedMemoryStatsBuilder) ResidentInBytes ¶

func (rb *ExtendedMemoryStatsBuilder) ResidentInBytes(residentinbytes int64) *ExtendedMemoryStatsBuilder

func (*ExtendedMemoryStatsBuilder) Share ¶

func (*ExtendedMemoryStatsBuilder) ShareInBytes ¶

func (rb *ExtendedMemoryStatsBuilder) ShareInBytes(shareinbytes int64) *ExtendedMemoryStatsBuilder

func (*ExtendedMemoryStatsBuilder) TotalInBytes ¶

func (rb *ExtendedMemoryStatsBuilder) TotalInBytes(totalinbytes int64) *ExtendedMemoryStatsBuilder

func (*ExtendedMemoryStatsBuilder) TotalVirtual ¶

func (rb *ExtendedMemoryStatsBuilder) TotalVirtual(totalvirtual string) *ExtendedMemoryStatsBuilder

func (*ExtendedMemoryStatsBuilder) TotalVirtualInBytes ¶

func (rb *ExtendedMemoryStatsBuilder) TotalVirtualInBytes(totalvirtualinbytes int64) *ExtendedMemoryStatsBuilder

func (*ExtendedMemoryStatsBuilder) UsedInBytes ¶

func (rb *ExtendedMemoryStatsBuilder) UsedInBytes(usedinbytes int64) *ExtendedMemoryStatsBuilder

func (*ExtendedMemoryStatsBuilder) UsedPercent ¶

func (rb *ExtendedMemoryStatsBuilder) UsedPercent(usedpercent int) *ExtendedMemoryStatsBuilder

type ExtendedStatsAggregate ¶

type ExtendedStatsAggregate struct {
	Avg                        float64                          `json:"avg,omitempty"`
	AvgAsString                *string                          `json:"avg_as_string,omitempty"`
	Count                      int64                            `json:"count"`
	Max                        float64                          `json:"max,omitempty"`
	MaxAsString                *string                          `json:"max_as_string,omitempty"`
	Meta                       *Metadata                        `json:"meta,omitempty"`
	Min                        float64                          `json:"min,omitempty"`
	MinAsString                *string                          `json:"min_as_string,omitempty"`
	StdDeviation               float64                          `json:"std_deviation,omitempty"`
	StdDeviationAsString       *string                          `json:"std_deviation_as_string,omitempty"`
	StdDeviationBounds         *StandardDeviationBounds         `json:"std_deviation_bounds,omitempty"`
	StdDeviationBoundsAsString *StandardDeviationBoundsAsString `json:"std_deviation_bounds_as_string,omitempty"`
	Sum                        float64                          `json:"sum"`
	SumAsString                *string                          `json:"sum_as_string,omitempty"`
	SumOfSquares               float64                          `json:"sum_of_squares,omitempty"`
	SumOfSquaresAsString       *string                          `json:"sum_of_squares_as_string,omitempty"`
	Variance                   float64                          `json:"variance,omitempty"`
	VarianceAsString           *string                          `json:"variance_as_string,omitempty"`
	VariancePopulation         float64                          `json:"variance_population,omitempty"`
	VariancePopulationAsString *string                          `json:"variance_population_as_string,omitempty"`
	VarianceSampling           float64                          `json:"variance_sampling,omitempty"`
	VarianceSamplingAsString   *string                          `json:"variance_sampling_as_string,omitempty"`
}

ExtendedStatsAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L267-L283

type ExtendedStatsAggregateBuilder ¶

type ExtendedStatsAggregateBuilder struct {
	// contains filtered or unexported fields
}

ExtendedStatsAggregateBuilder holds ExtendedStatsAggregate struct and provides a builder API.

func NewExtendedStatsAggregateBuilder ¶

func NewExtendedStatsAggregateBuilder() *ExtendedStatsAggregateBuilder

NewExtendedStatsAggregate provides a builder for the ExtendedStatsAggregate struct.

func (*ExtendedStatsAggregateBuilder) Avg ¶

func (*ExtendedStatsAggregateBuilder) AvgAsString ¶

func (*ExtendedStatsAggregateBuilder) Build ¶

Build finalize the chain and returns the ExtendedStatsAggregate struct

func (*ExtendedStatsAggregateBuilder) Count ¶

func (*ExtendedStatsAggregateBuilder) Max ¶

func (*ExtendedStatsAggregateBuilder) MaxAsString ¶

func (*ExtendedStatsAggregateBuilder) Meta ¶

func (*ExtendedStatsAggregateBuilder) Min ¶

func (*ExtendedStatsAggregateBuilder) MinAsString ¶

func (*ExtendedStatsAggregateBuilder) StdDeviation ¶

func (*ExtendedStatsAggregateBuilder) StdDeviationAsString ¶

func (rb *ExtendedStatsAggregateBuilder) StdDeviationAsString(stddeviationasstring string) *ExtendedStatsAggregateBuilder

func (*ExtendedStatsAggregateBuilder) StdDeviationBounds ¶

func (*ExtendedStatsAggregateBuilder) StdDeviationBoundsAsString ¶

func (rb *ExtendedStatsAggregateBuilder) StdDeviationBoundsAsString(stddeviationboundsasstring *StandardDeviationBoundsAsStringBuilder) *ExtendedStatsAggregateBuilder

func (*ExtendedStatsAggregateBuilder) Sum ¶

func (*ExtendedStatsAggregateBuilder) SumAsString ¶

func (*ExtendedStatsAggregateBuilder) SumOfSquares ¶

func (*ExtendedStatsAggregateBuilder) SumOfSquaresAsString ¶

func (rb *ExtendedStatsAggregateBuilder) SumOfSquaresAsString(sumofsquaresasstring string) *ExtendedStatsAggregateBuilder

func (*ExtendedStatsAggregateBuilder) Variance ¶

func (*ExtendedStatsAggregateBuilder) VarianceAsString ¶

func (rb *ExtendedStatsAggregateBuilder) VarianceAsString(varianceasstring string) *ExtendedStatsAggregateBuilder

func (*ExtendedStatsAggregateBuilder) VariancePopulation ¶

func (rb *ExtendedStatsAggregateBuilder) VariancePopulation(variancepopulation float64) *ExtendedStatsAggregateBuilder

func (*ExtendedStatsAggregateBuilder) VariancePopulationAsString ¶

func (rb *ExtendedStatsAggregateBuilder) VariancePopulationAsString(variancepopulationasstring string) *ExtendedStatsAggregateBuilder

func (*ExtendedStatsAggregateBuilder) VarianceSampling ¶

func (rb *ExtendedStatsAggregateBuilder) VarianceSampling(variancesampling float64) *ExtendedStatsAggregateBuilder

func (*ExtendedStatsAggregateBuilder) VarianceSamplingAsString ¶

func (rb *ExtendedStatsAggregateBuilder) VarianceSamplingAsString(variancesamplingasstring string) *ExtendedStatsAggregateBuilder

type ExtendedStatsAggregation ¶

type ExtendedStatsAggregation struct {
	Field   *Field   `json:"field,omitempty"`
	Format  *string  `json:"format,omitempty"`
	Missing *Missing `json:"missing,omitempty"`
	Script  *Script  `json:"script,omitempty"`
	Sigma   *float64 `json:"sigma,omitempty"`
}

ExtendedStatsAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L59-L61

type ExtendedStatsAggregationBuilder ¶

type ExtendedStatsAggregationBuilder struct {
	// contains filtered or unexported fields
}

ExtendedStatsAggregationBuilder holds ExtendedStatsAggregation struct and provides a builder API.

func NewExtendedStatsAggregationBuilder ¶

func NewExtendedStatsAggregationBuilder() *ExtendedStatsAggregationBuilder

NewExtendedStatsAggregation provides a builder for the ExtendedStatsAggregation struct.

func (*ExtendedStatsAggregationBuilder) Build ¶

Build finalize the chain and returns the ExtendedStatsAggregation struct

func (*ExtendedStatsAggregationBuilder) Field ¶

func (*ExtendedStatsAggregationBuilder) Format ¶

func (*ExtendedStatsAggregationBuilder) Missing ¶

func (*ExtendedStatsAggregationBuilder) Script ¶

func (*ExtendedStatsAggregationBuilder) Sigma ¶

type ExtendedStatsBucketAggregate ¶

type ExtendedStatsBucketAggregate struct {
	Avg                        float64                          `json:"avg,omitempty"`
	AvgAsString                *string                          `json:"avg_as_string,omitempty"`
	Count                      int64                            `json:"count"`
	Max                        float64                          `json:"max,omitempty"`
	MaxAsString                *string                          `json:"max_as_string,omitempty"`
	Meta                       *Metadata                        `json:"meta,omitempty"`
	Min                        float64                          `json:"min,omitempty"`
	MinAsString                *string                          `json:"min_as_string,omitempty"`
	StdDeviation               float64                          `json:"std_deviation,omitempty"`
	StdDeviationAsString       *string                          `json:"std_deviation_as_string,omitempty"`
	StdDeviationBounds         *StandardDeviationBounds         `json:"std_deviation_bounds,omitempty"`
	StdDeviationBoundsAsString *StandardDeviationBoundsAsString `json:"std_deviation_bounds_as_string,omitempty"`
	Sum                        float64                          `json:"sum"`
	SumAsString                *string                          `json:"sum_as_string,omitempty"`
	SumOfSquares               float64                          `json:"sum_of_squares,omitempty"`
	SumOfSquaresAsString       *string                          `json:"sum_of_squares_as_string,omitempty"`
	Variance                   float64                          `json:"variance,omitempty"`
	VarianceAsString           *string                          `json:"variance_as_string,omitempty"`
	VariancePopulation         float64                          `json:"variance_population,omitempty"`
	VariancePopulationAsString *string                          `json:"variance_population_as_string,omitempty"`
	VarianceSampling           float64                          `json:"variance_sampling,omitempty"`
	VarianceSamplingAsString   *string                          `json:"variance_sampling_as_string,omitempty"`
}

ExtendedStatsBucketAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L285-L286

type ExtendedStatsBucketAggregateBuilder ¶

type ExtendedStatsBucketAggregateBuilder struct {
	// contains filtered or unexported fields
}

ExtendedStatsBucketAggregateBuilder holds ExtendedStatsBucketAggregate struct and provides a builder API.

func NewExtendedStatsBucketAggregateBuilder ¶

func NewExtendedStatsBucketAggregateBuilder() *ExtendedStatsBucketAggregateBuilder

NewExtendedStatsBucketAggregate provides a builder for the ExtendedStatsBucketAggregate struct.

func (*ExtendedStatsBucketAggregateBuilder) Avg ¶

func (*ExtendedStatsBucketAggregateBuilder) AvgAsString ¶

func (*ExtendedStatsBucketAggregateBuilder) Build ¶

Build finalize the chain and returns the ExtendedStatsBucketAggregate struct

func (*ExtendedStatsBucketAggregateBuilder) Count ¶

func (*ExtendedStatsBucketAggregateBuilder) Max ¶

func (*ExtendedStatsBucketAggregateBuilder) MaxAsString ¶

func (*ExtendedStatsBucketAggregateBuilder) Meta ¶

func (*ExtendedStatsBucketAggregateBuilder) Min ¶

func (*ExtendedStatsBucketAggregateBuilder) MinAsString ¶

func (*ExtendedStatsBucketAggregateBuilder) StdDeviation ¶

func (*ExtendedStatsBucketAggregateBuilder) StdDeviationAsString ¶

func (rb *ExtendedStatsBucketAggregateBuilder) StdDeviationAsString(stddeviationasstring string) *ExtendedStatsBucketAggregateBuilder

func (*ExtendedStatsBucketAggregateBuilder) StdDeviationBounds ¶

func (*ExtendedStatsBucketAggregateBuilder) StdDeviationBoundsAsString ¶

func (rb *ExtendedStatsBucketAggregateBuilder) StdDeviationBoundsAsString(stddeviationboundsasstring *StandardDeviationBoundsAsStringBuilder) *ExtendedStatsBucketAggregateBuilder

func (*ExtendedStatsBucketAggregateBuilder) Sum ¶

func (*ExtendedStatsBucketAggregateBuilder) SumAsString ¶

func (*ExtendedStatsBucketAggregateBuilder) SumOfSquares ¶

func (*ExtendedStatsBucketAggregateBuilder) SumOfSquaresAsString ¶

func (rb *ExtendedStatsBucketAggregateBuilder) SumOfSquaresAsString(sumofsquaresasstring string) *ExtendedStatsBucketAggregateBuilder

func (*ExtendedStatsBucketAggregateBuilder) Variance ¶

func (*ExtendedStatsBucketAggregateBuilder) VarianceAsString ¶

func (rb *ExtendedStatsBucketAggregateBuilder) VarianceAsString(varianceasstring string) *ExtendedStatsBucketAggregateBuilder

func (*ExtendedStatsBucketAggregateBuilder) VariancePopulation ¶

func (rb *ExtendedStatsBucketAggregateBuilder) VariancePopulation(variancepopulation float64) *ExtendedStatsBucketAggregateBuilder

func (*ExtendedStatsBucketAggregateBuilder) VariancePopulationAsString ¶

func (rb *ExtendedStatsBucketAggregateBuilder) VariancePopulationAsString(variancepopulationasstring string) *ExtendedStatsBucketAggregateBuilder

func (*ExtendedStatsBucketAggregateBuilder) VarianceSampling ¶

func (*ExtendedStatsBucketAggregateBuilder) VarianceSamplingAsString ¶

func (rb *ExtendedStatsBucketAggregateBuilder) VarianceSamplingAsString(variancesamplingasstring string) *ExtendedStatsBucketAggregateBuilder

type ExtendedStatsBucketAggregation ¶

type ExtendedStatsBucketAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
	Sigma       *float64             `json:"sigma,omitempty"`
}

ExtendedStatsBucketAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L155-L157

type ExtendedStatsBucketAggregationBuilder ¶

type ExtendedStatsBucketAggregationBuilder struct {
	// contains filtered or unexported fields
}

ExtendedStatsBucketAggregationBuilder holds ExtendedStatsBucketAggregation struct and provides a builder API.

func NewExtendedStatsBucketAggregationBuilder ¶

func NewExtendedStatsBucketAggregationBuilder() *ExtendedStatsBucketAggregationBuilder

NewExtendedStatsBucketAggregation provides a builder for the ExtendedStatsBucketAggregation struct.

func (*ExtendedStatsBucketAggregationBuilder) BucketsPath ¶

func (*ExtendedStatsBucketAggregationBuilder) Build ¶

Build finalize the chain and returns the ExtendedStatsBucketAggregation struct

func (*ExtendedStatsBucketAggregationBuilder) Format ¶

func (*ExtendedStatsBucketAggregationBuilder) GapPolicy ¶

func (*ExtendedStatsBucketAggregationBuilder) Meta ¶

func (*ExtendedStatsBucketAggregationBuilder) Name ¶

func (*ExtendedStatsBucketAggregationBuilder) Sigma ¶

type FailProcessor ¶

type FailProcessor struct {
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	Message       string               `json:"message"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
}

FailProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L211-L213

type FailProcessorBuilder ¶

type FailProcessorBuilder struct {
	// contains filtered or unexported fields
}

FailProcessorBuilder holds FailProcessor struct and provides a builder API.

func NewFailProcessorBuilder ¶

func NewFailProcessorBuilder() *FailProcessorBuilder

NewFailProcessor provides a builder for the FailProcessor struct.

func (*FailProcessorBuilder) Build ¶

func (rb *FailProcessorBuilder) Build() FailProcessor

Build finalize the chain and returns the FailProcessor struct

func (*FailProcessorBuilder) If_ ¶

func (*FailProcessorBuilder) IgnoreFailure ¶

func (rb *FailProcessorBuilder) IgnoreFailure(ignorefailure bool) *FailProcessorBuilder

func (*FailProcessorBuilder) Message ¶

func (rb *FailProcessorBuilder) Message(message string) *FailProcessorBuilder

func (*FailProcessorBuilder) OnFailure ¶

func (*FailProcessorBuilder) Tag ¶

type Feature ¶

type Feature struct {
	Available      bool                   `json:"available"`
	Description    *string                `json:"description,omitempty"`
	Enabled        bool                   `json:"enabled"`
	NativeCodeInfo *NativeCodeInformation `json:"native_code_info,omitempty"`
}

Feature type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/info/types.ts#L74-L79

type FeatureBuilder ¶

type FeatureBuilder struct {
	// contains filtered or unexported fields
}

FeatureBuilder holds Feature struct and provides a builder API.

func NewFeatureBuilder ¶

func NewFeatureBuilder() *FeatureBuilder

NewFeature provides a builder for the Feature struct.

func (*FeatureBuilder) Available ¶

func (rb *FeatureBuilder) Available(available bool) *FeatureBuilder

func (*FeatureBuilder) Build ¶

func (rb *FeatureBuilder) Build() Feature

Build finalize the chain and returns the Feature struct

func (*FeatureBuilder) Description ¶

func (rb *FeatureBuilder) Description(description string) *FeatureBuilder

func (*FeatureBuilder) Enabled ¶

func (rb *FeatureBuilder) Enabled(enabled bool) *FeatureBuilder

func (*FeatureBuilder) NativeCodeInfo ¶

func (rb *FeatureBuilder) NativeCodeInfo(nativecodeinfo *NativeCodeInformationBuilder) *FeatureBuilder

type FeatureToggleBuilder ¶

type FeatureToggleBuilder struct {
	// contains filtered or unexported fields
}

FeatureToggleBuilder holds FeatureToggle struct and provides a builder API.

func NewFeatureToggleBuilder ¶

func NewFeatureToggleBuilder() *FeatureToggleBuilder

NewFeatureToggle provides a builder for the FeatureToggle struct.

func (*FeatureToggleBuilder) Build ¶

func (rb *FeatureToggleBuilder) Build() FeatureToggle

Build finalize the chain and returns the FeatureToggle struct

func (*FeatureToggleBuilder) Enabled ¶

func (rb *FeatureToggleBuilder) Enabled(enabled bool) *FeatureToggleBuilder

type FeaturesBuilder ¶

type FeaturesBuilder struct {
	// contains filtered or unexported fields
}

FeaturesBuilder holds Features struct and provides a builder API.

func NewFeaturesBuilder ¶

func NewFeaturesBuilder() *FeaturesBuilder

NewFeatures provides a builder for the Features struct.

func (*FeaturesBuilder) Build ¶

func (b *FeaturesBuilder) Build() Features

Build finalize the chain and returns the Features struct

func (*FeaturesBuilder) Features ¶

func (b *FeaturesBuilder) Features(value Features) *FeaturesBuilder

type FetchProfile ¶

type FetchProfile struct {
	Breakdown   FetchProfileBreakdown  `json:"breakdown"`
	Children    []FetchProfile         `json:"children,omitempty"`
	Debug       *FetchProfileDebug     `json:"debug,omitempty"`
	Description string                 `json:"description"`
	TimeInNanos DurationValueUnitNanos `json:"time_in_nanos"`
	Type        string                 `json:"type"`
}

FetchProfile type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/profile.ts#L137-L144

type FetchProfileBreakdown ¶

type FetchProfileBreakdown struct {
	LoadStoredFields      *int `json:"load_stored_fields,omitempty"`
	LoadStoredFieldsCount *int `json:"load_stored_fields_count,omitempty"`
	NextReader            *int `json:"next_reader,omitempty"`
	NextReaderCount       *int `json:"next_reader_count,omitempty"`
	Process               *int `json:"process,omitempty"`
	ProcessCount          *int `json:"process_count,omitempty"`
}

FetchProfileBreakdown type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/profile.ts#L146-L153

type FetchProfileBreakdownBuilder ¶

type FetchProfileBreakdownBuilder struct {
	// contains filtered or unexported fields
}

FetchProfileBreakdownBuilder holds FetchProfileBreakdown struct and provides a builder API.

func NewFetchProfileBreakdownBuilder ¶

func NewFetchProfileBreakdownBuilder() *FetchProfileBreakdownBuilder

NewFetchProfileBreakdown provides a builder for the FetchProfileBreakdown struct.

func (*FetchProfileBreakdownBuilder) Build ¶

Build finalize the chain and returns the FetchProfileBreakdown struct

func (*FetchProfileBreakdownBuilder) LoadStoredFields ¶

func (rb *FetchProfileBreakdownBuilder) LoadStoredFields(loadstoredfields int) *FetchProfileBreakdownBuilder

func (*FetchProfileBreakdownBuilder) LoadStoredFieldsCount ¶

func (rb *FetchProfileBreakdownBuilder) LoadStoredFieldsCount(loadstoredfieldscount int) *FetchProfileBreakdownBuilder

func (*FetchProfileBreakdownBuilder) NextReader ¶

func (*FetchProfileBreakdownBuilder) NextReaderCount ¶

func (rb *FetchProfileBreakdownBuilder) NextReaderCount(nextreadercount int) *FetchProfileBreakdownBuilder

func (*FetchProfileBreakdownBuilder) Process ¶

func (*FetchProfileBreakdownBuilder) ProcessCount ¶

func (rb *FetchProfileBreakdownBuilder) ProcessCount(processcount int) *FetchProfileBreakdownBuilder

type FetchProfileBuilder ¶

type FetchProfileBuilder struct {
	// contains filtered or unexported fields
}

FetchProfileBuilder holds FetchProfile struct and provides a builder API.

func NewFetchProfileBuilder ¶

func NewFetchProfileBuilder() *FetchProfileBuilder

NewFetchProfile provides a builder for the FetchProfile struct.

func (*FetchProfileBuilder) Breakdown ¶

func (*FetchProfileBuilder) Build ¶

func (rb *FetchProfileBuilder) Build() FetchProfile

Build finalize the chain and returns the FetchProfile struct

func (*FetchProfileBuilder) Children ¶

func (*FetchProfileBuilder) Debug ¶

func (*FetchProfileBuilder) Description ¶

func (rb *FetchProfileBuilder) Description(description string) *FetchProfileBuilder

func (*FetchProfileBuilder) TimeInNanos ¶

func (*FetchProfileBuilder) Type_ ¶

type FetchProfileDebug ¶

type FetchProfileDebug struct {
	FastPath     *int     `json:"fast_path,omitempty"`
	StoredFields []string `json:"stored_fields,omitempty"`
}

FetchProfileDebug type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/profile.ts#L155-L158

type FetchProfileDebugBuilder ¶

type FetchProfileDebugBuilder struct {
	// contains filtered or unexported fields
}

FetchProfileDebugBuilder holds FetchProfileDebug struct and provides a builder API.

func NewFetchProfileDebugBuilder ¶

func NewFetchProfileDebugBuilder() *FetchProfileDebugBuilder

NewFetchProfileDebug provides a builder for the FetchProfileDebug struct.

func (*FetchProfileDebugBuilder) Build ¶

Build finalize the chain and returns the FetchProfileDebug struct

func (*FetchProfileDebugBuilder) FastPath ¶

func (rb *FetchProfileDebugBuilder) FastPath(fastpath int) *FetchProfileDebugBuilder

func (*FetchProfileDebugBuilder) StoredFields ¶

func (rb *FetchProfileDebugBuilder) StoredFields(stored_fields ...string) *FetchProfileDebugBuilder

type FieldAliasProperty ¶

type FieldAliasProperty struct {
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Path          *Field                         `json:"path,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

FieldAliasProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/specialized.ts#L48-L51

type FieldAliasPropertyBuilder ¶

type FieldAliasPropertyBuilder struct {
	// contains filtered or unexported fields
}

FieldAliasPropertyBuilder holds FieldAliasProperty struct and provides a builder API.

func NewFieldAliasPropertyBuilder ¶

func NewFieldAliasPropertyBuilder() *FieldAliasPropertyBuilder

NewFieldAliasProperty provides a builder for the FieldAliasProperty struct.

func (*FieldAliasPropertyBuilder) Build ¶

Build finalize the chain and returns the FieldAliasProperty struct

func (*FieldAliasPropertyBuilder) Dynamic ¶

func (*FieldAliasPropertyBuilder) Fields ¶

func (*FieldAliasPropertyBuilder) IgnoreAbove ¶

func (rb *FieldAliasPropertyBuilder) IgnoreAbove(ignoreabove int) *FieldAliasPropertyBuilder

func (*FieldAliasPropertyBuilder) LocalMetadata ¶

func (rb *FieldAliasPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *FieldAliasPropertyBuilder

func (*FieldAliasPropertyBuilder) Meta ¶

func (*FieldAliasPropertyBuilder) Path ¶

func (*FieldAliasPropertyBuilder) Properties ¶

type FieldAndFormat ¶

type FieldAndFormat struct {
	// Field Wildcard pattern. The request returns values for field names matching this
	// pattern.
	Field Field `json:"field"`
	// Format Format in which the values are returned.
	Format          *string `json:"format,omitempty"`
	IncludeUnmapped *bool   `json:"include_unmapped,omitempty"`
}

FieldAndFormat type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/abstractions.ts#L214-L228

type FieldAndFormatBuilder ¶

type FieldAndFormatBuilder struct {
	// contains filtered or unexported fields
}

FieldAndFormatBuilder holds FieldAndFormat struct and provides a builder API.

func NewFieldAndFormatBuilder ¶

func NewFieldAndFormatBuilder() *FieldAndFormatBuilder

NewFieldAndFormat provides a builder for the FieldAndFormat struct.

func (*FieldAndFormatBuilder) Build ¶

Build finalize the chain and returns the FieldAndFormat struct

func (*FieldAndFormatBuilder) Field ¶

func (*FieldAndFormatBuilder) Format ¶

func (*FieldAndFormatBuilder) IncludeUnmapped ¶

func (rb *FieldAndFormatBuilder) IncludeUnmapped(includeunmapped bool) *FieldAndFormatBuilder

type FieldBuilder ¶

type FieldBuilder struct {
	// contains filtered or unexported fields
}

FieldBuilder holds Field struct and provides a builder API.

func NewFieldBuilder ¶

func NewFieldBuilder() *FieldBuilder

NewField provides a builder for the Field struct.

func (*FieldBuilder) Build ¶

func (b *FieldBuilder) Build() Field

Build finalize the chain and returns the Field struct

func (*FieldBuilder) Field ¶

func (b *FieldBuilder) Field(value Field) *FieldBuilder

type FieldCapability ¶

type FieldCapability struct {
	// Aggregatable Whether this field can be aggregated on all indices.
	Aggregatable bool `json:"aggregatable"`
	// Indices The list of indices where this field has the same type family, or null if all
	// indices have the same type family for the field.
	Indices *Indices `json:"indices,omitempty"`
	// Meta Merged metadata across all indices as a map of string keys to arrays of
	// values. A value length of 1 indicates that all indices had the same value for
	// this key, while a length of 2 or more indicates that not all indices had the
	// same value for this key.
	Meta *Metadata `json:"meta,omitempty"`
	// MetadataField Whether this field is registered as a metadata field.
	MetadataField *bool `json:"metadata_field,omitempty"`
	// MetricConflictsIndices The list of indices where this field is present if these indices
	// don’t have the same `time_series_metric` value for this field.
	MetricConflictsIndices []IndexName `json:"metric_conflicts_indices,omitempty"`
	// NonAggregatableIndices The list of indices where this field is not aggregatable, or null if all
	// indices have the same definition for the field.
	NonAggregatableIndices *Indices `json:"non_aggregatable_indices,omitempty"`
	// NonDimensionIndices If this list is present in response then some indices have the
	// field marked as a dimension and other indices, the ones in this list, do not.
	NonDimensionIndices []IndexName `json:"non_dimension_indices,omitempty"`
	// NonSearchableIndices The list of indices where this field is not searchable, or null if all
	// indices have the same definition for the field.
	NonSearchableIndices *Indices `json:"non_searchable_indices,omitempty"`
	// Searchable Whether this field is indexed for search on all indices.
	Searchable bool `json:"searchable"`
	// TimeSeriesDimension Whether this field is used as a time series dimension.
	TimeSeriesDimension *bool `json:"time_series_dimension,omitempty"`
	// TimeSeriesMetric Contains metric type if this fields is used as a time series
	// metrics, absent if the field is not used as metric.
	TimeSeriesMetric *timeseriesmetrictype.TimeSeriesMetricType `json:"time_series_metric,omitempty"`
	Type             string                                     `json:"type"`
}

FieldCapability type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/field_caps/types.ts#L23-L81

type FieldCapabilityBuilder ¶

type FieldCapabilityBuilder struct {
	// contains filtered or unexported fields
}

FieldCapabilityBuilder holds FieldCapability struct and provides a builder API.

func NewFieldCapabilityBuilder ¶

func NewFieldCapabilityBuilder() *FieldCapabilityBuilder

NewFieldCapability provides a builder for the FieldCapability struct.

func (*FieldCapabilityBuilder) Aggregatable ¶

func (rb *FieldCapabilityBuilder) Aggregatable(aggregatable bool) *FieldCapabilityBuilder

func (*FieldCapabilityBuilder) Build ¶

Build finalize the chain and returns the FieldCapability struct

func (*FieldCapabilityBuilder) Indices ¶

func (*FieldCapabilityBuilder) Meta ¶

func (*FieldCapabilityBuilder) MetadataField ¶

func (rb *FieldCapabilityBuilder) MetadataField(metadatafield bool) *FieldCapabilityBuilder

func (*FieldCapabilityBuilder) MetricConflictsIndices ¶

func (rb *FieldCapabilityBuilder) MetricConflictsIndices(metric_conflicts_indices ...IndexName) *FieldCapabilityBuilder

func (*FieldCapabilityBuilder) NonAggregatableIndices ¶

func (rb *FieldCapabilityBuilder) NonAggregatableIndices(nonaggregatableindices *IndicesBuilder) *FieldCapabilityBuilder

func (*FieldCapabilityBuilder) NonDimensionIndices ¶

func (rb *FieldCapabilityBuilder) NonDimensionIndices(non_dimension_indices ...IndexName) *FieldCapabilityBuilder

func (*FieldCapabilityBuilder) NonSearchableIndices ¶

func (rb *FieldCapabilityBuilder) NonSearchableIndices(nonsearchableindices *IndicesBuilder) *FieldCapabilityBuilder

func (*FieldCapabilityBuilder) Searchable ¶

func (rb *FieldCapabilityBuilder) Searchable(searchable bool) *FieldCapabilityBuilder

func (*FieldCapabilityBuilder) TimeSeriesDimension ¶

func (rb *FieldCapabilityBuilder) TimeSeriesDimension(timeseriesdimension bool) *FieldCapabilityBuilder

func (*FieldCapabilityBuilder) TimeSeriesMetric ¶

func (*FieldCapabilityBuilder) Type_ ¶

type FieldCollapse ¶

type FieldCollapse struct {
	Collapse                   *FieldCollapse `json:"collapse,omitempty"`
	Field                      Field          `json:"field"`
	InnerHits                  []InnerHits    `json:"inner_hits,omitempty"`
	MaxConcurrentGroupSearches *int           `json:"max_concurrent_group_searches,omitempty"`
}

FieldCollapse type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/FieldCollapse.ts#L24-L29

type FieldCollapseBuilder ¶

type FieldCollapseBuilder struct {
	// contains filtered or unexported fields
}

FieldCollapseBuilder holds FieldCollapse struct and provides a builder API.

func NewFieldCollapseBuilder ¶

func NewFieldCollapseBuilder() *FieldCollapseBuilder

NewFieldCollapse provides a builder for the FieldCollapse struct.

func (*FieldCollapseBuilder) Build ¶

func (rb *FieldCollapseBuilder) Build() FieldCollapse

Build finalize the chain and returns the FieldCollapse struct

func (*FieldCollapseBuilder) Collapse ¶

func (*FieldCollapseBuilder) Field ¶

func (*FieldCollapseBuilder) InnerHits ¶

func (rb *FieldCollapseBuilder) InnerHits(arg []InnerHits) *FieldCollapseBuilder

func (*FieldCollapseBuilder) MaxConcurrentGroupSearches ¶

func (rb *FieldCollapseBuilder) MaxConcurrentGroupSearches(maxconcurrentgroupsearches int) *FieldCollapseBuilder

type FieldDateMathBuilder ¶

type FieldDateMathBuilder struct {
	// contains filtered or unexported fields
}

FieldDateMathBuilder holds FieldDateMath struct and provides a builder API.

func NewFieldDateMathBuilder ¶

func NewFieldDateMathBuilder() *FieldDateMathBuilder

NewFieldDateMath provides a builder for the FieldDateMath struct.

func (*FieldDateMathBuilder) Build ¶

Build finalize the chain and returns the FieldDateMath struct

func (*FieldDateMathBuilder) DateMath ¶

func (u *FieldDateMathBuilder) DateMath(datemath DateMath) *FieldDateMathBuilder

func (*FieldDateMathBuilder) Float64 ¶

func (u *FieldDateMathBuilder) Float64(float64 float64) *FieldDateMathBuilder

type FieldLookup ¶

type FieldLookup struct {
	Id      Id         `json:"id"`
	Index   *IndexName `json:"index,omitempty"`
	Path    *Field     `json:"path,omitempty"`
	Routing *Routing   `json:"routing,omitempty"`
}

FieldLookup type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/abstractions.ts#L166-L171

type FieldLookupBuilder ¶

type FieldLookupBuilder struct {
	// contains filtered or unexported fields
}

FieldLookupBuilder holds FieldLookup struct and provides a builder API.

func NewFieldLookupBuilder ¶

func NewFieldLookupBuilder() *FieldLookupBuilder

NewFieldLookup provides a builder for the FieldLookup struct.

func (*FieldLookupBuilder) Build ¶

func (rb *FieldLookupBuilder) Build() FieldLookup

Build finalize the chain and returns the FieldLookup struct

func (*FieldLookupBuilder) Id ¶

func (*FieldLookupBuilder) Index ¶

func (*FieldLookupBuilder) Path ¶

func (*FieldLookupBuilder) Routing ¶

func (rb *FieldLookupBuilder) Routing(routing Routing) *FieldLookupBuilder

type FieldMappingBuilder ¶

type FieldMappingBuilder struct {
	// contains filtered or unexported fields
}

FieldMappingBuilder holds FieldMapping struct and provides a builder API.

func NewFieldMappingBuilder ¶

func NewFieldMappingBuilder() *FieldMappingBuilder

NewFieldMapping provides a builder for the FieldMapping struct.

func (*FieldMappingBuilder) Build ¶

func (rb *FieldMappingBuilder) Build() FieldMapping

Build finalize the chain and returns the FieldMapping struct

func (*FieldMappingBuilder) FullName ¶

func (rb *FieldMappingBuilder) FullName(fullname string) *FieldMappingBuilder

func (*FieldMappingBuilder) Mapping ¶

type FieldMemoryUsage ¶

type FieldMemoryUsage struct {
	MemorySize        *ByteSize `json:"memory_size,omitempty"`
	MemorySizeInBytes int64     `json:"memory_size_in_bytes"`
}

FieldMemoryUsage type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L76-L79

type FieldMemoryUsageBuilder ¶

type FieldMemoryUsageBuilder struct {
	// contains filtered or unexported fields
}

FieldMemoryUsageBuilder holds FieldMemoryUsage struct and provides a builder API.

func NewFieldMemoryUsageBuilder ¶

func NewFieldMemoryUsageBuilder() *FieldMemoryUsageBuilder

NewFieldMemoryUsage provides a builder for the FieldMemoryUsage struct.

func (*FieldMemoryUsageBuilder) Build ¶

Build finalize the chain and returns the FieldMemoryUsage struct

func (*FieldMemoryUsageBuilder) MemorySize ¶

func (*FieldMemoryUsageBuilder) MemorySizeInBytes ¶

func (rb *FieldMemoryUsageBuilder) MemorySizeInBytes(memorysizeinbytes int64) *FieldMemoryUsageBuilder

type FieldMetric ¶

type FieldMetric struct {
	// Field The field to collect metrics for. This must be a numeric of some kind.
	Field Field `json:"field"`
	// Metrics An array of metrics to collect for the field. At least one metric must be
	// configured.
	Metrics []metric.Metric `json:"metrics"`
}

FieldMetric type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/rollup/_types/Metric.ts#L30-L35

type FieldMetricBuilder ¶

type FieldMetricBuilder struct {
	// contains filtered or unexported fields
}

FieldMetricBuilder holds FieldMetric struct and provides a builder API.

func NewFieldMetricBuilder ¶

func NewFieldMetricBuilder() *FieldMetricBuilder

NewFieldMetric provides a builder for the FieldMetric struct.

func (*FieldMetricBuilder) Build ¶

func (rb *FieldMetricBuilder) Build() FieldMetric

Build finalize the chain and returns the FieldMetric struct

func (*FieldMetricBuilder) Field ¶

func (rb *FieldMetricBuilder) Field(field Field) *FieldMetricBuilder

func (*FieldMetricBuilder) Metrics ¶

func (rb *FieldMetricBuilder) Metrics(metrics ...metric.Metric) *FieldMetricBuilder

type FieldNamesFieldBuilder ¶

type FieldNamesFieldBuilder struct {
	// contains filtered or unexported fields
}

FieldNamesFieldBuilder holds FieldNamesField struct and provides a builder API.

func NewFieldNamesFieldBuilder ¶

func NewFieldNamesFieldBuilder() *FieldNamesFieldBuilder

NewFieldNamesField provides a builder for the FieldNamesField struct.

func (*FieldNamesFieldBuilder) Build ¶

Build finalize the chain and returns the FieldNamesField struct

func (*FieldNamesFieldBuilder) Enabled ¶

func (rb *FieldNamesFieldBuilder) Enabled(enabled bool) *FieldNamesFieldBuilder

type FieldRule ¶

type FieldRule struct {
	Dn       *Names      `json:"dn,omitempty"`
	Groups   *Names      `json:"groups,omitempty"`
	Metadata interface{} `json:"metadata,omitempty"`
	Realm    *Realm      `json:"realm,omitempty"`
	Username *Name       `json:"username,omitempty"`
}

FieldRule type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/RoleMappingRule.ts#L33-L42

type FieldRuleBuilder ¶

type FieldRuleBuilder struct {
	// contains filtered or unexported fields
}

FieldRuleBuilder holds FieldRule struct and provides a builder API.

func NewFieldRuleBuilder ¶

func NewFieldRuleBuilder() *FieldRuleBuilder

NewFieldRule provides a builder for the FieldRule struct.

func (*FieldRuleBuilder) Build ¶

func (rb *FieldRuleBuilder) Build() FieldRule

Build finalize the chain and returns the FieldRule struct

func (*FieldRuleBuilder) Dn ¶

func (*FieldRuleBuilder) Groups ¶

func (rb *FieldRuleBuilder) Groups(groups *NamesBuilder) *FieldRuleBuilder

func (*FieldRuleBuilder) Metadata ¶

func (rb *FieldRuleBuilder) Metadata(metadata interface{}) *FieldRuleBuilder

func (*FieldRuleBuilder) Realm ¶

func (rb *FieldRuleBuilder) Realm(realm *RealmBuilder) *FieldRuleBuilder

func (*FieldRuleBuilder) Username ¶

func (rb *FieldRuleBuilder) Username(username Name) *FieldRuleBuilder

type FieldSecurityBuilder ¶

type FieldSecurityBuilder struct {
	// contains filtered or unexported fields
}

FieldSecurityBuilder holds FieldSecurity struct and provides a builder API.

func NewFieldSecurityBuilder ¶

func NewFieldSecurityBuilder() *FieldSecurityBuilder

NewFieldSecurity provides a builder for the FieldSecurity struct.

func (*FieldSecurityBuilder) Build ¶

func (rb *FieldSecurityBuilder) Build() FieldSecurity

Build finalize the chain and returns the FieldSecurity struct

func (*FieldSecurityBuilder) Except ¶

func (*FieldSecurityBuilder) Grant ¶

type FieldSizeUsage ¶

type FieldSizeUsage struct {
	Size        *ByteSize `json:"size,omitempty"`
	SizeInBytes int64     `json:"size_in_bytes"`
}

FieldSizeUsage type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L59-L62

type FieldSizeUsageBuilder ¶

type FieldSizeUsageBuilder struct {
	// contains filtered or unexported fields
}

FieldSizeUsageBuilder holds FieldSizeUsage struct and provides a builder API.

func NewFieldSizeUsageBuilder ¶

func NewFieldSizeUsageBuilder() *FieldSizeUsageBuilder

NewFieldSizeUsage provides a builder for the FieldSizeUsage struct.

func (*FieldSizeUsageBuilder) Build ¶

Build finalize the chain and returns the FieldSizeUsage struct

func (*FieldSizeUsageBuilder) Size ¶

func (*FieldSizeUsageBuilder) SizeInBytes ¶

func (rb *FieldSizeUsageBuilder) SizeInBytes(sizeinbytes int64) *FieldSizeUsageBuilder

type FieldSort ¶

type FieldSort struct {
	Format       *string                                    `json:"format,omitempty"`
	Missing      *Missing                                   `json:"missing,omitempty"`
	Mode         *sortmode.SortMode                         `json:"mode,omitempty"`
	Nested       *NestedSortValue                           `json:"nested,omitempty"`
	NumericType  *fieldsortnumerictype.FieldSortNumericType `json:"numeric_type,omitempty"`
	Order        *sortorder.SortOrder                       `json:"order,omitempty"`
	UnmappedType *fieldtype.FieldType                       `json:"unmapped_type,omitempty"`
}

FieldSort type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/sort.ts#L43-L52

type FieldSortBuilder ¶

type FieldSortBuilder struct {
	// contains filtered or unexported fields
}

FieldSortBuilder holds FieldSort struct and provides a builder API.

func NewFieldSortBuilder ¶

func NewFieldSortBuilder() *FieldSortBuilder

NewFieldSort provides a builder for the FieldSort struct.

func (*FieldSortBuilder) Build ¶

func (rb *FieldSortBuilder) Build() FieldSort

Build finalize the chain and returns the FieldSort struct

func (*FieldSortBuilder) Format ¶

func (rb *FieldSortBuilder) Format(format string) *FieldSortBuilder

func (*FieldSortBuilder) Missing ¶

func (rb *FieldSortBuilder) Missing(missing *MissingBuilder) *FieldSortBuilder

func (*FieldSortBuilder) Mode ¶

func (*FieldSortBuilder) Nested ¶

func (*FieldSortBuilder) NumericType ¶

func (*FieldSortBuilder) Order ¶

func (*FieldSortBuilder) UnmappedType ¶

func (rb *FieldSortBuilder) UnmappedType(unmappedtype fieldtype.FieldType) *FieldSortBuilder

type FieldStatistics ¶

type FieldStatistics struct {
	DocCount   int   `json:"doc_count"`
	SumDocFreq int64 `json:"sum_doc_freq"`
	SumTtf     int64 `json:"sum_ttf"`
}

FieldStatistics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/termvectors/types.ts#L28-L32

type FieldStatisticsBuilder ¶

type FieldStatisticsBuilder struct {
	// contains filtered or unexported fields
}

FieldStatisticsBuilder holds FieldStatistics struct and provides a builder API.

func NewFieldStatisticsBuilder ¶

func NewFieldStatisticsBuilder() *FieldStatisticsBuilder

NewFieldStatistics provides a builder for the FieldStatistics struct.

func (*FieldStatisticsBuilder) Build ¶

Build finalize the chain and returns the FieldStatistics struct

func (*FieldStatisticsBuilder) DocCount ¶

func (rb *FieldStatisticsBuilder) DocCount(doccount int) *FieldStatisticsBuilder

func (*FieldStatisticsBuilder) SumDocFreq ¶

func (rb *FieldStatisticsBuilder) SumDocFreq(sumdocfreq int64) *FieldStatisticsBuilder

func (*FieldStatisticsBuilder) SumTtf ¶

type FieldSuggester ¶

type FieldSuggester struct {
	Completion *CompletionSuggester `json:"completion,omitempty"`
	Phrase     *PhraseSuggester     `json:"phrase,omitempty"`
	Prefix     *string              `json:"prefix,omitempty"`
	Regex      *string              `json:"regex,omitempty"`
	Term       *TermSuggester       `json:"term,omitempty"`
	Text       *string              `json:"text,omitempty"`
}

FieldSuggester type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L101-L115

type FieldSuggesterBuilder ¶

type FieldSuggesterBuilder struct {
	// contains filtered or unexported fields
}

FieldSuggesterBuilder holds FieldSuggester struct and provides a builder API.

func NewFieldSuggesterBuilder ¶

func NewFieldSuggesterBuilder() *FieldSuggesterBuilder

NewFieldSuggester provides a builder for the FieldSuggester struct.

func (*FieldSuggesterBuilder) Build ¶

Build finalize the chain and returns the FieldSuggester struct

func (*FieldSuggesterBuilder) Completion ¶

func (*FieldSuggesterBuilder) Phrase ¶

func (*FieldSuggesterBuilder) Prefix ¶

func (*FieldSuggesterBuilder) Regex ¶

func (*FieldSuggesterBuilder) Term ¶

func (*FieldSuggesterBuilder) Text ¶

type FieldSummary ¶

type FieldSummary struct {
	Any           uint          `json:"any"`
	DocValues     uint          `json:"doc_values"`
	InvertedIndex InvertedIndex `json:"inverted_index"`
	KnnVectors    uint          `json:"knn_vectors"`
	Norms         uint          `json:"norms"`
	Points        uint          `json:"points"`
	StoredFields  uint          `json:"stored_fields"`
	TermVectors   uint          `json:"term_vectors"`
}

FieldSummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L54-L63

type FieldSummaryBuilder ¶

type FieldSummaryBuilder struct {
	// contains filtered or unexported fields
}

FieldSummaryBuilder holds FieldSummary struct and provides a builder API.

func NewFieldSummaryBuilder ¶

func NewFieldSummaryBuilder() *FieldSummaryBuilder

NewFieldSummary provides a builder for the FieldSummary struct.

func (*FieldSummaryBuilder) Any ¶

func (*FieldSummaryBuilder) Build ¶

func (rb *FieldSummaryBuilder) Build() FieldSummary

Build finalize the chain and returns the FieldSummary struct

func (*FieldSummaryBuilder) DocValues ¶

func (rb *FieldSummaryBuilder) DocValues(docvalues uint) *FieldSummaryBuilder

func (*FieldSummaryBuilder) InvertedIndex ¶

func (rb *FieldSummaryBuilder) InvertedIndex(invertedindex *InvertedIndexBuilder) *FieldSummaryBuilder

func (*FieldSummaryBuilder) KnnVectors ¶

func (rb *FieldSummaryBuilder) KnnVectors(knnvectors uint) *FieldSummaryBuilder

func (*FieldSummaryBuilder) Norms ¶

func (rb *FieldSummaryBuilder) Norms(norms uint) *FieldSummaryBuilder

func (*FieldSummaryBuilder) Points ¶

func (rb *FieldSummaryBuilder) Points(points uint) *FieldSummaryBuilder

func (*FieldSummaryBuilder) StoredFields ¶

func (rb *FieldSummaryBuilder) StoredFields(storedfields uint) *FieldSummaryBuilder

func (*FieldSummaryBuilder) TermVectors ¶

func (rb *FieldSummaryBuilder) TermVectors(termvectors uint) *FieldSummaryBuilder

type FieldTypes ¶

type FieldTypes struct {
	Count       int  `json:"count"`
	IndexCount  int  `json:"index_count"`
	Name        Name `json:"name"`
	ScriptCount *int `json:"script_count,omitempty"`
}

FieldTypes type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L101-L107

type FieldTypesBuilder ¶

type FieldTypesBuilder struct {
	// contains filtered or unexported fields
}

FieldTypesBuilder holds FieldTypes struct and provides a builder API.

func NewFieldTypesBuilder ¶

func NewFieldTypesBuilder() *FieldTypesBuilder

NewFieldTypes provides a builder for the FieldTypes struct.

func (*FieldTypesBuilder) Build ¶

func (rb *FieldTypesBuilder) Build() FieldTypes

Build finalize the chain and returns the FieldTypes struct

func (*FieldTypesBuilder) Count ¶

func (rb *FieldTypesBuilder) Count(count int) *FieldTypesBuilder

func (*FieldTypesBuilder) IndexCount ¶

func (rb *FieldTypesBuilder) IndexCount(indexcount int) *FieldTypesBuilder

func (*FieldTypesBuilder) Name ¶

func (rb *FieldTypesBuilder) Name(name Name) *FieldTypesBuilder

func (*FieldTypesBuilder) ScriptCount ¶

func (rb *FieldTypesBuilder) ScriptCount(scriptcount int) *FieldTypesBuilder

type FieldTypesMappings ¶

type FieldTypesMappings struct {
	FieldTypes        []FieldTypes        `json:"field_types"`
	RuntimeFieldTypes []RuntimeFieldTypes `json:"runtime_field_types,omitempty"`
}

FieldTypesMappings type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L96-L99

type FieldTypesMappingsBuilder ¶

type FieldTypesMappingsBuilder struct {
	// contains filtered or unexported fields
}

FieldTypesMappingsBuilder holds FieldTypesMappings struct and provides a builder API.

func NewFieldTypesMappingsBuilder ¶

func NewFieldTypesMappingsBuilder() *FieldTypesMappingsBuilder

NewFieldTypesMappings provides a builder for the FieldTypesMappings struct.

func (*FieldTypesMappingsBuilder) Build ¶

Build finalize the chain and returns the FieldTypesMappings struct

func (*FieldTypesMappingsBuilder) FieldTypes ¶

func (*FieldTypesMappingsBuilder) RuntimeFieldTypes ¶

func (rb *FieldTypesMappingsBuilder) RuntimeFieldTypes(runtime_field_types []RuntimeFieldTypesBuilder) *FieldTypesMappingsBuilder

type FieldValue ¶

type FieldValue interface{}

FieldValue holds the union for the following types:

bool
float64
int64
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L25-L30

type FieldValueBuilder ¶

type FieldValueBuilder struct {
	// contains filtered or unexported fields
}

FieldValueBuilder holds FieldValue struct and provides a builder API.

func NewFieldValueBuilder ¶

func NewFieldValueBuilder() *FieldValueBuilder

NewFieldValue provides a builder for the FieldValue struct.

func (*FieldValueBuilder) Bool ¶

func (u *FieldValueBuilder) Bool(bool bool) *FieldValueBuilder

func (*FieldValueBuilder) Build ¶

func (u *FieldValueBuilder) Build() FieldValue

Build finalize the chain and returns the FieldValue struct

func (*FieldValueBuilder) Float64 ¶

func (u *FieldValueBuilder) Float64(float64 float64) *FieldValueBuilder

func (*FieldValueBuilder) Int64 ¶

func (u *FieldValueBuilder) Int64(int64 int64) *FieldValueBuilder

func (*FieldValueBuilder) String ¶

func (u *FieldValueBuilder) String(string string) *FieldValueBuilder

type FieldValueFactorScoreFunction ¶

type FieldValueFactorScoreFunction struct {
	Factor   *float64                                           `json:"factor,omitempty"`
	Field    Field                                              `json:"field"`
	Missing  *float64                                           `json:"missing,omitempty"`
	Modifier *fieldvaluefactormodifier.FieldValueFactorModifier `json:"modifier,omitempty"`
}

FieldValueFactorScoreFunction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L70-L75

type FieldValueFactorScoreFunctionBuilder ¶

type FieldValueFactorScoreFunctionBuilder struct {
	// contains filtered or unexported fields
}

FieldValueFactorScoreFunctionBuilder holds FieldValueFactorScoreFunction struct and provides a builder API.

func NewFieldValueFactorScoreFunctionBuilder ¶

func NewFieldValueFactorScoreFunctionBuilder() *FieldValueFactorScoreFunctionBuilder

NewFieldValueFactorScoreFunction provides a builder for the FieldValueFactorScoreFunction struct.

func (*FieldValueFactorScoreFunctionBuilder) Build ¶

Build finalize the chain and returns the FieldValueFactorScoreFunction struct

func (*FieldValueFactorScoreFunctionBuilder) Factor ¶

func (*FieldValueFactorScoreFunctionBuilder) Field ¶

func (*FieldValueFactorScoreFunctionBuilder) Missing ¶

type FielddataFrequencyFilter ¶

type FielddataFrequencyFilter struct {
	Max            float64 `json:"max"`
	Min            float64 `json:"min"`
	MinSegmentSize int     `json:"min_segment_size"`
}

FielddataFrequencyFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/FielddataFrequencyFilter.ts#L22-L26

type FielddataFrequencyFilterBuilder ¶

type FielddataFrequencyFilterBuilder struct {
	// contains filtered or unexported fields
}

FielddataFrequencyFilterBuilder holds FielddataFrequencyFilter struct and provides a builder API.

func NewFielddataFrequencyFilterBuilder ¶

func NewFielddataFrequencyFilterBuilder() *FielddataFrequencyFilterBuilder

NewFielddataFrequencyFilter provides a builder for the FielddataFrequencyFilter struct.

func (*FielddataFrequencyFilterBuilder) Build ¶

Build finalize the chain and returns the FielddataFrequencyFilter struct

func (*FielddataFrequencyFilterBuilder) Max ¶

func (*FielddataFrequencyFilterBuilder) Min ¶

func (*FielddataFrequencyFilterBuilder) MinSegmentSize ¶

func (rb *FielddataFrequencyFilterBuilder) MinSegmentSize(minsegmentsize int) *FielddataFrequencyFilterBuilder

type FielddataRecord ¶

type FielddataRecord struct {
	// Field field name
	Field *string `json:"field,omitempty"`
	// Host host name
	Host *string `json:"host,omitempty"`
	// Id node id
	Id *string `json:"id,omitempty"`
	// Ip ip address
	Ip *string `json:"ip,omitempty"`
	// Node node name
	Node *string `json:"node,omitempty"`
	// Size field data usage
	Size *string `json:"size,omitempty"`
}

FielddataRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/fielddata/types.ts#L20-L48

type FielddataRecordBuilder ¶

type FielddataRecordBuilder struct {
	// contains filtered or unexported fields
}

FielddataRecordBuilder holds FielddataRecord struct and provides a builder API.

func NewFielddataRecordBuilder ¶

func NewFielddataRecordBuilder() *FielddataRecordBuilder

NewFielddataRecord provides a builder for the FielddataRecord struct.

func (*FielddataRecordBuilder) Build ¶

Build finalize the chain and returns the FielddataRecord struct

func (*FielddataRecordBuilder) Field ¶

func (*FielddataRecordBuilder) Host ¶

func (*FielddataRecordBuilder) Id ¶

func (*FielddataRecordBuilder) Ip ¶

func (*FielddataRecordBuilder) Node ¶

func (*FielddataRecordBuilder) Size ¶

type FielddataStats ¶

type FielddataStats struct {
	Evictions         *int64                     `json:"evictions,omitempty"`
	Fields            map[Field]FieldMemoryUsage `json:"fields,omitempty"`
	MemorySize        *ByteSize                  `json:"memory_size,omitempty"`
	MemorySizeInBytes int64                      `json:"memory_size_in_bytes"`
}

FielddataStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L69-L74

type FielddataStatsBuilder ¶

type FielddataStatsBuilder struct {
	// contains filtered or unexported fields
}

FielddataStatsBuilder holds FielddataStats struct and provides a builder API.

func NewFielddataStatsBuilder ¶

func NewFielddataStatsBuilder() *FielddataStatsBuilder

NewFielddataStats provides a builder for the FielddataStats struct.

func (*FielddataStatsBuilder) Build ¶

Build finalize the chain and returns the FielddataStats struct

func (*FielddataStatsBuilder) Evictions ¶

func (rb *FielddataStatsBuilder) Evictions(evictions int64) *FielddataStatsBuilder

func (*FielddataStatsBuilder) Fields ¶

func (*FielddataStatsBuilder) MemorySize ¶

func (rb *FielddataStatsBuilder) MemorySize(memorysize *ByteSizeBuilder) *FielddataStatsBuilder

func (*FielddataStatsBuilder) MemorySizeInBytes ¶

func (rb *FielddataStatsBuilder) MemorySizeInBytes(memorysizeinbytes int64) *FielddataStatsBuilder

type FieldsBuilder ¶

type FieldsBuilder struct {
	// contains filtered or unexported fields
}

FieldsBuilder holds Fields struct and provides a builder API.

func NewFieldsBuilder ¶

func NewFieldsBuilder() *FieldsBuilder

NewFields provides a builder for the Fields struct.

func (*FieldsBuilder) Build ¶

func (b *FieldsBuilder) Build() Fields

Build finalize the chain and returns the Fields struct

func (*FieldsBuilder) Fields ¶

func (b *FieldsBuilder) Fields(value Fields) *FieldsBuilder

type FieldsUsageBodyBuilder ¶

type FieldsUsageBodyBuilder struct {
	// contains filtered or unexported fields
}

FieldsUsageBodyBuilder holds FieldsUsageBody struct and provides a builder API.

func NewFieldsUsageBodyBuilder ¶

func NewFieldsUsageBodyBuilder() *FieldsUsageBodyBuilder

NewFieldsUsageBody provides a builder for the FieldsUsageBody struct.

func (*FieldsUsageBodyBuilder) Build ¶

Build finalize the chain and returns the FieldsUsageBody struct

func (*FieldsUsageBodyBuilder) FieldsUsageBody ¶

func (*FieldsUsageBodyBuilder) Shards_ ¶

type FileCountSnapshotStats ¶

type FileCountSnapshotStats struct {
	FileCount   int   `json:"file_count"`
	SizeInBytes int64 `json:"size_in_bytes"`
}

FileCountSnapshotStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/FileCountSnapshotStats.ts#L22-L25

type FileCountSnapshotStatsBuilder ¶

type FileCountSnapshotStatsBuilder struct {
	// contains filtered or unexported fields
}

FileCountSnapshotStatsBuilder holds FileCountSnapshotStats struct and provides a builder API.

func NewFileCountSnapshotStatsBuilder ¶

func NewFileCountSnapshotStatsBuilder() *FileCountSnapshotStatsBuilder

NewFileCountSnapshotStats provides a builder for the FileCountSnapshotStats struct.

func (*FileCountSnapshotStatsBuilder) Build ¶

Build finalize the chain and returns the FileCountSnapshotStats struct

func (*FileCountSnapshotStatsBuilder) FileCount ¶

func (*FileCountSnapshotStatsBuilder) SizeInBytes ¶

type FileDetails ¶

type FileDetails struct {
	Length    int64  `json:"length"`
	Name      string `json:"name"`
	Recovered int64  `json:"recovered"`
}

FileDetails type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/recovery/types.ts#L50-L54

type FileDetailsBuilder ¶

type FileDetailsBuilder struct {
	// contains filtered or unexported fields
}

FileDetailsBuilder holds FileDetails struct and provides a builder API.

func NewFileDetailsBuilder ¶

func NewFileDetailsBuilder() *FileDetailsBuilder

NewFileDetails provides a builder for the FileDetails struct.

func (*FileDetailsBuilder) Build ¶

func (rb *FileDetailsBuilder) Build() FileDetails

Build finalize the chain and returns the FileDetails struct

func (*FileDetailsBuilder) Length ¶

func (rb *FileDetailsBuilder) Length(length int64) *FileDetailsBuilder

func (*FileDetailsBuilder) Name ¶

func (*FileDetailsBuilder) Recovered ¶

func (rb *FileDetailsBuilder) Recovered(recovered int64) *FileDetailsBuilder

type FileSystem ¶

type FileSystem struct {
	Data      []DataPathStats  `json:"data,omitempty"`
	IoStats   *IoStats         `json:"io_stats,omitempty"`
	Timestamp *int64           `json:"timestamp,omitempty"`
	Total     *FileSystemTotal `json:"total,omitempty"`
}

FileSystem type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L280-L285

type FileSystemBuilder ¶

type FileSystemBuilder struct {
	// contains filtered or unexported fields
}

FileSystemBuilder holds FileSystem struct and provides a builder API.

func NewFileSystemBuilder ¶

func NewFileSystemBuilder() *FileSystemBuilder

NewFileSystem provides a builder for the FileSystem struct.

func (*FileSystemBuilder) Build ¶

func (rb *FileSystemBuilder) Build() FileSystem

Build finalize the chain and returns the FileSystem struct

func (*FileSystemBuilder) Data ¶

func (*FileSystemBuilder) IoStats ¶

func (rb *FileSystemBuilder) IoStats(iostats *IoStatsBuilder) *FileSystemBuilder

func (*FileSystemBuilder) Timestamp ¶

func (rb *FileSystemBuilder) Timestamp(timestamp int64) *FileSystemBuilder

func (*FileSystemBuilder) Total ¶

type FileSystemTotal ¶

type FileSystemTotal struct {
	Available        *string `json:"available,omitempty"`
	AvailableInBytes *int64  `json:"available_in_bytes,omitempty"`
	Free             *string `json:"free,omitempty"`
	FreeInBytes      *int64  `json:"free_in_bytes,omitempty"`
	Total            *string `json:"total,omitempty"`
	TotalInBytes     *int64  `json:"total_in_bytes,omitempty"`
}

FileSystemTotal type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L301-L308

type FileSystemTotalBuilder ¶

type FileSystemTotalBuilder struct {
	// contains filtered or unexported fields
}

FileSystemTotalBuilder holds FileSystemTotal struct and provides a builder API.

func NewFileSystemTotalBuilder ¶

func NewFileSystemTotalBuilder() *FileSystemTotalBuilder

NewFileSystemTotal provides a builder for the FileSystemTotal struct.

func (*FileSystemTotalBuilder) Available ¶

func (rb *FileSystemTotalBuilder) Available(available string) *FileSystemTotalBuilder

func (*FileSystemTotalBuilder) AvailableInBytes ¶

func (rb *FileSystemTotalBuilder) AvailableInBytes(availableinbytes int64) *FileSystemTotalBuilder

func (*FileSystemTotalBuilder) Build ¶

Build finalize the chain and returns the FileSystemTotal struct

func (*FileSystemTotalBuilder) Free ¶

func (*FileSystemTotalBuilder) FreeInBytes ¶

func (rb *FileSystemTotalBuilder) FreeInBytes(freeinbytes int64) *FileSystemTotalBuilder

func (*FileSystemTotalBuilder) Total ¶

func (*FileSystemTotalBuilder) TotalInBytes ¶

func (rb *FileSystemTotalBuilder) TotalInBytes(totalinbytes int64) *FileSystemTotalBuilder

type FillMaskInferenceOptions ¶

type FillMaskInferenceOptions struct {
	// NumTopClasses Specifies the number of top class predictions to return. Defaults to 0.
	NumTopClasses *int `json:"num_top_classes,omitempty"`
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string `json:"results_field,omitempty"`
	// Tokenization The tokenization options to update when inferring
	Tokenization *TokenizationConfigContainer `json:"tokenization,omitempty"`
}

FillMaskInferenceOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L235-L243

type FillMaskInferenceOptionsBuilder ¶

type FillMaskInferenceOptionsBuilder struct {
	// contains filtered or unexported fields
}

FillMaskInferenceOptionsBuilder holds FillMaskInferenceOptions struct and provides a builder API.

func NewFillMaskInferenceOptionsBuilder ¶

func NewFillMaskInferenceOptionsBuilder() *FillMaskInferenceOptionsBuilder

NewFillMaskInferenceOptions provides a builder for the FillMaskInferenceOptions struct.

func (*FillMaskInferenceOptionsBuilder) Build ¶

Build finalize the chain and returns the FillMaskInferenceOptions struct

func (*FillMaskInferenceOptionsBuilder) NumTopClasses ¶

func (rb *FillMaskInferenceOptionsBuilder) NumTopClasses(numtopclasses int) *FillMaskInferenceOptionsBuilder

func (*FillMaskInferenceOptionsBuilder) ResultsField ¶

func (*FillMaskInferenceOptionsBuilder) Tokenization ¶

type FillMaskInferenceUpdateOptions ¶

type FillMaskInferenceUpdateOptions struct {
	// NumTopClasses Specifies the number of top class predictions to return. Defaults to 0.
	NumTopClasses *int `json:"num_top_classes,omitempty"`
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string `json:"results_field,omitempty"`
	// Tokenization The tokenization options to update when inferring
	Tokenization *NlpTokenizationUpdateOptions `json:"tokenization,omitempty"`
}

FillMaskInferenceUpdateOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L364-L371

type FillMaskInferenceUpdateOptionsBuilder ¶

type FillMaskInferenceUpdateOptionsBuilder struct {
	// contains filtered or unexported fields
}

FillMaskInferenceUpdateOptionsBuilder holds FillMaskInferenceUpdateOptions struct and provides a builder API.

func NewFillMaskInferenceUpdateOptionsBuilder ¶

func NewFillMaskInferenceUpdateOptionsBuilder() *FillMaskInferenceUpdateOptionsBuilder

NewFillMaskInferenceUpdateOptions provides a builder for the FillMaskInferenceUpdateOptions struct.

func (*FillMaskInferenceUpdateOptionsBuilder) Build ¶

Build finalize the chain and returns the FillMaskInferenceUpdateOptions struct

func (*FillMaskInferenceUpdateOptionsBuilder) NumTopClasses ¶

func (*FillMaskInferenceUpdateOptionsBuilder) ResultsField ¶

func (*FillMaskInferenceUpdateOptionsBuilder) Tokenization ¶

type Filter ¶

type Filter struct {
	// Description A description of the filter.
	Description *string `json:"description,omitempty"`
	// FilterId A string that uniquely identifies a filter.
	FilterId Id `json:"filter_id"`
	// Items An array of strings which is the filter item list.
	Items []string `json:"items"`
}

Filter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Filter.ts#L22-L29

type FilterAggregate ¶

type FilterAggregate struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Meta         *Metadata                   `json:"meta,omitempty"`
}

FilterAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L482-L483

type FilterAggregateBuilder ¶

type FilterAggregateBuilder struct {
	// contains filtered or unexported fields
}

FilterAggregateBuilder holds FilterAggregate struct and provides a builder API.

func NewFilterAggregateBuilder ¶

func NewFilterAggregateBuilder() *FilterAggregateBuilder

NewFilterAggregate provides a builder for the FilterAggregate struct.

func (*FilterAggregateBuilder) Aggregations ¶

func (*FilterAggregateBuilder) Build ¶

Build finalize the chain and returns the FilterAggregate struct

func (*FilterAggregateBuilder) DocCount ¶

func (rb *FilterAggregateBuilder) DocCount(doccount int64) *FilterAggregateBuilder

func (*FilterAggregateBuilder) Meta ¶

type FilterBuilder ¶

type FilterBuilder struct {
	// contains filtered or unexported fields
}

FilterBuilder holds Filter struct and provides a builder API.

func NewFilterBuilder ¶

func NewFilterBuilder() *FilterBuilder

NewFilter provides a builder for the Filter struct.

func (*FilterBuilder) Build ¶

func (rb *FilterBuilder) Build() Filter

Build finalize the chain and returns the Filter struct

func (*FilterBuilder) Description ¶

func (rb *FilterBuilder) Description(description string) *FilterBuilder

func (*FilterBuilder) FilterId ¶

func (rb *FilterBuilder) FilterId(filterid Id) *FilterBuilder

func (*FilterBuilder) Items ¶

func (rb *FilterBuilder) Items(items ...string) *FilterBuilder

type FilterRef ¶

type FilterRef struct {
	// FilterId The identifier for the filter.
	FilterId Id `json:"filter_id"`
	// FilterType If set to `include`, the rule applies for values in the filter. If set to
	// `exclude`, the rule applies for values not in the filter.
	FilterType *filtertype.FilterType `json:"filter_type,omitempty"`
}

FilterRef type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Filter.ts#L31-L41

type FilterRefBuilder ¶

type FilterRefBuilder struct {
	// contains filtered or unexported fields
}

FilterRefBuilder holds FilterRef struct and provides a builder API.

func NewFilterRefBuilder ¶

func NewFilterRefBuilder() *FilterRefBuilder

NewFilterRef provides a builder for the FilterRef struct.

func (*FilterRefBuilder) Build ¶

func (rb *FilterRefBuilder) Build() FilterRef

Build finalize the chain and returns the FilterRef struct

func (*FilterRefBuilder) FilterId ¶

func (rb *FilterRefBuilder) FilterId(filterid Id) *FilterRefBuilder

func (*FilterRefBuilder) FilterType ¶

func (rb *FilterRefBuilder) FilterType(filtertype filtertype.FilterType) *FilterRefBuilder

type FiltersAggregateBuilder ¶

type FiltersAggregateBuilder struct {
	// contains filtered or unexported fields
}

FiltersAggregateBuilder holds FiltersAggregate struct and provides a builder API.

func NewFiltersAggregateBuilder ¶

func NewFiltersAggregateBuilder() *FiltersAggregateBuilder

NewFiltersAggregate provides a builder for the FiltersAggregate struct.

func (*FiltersAggregateBuilder) Buckets ¶

func (*FiltersAggregateBuilder) Build ¶

Build finalize the chain and returns the FiltersAggregate struct

func (*FiltersAggregateBuilder) Meta ¶

type FiltersAggregation ¶

type FiltersAggregation struct {
	Filters        *BucketsQueryContainer `json:"filters,omitempty"`
	Keyed          *bool                  `json:"keyed,omitempty"`
	Meta           *Metadata              `json:"meta,omitempty"`
	Name           *string                `json:"name,omitempty"`
	OtherBucket    *bool                  `json:"other_bucket,omitempty"`
	OtherBucketKey *string                `json:"other_bucket_key,omitempty"`
}

FiltersAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L166-L171

type FiltersAggregationBuilder ¶

type FiltersAggregationBuilder struct {
	// contains filtered or unexported fields
}

FiltersAggregationBuilder holds FiltersAggregation struct and provides a builder API.

func NewFiltersAggregationBuilder ¶

func NewFiltersAggregationBuilder() *FiltersAggregationBuilder

NewFiltersAggregation provides a builder for the FiltersAggregation struct.

func (*FiltersAggregationBuilder) Build ¶

Build finalize the chain and returns the FiltersAggregation struct

func (*FiltersAggregationBuilder) Filters ¶

func (*FiltersAggregationBuilder) Keyed ¶

func (*FiltersAggregationBuilder) Meta ¶

func (*FiltersAggregationBuilder) Name ¶

func (*FiltersAggregationBuilder) OtherBucket ¶

func (rb *FiltersAggregationBuilder) OtherBucket(otherbucket bool) *FiltersAggregationBuilder

func (*FiltersAggregationBuilder) OtherBucketKey ¶

func (rb *FiltersAggregationBuilder) OtherBucketKey(otherbucketkey string) *FiltersAggregationBuilder

type FiltersBucket ¶

type FiltersBucket struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
}

FiltersBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L550-L550

type FiltersBucketBuilder ¶

type FiltersBucketBuilder struct {
	// contains filtered or unexported fields
}

FiltersBucketBuilder holds FiltersBucket struct and provides a builder API.

func NewFiltersBucketBuilder ¶

func NewFiltersBucketBuilder() *FiltersBucketBuilder

NewFiltersBucket provides a builder for the FiltersBucket struct.

func (*FiltersBucketBuilder) Aggregations ¶

func (*FiltersBucketBuilder) Build ¶

func (rb *FiltersBucketBuilder) Build() FiltersBucket

Build finalize the chain and returns the FiltersBucket struct

func (*FiltersBucketBuilder) DocCount ¶

func (rb *FiltersBucketBuilder) DocCount(doccount int64) *FiltersBucketBuilder

type FingerprintAnalyzer ¶

type FingerprintAnalyzer struct {
	MaxOutputSize    int            `json:"max_output_size"`
	PreserveOriginal bool           `json:"preserve_original"`
	Separator        string         `json:"separator"`
	Stopwords        *StopWords     `json:"stopwords,omitempty"`
	StopwordsPath    *string        `json:"stopwords_path,omitempty"`
	Type             string         `json:"type,omitempty"`
	Version          *VersionString `json:"version,omitempty"`
}

FingerprintAnalyzer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/analyzers.ts#L37-L45

type FingerprintAnalyzerBuilder ¶

type FingerprintAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

FingerprintAnalyzerBuilder holds FingerprintAnalyzer struct and provides a builder API.

func NewFingerprintAnalyzerBuilder ¶

func NewFingerprintAnalyzerBuilder() *FingerprintAnalyzerBuilder

NewFingerprintAnalyzer provides a builder for the FingerprintAnalyzer struct.

func (*FingerprintAnalyzerBuilder) Build ¶

Build finalize the chain and returns the FingerprintAnalyzer struct

func (*FingerprintAnalyzerBuilder) MaxOutputSize ¶

func (rb *FingerprintAnalyzerBuilder) MaxOutputSize(maxoutputsize int) *FingerprintAnalyzerBuilder

func (*FingerprintAnalyzerBuilder) PreserveOriginal ¶

func (rb *FingerprintAnalyzerBuilder) PreserveOriginal(preserveoriginal bool) *FingerprintAnalyzerBuilder

func (*FingerprintAnalyzerBuilder) Separator ¶

func (*FingerprintAnalyzerBuilder) Stopwords ¶

func (*FingerprintAnalyzerBuilder) StopwordsPath ¶

func (rb *FingerprintAnalyzerBuilder) StopwordsPath(stopwordspath string) *FingerprintAnalyzerBuilder

func (*FingerprintAnalyzerBuilder) Version ¶

type FingerprintTokenFilter ¶

type FingerprintTokenFilter struct {
	MaxOutputSize *int           `json:"max_output_size,omitempty"`
	Separator     *string        `json:"separator,omitempty"`
	Type          string         `json:"type,omitempty"`
	Version       *VersionString `json:"version,omitempty"`
}

FingerprintTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L193-L197

type FingerprintTokenFilterBuilder ¶

type FingerprintTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

FingerprintTokenFilterBuilder holds FingerprintTokenFilter struct and provides a builder API.

func NewFingerprintTokenFilterBuilder ¶

func NewFingerprintTokenFilterBuilder() *FingerprintTokenFilterBuilder

NewFingerprintTokenFilter provides a builder for the FingerprintTokenFilter struct.

func (*FingerprintTokenFilterBuilder) Build ¶

Build finalize the chain and returns the FingerprintTokenFilter struct

func (*FingerprintTokenFilterBuilder) MaxOutputSize ¶

func (rb *FingerprintTokenFilterBuilder) MaxOutputSize(maxoutputsize int) *FingerprintTokenFilterBuilder

func (*FingerprintTokenFilterBuilder) Separator ¶

func (*FingerprintTokenFilterBuilder) Version ¶

type Flattened ¶

type Flattened struct {
	Available  bool `json:"available"`
	Enabled    bool `json:"enabled"`
	FieldCount int  `json:"field_count"`
}

Flattened type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L336-L338

type FlattenedBuilder ¶

type FlattenedBuilder struct {
	// contains filtered or unexported fields
}

FlattenedBuilder holds Flattened struct and provides a builder API.

func NewFlattenedBuilder ¶

func NewFlattenedBuilder() *FlattenedBuilder

NewFlattened provides a builder for the Flattened struct.

func (*FlattenedBuilder) Available ¶

func (rb *FlattenedBuilder) Available(available bool) *FlattenedBuilder

func (*FlattenedBuilder) Build ¶

func (rb *FlattenedBuilder) Build() Flattened

Build finalize the chain and returns the Flattened struct

func (*FlattenedBuilder) Enabled ¶

func (rb *FlattenedBuilder) Enabled(enabled bool) *FlattenedBuilder

func (*FlattenedBuilder) FieldCount ¶

func (rb *FlattenedBuilder) FieldCount(fieldcount int) *FlattenedBuilder

type FlattenedProperty ¶

type FlattenedProperty struct {
	Boost                    *float64                       `json:"boost,omitempty"`
	DepthLimit               *int                           `json:"depth_limit,omitempty"`
	DocValues                *bool                          `json:"doc_values,omitempty"`
	Dynamic                  *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	EagerGlobalOrdinals      *bool                          `json:"eager_global_ordinals,omitempty"`
	Fields                   map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove              *int                           `json:"ignore_above,omitempty"`
	Index                    *bool                          `json:"index,omitempty"`
	IndexOptions             *indexoptions.IndexOptions     `json:"index_options,omitempty"`
	LocalMetadata            *Metadata                      `json:"local_metadata,omitempty"`
	Meta                     map[string]string              `json:"meta,omitempty"`
	NullValue                *string                        `json:"null_value,omitempty"`
	Properties               map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity               *string                        `json:"similarity,omitempty"`
	SplitQueriesOnWhitespace *bool                          `json:"split_queries_on_whitespace,omitempty"`
	Type                     string                         `json:"type,omitempty"`
}

FlattenedProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/complex.ts#L25-L36

type FlattenedPropertyBuilder ¶

type FlattenedPropertyBuilder struct {
	// contains filtered or unexported fields
}

FlattenedPropertyBuilder holds FlattenedProperty struct and provides a builder API.

func NewFlattenedPropertyBuilder ¶

func NewFlattenedPropertyBuilder() *FlattenedPropertyBuilder

NewFlattenedProperty provides a builder for the FlattenedProperty struct.

func (*FlattenedPropertyBuilder) Boost ¶

func (*FlattenedPropertyBuilder) Build ¶

Build finalize the chain and returns the FlattenedProperty struct

func (*FlattenedPropertyBuilder) DepthLimit ¶

func (rb *FlattenedPropertyBuilder) DepthLimit(depthlimit int) *FlattenedPropertyBuilder

func (*FlattenedPropertyBuilder) DocValues ¶

func (rb *FlattenedPropertyBuilder) DocValues(docvalues bool) *FlattenedPropertyBuilder

func (*FlattenedPropertyBuilder) Dynamic ¶

func (*FlattenedPropertyBuilder) EagerGlobalOrdinals ¶

func (rb *FlattenedPropertyBuilder) EagerGlobalOrdinals(eagerglobalordinals bool) *FlattenedPropertyBuilder

func (*FlattenedPropertyBuilder) Fields ¶

func (*FlattenedPropertyBuilder) IgnoreAbove ¶

func (rb *FlattenedPropertyBuilder) IgnoreAbove(ignoreabove int) *FlattenedPropertyBuilder

func (*FlattenedPropertyBuilder) Index ¶

func (*FlattenedPropertyBuilder) IndexOptions ¶

func (*FlattenedPropertyBuilder) LocalMetadata ¶

func (rb *FlattenedPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *FlattenedPropertyBuilder

func (*FlattenedPropertyBuilder) Meta ¶

func (*FlattenedPropertyBuilder) NullValue ¶

func (rb *FlattenedPropertyBuilder) NullValue(nullvalue string) *FlattenedPropertyBuilder

func (*FlattenedPropertyBuilder) Properties ¶

func (*FlattenedPropertyBuilder) Similarity ¶

func (rb *FlattenedPropertyBuilder) Similarity(similarity string) *FlattenedPropertyBuilder

func (*FlattenedPropertyBuilder) SplitQueriesOnWhitespace ¶

func (rb *FlattenedPropertyBuilder) SplitQueriesOnWhitespace(splitqueriesonwhitespace bool) *FlattenedPropertyBuilder

type FloatNumberProperty ¶

type FloatNumberProperty struct {
	Coerce           *bool                                      `json:"coerce,omitempty"`
	CopyTo           *Fields                                    `json:"copy_to,omitempty"`
	DocValues        *bool                                      `json:"doc_values,omitempty"`
	Dynamic          *dynamicmapping.DynamicMapping             `json:"dynamic,omitempty"`
	Fields           map[PropertyName]Property                  `json:"fields,omitempty"`
	IgnoreAbove      *int                                       `json:"ignore_above,omitempty"`
	IgnoreMalformed  *bool                                      `json:"ignore_malformed,omitempty"`
	Index            *bool                                      `json:"index,omitempty"`
	LocalMetadata    *Metadata                                  `json:"local_metadata,omitempty"`
	Meta             map[string]string                          `json:"meta,omitempty"`
	NullValue        *float32                                   `json:"null_value,omitempty"`
	OnScriptError    *onscripterror.OnScriptError               `json:"on_script_error,omitempty"`
	Properties       map[PropertyName]Property                  `json:"properties,omitempty"`
	Script           *Script                                    `json:"script,omitempty"`
	Similarity       *string                                    `json:"similarity,omitempty"`
	Store            *bool                                      `json:"store,omitempty"`
	TimeSeriesMetric *timeseriesmetrictype.TimeSeriesMetricType `json:"time_series_metric,omitempty"`
	Type             string                                     `json:"type,omitempty"`
}

FloatNumberProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L119-L122

type FloatNumberPropertyBuilder ¶

type FloatNumberPropertyBuilder struct {
	// contains filtered or unexported fields
}

FloatNumberPropertyBuilder holds FloatNumberProperty struct and provides a builder API.

func NewFloatNumberPropertyBuilder ¶

func NewFloatNumberPropertyBuilder() *FloatNumberPropertyBuilder

NewFloatNumberProperty provides a builder for the FloatNumberProperty struct.

func (*FloatNumberPropertyBuilder) Build ¶

Build finalize the chain and returns the FloatNumberProperty struct

func (*FloatNumberPropertyBuilder) Coerce ¶

func (*FloatNumberPropertyBuilder) CopyTo ¶

func (*FloatNumberPropertyBuilder) DocValues ¶

func (*FloatNumberPropertyBuilder) Dynamic ¶

func (*FloatNumberPropertyBuilder) Fields ¶

func (*FloatNumberPropertyBuilder) IgnoreAbove ¶

func (rb *FloatNumberPropertyBuilder) IgnoreAbove(ignoreabove int) *FloatNumberPropertyBuilder

func (*FloatNumberPropertyBuilder) IgnoreMalformed ¶

func (rb *FloatNumberPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *FloatNumberPropertyBuilder

func (*FloatNumberPropertyBuilder) Index ¶

func (*FloatNumberPropertyBuilder) LocalMetadata ¶

func (rb *FloatNumberPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *FloatNumberPropertyBuilder

func (*FloatNumberPropertyBuilder) Meta ¶

func (*FloatNumberPropertyBuilder) NullValue ¶

func (*FloatNumberPropertyBuilder) OnScriptError ¶

func (*FloatNumberPropertyBuilder) Properties ¶

func (*FloatNumberPropertyBuilder) Script ¶

func (*FloatNumberPropertyBuilder) Similarity ¶

func (rb *FloatNumberPropertyBuilder) Similarity(similarity string) *FloatNumberPropertyBuilder

func (*FloatNumberPropertyBuilder) Store ¶

func (*FloatNumberPropertyBuilder) TimeSeriesMetric ¶

type FloatRangeProperty ¶

type FloatRangeProperty struct {
	Boost         *float64                       `json:"boost,omitempty"`
	Coerce        *bool                          `json:"coerce,omitempty"`
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	DocValues     *bool                          `json:"doc_values,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	Index         *bool                          `json:"index,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

FloatRangeProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/range.ts#L38-L40

type FloatRangePropertyBuilder ¶

type FloatRangePropertyBuilder struct {
	// contains filtered or unexported fields
}

FloatRangePropertyBuilder holds FloatRangeProperty struct and provides a builder API.

func NewFloatRangePropertyBuilder ¶

func NewFloatRangePropertyBuilder() *FloatRangePropertyBuilder

NewFloatRangeProperty provides a builder for the FloatRangeProperty struct.

func (*FloatRangePropertyBuilder) Boost ¶

func (*FloatRangePropertyBuilder) Build ¶

Build finalize the chain and returns the FloatRangeProperty struct

func (*FloatRangePropertyBuilder) Coerce ¶

func (*FloatRangePropertyBuilder) CopyTo ¶

func (*FloatRangePropertyBuilder) DocValues ¶

func (rb *FloatRangePropertyBuilder) DocValues(docvalues bool) *FloatRangePropertyBuilder

func (*FloatRangePropertyBuilder) Dynamic ¶

func (*FloatRangePropertyBuilder) Fields ¶

func (*FloatRangePropertyBuilder) IgnoreAbove ¶

func (rb *FloatRangePropertyBuilder) IgnoreAbove(ignoreabove int) *FloatRangePropertyBuilder

func (*FloatRangePropertyBuilder) Index ¶

func (*FloatRangePropertyBuilder) LocalMetadata ¶

func (rb *FloatRangePropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *FloatRangePropertyBuilder

func (*FloatRangePropertyBuilder) Meta ¶

func (*FloatRangePropertyBuilder) Properties ¶

func (*FloatRangePropertyBuilder) Similarity ¶

func (rb *FloatRangePropertyBuilder) Similarity(similarity string) *FloatRangePropertyBuilder

func (*FloatRangePropertyBuilder) Store ¶

type FlushStats ¶

type FlushStats struct {
	Periodic          int64                   `json:"periodic"`
	Total             int64                   `json:"total"`
	TotalTime         *Duration               `json:"total_time,omitempty"`
	TotalTimeInMillis DurationValueUnitMillis `json:"total_time_in_millis"`
}

FlushStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L81-L86

type FlushStatsBuilder ¶

type FlushStatsBuilder struct {
	// contains filtered or unexported fields
}

FlushStatsBuilder holds FlushStats struct and provides a builder API.

func NewFlushStatsBuilder ¶

func NewFlushStatsBuilder() *FlushStatsBuilder

NewFlushStats provides a builder for the FlushStats struct.

func (*FlushStatsBuilder) Build ¶

func (rb *FlushStatsBuilder) Build() FlushStats

Build finalize the chain and returns the FlushStats struct

func (*FlushStatsBuilder) Periodic ¶

func (rb *FlushStatsBuilder) Periodic(periodic int64) *FlushStatsBuilder

func (*FlushStatsBuilder) Total ¶

func (rb *FlushStatsBuilder) Total(total int64) *FlushStatsBuilder

func (*FlushStatsBuilder) TotalTime ¶

func (rb *FlushStatsBuilder) TotalTime(totaltime *DurationBuilder) *FlushStatsBuilder

func (*FlushStatsBuilder) TotalTimeInMillis ¶

func (rb *FlushStatsBuilder) TotalTimeInMillis(totaltimeinmillis *DurationValueUnitMillisBuilder) *FlushStatsBuilder

type FollowIndexStatsBuilder ¶

type FollowIndexStatsBuilder struct {
	// contains filtered or unexported fields
}

FollowIndexStatsBuilder holds FollowIndexStats struct and provides a builder API.

func NewFollowIndexStatsBuilder ¶

func NewFollowIndexStatsBuilder() *FollowIndexStatsBuilder

NewFollowIndexStats provides a builder for the FollowIndexStats struct.

func (*FollowIndexStatsBuilder) Build ¶

Build finalize the chain and returns the FollowIndexStats struct

func (*FollowIndexStatsBuilder) Index ¶

func (*FollowIndexStatsBuilder) Shards ¶

type FollowStatsBuilder ¶

type FollowStatsBuilder struct {
	// contains filtered or unexported fields
}

FollowStatsBuilder holds FollowStats struct and provides a builder API.

func NewFollowStatsBuilder ¶

func NewFollowStatsBuilder() *FollowStatsBuilder

NewFollowStats provides a builder for the FollowStats struct.

func (*FollowStatsBuilder) Build ¶

func (rb *FollowStatsBuilder) Build() FollowStats

Build finalize the chain and returns the FollowStats struct

func (*FollowStatsBuilder) Indices ¶

type FollowerIndex ¶

type FollowerIndex struct {
	FollowerIndex IndexName                               `json:"follower_index"`
	LeaderIndex   IndexName                               `json:"leader_index"`
	Parameters    *FollowerIndexParameters                `json:"parameters,omitempty"`
	RemoteCluster Name                                    `json:"remote_cluster"`
	Status        followerindexstatus.FollowerIndexStatus `json:"status"`
}

FollowerIndex type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ccr/follow_info/types.ts#L22-L28

type FollowerIndexBuilder ¶

type FollowerIndexBuilder struct {
	// contains filtered or unexported fields
}

FollowerIndexBuilder holds FollowerIndex struct and provides a builder API.

func NewFollowerIndexBuilder ¶

func NewFollowerIndexBuilder() *FollowerIndexBuilder

NewFollowerIndex provides a builder for the FollowerIndex struct.

func (*FollowerIndexBuilder) Build ¶

func (rb *FollowerIndexBuilder) Build() FollowerIndex

Build finalize the chain and returns the FollowerIndex struct

func (*FollowerIndexBuilder) FollowerIndex ¶

func (rb *FollowerIndexBuilder) FollowerIndex(followerindex IndexName) *FollowerIndexBuilder

func (*FollowerIndexBuilder) LeaderIndex ¶

func (rb *FollowerIndexBuilder) LeaderIndex(leaderindex IndexName) *FollowerIndexBuilder

func (*FollowerIndexBuilder) Parameters ¶

func (*FollowerIndexBuilder) RemoteCluster ¶

func (rb *FollowerIndexBuilder) RemoteCluster(remotecluster Name) *FollowerIndexBuilder

func (*FollowerIndexBuilder) Status ¶

type FollowerIndexParameters ¶

type FollowerIndexParameters struct {
	MaxOutstandingReadRequests    int      `json:"max_outstanding_read_requests"`
	MaxOutstandingWriteRequests   int      `json:"max_outstanding_write_requests"`
	MaxReadRequestOperationCount  int      `json:"max_read_request_operation_count"`
	MaxReadRequestSize            string   `json:"max_read_request_size"`
	MaxRetryDelay                 Duration `json:"max_retry_delay"`
	MaxWriteBufferCount           int      `json:"max_write_buffer_count"`
	MaxWriteBufferSize            string   `json:"max_write_buffer_size"`
	MaxWriteRequestOperationCount int      `json:"max_write_request_operation_count"`
	MaxWriteRequestSize           string   `json:"max_write_request_size"`
	ReadPollTimeout               Duration `json:"read_poll_timeout"`
}

FollowerIndexParameters type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ccr/follow_info/types.ts#L38-L49

type FollowerIndexParametersBuilder ¶

type FollowerIndexParametersBuilder struct {
	// contains filtered or unexported fields
}

FollowerIndexParametersBuilder holds FollowerIndexParameters struct and provides a builder API.

func NewFollowerIndexParametersBuilder ¶

func NewFollowerIndexParametersBuilder() *FollowerIndexParametersBuilder

NewFollowerIndexParameters provides a builder for the FollowerIndexParameters struct.

func (*FollowerIndexParametersBuilder) Build ¶

Build finalize the chain and returns the FollowerIndexParameters struct

func (*FollowerIndexParametersBuilder) MaxOutstandingReadRequests ¶

func (rb *FollowerIndexParametersBuilder) MaxOutstandingReadRequests(maxoutstandingreadrequests int) *FollowerIndexParametersBuilder

func (*FollowerIndexParametersBuilder) MaxOutstandingWriteRequests ¶

func (rb *FollowerIndexParametersBuilder) MaxOutstandingWriteRequests(maxoutstandingwriterequests int) *FollowerIndexParametersBuilder

func (*FollowerIndexParametersBuilder) MaxReadRequestOperationCount ¶

func (rb *FollowerIndexParametersBuilder) MaxReadRequestOperationCount(maxreadrequestoperationcount int) *FollowerIndexParametersBuilder

func (*FollowerIndexParametersBuilder) MaxReadRequestSize ¶

func (rb *FollowerIndexParametersBuilder) MaxReadRequestSize(maxreadrequestsize string) *FollowerIndexParametersBuilder

func (*FollowerIndexParametersBuilder) MaxRetryDelay ¶

func (*FollowerIndexParametersBuilder) MaxWriteBufferCount ¶

func (rb *FollowerIndexParametersBuilder) MaxWriteBufferCount(maxwritebuffercount int) *FollowerIndexParametersBuilder

func (*FollowerIndexParametersBuilder) MaxWriteBufferSize ¶

func (rb *FollowerIndexParametersBuilder) MaxWriteBufferSize(maxwritebuffersize string) *FollowerIndexParametersBuilder

func (*FollowerIndexParametersBuilder) MaxWriteRequestOperationCount ¶

func (rb *FollowerIndexParametersBuilder) MaxWriteRequestOperationCount(maxwriterequestoperationcount int) *FollowerIndexParametersBuilder

func (*FollowerIndexParametersBuilder) MaxWriteRequestSize ¶

func (rb *FollowerIndexParametersBuilder) MaxWriteRequestSize(maxwriterequestsize string) *FollowerIndexParametersBuilder

func (*FollowerIndexParametersBuilder) ReadPollTimeout ¶

func (rb *FollowerIndexParametersBuilder) ReadPollTimeout(readpolltimeout *DurationBuilder) *FollowerIndexParametersBuilder

type ForceMergeConfiguration ¶

type ForceMergeConfiguration struct {
	MaxNumSegments int `json:"max_num_segments"`
}

ForceMergeConfiguration type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ilm/_types/Phase.ts#L52-L54

type ForceMergeConfigurationBuilder ¶

type ForceMergeConfigurationBuilder struct {
	// contains filtered or unexported fields
}

ForceMergeConfigurationBuilder holds ForceMergeConfiguration struct and provides a builder API.

func NewForceMergeConfigurationBuilder ¶

func NewForceMergeConfigurationBuilder() *ForceMergeConfigurationBuilder

NewForceMergeConfiguration provides a builder for the ForceMergeConfiguration struct.

func (*ForceMergeConfigurationBuilder) Build ¶

Build finalize the chain and returns the ForceMergeConfiguration struct

func (*ForceMergeConfigurationBuilder) MaxNumSegments ¶

func (rb *ForceMergeConfigurationBuilder) MaxNumSegments(maxnumsegments int) *ForceMergeConfigurationBuilder

type ForeachProcessor ¶

type ForeachProcessor struct {
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing *bool                `json:"ignore_missing,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Processor     *ProcessorContainer  `json:"processor,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
}

ForeachProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L215-L219

type ForeachProcessorBuilder ¶

type ForeachProcessorBuilder struct {
	// contains filtered or unexported fields
}

ForeachProcessorBuilder holds ForeachProcessor struct and provides a builder API.

func NewForeachProcessorBuilder ¶

func NewForeachProcessorBuilder() *ForeachProcessorBuilder

NewForeachProcessor provides a builder for the ForeachProcessor struct.

func (*ForeachProcessorBuilder) Build ¶

Build finalize the chain and returns the ForeachProcessor struct

func (*ForeachProcessorBuilder) Field ¶

func (*ForeachProcessorBuilder) If_ ¶

func (*ForeachProcessorBuilder) IgnoreFailure ¶

func (rb *ForeachProcessorBuilder) IgnoreFailure(ignorefailure bool) *ForeachProcessorBuilder

func (*ForeachProcessorBuilder) IgnoreMissing ¶

func (rb *ForeachProcessorBuilder) IgnoreMissing(ignoremissing bool) *ForeachProcessorBuilder

func (*ForeachProcessorBuilder) OnFailure ¶

func (*ForeachProcessorBuilder) Processor ¶

func (*ForeachProcessorBuilder) Tag ¶

type FormatMetricAggregationBase ¶

type FormatMetricAggregationBase struct {
	Field   *Field   `json:"field,omitempty"`
	Format  *string  `json:"format,omitempty"`
	Missing *Missing `json:"missing,omitempty"`
	Script  *Script  `json:"script,omitempty"`
}

FormatMetricAggregationBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L40-L42

type FormatMetricAggregationBaseBuilder ¶

type FormatMetricAggregationBaseBuilder struct {
	// contains filtered or unexported fields
}

FormatMetricAggregationBaseBuilder holds FormatMetricAggregationBase struct and provides a builder API.

func NewFormatMetricAggregationBaseBuilder ¶

func NewFormatMetricAggregationBaseBuilder() *FormatMetricAggregationBaseBuilder

NewFormatMetricAggregationBase provides a builder for the FormatMetricAggregationBase struct.

func (*FormatMetricAggregationBaseBuilder) Build ¶

Build finalize the chain and returns the FormatMetricAggregationBase struct

func (*FormatMetricAggregationBaseBuilder) Field ¶

func (*FormatMetricAggregationBaseBuilder) Format ¶

func (*FormatMetricAggregationBaseBuilder) Missing ¶

func (*FormatMetricAggregationBaseBuilder) Script ¶

type FormattableMetricAggregation ¶

type FormattableMetricAggregation struct {
	Field   *Field   `json:"field,omitempty"`
	Format  *string  `json:"format,omitempty"`
	Missing *Missing `json:"missing,omitempty"`
	Script  *Script  `json:"script,omitempty"`
}

FormattableMetricAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L44-L46

type FormattableMetricAggregationBuilder ¶

type FormattableMetricAggregationBuilder struct {
	// contains filtered or unexported fields
}

FormattableMetricAggregationBuilder holds FormattableMetricAggregation struct and provides a builder API.

func NewFormattableMetricAggregationBuilder ¶

func NewFormattableMetricAggregationBuilder() *FormattableMetricAggregationBuilder

NewFormattableMetricAggregation provides a builder for the FormattableMetricAggregation struct.

func (*FormattableMetricAggregationBuilder) Build ¶

Build finalize the chain and returns the FormattableMetricAggregation struct

func (*FormattableMetricAggregationBuilder) Field ¶

func (*FormattableMetricAggregationBuilder) Format ¶

func (*FormattableMetricAggregationBuilder) Missing ¶

func (*FormattableMetricAggregationBuilder) Script ¶

type FoundStatusBuilder ¶

type FoundStatusBuilder struct {
	// contains filtered or unexported fields
}

FoundStatusBuilder holds FoundStatus struct and provides a builder API.

func NewFoundStatusBuilder ¶

func NewFoundStatusBuilder() *FoundStatusBuilder

NewFoundStatus provides a builder for the FoundStatus struct.

func (*FoundStatusBuilder) Build ¶

func (rb *FoundStatusBuilder) Build() FoundStatus

Build finalize the chain and returns the FoundStatus struct

func (*FoundStatusBuilder) Found ¶

func (rb *FoundStatusBuilder) Found(found bool) *FoundStatusBuilder

type FrequencyEncodingPreprocessor ¶

type FrequencyEncodingPreprocessor struct {
	FeatureName  string             `json:"feature_name"`
	Field        string             `json:"field"`
	FrequencyMap map[string]float64 `json:"frequency_map"`
}

FrequencyEncodingPreprocessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/put_trained_model/types.ts#L38-L42

type FrequencyEncodingPreprocessorBuilder ¶

type FrequencyEncodingPreprocessorBuilder struct {
	// contains filtered or unexported fields
}

FrequencyEncodingPreprocessorBuilder holds FrequencyEncodingPreprocessor struct and provides a builder API.

func NewFrequencyEncodingPreprocessorBuilder ¶

func NewFrequencyEncodingPreprocessorBuilder() *FrequencyEncodingPreprocessorBuilder

NewFrequencyEncodingPreprocessor provides a builder for the FrequencyEncodingPreprocessor struct.

func (*FrequencyEncodingPreprocessorBuilder) Build ¶

Build finalize the chain and returns the FrequencyEncodingPreprocessor struct

func (*FrequencyEncodingPreprocessorBuilder) FeatureName ¶

func (*FrequencyEncodingPreprocessorBuilder) Field ¶

func (*FrequencyEncodingPreprocessorBuilder) FrequencyMap ¶

type FrozenIndices ¶

type FrozenIndices struct {
	Available    bool  `json:"available"`
	Enabled      bool  `json:"enabled"`
	IndicesCount int64 `json:"indices_count"`
}

FrozenIndices type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L340-L342

type FrozenIndicesBuilder ¶

type FrozenIndicesBuilder struct {
	// contains filtered or unexported fields
}

FrozenIndicesBuilder holds FrozenIndices struct and provides a builder API.

func NewFrozenIndicesBuilder ¶

func NewFrozenIndicesBuilder() *FrozenIndicesBuilder

NewFrozenIndices provides a builder for the FrozenIndices struct.

func (*FrozenIndicesBuilder) Available ¶

func (rb *FrozenIndicesBuilder) Available(available bool) *FrozenIndicesBuilder

func (*FrozenIndicesBuilder) Build ¶

func (rb *FrozenIndicesBuilder) Build() FrozenIndices

Build finalize the chain and returns the FrozenIndices struct

func (*FrozenIndicesBuilder) Enabled ¶

func (rb *FrozenIndicesBuilder) Enabled(enabled bool) *FrozenIndicesBuilder

func (*FrozenIndicesBuilder) IndicesCount ¶

func (rb *FrozenIndicesBuilder) IndicesCount(indicescount int64) *FrozenIndicesBuilder

type FunctionScoreContainer ¶

type FunctionScoreContainer struct {
	Exp              *DecayFunction                 `json:"exp,omitempty"`
	FieldValueFactor *FieldValueFactorScoreFunction `json:"field_value_factor,omitempty"`
	Filter           *QueryContainer                `json:"filter,omitempty"`
	Gauss            *DecayFunction                 `json:"gauss,omitempty"`
	Linear           *DecayFunction                 `json:"linear,omitempty"`
	RandomScore      *RandomScoreFunction           `json:"random_score,omitempty"`
	ScriptScore      *ScriptScoreFunction           `json:"script_score,omitempty"`
	Weight           *float64                       `json:"weight,omitempty"`
}

FunctionScoreContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L107-L127

type FunctionScoreContainerBuilder ¶

type FunctionScoreContainerBuilder struct {
	// contains filtered or unexported fields
}

FunctionScoreContainerBuilder holds FunctionScoreContainer struct and provides a builder API.

func NewFunctionScoreContainerBuilder ¶

func NewFunctionScoreContainerBuilder() *FunctionScoreContainerBuilder

NewFunctionScoreContainer provides a builder for the FunctionScoreContainer struct.

func (*FunctionScoreContainerBuilder) Build ¶

Build finalize the chain and returns the FunctionScoreContainer struct

func (*FunctionScoreContainerBuilder) Exp ¶

func (*FunctionScoreContainerBuilder) FieldValueFactor ¶

func (*FunctionScoreContainerBuilder) Filter ¶

func (*FunctionScoreContainerBuilder) Gauss ¶

func (*FunctionScoreContainerBuilder) Linear ¶

func (*FunctionScoreContainerBuilder) RandomScore ¶

func (*FunctionScoreContainerBuilder) ScriptScore ¶

func (*FunctionScoreContainerBuilder) Weight ¶

type FunctionScoreQuery ¶

type FunctionScoreQuery struct {
	Boost      *float32                             `json:"boost,omitempty"`
	BoostMode  *functionboostmode.FunctionBoostMode `json:"boost_mode,omitempty"`
	Functions  []FunctionScoreContainer             `json:"functions,omitempty"`
	MaxBoost   *float64                             `json:"max_boost,omitempty"`
	MinScore   *float64                             `json:"min_score,omitempty"`
	Query      *QueryContainer                      `json:"query,omitempty"`
	QueryName_ *string                              `json:"_name,omitempty"`
	ScoreMode  *functionscoremode.FunctionScoreMode `json:"score_mode,omitempty"`
}

FunctionScoreQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L52-L59

type FunctionScoreQueryBuilder ¶

type FunctionScoreQueryBuilder struct {
	// contains filtered or unexported fields
}

FunctionScoreQueryBuilder holds FunctionScoreQuery struct and provides a builder API.

func NewFunctionScoreQueryBuilder ¶

func NewFunctionScoreQueryBuilder() *FunctionScoreQueryBuilder

NewFunctionScoreQuery provides a builder for the FunctionScoreQuery struct.

func (*FunctionScoreQueryBuilder) Boost ¶

func (*FunctionScoreQueryBuilder) BoostMode ¶

func (*FunctionScoreQueryBuilder) Build ¶

Build finalize the chain and returns the FunctionScoreQuery struct

func (*FunctionScoreQueryBuilder) Functions ¶

func (*FunctionScoreQueryBuilder) MaxBoost ¶

func (*FunctionScoreQueryBuilder) MinScore ¶

func (*FunctionScoreQueryBuilder) Query ¶

func (*FunctionScoreQueryBuilder) QueryName_ ¶

func (rb *FunctionScoreQueryBuilder) QueryName_(queryname_ string) *FunctionScoreQueryBuilder

func (*FunctionScoreQueryBuilder) ScoreMode ¶

type FuzzinessBuilder ¶

type FuzzinessBuilder struct {
	// contains filtered or unexported fields
}

FuzzinessBuilder holds Fuzziness struct and provides a builder API.

func NewFuzzinessBuilder ¶

func NewFuzzinessBuilder() *FuzzinessBuilder

NewFuzziness provides a builder for the Fuzziness struct.

func (*FuzzinessBuilder) Build ¶

func (u *FuzzinessBuilder) Build() Fuzziness

Build finalize the chain and returns the Fuzziness struct

func (*FuzzinessBuilder) Int ¶

func (u *FuzzinessBuilder) Int(int int) *FuzzinessBuilder

func (*FuzzinessBuilder) String ¶

func (u *FuzzinessBuilder) String(string string) *FuzzinessBuilder

type FuzzyQuery ¶

type FuzzyQuery struct {
	Boost          *float32               `json:"boost,omitempty"`
	Fuzziness      *Fuzziness             `json:"fuzziness,omitempty"`
	MaxExpansions  *int                   `json:"max_expansions,omitempty"`
	PrefixLength   *int                   `json:"prefix_length,omitempty"`
	QueryName_     *string                `json:"_name,omitempty"`
	Rewrite        *MultiTermQueryRewrite `json:"rewrite,omitempty"`
	Transpositions *bool                  `json:"transpositions,omitempty"`
	Value          string                 `json:"value"`
}

FuzzyQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L49-L60

type FuzzyQueryBuilder ¶

type FuzzyQueryBuilder struct {
	// contains filtered or unexported fields
}

FuzzyQueryBuilder holds FuzzyQuery struct and provides a builder API.

func NewFuzzyQueryBuilder ¶

func NewFuzzyQueryBuilder() *FuzzyQueryBuilder

NewFuzzyQuery provides a builder for the FuzzyQuery struct.

func (*FuzzyQueryBuilder) Boost ¶

func (rb *FuzzyQueryBuilder) Boost(boost float32) *FuzzyQueryBuilder

func (*FuzzyQueryBuilder) Build ¶

func (rb *FuzzyQueryBuilder) Build() FuzzyQuery

Build finalize the chain and returns the FuzzyQuery struct

func (*FuzzyQueryBuilder) Fuzziness ¶

func (rb *FuzzyQueryBuilder) Fuzziness(fuzziness *FuzzinessBuilder) *FuzzyQueryBuilder

func (*FuzzyQueryBuilder) MaxExpansions ¶

func (rb *FuzzyQueryBuilder) MaxExpansions(maxexpansions int) *FuzzyQueryBuilder

func (*FuzzyQueryBuilder) PrefixLength ¶

func (rb *FuzzyQueryBuilder) PrefixLength(prefixlength int) *FuzzyQueryBuilder

func (*FuzzyQueryBuilder) QueryName_ ¶

func (rb *FuzzyQueryBuilder) QueryName_(queryname_ string) *FuzzyQueryBuilder

func (*FuzzyQueryBuilder) Rewrite ¶

func (*FuzzyQueryBuilder) Transpositions ¶

func (rb *FuzzyQueryBuilder) Transpositions(transpositions bool) *FuzzyQueryBuilder

func (*FuzzyQueryBuilder) Value ¶

func (rb *FuzzyQueryBuilder) Value(arg string) *FuzzyQueryBuilder

type GarbageCollectorBuilder ¶

type GarbageCollectorBuilder struct {
	// contains filtered or unexported fields
}

GarbageCollectorBuilder holds GarbageCollector struct and provides a builder API.

func NewGarbageCollectorBuilder ¶

func NewGarbageCollectorBuilder() *GarbageCollectorBuilder

NewGarbageCollector provides a builder for the GarbageCollector struct.

func (*GarbageCollectorBuilder) Build ¶

Build finalize the chain and returns the GarbageCollector struct

func (*GarbageCollectorBuilder) Collectors ¶

type GarbageCollectorTotal ¶

type GarbageCollectorTotal struct {
	CollectionCount        *int64  `json:"collection_count,omitempty"`
	CollectionTime         *string `json:"collection_time,omitempty"`
	CollectionTimeInMillis *int64  `json:"collection_time_in_millis,omitempty"`
}

GarbageCollectorTotal type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L361-L365

type GarbageCollectorTotalBuilder ¶

type GarbageCollectorTotalBuilder struct {
	// contains filtered or unexported fields
}

GarbageCollectorTotalBuilder holds GarbageCollectorTotal struct and provides a builder API.

func NewGarbageCollectorTotalBuilder ¶

func NewGarbageCollectorTotalBuilder() *GarbageCollectorTotalBuilder

NewGarbageCollectorTotal provides a builder for the GarbageCollectorTotal struct.

func (*GarbageCollectorTotalBuilder) Build ¶

Build finalize the chain and returns the GarbageCollectorTotal struct

func (*GarbageCollectorTotalBuilder) CollectionCount ¶

func (rb *GarbageCollectorTotalBuilder) CollectionCount(collectioncount int64) *GarbageCollectorTotalBuilder

func (*GarbageCollectorTotalBuilder) CollectionTime ¶

func (rb *GarbageCollectorTotalBuilder) CollectionTime(collectiontime string) *GarbageCollectorTotalBuilder

func (*GarbageCollectorTotalBuilder) CollectionTimeInMillis ¶

func (rb *GarbageCollectorTotalBuilder) CollectionTimeInMillis(collectiontimeinmillis int64) *GarbageCollectorTotalBuilder

type GeoBoundingBoxQuery ¶

type GeoBoundingBoxQuery struct {
	Boost               *float32                                 `json:"boost,omitempty"`
	GeoBoundingBoxQuery map[Field]GeoBounds                      `json:"GeoBoundingBoxQuery,omitempty"`
	IgnoreUnmapped      *bool                                    `json:"ignore_unmapped,omitempty"`
	QueryName_          *string                                  `json:"_name,omitempty"`
	Type                *geoexecution.GeoExecution               `json:"type,omitempty"`
	ValidationMethod    *geovalidationmethod.GeoValidationMethod `json:"validation_method,omitempty"`
}

GeoBoundingBoxQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/geo.ts#L32-L41

type GeoBoundingBoxQueryBuilder ¶

type GeoBoundingBoxQueryBuilder struct {
	// contains filtered or unexported fields
}

GeoBoundingBoxQueryBuilder holds GeoBoundingBoxQuery struct and provides a builder API.

func NewGeoBoundingBoxQueryBuilder ¶

func NewGeoBoundingBoxQueryBuilder() *GeoBoundingBoxQueryBuilder

NewGeoBoundingBoxQuery provides a builder for the GeoBoundingBoxQuery struct.

func (*GeoBoundingBoxQueryBuilder) Boost ¶

func (*GeoBoundingBoxQueryBuilder) Build ¶

Build finalize the chain and returns the GeoBoundingBoxQuery struct

func (*GeoBoundingBoxQueryBuilder) GeoBoundingBoxQuery ¶

func (rb *GeoBoundingBoxQueryBuilder) GeoBoundingBoxQuery(values map[Field]*GeoBoundsBuilder) *GeoBoundingBoxQueryBuilder

func (*GeoBoundingBoxQueryBuilder) IgnoreUnmapped ¶

func (rb *GeoBoundingBoxQueryBuilder) IgnoreUnmapped(ignoreunmapped bool) *GeoBoundingBoxQueryBuilder

func (*GeoBoundingBoxQueryBuilder) QueryName_ ¶

func (rb *GeoBoundingBoxQueryBuilder) QueryName_(queryname_ string) *GeoBoundingBoxQueryBuilder

func (*GeoBoundingBoxQueryBuilder) Type_ ¶

func (*GeoBoundingBoxQueryBuilder) ValidationMethod ¶

type GeoBounds ¶

type GeoBounds interface{}

GeoBounds holds the union for the following types:

CoordsGeoBounds
TopLeftBottomRightGeoBounds
TopRightBottomLeftGeoBounds
WktGeoBounds

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Geo.ts#L116-L129

type GeoBoundsAggregateBuilder ¶

type GeoBoundsAggregateBuilder struct {
	// contains filtered or unexported fields
}

GeoBoundsAggregateBuilder holds GeoBoundsAggregate struct and provides a builder API.

func NewGeoBoundsAggregateBuilder ¶

func NewGeoBoundsAggregateBuilder() *GeoBoundsAggregateBuilder

NewGeoBoundsAggregate provides a builder for the GeoBoundsAggregate struct.

func (*GeoBoundsAggregateBuilder) Bounds ¶

func (*GeoBoundsAggregateBuilder) Build ¶

Build finalize the chain and returns the GeoBoundsAggregate struct

func (*GeoBoundsAggregateBuilder) Meta ¶

type GeoBoundsAggregation ¶

type GeoBoundsAggregation struct {
	Field         *Field   `json:"field,omitempty"`
	Missing       *Missing `json:"missing,omitempty"`
	Script        *Script  `json:"script,omitempty"`
	WrapLongitude *bool    `json:"wrap_longitude,omitempty"`
}

GeoBoundsAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L63-L65

type GeoBoundsAggregationBuilder ¶

type GeoBoundsAggregationBuilder struct {
	// contains filtered or unexported fields
}

GeoBoundsAggregationBuilder holds GeoBoundsAggregation struct and provides a builder API.

func NewGeoBoundsAggregationBuilder ¶

func NewGeoBoundsAggregationBuilder() *GeoBoundsAggregationBuilder

NewGeoBoundsAggregation provides a builder for the GeoBoundsAggregation struct.

func (*GeoBoundsAggregationBuilder) Build ¶

Build finalize the chain and returns the GeoBoundsAggregation struct

func (*GeoBoundsAggregationBuilder) Field ¶

func (*GeoBoundsAggregationBuilder) Missing ¶

func (*GeoBoundsAggregationBuilder) Script ¶

func (*GeoBoundsAggregationBuilder) WrapLongitude ¶

func (rb *GeoBoundsAggregationBuilder) WrapLongitude(wraplongitude bool) *GeoBoundsAggregationBuilder

type GeoBoundsBuilder ¶

type GeoBoundsBuilder struct {
	// contains filtered or unexported fields
}

GeoBoundsBuilder holds GeoBounds struct and provides a builder API.

func NewGeoBoundsBuilder ¶

func NewGeoBoundsBuilder() *GeoBoundsBuilder

NewGeoBounds provides a builder for the GeoBounds struct.

func (*GeoBoundsBuilder) Build ¶

func (u *GeoBoundsBuilder) Build() GeoBounds

Build finalize the chain and returns the GeoBounds struct

func (*GeoBoundsBuilder) CoordsGeoBounds ¶

func (u *GeoBoundsBuilder) CoordsGeoBounds(coordsgeobounds *CoordsGeoBoundsBuilder) *GeoBoundsBuilder

func (*GeoBoundsBuilder) TopLeftBottomRightGeoBounds ¶

func (u *GeoBoundsBuilder) TopLeftBottomRightGeoBounds(topleftbottomrightgeobounds *TopLeftBottomRightGeoBoundsBuilder) *GeoBoundsBuilder

func (*GeoBoundsBuilder) TopRightBottomLeftGeoBounds ¶

func (u *GeoBoundsBuilder) TopRightBottomLeftGeoBounds(toprightbottomleftgeobounds *TopRightBottomLeftGeoBoundsBuilder) *GeoBoundsBuilder

func (*GeoBoundsBuilder) WktGeoBounds ¶

func (u *GeoBoundsBuilder) WktGeoBounds(wktgeobounds *WktGeoBoundsBuilder) *GeoBoundsBuilder

type GeoCentroidAggregate ¶

type GeoCentroidAggregate struct {
	Count    int64        `json:"count"`
	Location *GeoLocation `json:"location,omitempty"`
	Meta     *Metadata    `json:"meta,omitempty"`
}

GeoCentroidAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L295-L299

type GeoCentroidAggregateBuilder ¶

type GeoCentroidAggregateBuilder struct {
	// contains filtered or unexported fields
}

GeoCentroidAggregateBuilder holds GeoCentroidAggregate struct and provides a builder API.

func NewGeoCentroidAggregateBuilder ¶

func NewGeoCentroidAggregateBuilder() *GeoCentroidAggregateBuilder

NewGeoCentroidAggregate provides a builder for the GeoCentroidAggregate struct.

func (*GeoCentroidAggregateBuilder) Build ¶

Build finalize the chain and returns the GeoCentroidAggregate struct

func (*GeoCentroidAggregateBuilder) Count ¶

func (*GeoCentroidAggregateBuilder) Location ¶

func (*GeoCentroidAggregateBuilder) Meta ¶

type GeoCentroidAggregation ¶

type GeoCentroidAggregation struct {
	Count    *int64       `json:"count,omitempty"`
	Field    *Field       `json:"field,omitempty"`
	Location *GeoLocation `json:"location,omitempty"`
	Missing  *Missing     `json:"missing,omitempty"`
	Script   *Script      `json:"script,omitempty"`
}

GeoCentroidAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L67-L70

type GeoCentroidAggregationBuilder ¶

type GeoCentroidAggregationBuilder struct {
	// contains filtered or unexported fields
}

GeoCentroidAggregationBuilder holds GeoCentroidAggregation struct and provides a builder API.

func NewGeoCentroidAggregationBuilder ¶

func NewGeoCentroidAggregationBuilder() *GeoCentroidAggregationBuilder

NewGeoCentroidAggregation provides a builder for the GeoCentroidAggregation struct.

func (*GeoCentroidAggregationBuilder) Build ¶

Build finalize the chain and returns the GeoCentroidAggregation struct

func (*GeoCentroidAggregationBuilder) Count ¶

func (*GeoCentroidAggregationBuilder) Field ¶

func (*GeoCentroidAggregationBuilder) Location ¶

func (*GeoCentroidAggregationBuilder) Missing ¶

func (*GeoCentroidAggregationBuilder) Script ¶

type GeoDecayFunction ¶

type GeoDecayFunction struct {
	GeoDecayFunction map[Field]DecayPlacementGeoLocationDistance `json:"GeoDecayFunction,omitempty"`
	MultiValueMode   *multivaluemode.MultiValueMode              `json:"multi_value_mode,omitempty"`
}

GeoDecayFunction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L96-L98

type GeoDecayFunctionBuilder ¶

type GeoDecayFunctionBuilder struct {
	// contains filtered or unexported fields
}

GeoDecayFunctionBuilder holds GeoDecayFunction struct and provides a builder API.

func NewGeoDecayFunctionBuilder ¶

func NewGeoDecayFunctionBuilder() *GeoDecayFunctionBuilder

NewGeoDecayFunction provides a builder for the GeoDecayFunction struct.

func (*GeoDecayFunctionBuilder) Build ¶

Build finalize the chain and returns the GeoDecayFunction struct

func (*GeoDecayFunctionBuilder) GeoDecayFunction ¶

func (*GeoDecayFunctionBuilder) MultiValueMode ¶

type GeoDistanceAggregateBuilder ¶

type GeoDistanceAggregateBuilder struct {
	// contains filtered or unexported fields
}

GeoDistanceAggregateBuilder holds GeoDistanceAggregate struct and provides a builder API.

func NewGeoDistanceAggregateBuilder ¶

func NewGeoDistanceAggregateBuilder() *GeoDistanceAggregateBuilder

NewGeoDistanceAggregate provides a builder for the GeoDistanceAggregate struct.

func (*GeoDistanceAggregateBuilder) Buckets ¶

func (*GeoDistanceAggregateBuilder) Build ¶

Build finalize the chain and returns the GeoDistanceAggregate struct

func (*GeoDistanceAggregateBuilder) Meta ¶

type GeoDistanceAggregation ¶

type GeoDistanceAggregation struct {
	DistanceType *geodistancetype.GeoDistanceType `json:"distance_type,omitempty"`
	Field        *Field                           `json:"field,omitempty"`
	Meta         *Metadata                        `json:"meta,omitempty"`
	Name         *string                          `json:"name,omitempty"`
	Origin       *GeoLocation                     `json:"origin,omitempty"`
	Ranges       []AggregationRange               `json:"ranges,omitempty"`
	Unit         *distanceunit.DistanceUnit       `json:"unit,omitempty"`
}

GeoDistanceAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L173-L179

type GeoDistanceAggregationBuilder ¶

type GeoDistanceAggregationBuilder struct {
	// contains filtered or unexported fields
}

GeoDistanceAggregationBuilder holds GeoDistanceAggregation struct and provides a builder API.

func NewGeoDistanceAggregationBuilder ¶

func NewGeoDistanceAggregationBuilder() *GeoDistanceAggregationBuilder

NewGeoDistanceAggregation provides a builder for the GeoDistanceAggregation struct.

func (*GeoDistanceAggregationBuilder) Build ¶

Build finalize the chain and returns the GeoDistanceAggregation struct

func (*GeoDistanceAggregationBuilder) DistanceType ¶

func (*GeoDistanceAggregationBuilder) Field ¶

func (*GeoDistanceAggregationBuilder) Meta ¶

func (*GeoDistanceAggregationBuilder) Name ¶

func (*GeoDistanceAggregationBuilder) Origin ¶

func (*GeoDistanceAggregationBuilder) Ranges ¶

func (*GeoDistanceAggregationBuilder) Unit ¶

type GeoDistanceFeatureQuery ¶

type GeoDistanceFeatureQuery struct {
	Boost      *float32    `json:"boost,omitempty"`
	Field      Field       `json:"field"`
	Origin     GeoLocation `json:"origin"`
	Pivot      Distance    `json:"pivot"`
	QueryName_ *string     `json:"_name,omitempty"`
}

GeoDistanceFeatureQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L46-L49

type GeoDistanceFeatureQueryBuilder ¶

type GeoDistanceFeatureQueryBuilder struct {
	// contains filtered or unexported fields
}

GeoDistanceFeatureQueryBuilder holds GeoDistanceFeatureQuery struct and provides a builder API.

func NewGeoDistanceFeatureQueryBuilder ¶

func NewGeoDistanceFeatureQueryBuilder() *GeoDistanceFeatureQueryBuilder

NewGeoDistanceFeatureQuery provides a builder for the GeoDistanceFeatureQuery struct.

func (*GeoDistanceFeatureQueryBuilder) Boost ¶

func (*GeoDistanceFeatureQueryBuilder) Build ¶

Build finalize the chain and returns the GeoDistanceFeatureQuery struct

func (*GeoDistanceFeatureQueryBuilder) Field ¶

func (*GeoDistanceFeatureQueryBuilder) Origin ¶

func (*GeoDistanceFeatureQueryBuilder) Pivot ¶

func (*GeoDistanceFeatureQueryBuilder) QueryName_ ¶

type GeoDistanceQuery ¶

type GeoDistanceQuery struct {
	Boost            *float32                                 `json:"boost,omitempty"`
	Distance         *Distance                                `json:"distance,omitempty"`
	DistanceType     *geodistancetype.GeoDistanceType         `json:"distance_type,omitempty"`
	GeoDistanceQuery map[Field]GeoLocation                    `json:"GeoDistanceQuery,omitempty"`
	QueryName_       *string                                  `json:"_name,omitempty"`
	ValidationMethod *geovalidationmethod.GeoValidationMethod `json:"validation_method,omitempty"`
}

GeoDistanceQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/geo.ts#L48-L57

type GeoDistanceQueryBuilder ¶

type GeoDistanceQueryBuilder struct {
	// contains filtered or unexported fields
}

GeoDistanceQueryBuilder holds GeoDistanceQuery struct and provides a builder API.

func NewGeoDistanceQueryBuilder ¶

func NewGeoDistanceQueryBuilder() *GeoDistanceQueryBuilder

NewGeoDistanceQuery provides a builder for the GeoDistanceQuery struct.

func (*GeoDistanceQueryBuilder) Boost ¶

func (*GeoDistanceQueryBuilder) Build ¶

Build finalize the chain and returns the GeoDistanceQuery struct

func (*GeoDistanceQueryBuilder) Distance ¶

func (*GeoDistanceQueryBuilder) DistanceType ¶

func (*GeoDistanceQueryBuilder) GeoDistanceQuery ¶

func (rb *GeoDistanceQueryBuilder) GeoDistanceQuery(values map[Field]*GeoLocationBuilder) *GeoDistanceQueryBuilder

func (*GeoDistanceQueryBuilder) QueryName_ ¶

func (rb *GeoDistanceQueryBuilder) QueryName_(queryname_ string) *GeoDistanceQueryBuilder

func (*GeoDistanceQueryBuilder) ValidationMethod ¶

type GeoDistanceSort ¶

type GeoDistanceSort struct {
	DistanceType    *geodistancetype.GeoDistanceType `json:"distance_type,omitempty"`
	GeoDistanceSort map[Field][]GeoLocation          `json:"GeoDistanceSort,omitempty"`
	IgnoreUnmapped  *bool                            `json:"ignore_unmapped,omitempty"`
	Mode            *sortmode.SortMode               `json:"mode,omitempty"`
	Order           *sortorder.SortOrder             `json:"order,omitempty"`
	Unit            *distanceunit.DistanceUnit       `json:"unit,omitempty"`
}

GeoDistanceSort type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/sort.ts#L57-L65

type GeoDistanceSortBuilder ¶

type GeoDistanceSortBuilder struct {
	// contains filtered or unexported fields
}

GeoDistanceSortBuilder holds GeoDistanceSort struct and provides a builder API.

func NewGeoDistanceSortBuilder ¶

func NewGeoDistanceSortBuilder() *GeoDistanceSortBuilder

NewGeoDistanceSort provides a builder for the GeoDistanceSort struct.

func (*GeoDistanceSortBuilder) Build ¶

Build finalize the chain and returns the GeoDistanceSort struct

func (*GeoDistanceSortBuilder) DistanceType ¶

func (*GeoDistanceSortBuilder) GeoDistanceSort ¶

func (rb *GeoDistanceSortBuilder) GeoDistanceSort(value map[Field][]GeoLocation) *GeoDistanceSortBuilder

func (*GeoDistanceSortBuilder) IgnoreUnmapped ¶

func (rb *GeoDistanceSortBuilder) IgnoreUnmapped(ignoreunmapped bool) *GeoDistanceSortBuilder

func (*GeoDistanceSortBuilder) Mode ¶

func (*GeoDistanceSortBuilder) Order ¶

func (*GeoDistanceSortBuilder) Unit ¶

type GeoHashBuilder ¶

type GeoHashBuilder struct {
	// contains filtered or unexported fields
}

GeoHashBuilder holds GeoHash struct and provides a builder API.

func NewGeoHashBuilder ¶

func NewGeoHashBuilder() *GeoHashBuilder

NewGeoHash provides a builder for the GeoHash struct.

func (*GeoHashBuilder) Build ¶

func (b *GeoHashBuilder) Build() GeoHash

Build finalize the chain and returns the GeoHash struct

func (*GeoHashBuilder) GeoHash ¶

func (b *GeoHashBuilder) GeoHash(value GeoHash) *GeoHashBuilder

type GeoHashGridAggregateBuilder ¶

type GeoHashGridAggregateBuilder struct {
	// contains filtered or unexported fields
}

GeoHashGridAggregateBuilder holds GeoHashGridAggregate struct and provides a builder API.

func NewGeoHashGridAggregateBuilder ¶

func NewGeoHashGridAggregateBuilder() *GeoHashGridAggregateBuilder

NewGeoHashGridAggregate provides a builder for the GeoHashGridAggregate struct.

func (*GeoHashGridAggregateBuilder) Buckets ¶

func (*GeoHashGridAggregateBuilder) Build ¶

Build finalize the chain and returns the GeoHashGridAggregate struct

func (*GeoHashGridAggregateBuilder) Meta ¶

type GeoHashGridAggregation ¶

type GeoHashGridAggregation struct {
	Bounds    *GeoBounds        `json:"bounds,omitempty"`
	Field     *Field            `json:"field,omitempty"`
	Meta      *Metadata         `json:"meta,omitempty"`
	Name      *string           `json:"name,omitempty"`
	Precision *GeoHashPrecision `json:"precision,omitempty"`
	ShardSize *int              `json:"shard_size,omitempty"`
	Size      *int              `json:"size,omitempty"`
}

GeoHashGridAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L181-L187

type GeoHashGridAggregationBuilder ¶

type GeoHashGridAggregationBuilder struct {
	// contains filtered or unexported fields
}

GeoHashGridAggregationBuilder holds GeoHashGridAggregation struct and provides a builder API.

func NewGeoHashGridAggregationBuilder ¶

func NewGeoHashGridAggregationBuilder() *GeoHashGridAggregationBuilder

NewGeoHashGridAggregation provides a builder for the GeoHashGridAggregation struct.

func (*GeoHashGridAggregationBuilder) Bounds ¶

func (*GeoHashGridAggregationBuilder) Build ¶

Build finalize the chain and returns the GeoHashGridAggregation struct

func (*GeoHashGridAggregationBuilder) Field ¶

func (*GeoHashGridAggregationBuilder) Meta ¶

func (*GeoHashGridAggregationBuilder) Name ¶

func (*GeoHashGridAggregationBuilder) Precision ¶

func (*GeoHashGridAggregationBuilder) ShardSize ¶

func (*GeoHashGridAggregationBuilder) Size ¶

type GeoHashGridBucket ¶

type GeoHashGridBucket struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Key          GeoHash                     `json:"key"`
}

GeoHashGridBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L497-L499

type GeoHashGridBucketBuilder ¶

type GeoHashGridBucketBuilder struct {
	// contains filtered or unexported fields
}

GeoHashGridBucketBuilder holds GeoHashGridBucket struct and provides a builder API.

func NewGeoHashGridBucketBuilder ¶

func NewGeoHashGridBucketBuilder() *GeoHashGridBucketBuilder

NewGeoHashGridBucket provides a builder for the GeoHashGridBucket struct.

func (*GeoHashGridBucketBuilder) Aggregations ¶

func (*GeoHashGridBucketBuilder) Build ¶

Build finalize the chain and returns the GeoHashGridBucket struct

func (*GeoHashGridBucketBuilder) DocCount ¶

func (*GeoHashGridBucketBuilder) Key ¶

type GeoHashLocationBuilder ¶

type GeoHashLocationBuilder struct {
	// contains filtered or unexported fields
}

GeoHashLocationBuilder holds GeoHashLocation struct and provides a builder API.

func NewGeoHashLocationBuilder ¶

func NewGeoHashLocationBuilder() *GeoHashLocationBuilder

NewGeoHashLocation provides a builder for the GeoHashLocation struct.

func (*GeoHashLocationBuilder) Build ¶

Build finalize the chain and returns the GeoHashLocation struct

func (*GeoHashLocationBuilder) Geohash ¶

type GeoHashPrecision ¶

type GeoHashPrecision interface{}

GeoHashPrecision holds the union for the following types:

int
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Geo.ts#L76-L80

type GeoHashPrecisionBuilder ¶

type GeoHashPrecisionBuilder struct {
	// contains filtered or unexported fields
}

GeoHashPrecisionBuilder holds GeoHashPrecision struct and provides a builder API.

func NewGeoHashPrecisionBuilder ¶

func NewGeoHashPrecisionBuilder() *GeoHashPrecisionBuilder

NewGeoHashPrecision provides a builder for the GeoHashPrecision struct.

func (*GeoHashPrecisionBuilder) Build ¶

Build finalize the chain and returns the GeoHashPrecision struct

func (*GeoHashPrecisionBuilder) Int ¶

func (*GeoHashPrecisionBuilder) String ¶

type GeoIpDownloadStatistics ¶

type GeoIpDownloadStatistics struct {
	// DatabaseCount Current number of databases available for use.
	DatabaseCount int `json:"database_count"`
	// FailedDownloads Total number of failed database downloads.
	FailedDownloads int `json:"failed_downloads"`
	// SkippedUpdates Total number of database updates skipped.
	SkippedUpdates int `json:"skipped_updates"`
	// SuccessfulDownloads Total number of successful database downloads.
	SuccessfulDownloads int `json:"successful_downloads"`
	// TotalDownloadTime Total milliseconds spent downloading databases.
	TotalDownloadTime DurationValueUnitMillis `json:"total_download_time"`
}

GeoIpDownloadStatistics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/geo_ip_stats/types.ts#L24-L35

type GeoIpDownloadStatisticsBuilder ¶

type GeoIpDownloadStatisticsBuilder struct {
	// contains filtered or unexported fields
}

GeoIpDownloadStatisticsBuilder holds GeoIpDownloadStatistics struct and provides a builder API.

func NewGeoIpDownloadStatisticsBuilder ¶

func NewGeoIpDownloadStatisticsBuilder() *GeoIpDownloadStatisticsBuilder

NewGeoIpDownloadStatistics provides a builder for the GeoIpDownloadStatistics struct.

func (*GeoIpDownloadStatisticsBuilder) Build ¶

Build finalize the chain and returns the GeoIpDownloadStatistics struct

func (*GeoIpDownloadStatisticsBuilder) DatabaseCount ¶

func (rb *GeoIpDownloadStatisticsBuilder) DatabaseCount(databasecount int) *GeoIpDownloadStatisticsBuilder

func (*GeoIpDownloadStatisticsBuilder) FailedDownloads ¶

func (rb *GeoIpDownloadStatisticsBuilder) FailedDownloads(faileddownloads int) *GeoIpDownloadStatisticsBuilder

func (*GeoIpDownloadStatisticsBuilder) SkippedUpdates ¶

func (rb *GeoIpDownloadStatisticsBuilder) SkippedUpdates(skippedupdates int) *GeoIpDownloadStatisticsBuilder

func (*GeoIpDownloadStatisticsBuilder) SuccessfulDownloads ¶

func (rb *GeoIpDownloadStatisticsBuilder) SuccessfulDownloads(successfuldownloads int) *GeoIpDownloadStatisticsBuilder

func (*GeoIpDownloadStatisticsBuilder) TotalDownloadTime ¶

type GeoIpNodeDatabaseName ¶

type GeoIpNodeDatabaseName struct {
	// Name Name of the database.
	Name Name `json:"name"`
}

GeoIpNodeDatabaseName type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/geo_ip_stats/types.ts#L45-L48

type GeoIpNodeDatabaseNameBuilder ¶

type GeoIpNodeDatabaseNameBuilder struct {
	// contains filtered or unexported fields
}

GeoIpNodeDatabaseNameBuilder holds GeoIpNodeDatabaseName struct and provides a builder API.

func NewGeoIpNodeDatabaseNameBuilder ¶

func NewGeoIpNodeDatabaseNameBuilder() *GeoIpNodeDatabaseNameBuilder

NewGeoIpNodeDatabaseName provides a builder for the GeoIpNodeDatabaseName struct.

func (*GeoIpNodeDatabaseNameBuilder) Build ¶

Build finalize the chain and returns the GeoIpNodeDatabaseName struct

func (*GeoIpNodeDatabaseNameBuilder) Name ¶

type GeoIpNodeDatabases ¶

type GeoIpNodeDatabases struct {
	// Databases Downloaded databases for the node.
	Databases []GeoIpNodeDatabaseName `json:"databases"`
	// FilesInTemp Downloaded database files, including related license files. Elasticsearch
	// stores these files in the node’s temporary directory:
	// $ES_TMPDIR/geoip-databases/<node_id>.
	FilesInTemp []string `json:"files_in_temp"`
}

GeoIpNodeDatabases type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/geo_ip_stats/types.ts#L37-L43

type GeoIpNodeDatabasesBuilder ¶

type GeoIpNodeDatabasesBuilder struct {
	// contains filtered or unexported fields
}

GeoIpNodeDatabasesBuilder holds GeoIpNodeDatabases struct and provides a builder API.

func NewGeoIpNodeDatabasesBuilder ¶

func NewGeoIpNodeDatabasesBuilder() *GeoIpNodeDatabasesBuilder

NewGeoIpNodeDatabases provides a builder for the GeoIpNodeDatabases struct.

func (*GeoIpNodeDatabasesBuilder) Build ¶

Build finalize the chain and returns the GeoIpNodeDatabases struct

func (*GeoIpNodeDatabasesBuilder) Databases ¶

func (*GeoIpNodeDatabasesBuilder) FilesInTemp ¶

func (rb *GeoIpNodeDatabasesBuilder) FilesInTemp(files_in_temp ...string) *GeoIpNodeDatabasesBuilder

type GeoIpProcessor ¶

type GeoIpProcessor struct {
	DatabaseFile  string               `json:"database_file"`
	Field         Field                `json:"field"`
	FirstOnly     bool                 `json:"first_only"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing bool                 `json:"ignore_missing"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Properties    []string             `json:"properties"`
	Tag           *string              `json:"tag,omitempty"`
	TargetField   Field                `json:"target_field"`
}

GeoIpProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L105-L112

type GeoIpProcessorBuilder ¶

type GeoIpProcessorBuilder struct {
	// contains filtered or unexported fields
}

GeoIpProcessorBuilder holds GeoIpProcessor struct and provides a builder API.

func NewGeoIpProcessorBuilder ¶

func NewGeoIpProcessorBuilder() *GeoIpProcessorBuilder

NewGeoIpProcessor provides a builder for the GeoIpProcessor struct.

func (*GeoIpProcessorBuilder) Build ¶

Build finalize the chain and returns the GeoIpProcessor struct

func (*GeoIpProcessorBuilder) DatabaseFile ¶

func (rb *GeoIpProcessorBuilder) DatabaseFile(databasefile string) *GeoIpProcessorBuilder

func (*GeoIpProcessorBuilder) Field ¶

func (*GeoIpProcessorBuilder) FirstOnly ¶

func (rb *GeoIpProcessorBuilder) FirstOnly(firstonly bool) *GeoIpProcessorBuilder

func (*GeoIpProcessorBuilder) If_ ¶

func (*GeoIpProcessorBuilder) IgnoreFailure ¶

func (rb *GeoIpProcessorBuilder) IgnoreFailure(ignorefailure bool) *GeoIpProcessorBuilder

func (*GeoIpProcessorBuilder) IgnoreMissing ¶

func (rb *GeoIpProcessorBuilder) IgnoreMissing(ignoremissing bool) *GeoIpProcessorBuilder

func (*GeoIpProcessorBuilder) OnFailure ¶

func (*GeoIpProcessorBuilder) Properties ¶

func (rb *GeoIpProcessorBuilder) Properties(properties ...string) *GeoIpProcessorBuilder

func (*GeoIpProcessorBuilder) Tag ¶

func (*GeoIpProcessorBuilder) TargetField ¶

func (rb *GeoIpProcessorBuilder) TargetField(targetfield Field) *GeoIpProcessorBuilder

type GeoLine ¶

type GeoLine struct {
	// Coordinates Array of `[lon, lat]` coordinates
	Coordinates [][]float64 `json:"coordinates"`
	// Type Always `"LineString"`
	Type string `json:"type"`
}

GeoLine type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Geo.ts#L59-L65

type GeoLineAggregate ¶

type GeoLineAggregate struct {
	Geometry GeoLine   `json:"geometry"`
	Meta     *Metadata `json:"meta,omitempty"`
	Type     string    `json:"type"`
}

GeoLineAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L735-L739

type GeoLineAggregateBuilder ¶

type GeoLineAggregateBuilder struct {
	// contains filtered or unexported fields
}

GeoLineAggregateBuilder holds GeoLineAggregate struct and provides a builder API.

func NewGeoLineAggregateBuilder ¶

func NewGeoLineAggregateBuilder() *GeoLineAggregateBuilder

NewGeoLineAggregate provides a builder for the GeoLineAggregate struct.

func (*GeoLineAggregateBuilder) Build ¶

Build finalize the chain and returns the GeoLineAggregate struct

func (*GeoLineAggregateBuilder) Geometry ¶

func (*GeoLineAggregateBuilder) Meta ¶

func (*GeoLineAggregateBuilder) Type_ ¶

type GeoLineAggregation ¶

type GeoLineAggregation struct {
	IncludeSort *bool                `json:"include_sort,omitempty"`
	Point       GeoLinePoint         `json:"point"`
	Size        *int                 `json:"size,omitempty"`
	Sort        GeoLineSort          `json:"sort"`
	SortOrder   *sortorder.SortOrder `json:"sort_order,omitempty"`
}

GeoLineAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L72-L78

type GeoLineAggregationBuilder ¶

type GeoLineAggregationBuilder struct {
	// contains filtered or unexported fields
}

GeoLineAggregationBuilder holds GeoLineAggregation struct and provides a builder API.

func NewGeoLineAggregationBuilder ¶

func NewGeoLineAggregationBuilder() *GeoLineAggregationBuilder

NewGeoLineAggregation provides a builder for the GeoLineAggregation struct.

func (*GeoLineAggregationBuilder) Build ¶

Build finalize the chain and returns the GeoLineAggregation struct

func (*GeoLineAggregationBuilder) IncludeSort ¶

func (rb *GeoLineAggregationBuilder) IncludeSort(includesort bool) *GeoLineAggregationBuilder

func (*GeoLineAggregationBuilder) Point ¶

func (*GeoLineAggregationBuilder) Size ¶

func (*GeoLineAggregationBuilder) Sort ¶

func (*GeoLineAggregationBuilder) SortOrder ¶

type GeoLineBuilder ¶

type GeoLineBuilder struct {
	// contains filtered or unexported fields
}

GeoLineBuilder holds GeoLine struct and provides a builder API.

func NewGeoLineBuilder ¶

func NewGeoLineBuilder() *GeoLineBuilder

NewGeoLine provides a builder for the GeoLine struct.

func (*GeoLineBuilder) Build ¶

func (rb *GeoLineBuilder) Build() GeoLine

Build finalize the chain and returns the GeoLine struct

func (*GeoLineBuilder) Coordinates ¶

func (rb *GeoLineBuilder) Coordinates(coordinates ...[]float64) *GeoLineBuilder

func (*GeoLineBuilder) Type_ ¶

func (rb *GeoLineBuilder) Type_(type_ string) *GeoLineBuilder

type GeoLinePointBuilder ¶

type GeoLinePointBuilder struct {
	// contains filtered or unexported fields
}

GeoLinePointBuilder holds GeoLinePoint struct and provides a builder API.

func NewGeoLinePointBuilder ¶

func NewGeoLinePointBuilder() *GeoLinePointBuilder

NewGeoLinePoint provides a builder for the GeoLinePoint struct.

func (*GeoLinePointBuilder) Build ¶

func (rb *GeoLinePointBuilder) Build() GeoLinePoint

Build finalize the chain and returns the GeoLinePoint struct

func (*GeoLinePointBuilder) Field ¶

func (rb *GeoLinePointBuilder) Field(field Field) *GeoLinePointBuilder

type GeoLineSortBuilder ¶

type GeoLineSortBuilder struct {
	// contains filtered or unexported fields
}

GeoLineSortBuilder holds GeoLineSort struct and provides a builder API.

func NewGeoLineSortBuilder ¶

func NewGeoLineSortBuilder() *GeoLineSortBuilder

NewGeoLineSort provides a builder for the GeoLineSort struct.

func (*GeoLineSortBuilder) Build ¶

func (rb *GeoLineSortBuilder) Build() GeoLineSort

Build finalize the chain and returns the GeoLineSort struct

func (*GeoLineSortBuilder) Field ¶

func (rb *GeoLineSortBuilder) Field(field Field) *GeoLineSortBuilder

type GeoLocation ¶

type GeoLocation interface{}

GeoLocation holds the union for the following types:

[]float64
GeoHashLocation
LatLonGeoLocation
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Geo.ts#L91-L105

type GeoLocationBuilder ¶

type GeoLocationBuilder struct {
	// contains filtered or unexported fields
}

GeoLocationBuilder holds GeoLocation struct and provides a builder API.

func NewGeoLocationBuilder ¶

func NewGeoLocationBuilder() *GeoLocationBuilder

NewGeoLocation provides a builder for the GeoLocation struct.

func (*GeoLocationBuilder) Build ¶

func (u *GeoLocationBuilder) Build() GeoLocation

Build finalize the chain and returns the GeoLocation struct

func (*GeoLocationBuilder) Doubles ¶

func (u *GeoLocationBuilder) Doubles(doubles ...float64) *GeoLocationBuilder

func (*GeoLocationBuilder) GeoHashLocation ¶

func (u *GeoLocationBuilder) GeoHashLocation(geohashlocation *GeoHashLocationBuilder) *GeoLocationBuilder

func (*GeoLocationBuilder) LatLonGeoLocation ¶

func (u *GeoLocationBuilder) LatLonGeoLocation(latlongeolocation *LatLonGeoLocationBuilder) *GeoLocationBuilder

func (*GeoLocationBuilder) String ¶

func (u *GeoLocationBuilder) String(string string) *GeoLocationBuilder

type GeoPointProperty ¶

type GeoPointProperty struct {
	CopyTo          *Fields                        `json:"copy_to,omitempty"`
	DocValues       *bool                          `json:"doc_values,omitempty"`
	Dynamic         *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields          map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove     *int                           `json:"ignore_above,omitempty"`
	IgnoreMalformed *bool                          `json:"ignore_malformed,omitempty"`
	IgnoreZValue    *bool                          `json:"ignore_z_value,omitempty"`
	LocalMetadata   *Metadata                      `json:"local_metadata,omitempty"`
	Meta            map[string]string              `json:"meta,omitempty"`
	NullValue       *GeoLocation                   `json:"null_value,omitempty"`
	Properties      map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity      *string                        `json:"similarity,omitempty"`
	Store           *bool                          `json:"store,omitempty"`
	Type            string                         `json:"type,omitempty"`
}

GeoPointProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/geo.ts#L23-L28

type GeoPointPropertyBuilder ¶

type GeoPointPropertyBuilder struct {
	// contains filtered or unexported fields
}

GeoPointPropertyBuilder holds GeoPointProperty struct and provides a builder API.

func NewGeoPointPropertyBuilder ¶

func NewGeoPointPropertyBuilder() *GeoPointPropertyBuilder

NewGeoPointProperty provides a builder for the GeoPointProperty struct.

func (*GeoPointPropertyBuilder) Build ¶

Build finalize the chain and returns the GeoPointProperty struct

func (*GeoPointPropertyBuilder) CopyTo ¶

func (*GeoPointPropertyBuilder) DocValues ¶

func (rb *GeoPointPropertyBuilder) DocValues(docvalues bool) *GeoPointPropertyBuilder

func (*GeoPointPropertyBuilder) Dynamic ¶

func (*GeoPointPropertyBuilder) Fields ¶

func (*GeoPointPropertyBuilder) IgnoreAbove ¶

func (rb *GeoPointPropertyBuilder) IgnoreAbove(ignoreabove int) *GeoPointPropertyBuilder

func (*GeoPointPropertyBuilder) IgnoreMalformed ¶

func (rb *GeoPointPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *GeoPointPropertyBuilder

func (*GeoPointPropertyBuilder) IgnoreZValue ¶

func (rb *GeoPointPropertyBuilder) IgnoreZValue(ignorezvalue bool) *GeoPointPropertyBuilder

func (*GeoPointPropertyBuilder) LocalMetadata ¶

func (rb *GeoPointPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *GeoPointPropertyBuilder

func (*GeoPointPropertyBuilder) Meta ¶

func (*GeoPointPropertyBuilder) NullValue ¶

func (*GeoPointPropertyBuilder) Properties ¶

func (*GeoPointPropertyBuilder) Similarity ¶

func (rb *GeoPointPropertyBuilder) Similarity(similarity string) *GeoPointPropertyBuilder

func (*GeoPointPropertyBuilder) Store ¶

type GeoPolygonPointsBuilder ¶

type GeoPolygonPointsBuilder struct {
	// contains filtered or unexported fields
}

GeoPolygonPointsBuilder holds GeoPolygonPoints struct and provides a builder API.

func NewGeoPolygonPointsBuilder ¶

func NewGeoPolygonPointsBuilder() *GeoPolygonPointsBuilder

NewGeoPolygonPoints provides a builder for the GeoPolygonPoints struct.

func (*GeoPolygonPointsBuilder) Build ¶

Build finalize the chain and returns the GeoPolygonPoints struct

func (*GeoPolygonPointsBuilder) Points ¶

type GeoPolygonQuery ¶

type GeoPolygonQuery struct {
	Boost            *float32                                 `json:"boost,omitempty"`
	GeoPolygonQuery  map[Field]GeoPolygonPoints               `json:"GeoPolygonQuery,omitempty"`
	IgnoreUnmapped   *bool                                    `json:"ignore_unmapped,omitempty"`
	QueryName_       *string                                  `json:"_name,omitempty"`
	ValidationMethod *geovalidationmethod.GeoValidationMethod `json:"validation_method,omitempty"`
}

GeoPolygonQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/geo.ts#L63-L71

type GeoPolygonQueryBuilder ¶

type GeoPolygonQueryBuilder struct {
	// contains filtered or unexported fields
}

GeoPolygonQueryBuilder holds GeoPolygonQuery struct and provides a builder API.

func NewGeoPolygonQueryBuilder ¶

func NewGeoPolygonQueryBuilder() *GeoPolygonQueryBuilder

NewGeoPolygonQuery provides a builder for the GeoPolygonQuery struct.

func (*GeoPolygonQueryBuilder) Boost ¶

func (*GeoPolygonQueryBuilder) Build ¶

Build finalize the chain and returns the GeoPolygonQuery struct

func (*GeoPolygonQueryBuilder) GeoPolygonQuery ¶

func (*GeoPolygonQueryBuilder) IgnoreUnmapped ¶

func (rb *GeoPolygonQueryBuilder) IgnoreUnmapped(ignoreunmapped bool) *GeoPolygonQueryBuilder

func (*GeoPolygonQueryBuilder) QueryName_ ¶

func (rb *GeoPolygonQueryBuilder) QueryName_(queryname_ string) *GeoPolygonQueryBuilder

func (*GeoPolygonQueryBuilder) ValidationMethod ¶

type GeoShapeBuilder ¶

type GeoShapeBuilder struct {
	// contains filtered or unexported fields
}

GeoShapeBuilder holds GeoShape struct and provides a builder API.

func NewGeoShapeBuilder ¶

func NewGeoShapeBuilder() *GeoShapeBuilder

NewGeoShape provides a builder for the GeoShape struct.

func (*GeoShapeBuilder) Build ¶

func (b *GeoShapeBuilder) Build() GeoShape

Build finalize the chain and returns the GeoShape struct

func (*GeoShapeBuilder) GeoShape ¶

func (b *GeoShapeBuilder) GeoShape(value GeoShape) *GeoShapeBuilder

type GeoShapeFieldQuery ¶

type GeoShapeFieldQuery struct {
	IndexedShape *FieldLookup                       `json:"indexed_shape,omitempty"`
	Relation     *geoshaperelation.GeoShapeRelation `json:"relation,omitempty"`
	Shape        *GeoShape                          `json:"shape,omitempty"`
}

GeoShapeFieldQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/geo.ts#L78-L82

type GeoShapeFieldQueryBuilder ¶

type GeoShapeFieldQueryBuilder struct {
	// contains filtered or unexported fields
}

GeoShapeFieldQueryBuilder holds GeoShapeFieldQuery struct and provides a builder API.

func NewGeoShapeFieldQueryBuilder ¶

func NewGeoShapeFieldQueryBuilder() *GeoShapeFieldQueryBuilder

NewGeoShapeFieldQuery provides a builder for the GeoShapeFieldQuery struct.

func (*GeoShapeFieldQueryBuilder) Build ¶

Build finalize the chain and returns the GeoShapeFieldQuery struct

func (*GeoShapeFieldQueryBuilder) IndexedShape ¶

func (*GeoShapeFieldQueryBuilder) Relation ¶

func (*GeoShapeFieldQueryBuilder) Shape ¶

type GeoShapeProperty ¶

type GeoShapeProperty struct {
	Coerce          *bool                          `json:"coerce,omitempty"`
	CopyTo          *Fields                        `json:"copy_to,omitempty"`
	DocValues       *bool                          `json:"doc_values,omitempty"`
	Dynamic         *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields          map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove     *int                           `json:"ignore_above,omitempty"`
	IgnoreMalformed *bool                          `json:"ignore_malformed,omitempty"`
	IgnoreZValue    *bool                          `json:"ignore_z_value,omitempty"`
	LocalMetadata   *Metadata                      `json:"local_metadata,omitempty"`
	Meta            map[string]string              `json:"meta,omitempty"`
	Orientation     *geoorientation.GeoOrientation `json:"orientation,omitempty"`
	Properties      map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity      *string                        `json:"similarity,omitempty"`
	Store           *bool                          `json:"store,omitempty"`
	Strategy        *geostrategy.GeoStrategy       `json:"strategy,omitempty"`
	Type            string                         `json:"type,omitempty"`
}

GeoShapeProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/geo.ts#L37-L50

type GeoShapePropertyBuilder ¶

type GeoShapePropertyBuilder struct {
	// contains filtered or unexported fields
}

GeoShapePropertyBuilder holds GeoShapeProperty struct and provides a builder API.

func NewGeoShapePropertyBuilder ¶

func NewGeoShapePropertyBuilder() *GeoShapePropertyBuilder

NewGeoShapeProperty provides a builder for the GeoShapeProperty struct.

func (*GeoShapePropertyBuilder) Build ¶

Build finalize the chain and returns the GeoShapeProperty struct

func (*GeoShapePropertyBuilder) Coerce ¶

func (*GeoShapePropertyBuilder) CopyTo ¶

func (*GeoShapePropertyBuilder) DocValues ¶

func (rb *GeoShapePropertyBuilder) DocValues(docvalues bool) *GeoShapePropertyBuilder

func (*GeoShapePropertyBuilder) Dynamic ¶

func (*GeoShapePropertyBuilder) Fields ¶

func (*GeoShapePropertyBuilder) IgnoreAbove ¶

func (rb *GeoShapePropertyBuilder) IgnoreAbove(ignoreabove int) *GeoShapePropertyBuilder

func (*GeoShapePropertyBuilder) IgnoreMalformed ¶

func (rb *GeoShapePropertyBuilder) IgnoreMalformed(ignoremalformed bool) *GeoShapePropertyBuilder

func (*GeoShapePropertyBuilder) IgnoreZValue ¶

func (rb *GeoShapePropertyBuilder) IgnoreZValue(ignorezvalue bool) *GeoShapePropertyBuilder

func (*GeoShapePropertyBuilder) LocalMetadata ¶

func (rb *GeoShapePropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *GeoShapePropertyBuilder

func (*GeoShapePropertyBuilder) Meta ¶

func (*GeoShapePropertyBuilder) Orientation ¶

func (*GeoShapePropertyBuilder) Properties ¶

func (*GeoShapePropertyBuilder) Similarity ¶

func (rb *GeoShapePropertyBuilder) Similarity(similarity string) *GeoShapePropertyBuilder

func (*GeoShapePropertyBuilder) Store ¶

func (*GeoShapePropertyBuilder) Strategy ¶

type GeoShapeQuery ¶

type GeoShapeQuery struct {
	Boost          *float32                     `json:"boost,omitempty"`
	GeoShapeQuery  map[Field]GeoShapeFieldQuery `json:"GeoShapeQuery,omitempty"`
	IgnoreUnmapped *bool                        `json:"ignore_unmapped,omitempty"`
	QueryName_     *string                      `json:"_name,omitempty"`
}

GeoShapeQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/geo.ts#L86-L91

type GeoShapeQueryBuilder ¶

type GeoShapeQueryBuilder struct {
	// contains filtered or unexported fields
}

GeoShapeQueryBuilder holds GeoShapeQuery struct and provides a builder API.

func NewGeoShapeQueryBuilder ¶

func NewGeoShapeQueryBuilder() *GeoShapeQueryBuilder

NewGeoShapeQuery provides a builder for the GeoShapeQuery struct.

func (*GeoShapeQueryBuilder) Boost ¶

func (*GeoShapeQueryBuilder) Build ¶

func (rb *GeoShapeQueryBuilder) Build() GeoShapeQuery

Build finalize the chain and returns the GeoShapeQuery struct

func (*GeoShapeQueryBuilder) GeoShapeQuery ¶

func (*GeoShapeQueryBuilder) IgnoreUnmapped ¶

func (rb *GeoShapeQueryBuilder) IgnoreUnmapped(ignoreunmapped bool) *GeoShapeQueryBuilder

func (*GeoShapeQueryBuilder) QueryName_ ¶

func (rb *GeoShapeQueryBuilder) QueryName_(queryname_ string) *GeoShapeQueryBuilder

type GeoTileBuilder ¶

type GeoTileBuilder struct {
	// contains filtered or unexported fields
}

GeoTileBuilder holds GeoTile struct and provides a builder API.

func NewGeoTileBuilder ¶

func NewGeoTileBuilder() *GeoTileBuilder

NewGeoTile provides a builder for the GeoTile struct.

func (*GeoTileBuilder) Build ¶

func (b *GeoTileBuilder) Build() GeoTile

Build finalize the chain and returns the GeoTile struct

func (*GeoTileBuilder) GeoTile ¶

func (b *GeoTileBuilder) GeoTile(value GeoTile) *GeoTileBuilder

type GeoTileGridAggregateBuilder ¶

type GeoTileGridAggregateBuilder struct {
	// contains filtered or unexported fields
}

GeoTileGridAggregateBuilder holds GeoTileGridAggregate struct and provides a builder API.

func NewGeoTileGridAggregateBuilder ¶

func NewGeoTileGridAggregateBuilder() *GeoTileGridAggregateBuilder

NewGeoTileGridAggregate provides a builder for the GeoTileGridAggregate struct.

func (*GeoTileGridAggregateBuilder) Buckets ¶

func (*GeoTileGridAggregateBuilder) Build ¶

Build finalize the chain and returns the GeoTileGridAggregate struct

func (*GeoTileGridAggregateBuilder) Meta ¶

type GeoTileGridAggregation ¶

type GeoTileGridAggregation struct {
	Bounds    *GeoBounds        `json:"bounds,omitempty"`
	Field     *Field            `json:"field,omitempty"`
	Meta      *Metadata         `json:"meta,omitempty"`
	Name      *string           `json:"name,omitempty"`
	Precision *GeoTilePrecision `json:"precision,omitempty"`
	ShardSize *int              `json:"shard_size,omitempty"`
	Size      *int              `json:"size,omitempty"`
}

GeoTileGridAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L189-L195

type GeoTileGridAggregationBuilder ¶

type GeoTileGridAggregationBuilder struct {
	// contains filtered or unexported fields
}

GeoTileGridAggregationBuilder holds GeoTileGridAggregation struct and provides a builder API.

func NewGeoTileGridAggregationBuilder ¶

func NewGeoTileGridAggregationBuilder() *GeoTileGridAggregationBuilder

NewGeoTileGridAggregation provides a builder for the GeoTileGridAggregation struct.

func (*GeoTileGridAggregationBuilder) Bounds ¶

func (*GeoTileGridAggregationBuilder) Build ¶

Build finalize the chain and returns the GeoTileGridAggregation struct

func (*GeoTileGridAggregationBuilder) Field ¶

func (*GeoTileGridAggregationBuilder) Meta ¶

func (*GeoTileGridAggregationBuilder) Name ¶

func (*GeoTileGridAggregationBuilder) Precision ¶

func (*GeoTileGridAggregationBuilder) ShardSize ¶

func (*GeoTileGridAggregationBuilder) Size ¶

type GeoTileGridBucket ¶

type GeoTileGridBucket struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Key          GeoTile                     `json:"key"`
}

GeoTileGridBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L505-L507

type GeoTileGridBucketBuilder ¶

type GeoTileGridBucketBuilder struct {
	// contains filtered or unexported fields
}

GeoTileGridBucketBuilder holds GeoTileGridBucket struct and provides a builder API.

func NewGeoTileGridBucketBuilder ¶

func NewGeoTileGridBucketBuilder() *GeoTileGridBucketBuilder

NewGeoTileGridBucket provides a builder for the GeoTileGridBucket struct.

func (*GeoTileGridBucketBuilder) Aggregations ¶

func (*GeoTileGridBucketBuilder) Build ¶

Build finalize the chain and returns the GeoTileGridBucket struct

func (*GeoTileGridBucketBuilder) DocCount ¶

func (*GeoTileGridBucketBuilder) Key ¶

type GeoTilePrecisionBuilder ¶

type GeoTilePrecisionBuilder struct {
	// contains filtered or unexported fields
}

GeoTilePrecisionBuilder holds GeoTilePrecision struct and provides a builder API.

func NewGeoTilePrecisionBuilder ¶

func NewGeoTilePrecisionBuilder() *GeoTilePrecisionBuilder

NewGeoTilePrecision provides a builder for the GeoTilePrecision struct.

func (*GeoTilePrecisionBuilder) Build ¶

Build finalize the chain and returns the GeoTilePrecision struct

func (*GeoTilePrecisionBuilder) GeoTilePrecision ¶

type GeohexGridAggregation ¶

type GeohexGridAggregation struct {
	// Bounds Bounding box used to filter the geo-points in each bucket.
	Bounds *GeoBounds `json:"bounds,omitempty"`
	// Field Field containing indexed geo-point values. Must be explicitly
	// mapped as a `geo_point` field. If the field contains an array
	// `geohex_grid` aggregates all array values.
	Field Field     `json:"field"`
	Meta  *Metadata `json:"meta,omitempty"`
	Name  *string   `json:"name,omitempty"`
	// Precision Integer zoom of the key used to defined cells or buckets
	// in the results. Value should be between 0-15.
	Precision *int `json:"precision,omitempty"`
	// ShardSize Number of buckets returned from each shard.
	ShardSize *int `json:"shard_size,omitempty"`
	// Size Maximum number of buckets to return.
	Size *int `json:"size,omitempty"`
}

GeohexGridAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L197-L223

type GeohexGridAggregationBuilder ¶

type GeohexGridAggregationBuilder struct {
	// contains filtered or unexported fields
}

GeohexGridAggregationBuilder holds GeohexGridAggregation struct and provides a builder API.

func NewGeohexGridAggregationBuilder ¶

func NewGeohexGridAggregationBuilder() *GeohexGridAggregationBuilder

NewGeohexGridAggregation provides a builder for the GeohexGridAggregation struct.

func (*GeohexGridAggregationBuilder) Bounds ¶

func (*GeohexGridAggregationBuilder) Build ¶

Build finalize the chain and returns the GeohexGridAggregation struct

func (*GeohexGridAggregationBuilder) Field ¶

func (*GeohexGridAggregationBuilder) Meta ¶

func (*GeohexGridAggregationBuilder) Name ¶

func (*GeohexGridAggregationBuilder) Precision ¶

func (*GeohexGridAggregationBuilder) ShardSize ¶

func (*GeohexGridAggregationBuilder) Size ¶

type GetResult ¶

type GetResult struct {
	Fields       map[string]interface{} `json:"fields,omitempty"`
	Found        bool                   `json:"found"`
	Id_          Id                     `json:"_id"`
	Index_       IndexName              `json:"_index"`
	PrimaryTerm_ *int64                 `json:"_primary_term,omitempty"`
	Routing_     *string                `json:"_routing,omitempty"`
	SeqNo_       *SequenceNumber        `json:"_seq_no,omitempty"`
	Source_      interface{}            `json:"_source,omitempty"`
	Version_     *VersionNumber         `json:"_version,omitempty"`
}

GetResult type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/get/types.ts#L25-L35

type GetResultBuilder ¶

type GetResultBuilder struct {
	// contains filtered or unexported fields
}

GetResultBuilder holds GetResult struct and provides a builder API.

func NewGetResultBuilder ¶

func NewGetResultBuilder() *GetResultBuilder

NewGetResult provides a builder for the GetResult struct.

func (*GetResultBuilder) Build ¶

func (rb *GetResultBuilder) Build() GetResult

Build finalize the chain and returns the GetResult struct

func (*GetResultBuilder) Fields ¶

func (rb *GetResultBuilder) Fields(value map[string]interface{}) *GetResultBuilder

func (*GetResultBuilder) Found ¶

func (rb *GetResultBuilder) Found(found bool) *GetResultBuilder

func (*GetResultBuilder) Id_ ¶

func (rb *GetResultBuilder) Id_(id_ Id) *GetResultBuilder

func (*GetResultBuilder) Index_ ¶

func (rb *GetResultBuilder) Index_(index_ IndexName) *GetResultBuilder

func (*GetResultBuilder) PrimaryTerm_ ¶

func (rb *GetResultBuilder) PrimaryTerm_(primaryterm_ int64) *GetResultBuilder

func (*GetResultBuilder) Routing_ ¶

func (rb *GetResultBuilder) Routing_(routing_ string) *GetResultBuilder

func (*GetResultBuilder) SeqNo_ ¶

func (rb *GetResultBuilder) SeqNo_(seqno_ SequenceNumber) *GetResultBuilder

func (*GetResultBuilder) Source_ ¶

func (rb *GetResultBuilder) Source_(source_ interface{}) *GetResultBuilder

func (*GetResultBuilder) Version_ ¶

func (rb *GetResultBuilder) Version_(version_ VersionNumber) *GetResultBuilder

type GetStats ¶

type GetStats struct {
	Current             int64                   `json:"current"`
	ExistsTime          *Duration               `json:"exists_time,omitempty"`
	ExistsTimeInMillis  DurationValueUnitMillis `json:"exists_time_in_millis"`
	ExistsTotal         int64                   `json:"exists_total"`
	MissingTime         *Duration               `json:"missing_time,omitempty"`
	MissingTimeInMillis DurationValueUnitMillis `json:"missing_time_in_millis"`
	MissingTotal        int64                   `json:"missing_total"`
	Time                *Duration               `json:"time,omitempty"`
	TimeInMillis        DurationValueUnitMillis `json:"time_in_millis"`
	Total               int64                   `json:"total"`
}

GetStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L88-L99

type GetStatsBuilder ¶

type GetStatsBuilder struct {
	// contains filtered or unexported fields
}

GetStatsBuilder holds GetStats struct and provides a builder API.

func NewGetStatsBuilder ¶

func NewGetStatsBuilder() *GetStatsBuilder

NewGetStats provides a builder for the GetStats struct.

func (*GetStatsBuilder) Build ¶

func (rb *GetStatsBuilder) Build() GetStats

Build finalize the chain and returns the GetStats struct

func (*GetStatsBuilder) Current ¶

func (rb *GetStatsBuilder) Current(current int64) *GetStatsBuilder

func (*GetStatsBuilder) ExistsTime ¶

func (rb *GetStatsBuilder) ExistsTime(existstime *DurationBuilder) *GetStatsBuilder

func (*GetStatsBuilder) ExistsTimeInMillis ¶

func (rb *GetStatsBuilder) ExistsTimeInMillis(existstimeinmillis *DurationValueUnitMillisBuilder) *GetStatsBuilder

func (*GetStatsBuilder) ExistsTotal ¶

func (rb *GetStatsBuilder) ExistsTotal(existstotal int64) *GetStatsBuilder

func (*GetStatsBuilder) MissingTime ¶

func (rb *GetStatsBuilder) MissingTime(missingtime *DurationBuilder) *GetStatsBuilder

func (*GetStatsBuilder) MissingTimeInMillis ¶

func (rb *GetStatsBuilder) MissingTimeInMillis(missingtimeinmillis *DurationValueUnitMillisBuilder) *GetStatsBuilder

func (*GetStatsBuilder) MissingTotal ¶

func (rb *GetStatsBuilder) MissingTotal(missingtotal int64) *GetStatsBuilder

func (*GetStatsBuilder) Time ¶

func (*GetStatsBuilder) TimeInMillis ¶

func (rb *GetStatsBuilder) TimeInMillis(timeinmillis *DurationValueUnitMillisBuilder) *GetStatsBuilder

func (*GetStatsBuilder) Total ¶

func (rb *GetStatsBuilder) Total(total int64) *GetStatsBuilder

type GlobalAggregate ¶

type GlobalAggregate struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Meta         *Metadata                   `json:"meta,omitempty"`
}

GlobalAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L479-L480

type GlobalAggregateBuilder ¶

type GlobalAggregateBuilder struct {
	// contains filtered or unexported fields
}

GlobalAggregateBuilder holds GlobalAggregate struct and provides a builder API.

func NewGlobalAggregateBuilder ¶

func NewGlobalAggregateBuilder() *GlobalAggregateBuilder

NewGlobalAggregate provides a builder for the GlobalAggregate struct.

func (*GlobalAggregateBuilder) Aggregations ¶

func (*GlobalAggregateBuilder) Build ¶

Build finalize the chain and returns the GlobalAggregate struct

func (*GlobalAggregateBuilder) DocCount ¶

func (rb *GlobalAggregateBuilder) DocCount(doccount int64) *GlobalAggregateBuilder

func (*GlobalAggregateBuilder) Meta ¶

type GlobalAggregation ¶

type GlobalAggregation struct {
	Meta *Metadata `json:"meta,omitempty"`
	Name *string   `json:"name,omitempty"`
}

GlobalAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L225-L225

type GlobalAggregationBuilder ¶

type GlobalAggregationBuilder struct {
	// contains filtered or unexported fields
}

GlobalAggregationBuilder holds GlobalAggregation struct and provides a builder API.

func NewGlobalAggregationBuilder ¶

func NewGlobalAggregationBuilder() *GlobalAggregationBuilder

NewGlobalAggregation provides a builder for the GlobalAggregation struct.

func (*GlobalAggregationBuilder) Build ¶

Build finalize the chain and returns the GlobalAggregation struct

func (*GlobalAggregationBuilder) Meta ¶

func (*GlobalAggregationBuilder) Name ¶

type GlobalPrivilegeBuilder ¶

type GlobalPrivilegeBuilder struct {
	// contains filtered or unexported fields
}

GlobalPrivilegeBuilder holds GlobalPrivilege struct and provides a builder API.

func NewGlobalPrivilegeBuilder ¶

func NewGlobalPrivilegeBuilder() *GlobalPrivilegeBuilder

NewGlobalPrivilege provides a builder for the GlobalPrivilege struct.

func (*GlobalPrivilegeBuilder) Application ¶

func (*GlobalPrivilegeBuilder) Build ¶

Build finalize the chain and returns the GlobalPrivilege struct

type GoogleNormalizedDistanceHeuristic ¶

type GoogleNormalizedDistanceHeuristic struct {
	BackgroundIsSuperset *bool `json:"background_is_superset,omitempty"`
}

GoogleNormalizedDistanceHeuristic type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L323-L325

type GoogleNormalizedDistanceHeuristicBuilder ¶

type GoogleNormalizedDistanceHeuristicBuilder struct {
	// contains filtered or unexported fields
}

GoogleNormalizedDistanceHeuristicBuilder holds GoogleNormalizedDistanceHeuristic struct and provides a builder API.

func NewGoogleNormalizedDistanceHeuristicBuilder ¶

func NewGoogleNormalizedDistanceHeuristicBuilder() *GoogleNormalizedDistanceHeuristicBuilder

NewGoogleNormalizedDistanceHeuristic provides a builder for the GoogleNormalizedDistanceHeuristic struct.

func (*GoogleNormalizedDistanceHeuristicBuilder) BackgroundIsSuperset ¶

func (rb *GoogleNormalizedDistanceHeuristicBuilder) BackgroundIsSuperset(backgroundissuperset bool) *GoogleNormalizedDistanceHeuristicBuilder

func (*GoogleNormalizedDistanceHeuristicBuilder) Build ¶

Build finalize the chain and returns the GoogleNormalizedDistanceHeuristic struct

type GrantApiKey ¶

type GrantApiKey struct {
	Expiration      *Duration                `json:"expiration,omitempty"`
	Name            Name                     `json:"name"`
	RoleDescriptors []map[string]interface{} `json:"role_descriptors,omitempty"`
}

GrantApiKey type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/grant_api_key/types.ts#L25-L29

type GrantApiKeyBuilder ¶

type GrantApiKeyBuilder struct {
	// contains filtered or unexported fields
}

GrantApiKeyBuilder holds GrantApiKey struct and provides a builder API.

func NewGrantApiKeyBuilder ¶

func NewGrantApiKeyBuilder() *GrantApiKeyBuilder

NewGrantApiKey provides a builder for the GrantApiKey struct.

func (*GrantApiKeyBuilder) Build ¶

func (rb *GrantApiKeyBuilder) Build() GrantApiKey

Build finalize the chain and returns the GrantApiKey struct

func (*GrantApiKeyBuilder) Expiration ¶

func (rb *GrantApiKeyBuilder) Expiration(expiration *DurationBuilder) *GrantApiKeyBuilder

func (*GrantApiKeyBuilder) Name ¶

func (rb *GrantApiKeyBuilder) Name(name Name) *GrantApiKeyBuilder

func (*GrantApiKeyBuilder) RoleDescriptors ¶

func (rb *GrantApiKeyBuilder) RoleDescriptors(value ...map[string]interface{}) *GrantApiKeyBuilder

type GrokProcessor ¶

type GrokProcessor struct {
	Field              Field                `json:"field"`
	If                 *string              `json:"if,omitempty"`
	IgnoreFailure      *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing      *bool                `json:"ignore_missing,omitempty"`
	OnFailure          []ProcessorContainer `json:"on_failure,omitempty"`
	PatternDefinitions map[string]string    `json:"pattern_definitions"`
	Patterns           []string             `json:"patterns"`
	Tag                *string              `json:"tag,omitempty"`
	TraceMatch         *bool                `json:"trace_match,omitempty"`
}

GrokProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L221-L227

type GrokProcessorBuilder ¶

type GrokProcessorBuilder struct {
	// contains filtered or unexported fields
}

GrokProcessorBuilder holds GrokProcessor struct and provides a builder API.

func NewGrokProcessorBuilder ¶

func NewGrokProcessorBuilder() *GrokProcessorBuilder

NewGrokProcessor provides a builder for the GrokProcessor struct.

func (*GrokProcessorBuilder) Build ¶

func (rb *GrokProcessorBuilder) Build() GrokProcessor

Build finalize the chain and returns the GrokProcessor struct

func (*GrokProcessorBuilder) Field ¶

func (*GrokProcessorBuilder) If_ ¶

func (*GrokProcessorBuilder) IgnoreFailure ¶

func (rb *GrokProcessorBuilder) IgnoreFailure(ignorefailure bool) *GrokProcessorBuilder

func (*GrokProcessorBuilder) IgnoreMissing ¶

func (rb *GrokProcessorBuilder) IgnoreMissing(ignoremissing bool) *GrokProcessorBuilder

func (*GrokProcessorBuilder) OnFailure ¶

func (*GrokProcessorBuilder) PatternDefinitions ¶

func (rb *GrokProcessorBuilder) PatternDefinitions(value map[string]string) *GrokProcessorBuilder

func (*GrokProcessorBuilder) Patterns ¶

func (rb *GrokProcessorBuilder) Patterns(patterns ...string) *GrokProcessorBuilder

func (*GrokProcessorBuilder) Tag ¶

func (*GrokProcessorBuilder) TraceMatch ¶

func (rb *GrokProcessorBuilder) TraceMatch(tracematch bool) *GrokProcessorBuilder

type Groupings ¶

type Groupings struct {
	DateHistogram *DateHistogramGrouping `json:"date_histogram,omitempty"`
	Histogram     *HistogramGrouping     `json:"histogram,omitempty"`
	Terms         *TermsGrouping         `json:"terms,omitempty"`
}

Groupings type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/rollup/_types/Groupings.ts#L24-L28

type GroupingsBuilder ¶

type GroupingsBuilder struct {
	// contains filtered or unexported fields
}

GroupingsBuilder holds Groupings struct and provides a builder API.

func NewGroupingsBuilder ¶

func NewGroupingsBuilder() *GroupingsBuilder

NewGroupings provides a builder for the Groupings struct.

func (*GroupingsBuilder) Build ¶

func (rb *GroupingsBuilder) Build() Groupings

Build finalize the chain and returns the Groupings struct

func (*GroupingsBuilder) DateHistogram ¶

func (rb *GroupingsBuilder) DateHistogram(datehistogram *DateHistogramGroupingBuilder) *GroupingsBuilder

func (*GroupingsBuilder) Histogram ¶

func (rb *GroupingsBuilder) Histogram(histogram *HistogramGroupingBuilder) *GroupingsBuilder

func (*GroupingsBuilder) Terms ¶

type GsubProcessor ¶

type GsubProcessor struct {
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing *bool                `json:"ignore_missing,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Pattern       string               `json:"pattern"`
	Replacement   string               `json:"replacement"`
	Tag           *string              `json:"tag,omitempty"`
	TargetField   *Field               `json:"target_field,omitempty"`
}

GsubProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L229-L235

type GsubProcessorBuilder ¶

type GsubProcessorBuilder struct {
	// contains filtered or unexported fields
}

GsubProcessorBuilder holds GsubProcessor struct and provides a builder API.

func NewGsubProcessorBuilder ¶

func NewGsubProcessorBuilder() *GsubProcessorBuilder

NewGsubProcessor provides a builder for the GsubProcessor struct.

func (*GsubProcessorBuilder) Build ¶

func (rb *GsubProcessorBuilder) Build() GsubProcessor

Build finalize the chain and returns the GsubProcessor struct

func (*GsubProcessorBuilder) Field ¶

func (*GsubProcessorBuilder) If_ ¶

func (*GsubProcessorBuilder) IgnoreFailure ¶

func (rb *GsubProcessorBuilder) IgnoreFailure(ignorefailure bool) *GsubProcessorBuilder

func (*GsubProcessorBuilder) IgnoreMissing ¶

func (rb *GsubProcessorBuilder) IgnoreMissing(ignoremissing bool) *GsubProcessorBuilder

func (*GsubProcessorBuilder) OnFailure ¶

func (*GsubProcessorBuilder) Pattern ¶

func (rb *GsubProcessorBuilder) Pattern(pattern string) *GsubProcessorBuilder

func (*GsubProcessorBuilder) Replacement ¶

func (rb *GsubProcessorBuilder) Replacement(replacement string) *GsubProcessorBuilder

func (*GsubProcessorBuilder) Tag ¶

func (*GsubProcessorBuilder) TargetField ¶

func (rb *GsubProcessorBuilder) TargetField(targetfield Field) *GsubProcessorBuilder

type HalfFloatNumberProperty ¶

type HalfFloatNumberProperty struct {
	Coerce           *bool                                      `json:"coerce,omitempty"`
	CopyTo           *Fields                                    `json:"copy_to,omitempty"`
	DocValues        *bool                                      `json:"doc_values,omitempty"`
	Dynamic          *dynamicmapping.DynamicMapping             `json:"dynamic,omitempty"`
	Fields           map[PropertyName]Property                  `json:"fields,omitempty"`
	IgnoreAbove      *int                                       `json:"ignore_above,omitempty"`
	IgnoreMalformed  *bool                                      `json:"ignore_malformed,omitempty"`
	Index            *bool                                      `json:"index,omitempty"`
	LocalMetadata    *Metadata                                  `json:"local_metadata,omitempty"`
	Meta             map[string]string                          `json:"meta,omitempty"`
	NullValue        *float32                                   `json:"null_value,omitempty"`
	OnScriptError    *onscripterror.OnScriptError               `json:"on_script_error,omitempty"`
	Properties       map[PropertyName]Property                  `json:"properties,omitempty"`
	Script           *Script                                    `json:"script,omitempty"`
	Similarity       *string                                    `json:"similarity,omitempty"`
	Store            *bool                                      `json:"store,omitempty"`
	TimeSeriesMetric *timeseriesmetrictype.TimeSeriesMetricType `json:"time_series_metric,omitempty"`
	Type             string                                     `json:"type,omitempty"`
}

HalfFloatNumberProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L124-L127

type HalfFloatNumberPropertyBuilder ¶

type HalfFloatNumberPropertyBuilder struct {
	// contains filtered or unexported fields
}

HalfFloatNumberPropertyBuilder holds HalfFloatNumberProperty struct and provides a builder API.

func NewHalfFloatNumberPropertyBuilder ¶

func NewHalfFloatNumberPropertyBuilder() *HalfFloatNumberPropertyBuilder

NewHalfFloatNumberProperty provides a builder for the HalfFloatNumberProperty struct.

func (*HalfFloatNumberPropertyBuilder) Build ¶

Build finalize the chain and returns the HalfFloatNumberProperty struct

func (*HalfFloatNumberPropertyBuilder) Coerce ¶

func (*HalfFloatNumberPropertyBuilder) CopyTo ¶

func (*HalfFloatNumberPropertyBuilder) DocValues ¶

func (*HalfFloatNumberPropertyBuilder) Dynamic ¶

func (*HalfFloatNumberPropertyBuilder) Fields ¶

func (*HalfFloatNumberPropertyBuilder) IgnoreAbove ¶

func (*HalfFloatNumberPropertyBuilder) IgnoreMalformed ¶

func (rb *HalfFloatNumberPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *HalfFloatNumberPropertyBuilder

func (*HalfFloatNumberPropertyBuilder) Index ¶

func (*HalfFloatNumberPropertyBuilder) LocalMetadata ¶

func (*HalfFloatNumberPropertyBuilder) Meta ¶

func (*HalfFloatNumberPropertyBuilder) NullValue ¶

func (*HalfFloatNumberPropertyBuilder) OnScriptError ¶

func (*HalfFloatNumberPropertyBuilder) Properties ¶

func (*HalfFloatNumberPropertyBuilder) Script ¶

func (*HalfFloatNumberPropertyBuilder) Similarity ¶

func (*HalfFloatNumberPropertyBuilder) Store ¶

func (*HalfFloatNumberPropertyBuilder) TimeSeriesMetric ¶

type HasChildQuery ¶

type HasChildQuery struct {
	Boost          *float32                       `json:"boost,omitempty"`
	IgnoreUnmapped *bool                          `json:"ignore_unmapped,omitempty"`
	InnerHits      *InnerHits                     `json:"inner_hits,omitempty"`
	MaxChildren    *int                           `json:"max_children,omitempty"`
	MinChildren    *int                           `json:"min_children,omitempty"`
	Query          *QueryContainer                `json:"query,omitempty"`
	QueryName_     *string                        `json:"_name,omitempty"`
	ScoreMode      *childscoremode.ChildScoreMode `json:"score_mode,omitempty"`
	Type           RelationName                   `json:"type"`
}

HasChildQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/joining.ts#L41-L51

type HasChildQueryBuilder ¶

type HasChildQueryBuilder struct {
	// contains filtered or unexported fields
}

HasChildQueryBuilder holds HasChildQuery struct and provides a builder API.

func NewHasChildQueryBuilder ¶

func NewHasChildQueryBuilder() *HasChildQueryBuilder

NewHasChildQuery provides a builder for the HasChildQuery struct.

func (*HasChildQueryBuilder) Boost ¶

func (*HasChildQueryBuilder) Build ¶

func (rb *HasChildQueryBuilder) Build() HasChildQuery

Build finalize the chain and returns the HasChildQuery struct

func (*HasChildQueryBuilder) IgnoreUnmapped ¶

func (rb *HasChildQueryBuilder) IgnoreUnmapped(ignoreunmapped bool) *HasChildQueryBuilder

func (*HasChildQueryBuilder) InnerHits ¶

func (rb *HasChildQueryBuilder) InnerHits(innerhits *InnerHitsBuilder) *HasChildQueryBuilder

func (*HasChildQueryBuilder) MaxChildren ¶

func (rb *HasChildQueryBuilder) MaxChildren(maxchildren int) *HasChildQueryBuilder

func (*HasChildQueryBuilder) MinChildren ¶

func (rb *HasChildQueryBuilder) MinChildren(minchildren int) *HasChildQueryBuilder

func (*HasChildQueryBuilder) Query ¶

func (*HasChildQueryBuilder) QueryName_ ¶

func (rb *HasChildQueryBuilder) QueryName_(queryname_ string) *HasChildQueryBuilder

func (*HasChildQueryBuilder) ScoreMode ¶

func (*HasChildQueryBuilder) Type_ ¶

type HasParentQuery ¶

type HasParentQuery struct {
	Boost          *float32        `json:"boost,omitempty"`
	IgnoreUnmapped *bool           `json:"ignore_unmapped,omitempty"`
	InnerHits      *InnerHits      `json:"inner_hits,omitempty"`
	ParentType     RelationName    `json:"parent_type"`
	Query          *QueryContainer `json:"query,omitempty"`
	QueryName_     *string         `json:"_name,omitempty"`
	Score          *bool           `json:"score,omitempty"`
}

HasParentQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/joining.ts#L53-L61

type HasParentQueryBuilder ¶

type HasParentQueryBuilder struct {
	// contains filtered or unexported fields
}

HasParentQueryBuilder holds HasParentQuery struct and provides a builder API.

func NewHasParentQueryBuilder ¶

func NewHasParentQueryBuilder() *HasParentQueryBuilder

NewHasParentQuery provides a builder for the HasParentQuery struct.

func (*HasParentQueryBuilder) Boost ¶

func (*HasParentQueryBuilder) Build ¶

Build finalize the chain and returns the HasParentQuery struct

func (*HasParentQueryBuilder) IgnoreUnmapped ¶

func (rb *HasParentQueryBuilder) IgnoreUnmapped(ignoreunmapped bool) *HasParentQueryBuilder

func (*HasParentQueryBuilder) InnerHits ¶

func (*HasParentQueryBuilder) ParentType ¶

func (rb *HasParentQueryBuilder) ParentType(parenttype RelationName) *HasParentQueryBuilder

func (*HasParentQueryBuilder) Query ¶

func (*HasParentQueryBuilder) QueryName_ ¶

func (rb *HasParentQueryBuilder) QueryName_(queryname_ string) *HasParentQueryBuilder

func (*HasParentQueryBuilder) Score ¶

type HdrMethod ¶

type HdrMethod struct {
	NumberOfSignificantValueDigits *int `json:"number_of_significant_value_digits,omitempty"`
}

HdrMethod type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L110-L112

type HdrMethodBuilder ¶

type HdrMethodBuilder struct {
	// contains filtered or unexported fields
}

HdrMethodBuilder holds HdrMethod struct and provides a builder API.

func NewHdrMethodBuilder ¶

func NewHdrMethodBuilder() *HdrMethodBuilder

NewHdrMethod provides a builder for the HdrMethod struct.

func (*HdrMethodBuilder) Build ¶

func (rb *HdrMethodBuilder) Build() HdrMethod

Build finalize the chain and returns the HdrMethod struct

func (*HdrMethodBuilder) NumberOfSignificantValueDigits ¶

func (rb *HdrMethodBuilder) NumberOfSignificantValueDigits(numberofsignificantvaluedigits int) *HdrMethodBuilder

type HdrPercentileRanksAggregate ¶

type HdrPercentileRanksAggregate struct {
	Meta   *Metadata   `json:"meta,omitempty"`
	Values Percentiles `json:"values"`
}

HdrPercentileRanksAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L158-L159

type HdrPercentileRanksAggregateBuilder ¶

type HdrPercentileRanksAggregateBuilder struct {
	// contains filtered or unexported fields
}

HdrPercentileRanksAggregateBuilder holds HdrPercentileRanksAggregate struct and provides a builder API.

func NewHdrPercentileRanksAggregateBuilder ¶

func NewHdrPercentileRanksAggregateBuilder() *HdrPercentileRanksAggregateBuilder

NewHdrPercentileRanksAggregate provides a builder for the HdrPercentileRanksAggregate struct.

func (*HdrPercentileRanksAggregateBuilder) Build ¶

Build finalize the chain and returns the HdrPercentileRanksAggregate struct

func (*HdrPercentileRanksAggregateBuilder) Meta ¶

func (*HdrPercentileRanksAggregateBuilder) Values ¶

type HdrPercentilesAggregateBuilder ¶

type HdrPercentilesAggregateBuilder struct {
	// contains filtered or unexported fields
}

HdrPercentilesAggregateBuilder holds HdrPercentilesAggregate struct and provides a builder API.

func NewHdrPercentilesAggregateBuilder ¶

func NewHdrPercentilesAggregateBuilder() *HdrPercentilesAggregateBuilder

NewHdrPercentilesAggregate provides a builder for the HdrPercentilesAggregate struct.

func (*HdrPercentilesAggregateBuilder) Build ¶

Build finalize the chain and returns the HdrPercentilesAggregate struct

func (*HdrPercentilesAggregateBuilder) Meta ¶

func (*HdrPercentilesAggregateBuilder) Values ¶

type HealthRecord ¶

type HealthRecord struct {
	// ActiveShardsPercent active number of shards in percent
	ActiveShardsPercent *string `json:"active_shards_percent,omitempty"`
	// Cluster cluster name
	Cluster *string `json:"cluster,omitempty"`
	// Epoch seconds since 1970-01-01 00:00:00
	Epoch *StringifiedEpochTimeUnitSeconds `json:"epoch,omitempty"`
	// Init number of initializing nodes
	Init *string `json:"init,omitempty"`
	// MaxTaskWaitTime wait time of longest task pending
	MaxTaskWaitTime *string `json:"max_task_wait_time,omitempty"`
	// NodeData number of nodes that can store data
	NodeData *string `json:"node.data,omitempty"`
	// NodeTotal total number of nodes
	NodeTotal *string `json:"node.total,omitempty"`
	// PendingTasks number of pending tasks
	PendingTasks *string `json:"pending_tasks,omitempty"`
	// Pri number of primary shards
	Pri *string `json:"pri,omitempty"`
	// Relo number of relocating nodes
	Relo *string `json:"relo,omitempty"`
	// Shards total number of shards
	Shards *string `json:"shards,omitempty"`
	// Status health status
	Status *string `json:"status,omitempty"`
	// Timestamp time in HH:MM:SS
	Timestamp *TimeOfDay `json:"timestamp,omitempty"`
	// Unassign number of unassigned shards
	Unassign *string `json:"unassign,omitempty"`
}

HealthRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/health/types.ts#L23-L94

type HealthRecordBuilder ¶

type HealthRecordBuilder struct {
	// contains filtered or unexported fields
}

HealthRecordBuilder holds HealthRecord struct and provides a builder API.

func NewHealthRecordBuilder ¶

func NewHealthRecordBuilder() *HealthRecordBuilder

NewHealthRecord provides a builder for the HealthRecord struct.

func (*HealthRecordBuilder) ActiveShardsPercent ¶

func (rb *HealthRecordBuilder) ActiveShardsPercent(activeshardspercent string) *HealthRecordBuilder

func (*HealthRecordBuilder) Build ¶

func (rb *HealthRecordBuilder) Build() HealthRecord

Build finalize the chain and returns the HealthRecord struct

func (*HealthRecordBuilder) Cluster ¶

func (rb *HealthRecordBuilder) Cluster(cluster string) *HealthRecordBuilder

func (*HealthRecordBuilder) Epoch ¶

func (*HealthRecordBuilder) Init ¶

func (*HealthRecordBuilder) MaxTaskWaitTime ¶

func (rb *HealthRecordBuilder) MaxTaskWaitTime(maxtaskwaittime string) *HealthRecordBuilder

func (*HealthRecordBuilder) NodeData ¶

func (rb *HealthRecordBuilder) NodeData(nodedata string) *HealthRecordBuilder

func (*HealthRecordBuilder) NodeTotal ¶

func (rb *HealthRecordBuilder) NodeTotal(nodetotal string) *HealthRecordBuilder

func (*HealthRecordBuilder) PendingTasks ¶

func (rb *HealthRecordBuilder) PendingTasks(pendingtasks string) *HealthRecordBuilder

func (*HealthRecordBuilder) Pri ¶

func (*HealthRecordBuilder) Relo ¶

func (*HealthRecordBuilder) Shards ¶

func (rb *HealthRecordBuilder) Shards(shards string) *HealthRecordBuilder

func (*HealthRecordBuilder) Status ¶

func (rb *HealthRecordBuilder) Status(status string) *HealthRecordBuilder

func (*HealthRecordBuilder) Timestamp ¶

func (rb *HealthRecordBuilder) Timestamp(timestamp TimeOfDay) *HealthRecordBuilder

func (*HealthRecordBuilder) Unassign ¶

func (rb *HealthRecordBuilder) Unassign(unassign string) *HealthRecordBuilder

type HelpRecordBuilder ¶

type HelpRecordBuilder struct {
	// contains filtered or unexported fields
}

HelpRecordBuilder holds HelpRecord struct and provides a builder API.

func NewHelpRecordBuilder ¶

func NewHelpRecordBuilder() *HelpRecordBuilder

NewHelpRecord provides a builder for the HelpRecord struct.

func (*HelpRecordBuilder) Build ¶

func (rb *HelpRecordBuilder) Build() HelpRecord

Build finalize the chain and returns the HelpRecord struct

func (*HelpRecordBuilder) Endpoint ¶

func (rb *HelpRecordBuilder) Endpoint(endpoint string) *HelpRecordBuilder

type Highlight ¶

type Highlight struct {
	BoundaryChars         *string                                      `json:"boundary_chars,omitempty"`
	BoundaryMaxScan       *int                                         `json:"boundary_max_scan,omitempty"`
	BoundaryScanner       *boundaryscanner.BoundaryScanner             `json:"boundary_scanner,omitempty"`
	BoundaryScannerLocale *string                                      `json:"boundary_scanner_locale,omitempty"`
	Encoder               *highlighterencoder.HighlighterEncoder       `json:"encoder,omitempty"`
	Fields                map[Field]HighlightField                     `json:"fields"`
	ForceSource           *bool                                        `json:"force_source,omitempty"`
	FragmentSize          *int                                         `json:"fragment_size,omitempty"`
	Fragmenter            *highlighterfragmenter.HighlighterFragmenter `json:"fragmenter,omitempty"`
	HighlightFilter       *bool                                        `json:"highlight_filter,omitempty"`
	HighlightQuery        *QueryContainer                              `json:"highlight_query,omitempty"`
	MaxAnalyzedOffset     *int                                         `json:"max_analyzed_offset,omitempty"`
	MaxFragmentLength     *int                                         `json:"max_fragment_length,omitempty"`
	NoMatchSize           *int                                         `json:"no_match_size,omitempty"`
	NumberOfFragments     *int                                         `json:"number_of_fragments,omitempty"`
	Options               map[string]interface{}                       `json:"options,omitempty"`
	Order                 *highlighterorder.HighlighterOrder           `json:"order,omitempty"`
	PhraseLimit           *int                                         `json:"phrase_limit,omitempty"`
	PostTags              []string                                     `json:"post_tags,omitempty"`
	PreTags               []string                                     `json:"pre_tags,omitempty"`
	RequireFieldMatch     *bool                                        `json:"require_field_match,omitempty"`
	TagsSchema            *highlightertagsschema.HighlighterTagsSchema `json:"tags_schema,omitempty"`
	Type                  *highlightertype.HighlighterType             `json:"type,omitempty"`
}

Highlight type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L56-L59

type HighlightBase ¶

type HighlightBase struct {
	BoundaryChars         *string                                      `json:"boundary_chars,omitempty"`
	BoundaryMaxScan       *int                                         `json:"boundary_max_scan,omitempty"`
	BoundaryScanner       *boundaryscanner.BoundaryScanner             `json:"boundary_scanner,omitempty"`
	BoundaryScannerLocale *string                                      `json:"boundary_scanner_locale,omitempty"`
	ForceSource           *bool                                        `json:"force_source,omitempty"`
	FragmentSize          *int                                         `json:"fragment_size,omitempty"`
	Fragmenter            *highlighterfragmenter.HighlighterFragmenter `json:"fragmenter,omitempty"`
	HighlightFilter       *bool                                        `json:"highlight_filter,omitempty"`
	HighlightQuery        *QueryContainer                              `json:"highlight_query,omitempty"`
	MaxAnalyzedOffset     *int                                         `json:"max_analyzed_offset,omitempty"`
	MaxFragmentLength     *int                                         `json:"max_fragment_length,omitempty"`
	NoMatchSize           *int                                         `json:"no_match_size,omitempty"`
	NumberOfFragments     *int                                         `json:"number_of_fragments,omitempty"`
	Options               map[string]interface{}                       `json:"options,omitempty"`
	Order                 *highlighterorder.HighlighterOrder           `json:"order,omitempty"`
	PhraseLimit           *int                                         `json:"phrase_limit,omitempty"`
	PostTags              []string                                     `json:"post_tags,omitempty"`
	PreTags               []string                                     `json:"pre_tags,omitempty"`
	RequireFieldMatch     *bool                                        `json:"require_field_match,omitempty"`
	TagsSchema            *highlightertagsschema.HighlighterTagsSchema `json:"tags_schema,omitempty"`
	Type                  *highlightertype.HighlighterType             `json:"type,omitempty"`
}

HighlightBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L32-L54

type HighlightBaseBuilder ¶

type HighlightBaseBuilder struct {
	// contains filtered or unexported fields
}

HighlightBaseBuilder holds HighlightBase struct and provides a builder API.

func NewHighlightBaseBuilder ¶

func NewHighlightBaseBuilder() *HighlightBaseBuilder

NewHighlightBase provides a builder for the HighlightBase struct.

func (*HighlightBaseBuilder) BoundaryChars ¶

func (rb *HighlightBaseBuilder) BoundaryChars(boundarychars string) *HighlightBaseBuilder

func (*HighlightBaseBuilder) BoundaryMaxScan ¶

func (rb *HighlightBaseBuilder) BoundaryMaxScan(boundarymaxscan int) *HighlightBaseBuilder

func (*HighlightBaseBuilder) BoundaryScanner ¶

func (rb *HighlightBaseBuilder) BoundaryScanner(boundaryscanner boundaryscanner.BoundaryScanner) *HighlightBaseBuilder

func (*HighlightBaseBuilder) BoundaryScannerLocale ¶

func (rb *HighlightBaseBuilder) BoundaryScannerLocale(boundaryscannerlocale string) *HighlightBaseBuilder

func (*HighlightBaseBuilder) Build ¶

func (rb *HighlightBaseBuilder) Build() HighlightBase

Build finalize the chain and returns the HighlightBase struct

func (*HighlightBaseBuilder) ForceSource ¶

func (rb *HighlightBaseBuilder) ForceSource(forcesource bool) *HighlightBaseBuilder

func (*HighlightBaseBuilder) FragmentSize ¶

func (rb *HighlightBaseBuilder) FragmentSize(fragmentsize int) *HighlightBaseBuilder

func (*HighlightBaseBuilder) Fragmenter ¶

func (*HighlightBaseBuilder) HighlightFilter ¶

func (rb *HighlightBaseBuilder) HighlightFilter(highlightfilter bool) *HighlightBaseBuilder

func (*HighlightBaseBuilder) HighlightQuery ¶

func (rb *HighlightBaseBuilder) HighlightQuery(highlightquery *QueryContainerBuilder) *HighlightBaseBuilder

func (*HighlightBaseBuilder) MaxAnalyzedOffset ¶

func (rb *HighlightBaseBuilder) MaxAnalyzedOffset(maxanalyzedoffset int) *HighlightBaseBuilder

func (*HighlightBaseBuilder) MaxFragmentLength ¶

func (rb *HighlightBaseBuilder) MaxFragmentLength(maxfragmentlength int) *HighlightBaseBuilder

func (*HighlightBaseBuilder) NoMatchSize ¶

func (rb *HighlightBaseBuilder) NoMatchSize(nomatchsize int) *HighlightBaseBuilder

func (*HighlightBaseBuilder) NumberOfFragments ¶

func (rb *HighlightBaseBuilder) NumberOfFragments(numberoffragments int) *HighlightBaseBuilder

func (*HighlightBaseBuilder) Options ¶

func (rb *HighlightBaseBuilder) Options(value map[string]interface{}) *HighlightBaseBuilder

func (*HighlightBaseBuilder) Order ¶

func (*HighlightBaseBuilder) PhraseLimit ¶

func (rb *HighlightBaseBuilder) PhraseLimit(phraselimit int) *HighlightBaseBuilder

func (*HighlightBaseBuilder) PostTags ¶

func (rb *HighlightBaseBuilder) PostTags(post_tags ...string) *HighlightBaseBuilder

func (*HighlightBaseBuilder) PreTags ¶

func (rb *HighlightBaseBuilder) PreTags(pre_tags ...string) *HighlightBaseBuilder

func (*HighlightBaseBuilder) RequireFieldMatch ¶

func (rb *HighlightBaseBuilder) RequireFieldMatch(requirefieldmatch bool) *HighlightBaseBuilder

func (*HighlightBaseBuilder) TagsSchema ¶

func (*HighlightBaseBuilder) Type_ ¶

type HighlightBuilder ¶

type HighlightBuilder struct {
	// contains filtered or unexported fields
}

HighlightBuilder holds Highlight struct and provides a builder API.

func NewHighlightBuilder ¶

func NewHighlightBuilder() *HighlightBuilder

NewHighlight provides a builder for the Highlight struct.

func (*HighlightBuilder) BoundaryChars ¶

func (rb *HighlightBuilder) BoundaryChars(boundarychars string) *HighlightBuilder

func (*HighlightBuilder) BoundaryMaxScan ¶

func (rb *HighlightBuilder) BoundaryMaxScan(boundarymaxscan int) *HighlightBuilder

func (*HighlightBuilder) BoundaryScanner ¶

func (rb *HighlightBuilder) BoundaryScanner(boundaryscanner boundaryscanner.BoundaryScanner) *HighlightBuilder

func (*HighlightBuilder) BoundaryScannerLocale ¶

func (rb *HighlightBuilder) BoundaryScannerLocale(boundaryscannerlocale string) *HighlightBuilder

func (*HighlightBuilder) Build ¶

func (rb *HighlightBuilder) Build() Highlight

Build finalize the chain and returns the Highlight struct

func (*HighlightBuilder) Encoder ¶

func (*HighlightBuilder) Fields ¶

func (*HighlightBuilder) ForceSource ¶

func (rb *HighlightBuilder) ForceSource(forcesource bool) *HighlightBuilder

func (*HighlightBuilder) FragmentSize ¶

func (rb *HighlightBuilder) FragmentSize(fragmentsize int) *HighlightBuilder

func (*HighlightBuilder) Fragmenter ¶

func (*HighlightBuilder) HighlightFilter ¶

func (rb *HighlightBuilder) HighlightFilter(highlightfilter bool) *HighlightBuilder

func (*HighlightBuilder) HighlightQuery ¶

func (rb *HighlightBuilder) HighlightQuery(highlightquery *QueryContainerBuilder) *HighlightBuilder

func (*HighlightBuilder) MaxAnalyzedOffset ¶

func (rb *HighlightBuilder) MaxAnalyzedOffset(maxanalyzedoffset int) *HighlightBuilder

func (*HighlightBuilder) MaxFragmentLength ¶

func (rb *HighlightBuilder) MaxFragmentLength(maxfragmentlength int) *HighlightBuilder

func (*HighlightBuilder) NoMatchSize ¶

func (rb *HighlightBuilder) NoMatchSize(nomatchsize int) *HighlightBuilder

func (*HighlightBuilder) NumberOfFragments ¶

func (rb *HighlightBuilder) NumberOfFragments(numberoffragments int) *HighlightBuilder

func (*HighlightBuilder) Options ¶

func (rb *HighlightBuilder) Options(value map[string]interface{}) *HighlightBuilder

func (*HighlightBuilder) Order ¶

func (*HighlightBuilder) PhraseLimit ¶

func (rb *HighlightBuilder) PhraseLimit(phraselimit int) *HighlightBuilder

func (*HighlightBuilder) PostTags ¶

func (rb *HighlightBuilder) PostTags(post_tags ...string) *HighlightBuilder

func (*HighlightBuilder) PreTags ¶

func (rb *HighlightBuilder) PreTags(pre_tags ...string) *HighlightBuilder

func (*HighlightBuilder) RequireFieldMatch ¶

func (rb *HighlightBuilder) RequireFieldMatch(requirefieldmatch bool) *HighlightBuilder

func (*HighlightBuilder) TagsSchema ¶

func (*HighlightBuilder) Type_ ¶

type HighlightField ¶

type HighlightField struct {
	BoundaryChars         *string                                      `json:"boundary_chars,omitempty"`
	BoundaryMaxScan       *int                                         `json:"boundary_max_scan,omitempty"`
	BoundaryScanner       *boundaryscanner.BoundaryScanner             `json:"boundary_scanner,omitempty"`
	BoundaryScannerLocale *string                                      `json:"boundary_scanner_locale,omitempty"`
	ForceSource           *bool                                        `json:"force_source,omitempty"`
	FragmentOffset        *int                                         `json:"fragment_offset,omitempty"`
	FragmentSize          *int                                         `json:"fragment_size,omitempty"`
	Fragmenter            *highlighterfragmenter.HighlighterFragmenter `json:"fragmenter,omitempty"`
	HighlightFilter       *bool                                        `json:"highlight_filter,omitempty"`
	HighlightQuery        *QueryContainer                              `json:"highlight_query,omitempty"`
	MatchedFields         *Fields                                      `json:"matched_fields,omitempty"`
	MaxAnalyzedOffset     *int                                         `json:"max_analyzed_offset,omitempty"`
	MaxFragmentLength     *int                                         `json:"max_fragment_length,omitempty"`
	NoMatchSize           *int                                         `json:"no_match_size,omitempty"`
	NumberOfFragments     *int                                         `json:"number_of_fragments,omitempty"`
	Options               map[string]interface{}                       `json:"options,omitempty"`
	Order                 *highlighterorder.HighlighterOrder           `json:"order,omitempty"`
	PhraseLimit           *int                                         `json:"phrase_limit,omitempty"`
	PostTags              []string                                     `json:"post_tags,omitempty"`
	PreTags               []string                                     `json:"pre_tags,omitempty"`
	RequireFieldMatch     *bool                                        `json:"require_field_match,omitempty"`
	TagsSchema            *highlightertagsschema.HighlighterTagsSchema `json:"tags_schema,omitempty"`
	Type                  *highlightertype.HighlighterType             `json:"type,omitempty"`
}

HighlightField type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L87-L90

type HighlightFieldBuilder ¶

type HighlightFieldBuilder struct {
	// contains filtered or unexported fields
}

HighlightFieldBuilder holds HighlightField struct and provides a builder API.

func NewHighlightFieldBuilder ¶

func NewHighlightFieldBuilder() *HighlightFieldBuilder

NewHighlightField provides a builder for the HighlightField struct.

func (*HighlightFieldBuilder) BoundaryChars ¶

func (rb *HighlightFieldBuilder) BoundaryChars(boundarychars string) *HighlightFieldBuilder

func (*HighlightFieldBuilder) BoundaryMaxScan ¶

func (rb *HighlightFieldBuilder) BoundaryMaxScan(boundarymaxscan int) *HighlightFieldBuilder

func (*HighlightFieldBuilder) BoundaryScanner ¶

func (rb *HighlightFieldBuilder) BoundaryScanner(boundaryscanner boundaryscanner.BoundaryScanner) *HighlightFieldBuilder

func (*HighlightFieldBuilder) BoundaryScannerLocale ¶

func (rb *HighlightFieldBuilder) BoundaryScannerLocale(boundaryscannerlocale string) *HighlightFieldBuilder

func (*HighlightFieldBuilder) Build ¶

Build finalize the chain and returns the HighlightField struct

func (*HighlightFieldBuilder) ForceSource ¶

func (rb *HighlightFieldBuilder) ForceSource(forcesource bool) *HighlightFieldBuilder

func (*HighlightFieldBuilder) FragmentOffset ¶

func (rb *HighlightFieldBuilder) FragmentOffset(fragmentoffset int) *HighlightFieldBuilder

func (*HighlightFieldBuilder) FragmentSize ¶

func (rb *HighlightFieldBuilder) FragmentSize(fragmentsize int) *HighlightFieldBuilder

func (*HighlightFieldBuilder) Fragmenter ¶

func (*HighlightFieldBuilder) HighlightFilter ¶

func (rb *HighlightFieldBuilder) HighlightFilter(highlightfilter bool) *HighlightFieldBuilder

func (*HighlightFieldBuilder) HighlightQuery ¶

func (rb *HighlightFieldBuilder) HighlightQuery(highlightquery *QueryContainerBuilder) *HighlightFieldBuilder

func (*HighlightFieldBuilder) MatchedFields ¶

func (rb *HighlightFieldBuilder) MatchedFields(matchedfields *FieldsBuilder) *HighlightFieldBuilder

func (*HighlightFieldBuilder) MaxAnalyzedOffset ¶

func (rb *HighlightFieldBuilder) MaxAnalyzedOffset(maxanalyzedoffset int) *HighlightFieldBuilder

func (*HighlightFieldBuilder) MaxFragmentLength ¶

func (rb *HighlightFieldBuilder) MaxFragmentLength(maxfragmentlength int) *HighlightFieldBuilder

func (*HighlightFieldBuilder) NoMatchSize ¶

func (rb *HighlightFieldBuilder) NoMatchSize(nomatchsize int) *HighlightFieldBuilder

func (*HighlightFieldBuilder) NumberOfFragments ¶

func (rb *HighlightFieldBuilder) NumberOfFragments(numberoffragments int) *HighlightFieldBuilder

func (*HighlightFieldBuilder) Options ¶

func (rb *HighlightFieldBuilder) Options(value map[string]interface{}) *HighlightFieldBuilder

func (*HighlightFieldBuilder) Order ¶

func (*HighlightFieldBuilder) PhraseLimit ¶

func (rb *HighlightFieldBuilder) PhraseLimit(phraselimit int) *HighlightFieldBuilder

func (*HighlightFieldBuilder) PostTags ¶

func (rb *HighlightFieldBuilder) PostTags(post_tags ...string) *HighlightFieldBuilder

func (*HighlightFieldBuilder) PreTags ¶

func (rb *HighlightFieldBuilder) PreTags(pre_tags ...string) *HighlightFieldBuilder

func (*HighlightFieldBuilder) RequireFieldMatch ¶

func (rb *HighlightFieldBuilder) RequireFieldMatch(requirefieldmatch bool) *HighlightFieldBuilder

func (*HighlightFieldBuilder) TagsSchema ¶

func (*HighlightFieldBuilder) Type_ ¶

type Hint ¶

type Hint struct {
	// Labels A single key-value pair to match against the labels section
	// of a profile. A profile is considered matching if it matches
	// at least one of the strings.
	Labels map[string][]string `json:"labels,omitempty"`
	// Uids A list of Profile UIDs to match against.
	Uids []UserProfileId `json:"uids,omitempty"`
}

Hint type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/suggest_user_profiles/types.ts#L23-L34

type HintBuilder ¶

type HintBuilder struct {
	// contains filtered or unexported fields
}

HintBuilder holds Hint struct and provides a builder API.

func NewHintBuilder ¶

func NewHintBuilder() *HintBuilder

NewHint provides a builder for the Hint struct.

func (*HintBuilder) Build ¶

func (rb *HintBuilder) Build() Hint

Build finalize the chain and returns the Hint struct

func (*HintBuilder) Labels ¶

func (rb *HintBuilder) Labels(value map[string][]string) *HintBuilder

func (*HintBuilder) Uids ¶

func (rb *HintBuilder) Uids(uids ...UserProfileId) *HintBuilder

type HistogramAggregateBuilder ¶

type HistogramAggregateBuilder struct {
	// contains filtered or unexported fields
}

HistogramAggregateBuilder holds HistogramAggregate struct and provides a builder API.

func NewHistogramAggregateBuilder ¶

func NewHistogramAggregateBuilder() *HistogramAggregateBuilder

NewHistogramAggregate provides a builder for the HistogramAggregate struct.

func (*HistogramAggregateBuilder) Buckets ¶

func (*HistogramAggregateBuilder) Build ¶

Build finalize the chain and returns the HistogramAggregate struct

func (*HistogramAggregateBuilder) Meta ¶

type HistogramAggregation ¶

type HistogramAggregation struct {
	ExtendedBounds *ExtendedBoundsdouble `json:"extended_bounds,omitempty"`
	Field          *Field                `json:"field,omitempty"`
	Format         *string               `json:"format,omitempty"`
	HardBounds     *ExtendedBoundsdouble `json:"hard_bounds,omitempty"`
	Interval       *float64              `json:"interval,omitempty"`
	Keyed          *bool                 `json:"keyed,omitempty"`
	Meta           *Metadata             `json:"meta,omitempty"`
	MinDocCount    *int                  `json:"min_doc_count,omitempty"`
	Missing        *float64              `json:"missing,omitempty"`
	Name           *string               `json:"name,omitempty"`
	Offset         *float64              `json:"offset,omitempty"`
	Order          *AggregateOrder       `json:"order,omitempty"`
	Script         *Script               `json:"script,omitempty"`
}

HistogramAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L232-L244

type HistogramAggregationBuilder ¶

type HistogramAggregationBuilder struct {
	// contains filtered or unexported fields
}

HistogramAggregationBuilder holds HistogramAggregation struct and provides a builder API.

func NewHistogramAggregationBuilder ¶

func NewHistogramAggregationBuilder() *HistogramAggregationBuilder

NewHistogramAggregation provides a builder for the HistogramAggregation struct.

func (*HistogramAggregationBuilder) Build ¶

Build finalize the chain and returns the HistogramAggregation struct

func (*HistogramAggregationBuilder) ExtendedBounds ¶

func (*HistogramAggregationBuilder) Field ¶

func (*HistogramAggregationBuilder) Format ¶

func (*HistogramAggregationBuilder) HardBounds ¶

func (*HistogramAggregationBuilder) Interval ¶

func (*HistogramAggregationBuilder) Keyed ¶

func (*HistogramAggregationBuilder) Meta ¶

func (*HistogramAggregationBuilder) MinDocCount ¶

func (rb *HistogramAggregationBuilder) MinDocCount(mindoccount int) *HistogramAggregationBuilder

func (*HistogramAggregationBuilder) Missing ¶

func (*HistogramAggregationBuilder) Name ¶

func (*HistogramAggregationBuilder) Offset ¶

func (*HistogramAggregationBuilder) Order ¶

func (*HistogramAggregationBuilder) Script ¶

type HistogramBucket ¶

type HistogramBucket struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Key          float64                     `json:"key"`
	KeyAsString  *string                     `json:"key_as_string,omitempty"`
}

HistogramBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L330-L333

type HistogramBucketBuilder ¶

type HistogramBucketBuilder struct {
	// contains filtered or unexported fields
}

HistogramBucketBuilder holds HistogramBucket struct and provides a builder API.

func NewHistogramBucketBuilder ¶

func NewHistogramBucketBuilder() *HistogramBucketBuilder

NewHistogramBucket provides a builder for the HistogramBucket struct.

func (*HistogramBucketBuilder) Aggregations ¶

func (*HistogramBucketBuilder) Build ¶

Build finalize the chain and returns the HistogramBucket struct

func (*HistogramBucketBuilder) DocCount ¶

func (rb *HistogramBucketBuilder) DocCount(doccount int64) *HistogramBucketBuilder

func (*HistogramBucketBuilder) Key ¶

func (*HistogramBucketBuilder) KeyAsString ¶

func (rb *HistogramBucketBuilder) KeyAsString(keyasstring string) *HistogramBucketBuilder

type HistogramGroupingBuilder ¶

type HistogramGroupingBuilder struct {
	// contains filtered or unexported fields
}

HistogramGroupingBuilder holds HistogramGrouping struct and provides a builder API.

func NewHistogramGroupingBuilder ¶

func NewHistogramGroupingBuilder() *HistogramGroupingBuilder

NewHistogramGrouping provides a builder for the HistogramGrouping struct.

func (*HistogramGroupingBuilder) Build ¶

Build finalize the chain and returns the HistogramGrouping struct

func (*HistogramGroupingBuilder) Fields ¶

func (*HistogramGroupingBuilder) Interval ¶

type HistogramProperty ¶

type HistogramProperty struct {
	Dynamic         *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields          map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove     *int                           `json:"ignore_above,omitempty"`
	IgnoreMalformed *bool                          `json:"ignore_malformed,omitempty"`
	LocalMetadata   *Metadata                      `json:"local_metadata,omitempty"`
	Meta            map[string]string              `json:"meta,omitempty"`
	Properties      map[PropertyName]Property      `json:"properties,omitempty"`
	Type            string                         `json:"type,omitempty"`
}

HistogramProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/specialized.ts#L53-L56

type HistogramPropertyBuilder ¶

type HistogramPropertyBuilder struct {
	// contains filtered or unexported fields
}

HistogramPropertyBuilder holds HistogramProperty struct and provides a builder API.

func NewHistogramPropertyBuilder ¶

func NewHistogramPropertyBuilder() *HistogramPropertyBuilder

NewHistogramProperty provides a builder for the HistogramProperty struct.

func (*HistogramPropertyBuilder) Build ¶

Build finalize the chain and returns the HistogramProperty struct

func (*HistogramPropertyBuilder) Dynamic ¶

func (*HistogramPropertyBuilder) Fields ¶

func (*HistogramPropertyBuilder) IgnoreAbove ¶

func (rb *HistogramPropertyBuilder) IgnoreAbove(ignoreabove int) *HistogramPropertyBuilder

func (*HistogramPropertyBuilder) IgnoreMalformed ¶

func (rb *HistogramPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *HistogramPropertyBuilder

func (*HistogramPropertyBuilder) LocalMetadata ¶

func (rb *HistogramPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *HistogramPropertyBuilder

func (*HistogramPropertyBuilder) Meta ¶

func (*HistogramPropertyBuilder) Properties ¶

type Hit ¶

type Hit struct {
	Explanation_       *Explanation               `json:"_explanation,omitempty"`
	Fields             map[string]interface{}     `json:"fields,omitempty"`
	Highlight          map[string][]string        `json:"highlight,omitempty"`
	Id_                Id                         `json:"_id"`
	IgnoredFieldValues map[string][]string        `json:"ignored_field_values,omitempty"`
	Ignored_           []string                   `json:"_ignored,omitempty"`
	Index_             IndexName                  `json:"_index"`
	InnerHits          map[string]InnerHitsResult `json:"inner_hits,omitempty"`
	MatchedQueries     []string                   `json:"matched_queries,omitempty"`
	Nested_            *NestedIdentity            `json:"_nested,omitempty"`
	Node_              *string                    `json:"_node,omitempty"`
	PrimaryTerm_       *int64                     `json:"_primary_term,omitempty"`
	Routing_           *string                    `json:"_routing,omitempty"`
	Score_             float64                    `json:"_score,omitempty"`
	SeqNo_             *SequenceNumber            `json:"_seq_no,omitempty"`
	Shard_             *string                    `json:"_shard,omitempty"`
	Sort               *SortResults               `json:"sort,omitempty"`
	Source_            interface{}                `json:"_source,omitempty"`
	Version_           *VersionNumber             `json:"_version,omitempty"`
}

Hit type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/hits.ts#L40-L60

type HitBuilder ¶

type HitBuilder struct {
	// contains filtered or unexported fields
}

HitBuilder holds Hit struct and provides a builder API.

func NewHitBuilder ¶

func NewHitBuilder() *HitBuilder

NewHit provides a builder for the Hit struct.

func (*HitBuilder) Build ¶

func (rb *HitBuilder) Build() Hit

Build finalize the chain and returns the Hit struct

func (*HitBuilder) Explanation_ ¶

func (rb *HitBuilder) Explanation_(explanation_ *ExplanationBuilder) *HitBuilder

func (*HitBuilder) Fields ¶

func (rb *HitBuilder) Fields(value map[string]interface{}) *HitBuilder

func (*HitBuilder) Highlight ¶

func (rb *HitBuilder) Highlight(value map[string][]string) *HitBuilder

func (*HitBuilder) Id_ ¶

func (rb *HitBuilder) Id_(id_ Id) *HitBuilder

func (*HitBuilder) IgnoredFieldValues ¶

func (rb *HitBuilder) IgnoredFieldValues(value map[string][]string) *HitBuilder

func (*HitBuilder) Ignored_ ¶

func (rb *HitBuilder) Ignored_(_ignored ...string) *HitBuilder

func (*HitBuilder) Index_ ¶

func (rb *HitBuilder) Index_(index_ IndexName) *HitBuilder

func (*HitBuilder) InnerHits ¶

func (rb *HitBuilder) InnerHits(values map[string]*InnerHitsResultBuilder) *HitBuilder

func (*HitBuilder) MatchedQueries ¶

func (rb *HitBuilder) MatchedQueries(matched_queries ...string) *HitBuilder

func (*HitBuilder) Nested_ ¶

func (rb *HitBuilder) Nested_(nested_ *NestedIdentityBuilder) *HitBuilder

func (*HitBuilder) Node_ ¶

func (rb *HitBuilder) Node_(node_ string) *HitBuilder

func (*HitBuilder) PrimaryTerm_ ¶

func (rb *HitBuilder) PrimaryTerm_(primaryterm_ int64) *HitBuilder

func (*HitBuilder) Routing_ ¶

func (rb *HitBuilder) Routing_(routing_ string) *HitBuilder

func (*HitBuilder) Score_ ¶

func (rb *HitBuilder) Score_(score_ float64) *HitBuilder

func (*HitBuilder) SeqNo_ ¶

func (rb *HitBuilder) SeqNo_(seqno_ SequenceNumber) *HitBuilder

func (*HitBuilder) Shard_ ¶

func (rb *HitBuilder) Shard_(shard_ string) *HitBuilder

func (*HitBuilder) Sort ¶

func (rb *HitBuilder) Sort(sort *SortResultsBuilder) *HitBuilder

func (*HitBuilder) Source_ ¶

func (rb *HitBuilder) Source_(source_ interface{}) *HitBuilder

func (*HitBuilder) Version_ ¶

func (rb *HitBuilder) Version_(version_ VersionNumber) *HitBuilder

type HitsEvent ¶

type HitsEvent struct {
	Fields map[Field][]interface{} `json:"fields,omitempty"`
	// Id_ Unique identifier for the event. This ID is only unique within the index.
	Id_ Id `json:"_id"`
	// Index_ Name of the index containing the event.
	Index_ IndexName `json:"_index"`
	// Source_ Original JSON body passed for the event at index time.
	Source_ interface{} `json:"_source,omitempty"`
}

HitsEvent type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/eql/_types/EqlHits.ts#L41-L49

type HitsEventBuilder ¶

type HitsEventBuilder struct {
	// contains filtered or unexported fields
}

HitsEventBuilder holds HitsEvent struct and provides a builder API.

func NewHitsEventBuilder ¶

func NewHitsEventBuilder() *HitsEventBuilder

NewHitsEvent provides a builder for the HitsEvent struct.

func (*HitsEventBuilder) Build ¶

func (rb *HitsEventBuilder) Build() HitsEvent

Build finalize the chain and returns the HitsEvent struct

func (*HitsEventBuilder) Fields ¶

func (rb *HitsEventBuilder) Fields(value map[Field][]interface{}) *HitsEventBuilder

func (*HitsEventBuilder) Id_ ¶

func (rb *HitsEventBuilder) Id_(id_ Id) *HitsEventBuilder

func (*HitsEventBuilder) Index_ ¶

func (rb *HitsEventBuilder) Index_(index_ IndexName) *HitsEventBuilder

func (*HitsEventBuilder) Source_ ¶

func (rb *HitsEventBuilder) Source_(source_ interface{}) *HitsEventBuilder

type HitsMetadata ¶

type HitsMetadata struct {
	Hits     []Hit   `json:"hits"`
	MaxScore float64 `json:"max_score,omitempty"`
	// Total Total hit count information, present only if `track_total_hits` wasn't
	// `false` in the search request.
	Total int64 `json:"total,omitempty"`
}

HitsMetadata type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/hits.ts#L62-L68

type HitsMetadataBuilder ¶

type HitsMetadataBuilder struct {
	// contains filtered or unexported fields
}

HitsMetadataBuilder holds HitsMetadata struct and provides a builder API.

func NewHitsMetadataBuilder ¶

func NewHitsMetadataBuilder() *HitsMetadataBuilder

NewHitsMetadata provides a builder for the HitsMetadata struct.

func (*HitsMetadataBuilder) Build ¶

func (rb *HitsMetadataBuilder) Build() HitsMetadata

Build finalize the chain and returns the HitsMetadata struct

func (*HitsMetadataBuilder) Hits ¶

func (*HitsMetadataBuilder) MaxScore ¶

func (rb *HitsMetadataBuilder) MaxScore(maxscore float64) *HitsMetadataBuilder

func (*HitsMetadataBuilder) Total ¶

Total Total hit count information, present only if `track_total_hits` wasn't `false` in the search request.

type HitsSequence ¶

type HitsSequence struct {
	// Events Contains events matching the query. Each object represents a matching event.
	Events []HitsEvent `json:"events"`
	// JoinKeys Shared field values used to constrain matches in the sequence. These are
	// defined using the by keyword in the EQL query syntax.
	JoinKeys []interface{} `json:"join_keys"`
}

HitsSequence type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/eql/_types/EqlHits.ts#L51-L59

type HitsSequenceBuilder ¶

type HitsSequenceBuilder struct {
	// contains filtered or unexported fields
}

HitsSequenceBuilder holds HitsSequence struct and provides a builder API.

func NewHitsSequenceBuilder ¶

func NewHitsSequenceBuilder() *HitsSequenceBuilder

NewHitsSequence provides a builder for the HitsSequence struct.

func (*HitsSequenceBuilder) Build ¶

func (rb *HitsSequenceBuilder) Build() HitsSequence

Build finalize the chain and returns the HitsSequence struct

func (*HitsSequenceBuilder) Events ¶

func (*HitsSequenceBuilder) JoinKeys ¶

func (rb *HitsSequenceBuilder) JoinKeys(join_keys ...interface{}) *HitsSequenceBuilder

type HoltLinearModelSettings ¶

type HoltLinearModelSettings struct {
	Alpha *float32 `json:"alpha,omitempty"`
	Beta  *float32 `json:"beta,omitempty"`
}

HoltLinearModelSettings type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L219-L222

type HoltLinearModelSettingsBuilder ¶

type HoltLinearModelSettingsBuilder struct {
	// contains filtered or unexported fields
}

HoltLinearModelSettingsBuilder holds HoltLinearModelSettings struct and provides a builder API.

func NewHoltLinearModelSettingsBuilder ¶

func NewHoltLinearModelSettingsBuilder() *HoltLinearModelSettingsBuilder

NewHoltLinearModelSettings provides a builder for the HoltLinearModelSettings struct.

func (*HoltLinearModelSettingsBuilder) Alpha ¶

func (*HoltLinearModelSettingsBuilder) Beta ¶

func (*HoltLinearModelSettingsBuilder) Build ¶

Build finalize the chain and returns the HoltLinearModelSettings struct

type HoltMovingAverageAggregation ¶

type HoltMovingAverageAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath            `json:"buckets_path,omitempty"`
	Format      *string                 `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy    `json:"gap_policy,omitempty"`
	Meta        *Metadata               `json:"meta,omitempty"`
	Minimize    *bool                   `json:"minimize,omitempty"`
	Model       string                  `json:"model,omitempty"`
	Name        *string                 `json:"name,omitempty"`
	Predict     *int                    `json:"predict,omitempty"`
	Settings    HoltLinearModelSettings `json:"settings"`
	Window      *int                    `json:"window,omitempty"`
}

HoltMovingAverageAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L205-L208

type HoltMovingAverageAggregationBuilder ¶

type HoltMovingAverageAggregationBuilder struct {
	// contains filtered or unexported fields
}

HoltMovingAverageAggregationBuilder holds HoltMovingAverageAggregation struct and provides a builder API.

func NewHoltMovingAverageAggregationBuilder ¶

func NewHoltMovingAverageAggregationBuilder() *HoltMovingAverageAggregationBuilder

NewHoltMovingAverageAggregation provides a builder for the HoltMovingAverageAggregation struct.

func (*HoltMovingAverageAggregationBuilder) BucketsPath ¶

func (*HoltMovingAverageAggregationBuilder) Build ¶

Build finalize the chain and returns the HoltMovingAverageAggregation struct

func (*HoltMovingAverageAggregationBuilder) Format ¶

func (*HoltMovingAverageAggregationBuilder) GapPolicy ¶

func (*HoltMovingAverageAggregationBuilder) Meta ¶

func (*HoltMovingAverageAggregationBuilder) Minimize ¶

func (*HoltMovingAverageAggregationBuilder) Name ¶

func (*HoltMovingAverageAggregationBuilder) Predict ¶

func (*HoltMovingAverageAggregationBuilder) Settings ¶

func (*HoltMovingAverageAggregationBuilder) Window ¶

type HoltWintersModelSettings ¶

type HoltWintersModelSettings struct {
	Alpha  *float32                         `json:"alpha,omitempty"`
	Beta   *float32                         `json:"beta,omitempty"`
	Gamma  *float32                         `json:"gamma,omitempty"`
	Pad    *bool                            `json:"pad,omitempty"`
	Period *int                             `json:"period,omitempty"`
	Type   *holtwinterstype.HoltWintersType `json:"type,omitempty"`
}

HoltWintersModelSettings type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L223-L230

type HoltWintersModelSettingsBuilder ¶

type HoltWintersModelSettingsBuilder struct {
	// contains filtered or unexported fields
}

HoltWintersModelSettingsBuilder holds HoltWintersModelSettings struct and provides a builder API.

func NewHoltWintersModelSettingsBuilder ¶

func NewHoltWintersModelSettingsBuilder() *HoltWintersModelSettingsBuilder

NewHoltWintersModelSettings provides a builder for the HoltWintersModelSettings struct.

func (*HoltWintersModelSettingsBuilder) Alpha ¶

func (*HoltWintersModelSettingsBuilder) Beta ¶

func (*HoltWintersModelSettingsBuilder) Build ¶

Build finalize the chain and returns the HoltWintersModelSettings struct

func (*HoltWintersModelSettingsBuilder) Gamma ¶

func (*HoltWintersModelSettingsBuilder) Pad ¶

func (*HoltWintersModelSettingsBuilder) Period ¶

func (*HoltWintersModelSettingsBuilder) Type_ ¶

type HoltWintersMovingAverageAggregation ¶

type HoltWintersMovingAverageAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath             `json:"buckets_path,omitempty"`
	Format      *string                  `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy     `json:"gap_policy,omitempty"`
	Meta        *Metadata                `json:"meta,omitempty"`
	Minimize    *bool                    `json:"minimize,omitempty"`
	Model       string                   `json:"model,omitempty"`
	Name        *string                  `json:"name,omitempty"`
	Predict     *int                     `json:"predict,omitempty"`
	Settings    HoltWintersModelSettings `json:"settings"`
	Window      *int                     `json:"window,omitempty"`
}

HoltWintersMovingAverageAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L210-L213

type HoltWintersMovingAverageAggregationBuilder ¶

type HoltWintersMovingAverageAggregationBuilder struct {
	// contains filtered or unexported fields
}

HoltWintersMovingAverageAggregationBuilder holds HoltWintersMovingAverageAggregation struct and provides a builder API.

func NewHoltWintersMovingAverageAggregationBuilder ¶

func NewHoltWintersMovingAverageAggregationBuilder() *HoltWintersMovingAverageAggregationBuilder

NewHoltWintersMovingAverageAggregation provides a builder for the HoltWintersMovingAverageAggregation struct.

func (*HoltWintersMovingAverageAggregationBuilder) BucketsPath ¶

func (*HoltWintersMovingAverageAggregationBuilder) Build ¶

Build finalize the chain and returns the HoltWintersMovingAverageAggregation struct

func (*HoltWintersMovingAverageAggregationBuilder) Format ¶

func (*HoltWintersMovingAverageAggregationBuilder) GapPolicy ¶

func (*HoltWintersMovingAverageAggregationBuilder) Meta ¶

func (*HoltWintersMovingAverageAggregationBuilder) Minimize ¶

func (*HoltWintersMovingAverageAggregationBuilder) Name ¶

func (*HoltWintersMovingAverageAggregationBuilder) Predict ¶

func (*HoltWintersMovingAverageAggregationBuilder) Settings ¶

func (*HoltWintersMovingAverageAggregationBuilder) Window ¶

type Hop ¶

type Hop struct {
	Connections *Hop               `json:"connections,omitempty"`
	Query       QueryContainer     `json:"query"`
	Vertices    []VertexDefinition `json:"vertices"`
}

Hop type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/graph/_types/Hop.ts#L23-L27

type HopBuilder ¶

type HopBuilder struct {
	// contains filtered or unexported fields
}

HopBuilder holds Hop struct and provides a builder API.

func NewHopBuilder ¶

func NewHopBuilder() *HopBuilder

NewHop provides a builder for the Hop struct.

func (*HopBuilder) Build ¶

func (rb *HopBuilder) Build() Hop

Build finalize the chain and returns the Hop struct

func (*HopBuilder) Connections ¶

func (rb *HopBuilder) Connections(connections *HopBuilder) *HopBuilder

func (*HopBuilder) Query ¶

func (rb *HopBuilder) Query(query *QueryContainerBuilder) *HopBuilder

func (*HopBuilder) Vertices ¶

func (rb *HopBuilder) Vertices(vertices []VertexDefinitionBuilder) *HopBuilder

type HostBuilder ¶

type HostBuilder struct {
	// contains filtered or unexported fields
}

HostBuilder holds Host struct and provides a builder API.

func NewHostBuilder ¶

func NewHostBuilder() *HostBuilder

NewHost provides a builder for the Host struct.

func (*HostBuilder) Build ¶

func (b *HostBuilder) Build() Host

Build finalize the chain and returns the Host struct

func (*HostBuilder) Host ¶

func (b *HostBuilder) Host(value Host) *HostBuilder

type HotThread ¶

type HotThread struct {
	Hosts    []Host   `json:"hosts"`
	NodeId   Id       `json:"node_id"`
	NodeName Name     `json:"node_name"`
	Threads  []string `json:"threads"`
}

HotThread type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/hot_threads/types.ts#L23-L28

type HotThreadBuilder ¶

type HotThreadBuilder struct {
	// contains filtered or unexported fields
}

HotThreadBuilder holds HotThread struct and provides a builder API.

func NewHotThreadBuilder ¶

func NewHotThreadBuilder() *HotThreadBuilder

NewHotThread provides a builder for the HotThread struct.

func (*HotThreadBuilder) Build ¶

func (rb *HotThreadBuilder) Build() HotThread

Build finalize the chain and returns the HotThread struct

func (*HotThreadBuilder) Hosts ¶

func (rb *HotThreadBuilder) Hosts(hosts ...Host) *HotThreadBuilder

func (*HotThreadBuilder) NodeId ¶

func (rb *HotThreadBuilder) NodeId(nodeid Id) *HotThreadBuilder

func (*HotThreadBuilder) NodeName ¶

func (rb *HotThreadBuilder) NodeName(nodename Name) *HotThreadBuilder

func (*HotThreadBuilder) Threads ¶

func (rb *HotThreadBuilder) Threads(threads ...string) *HotThreadBuilder

type HourAndMinuteBuilder ¶

type HourAndMinuteBuilder struct {
	// contains filtered or unexported fields
}

HourAndMinuteBuilder holds HourAndMinute struct and provides a builder API.

func NewHourAndMinuteBuilder ¶

func NewHourAndMinuteBuilder() *HourAndMinuteBuilder

NewHourAndMinute provides a builder for the HourAndMinute struct.

func (*HourAndMinuteBuilder) Build ¶

func (rb *HourAndMinuteBuilder) Build() HourAndMinute

Build finalize the chain and returns the HourAndMinute struct

func (*HourAndMinuteBuilder) Hour ¶

func (rb *HourAndMinuteBuilder) Hour(hour ...int) *HourAndMinuteBuilder

func (*HourAndMinuteBuilder) Minute ¶

func (rb *HourAndMinuteBuilder) Minute(minute ...int) *HourAndMinuteBuilder

type HourlyScheduleBuilder ¶

type HourlyScheduleBuilder struct {
	// contains filtered or unexported fields
}

HourlyScheduleBuilder holds HourlySchedule struct and provides a builder API.

func NewHourlyScheduleBuilder ¶

func NewHourlyScheduleBuilder() *HourlyScheduleBuilder

NewHourlySchedule provides a builder for the HourlySchedule struct.

func (*HourlyScheduleBuilder) Build ¶

Build finalize the chain and returns the HourlySchedule struct

func (*HourlyScheduleBuilder) Minute ¶

func (rb *HourlyScheduleBuilder) Minute(minute ...int) *HourlyScheduleBuilder

type HtmlStripCharFilter ¶

type HtmlStripCharFilter struct {
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

HtmlStripCharFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/char_filters.ts#L43-L45

type HtmlStripCharFilterBuilder ¶

type HtmlStripCharFilterBuilder struct {
	// contains filtered or unexported fields
}

HtmlStripCharFilterBuilder holds HtmlStripCharFilter struct and provides a builder API.

func NewHtmlStripCharFilterBuilder ¶

func NewHtmlStripCharFilterBuilder() *HtmlStripCharFilterBuilder

NewHtmlStripCharFilter provides a builder for the HtmlStripCharFilter struct.

func (*HtmlStripCharFilterBuilder) Build ¶

Build finalize the chain and returns the HtmlStripCharFilter struct

func (*HtmlStripCharFilterBuilder) Version ¶

type Http ¶

type Http struct {
	Clients     []Client `json:"clients,omitempty"`
	CurrentOpen *int     `json:"current_open,omitempty"`
	TotalOpened *int64   `json:"total_opened,omitempty"`
}

Http type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L260-L264

type HttpBuilder ¶

type HttpBuilder struct {
	// contains filtered or unexported fields
}

HttpBuilder holds Http struct and provides a builder API.

func NewHttpBuilder ¶

func NewHttpBuilder() *HttpBuilder

NewHttp provides a builder for the Http struct.

func (*HttpBuilder) Build ¶

func (rb *HttpBuilder) Build() Http

Build finalize the chain and returns the Http struct

func (*HttpBuilder) Clients ¶

func (rb *HttpBuilder) Clients(clients []ClientBuilder) *HttpBuilder

func (*HttpBuilder) CurrentOpen ¶

func (rb *HttpBuilder) CurrentOpen(currentopen int) *HttpBuilder

func (*HttpBuilder) TotalOpened ¶

func (rb *HttpBuilder) TotalOpened(totalopened int64) *HttpBuilder

type HttpEmailAttachment ¶

type HttpEmailAttachment struct {
	ContentType *string                     `json:"content_type,omitempty"`
	Inline      *bool                       `json:"inline,omitempty"`
	Request     *HttpInputRequestDefinition `json:"request,omitempty"`
}

HttpEmailAttachment type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L218-L222

type HttpEmailAttachmentBuilder ¶

type HttpEmailAttachmentBuilder struct {
	// contains filtered or unexported fields
}

HttpEmailAttachmentBuilder holds HttpEmailAttachment struct and provides a builder API.

func NewHttpEmailAttachmentBuilder ¶

func NewHttpEmailAttachmentBuilder() *HttpEmailAttachmentBuilder

NewHttpEmailAttachment provides a builder for the HttpEmailAttachment struct.

func (*HttpEmailAttachmentBuilder) Build ¶

Build finalize the chain and returns the HttpEmailAttachment struct

func (*HttpEmailAttachmentBuilder) ContentType ¶

func (rb *HttpEmailAttachmentBuilder) ContentType(contenttype string) *HttpEmailAttachmentBuilder

func (*HttpEmailAttachmentBuilder) Inline ¶

func (*HttpEmailAttachmentBuilder) Request ¶

type HttpHeadersBuilder ¶

type HttpHeadersBuilder struct {
	// contains filtered or unexported fields
}

HttpHeadersBuilder holds HttpHeaders struct and provides a builder API.

func NewHttpHeadersBuilder ¶

func NewHttpHeadersBuilder() *HttpHeadersBuilder

NewHttpHeaders provides a builder for the HttpHeaders struct.

func (*HttpHeadersBuilder) Build ¶

func (b *HttpHeadersBuilder) Build() HttpHeaders

Build finalize the chain and returns the HttpHeaders struct

func (*HttpHeadersBuilder) HttpHeaders ¶

func (b *HttpHeadersBuilder) HttpHeaders(value HttpHeaders) *HttpHeadersBuilder

type HttpInput ¶

type HttpInput struct {
	Extract             []string                                 `json:"extract,omitempty"`
	Http                *HttpInput                               `json:"http,omitempty"`
	Request             *HttpInputRequestDefinition              `json:"request,omitempty"`
	ResponseContentType *responsecontenttype.ResponseContentType `json:"response_content_type,omitempty"`
}

HttpInput type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L45-L50

type HttpInputAuthenticationBuilder ¶

type HttpInputAuthenticationBuilder struct {
	// contains filtered or unexported fields
}

HttpInputAuthenticationBuilder holds HttpInputAuthentication struct and provides a builder API.

func NewHttpInputAuthenticationBuilder ¶

func NewHttpInputAuthenticationBuilder() *HttpInputAuthenticationBuilder

NewHttpInputAuthentication provides a builder for the HttpInputAuthentication struct.

func (*HttpInputAuthenticationBuilder) Basic ¶

func (*HttpInputAuthenticationBuilder) Build ¶

Build finalize the chain and returns the HttpInputAuthentication struct

type HttpInputBasicAuthentication ¶

type HttpInputBasicAuthentication struct {
	Password Password `json:"password"`
	Username Username `json:"username"`
}

HttpInputBasicAuthentication type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L56-L59

type HttpInputBasicAuthenticationBuilder ¶

type HttpInputBasicAuthenticationBuilder struct {
	// contains filtered or unexported fields
}

HttpInputBasicAuthenticationBuilder holds HttpInputBasicAuthentication struct and provides a builder API.

func NewHttpInputBasicAuthenticationBuilder ¶

func NewHttpInputBasicAuthenticationBuilder() *HttpInputBasicAuthenticationBuilder

NewHttpInputBasicAuthentication provides a builder for the HttpInputBasicAuthentication struct.

func (*HttpInputBasicAuthenticationBuilder) Build ¶

Build finalize the chain and returns the HttpInputBasicAuthentication struct

func (*HttpInputBasicAuthenticationBuilder) Password ¶

func (*HttpInputBasicAuthenticationBuilder) Username ¶

type HttpInputBuilder ¶

type HttpInputBuilder struct {
	// contains filtered or unexported fields
}

HttpInputBuilder holds HttpInput struct and provides a builder API.

func NewHttpInputBuilder ¶

func NewHttpInputBuilder() *HttpInputBuilder

NewHttpInput provides a builder for the HttpInput struct.

func (*HttpInputBuilder) Build ¶

func (rb *HttpInputBuilder) Build() HttpInput

Build finalize the chain and returns the HttpInput struct

func (*HttpInputBuilder) Extract ¶

func (rb *HttpInputBuilder) Extract(extract ...string) *HttpInputBuilder

func (*HttpInputBuilder) Http ¶

func (*HttpInputBuilder) Request ¶

func (*HttpInputBuilder) ResponseContentType ¶

func (rb *HttpInputBuilder) ResponseContentType(responsecontenttype responsecontenttype.ResponseContentType) *HttpInputBuilder

type HttpInputProxyBuilder ¶

type HttpInputProxyBuilder struct {
	// contains filtered or unexported fields
}

HttpInputProxyBuilder holds HttpInputProxy struct and provides a builder API.

func NewHttpInputProxyBuilder ¶

func NewHttpInputProxyBuilder() *HttpInputProxyBuilder

NewHttpInputProxy provides a builder for the HttpInputProxy struct.

func (*HttpInputProxyBuilder) Build ¶

Build finalize the chain and returns the HttpInputProxy struct

func (*HttpInputProxyBuilder) Host ¶

func (*HttpInputProxyBuilder) Port ¶

type HttpInputRequestDefinition ¶

type HttpInputRequestDefinition struct {
	Auth              *HttpInputAuthentication           `json:"auth,omitempty"`
	Body              *string                            `json:"body,omitempty"`
	ConnectionTimeout *Duration                          `json:"connection_timeout,omitempty"`
	Headers           map[string]string                  `json:"headers,omitempty"`
	Host              *Host                              `json:"host,omitempty"`
	Method            *httpinputmethod.HttpInputMethod   `json:"method,omitempty"`
	Params            map[string]string                  `json:"params,omitempty"`
	Path              *string                            `json:"path,omitempty"`
	Port              *uint                              `json:"port,omitempty"`
	Proxy             *HttpInputProxy                    `json:"proxy,omitempty"`
	ReadTimeout       *Duration                          `json:"read_timeout,omitempty"`
	Scheme            *connectionscheme.ConnectionScheme `json:"scheme,omitempty"`
	Url               *string                            `json:"url,omitempty"`
}

HttpInputRequestDefinition type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L74-L88

type HttpInputRequestDefinitionBuilder ¶

type HttpInputRequestDefinitionBuilder struct {
	// contains filtered or unexported fields
}

HttpInputRequestDefinitionBuilder holds HttpInputRequestDefinition struct and provides a builder API.

func NewHttpInputRequestDefinitionBuilder ¶

func NewHttpInputRequestDefinitionBuilder() *HttpInputRequestDefinitionBuilder

NewHttpInputRequestDefinition provides a builder for the HttpInputRequestDefinition struct.

func (*HttpInputRequestDefinitionBuilder) Auth ¶

func (*HttpInputRequestDefinitionBuilder) Body ¶

func (*HttpInputRequestDefinitionBuilder) Build ¶

Build finalize the chain and returns the HttpInputRequestDefinition struct

func (*HttpInputRequestDefinitionBuilder) ConnectionTimeout ¶

func (rb *HttpInputRequestDefinitionBuilder) ConnectionTimeout(connectiontimeout *DurationBuilder) *HttpInputRequestDefinitionBuilder

func (*HttpInputRequestDefinitionBuilder) Headers ¶

func (*HttpInputRequestDefinitionBuilder) Host ¶

func (*HttpInputRequestDefinitionBuilder) Method ¶

func (*HttpInputRequestDefinitionBuilder) Params ¶

func (*HttpInputRequestDefinitionBuilder) Path ¶

func (*HttpInputRequestDefinitionBuilder) Port ¶

func (*HttpInputRequestDefinitionBuilder) Proxy ¶

func (*HttpInputRequestDefinitionBuilder) ReadTimeout ¶

func (*HttpInputRequestDefinitionBuilder) Scheme ¶

func (*HttpInputRequestDefinitionBuilder) Url ¶

type HttpInputRequestResult ¶

type HttpInputRequestResult struct {
	Auth              *HttpInputAuthentication           `json:"auth,omitempty"`
	Body              *string                            `json:"body,omitempty"`
	ConnectionTimeout *Duration                          `json:"connection_timeout,omitempty"`
	Headers           map[string]string                  `json:"headers,omitempty"`
	Host              *Host                              `json:"host,omitempty"`
	Method            *httpinputmethod.HttpInputMethod   `json:"method,omitempty"`
	Params            map[string]string                  `json:"params,omitempty"`
	Path              *string                            `json:"path,omitempty"`
	Port              *uint                              `json:"port,omitempty"`
	Proxy             *HttpInputProxy                    `json:"proxy,omitempty"`
	ReadTimeout       *Duration                          `json:"read_timeout,omitempty"`
	Scheme            *connectionscheme.ConnectionScheme `json:"scheme,omitempty"`
	Url               *string                            `json:"url,omitempty"`
}

HttpInputRequestResult type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L300-L300

type HttpInputRequestResultBuilder ¶

type HttpInputRequestResultBuilder struct {
	// contains filtered or unexported fields
}

HttpInputRequestResultBuilder holds HttpInputRequestResult struct and provides a builder API.

func NewHttpInputRequestResultBuilder ¶

func NewHttpInputRequestResultBuilder() *HttpInputRequestResultBuilder

NewHttpInputRequestResult provides a builder for the HttpInputRequestResult struct.

func (*HttpInputRequestResultBuilder) Auth ¶

func (*HttpInputRequestResultBuilder) Body ¶

func (*HttpInputRequestResultBuilder) Build ¶

Build finalize the chain and returns the HttpInputRequestResult struct

func (*HttpInputRequestResultBuilder) ConnectionTimeout ¶

func (rb *HttpInputRequestResultBuilder) ConnectionTimeout(connectiontimeout *DurationBuilder) *HttpInputRequestResultBuilder

func (*HttpInputRequestResultBuilder) Headers ¶

func (*HttpInputRequestResultBuilder) Host ¶

func (*HttpInputRequestResultBuilder) Method ¶

func (*HttpInputRequestResultBuilder) Params ¶

func (*HttpInputRequestResultBuilder) Path ¶

func (*HttpInputRequestResultBuilder) Port ¶

func (*HttpInputRequestResultBuilder) Proxy ¶

func (*HttpInputRequestResultBuilder) ReadTimeout ¶

func (*HttpInputRequestResultBuilder) Scheme ¶

func (*HttpInputRequestResultBuilder) Url ¶

type HttpInputResponseResult ¶

type HttpInputResponseResult struct {
	Body    string      `json:"body"`
	Headers HttpHeaders `json:"headers"`
	Status  int         `json:"status"`
}

HttpInputResponseResult type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L302-L306

type HttpInputResponseResultBuilder ¶

type HttpInputResponseResultBuilder struct {
	// contains filtered or unexported fields
}

HttpInputResponseResultBuilder holds HttpInputResponseResult struct and provides a builder API.

func NewHttpInputResponseResultBuilder ¶

func NewHttpInputResponseResultBuilder() *HttpInputResponseResultBuilder

NewHttpInputResponseResult provides a builder for the HttpInputResponseResult struct.

func (*HttpInputResponseResultBuilder) Body ¶

func (*HttpInputResponseResultBuilder) Build ¶

Build finalize the chain and returns the HttpInputResponseResult struct

func (*HttpInputResponseResultBuilder) Headers ¶

func (*HttpInputResponseResultBuilder) Status ¶

type HunspellTokenFilter ¶

type HunspellTokenFilter struct {
	Dedup       *bool          `json:"dedup,omitempty"`
	Dictionary  *string        `json:"dictionary,omitempty"`
	Locale      string         `json:"locale"`
	LongestOnly *bool          `json:"longest_only,omitempty"`
	Type        string         `json:"type,omitempty"`
	Version     *VersionString `json:"version,omitempty"`
}

HunspellTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L199-L205

type HunspellTokenFilterBuilder ¶

type HunspellTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

HunspellTokenFilterBuilder holds HunspellTokenFilter struct and provides a builder API.

func NewHunspellTokenFilterBuilder ¶

func NewHunspellTokenFilterBuilder() *HunspellTokenFilterBuilder

NewHunspellTokenFilter provides a builder for the HunspellTokenFilter struct.

func (*HunspellTokenFilterBuilder) Build ¶

Build finalize the chain and returns the HunspellTokenFilter struct

func (*HunspellTokenFilterBuilder) Dedup ¶

func (*HunspellTokenFilterBuilder) Dictionary ¶

func (rb *HunspellTokenFilterBuilder) Dictionary(dictionary string) *HunspellTokenFilterBuilder

func (*HunspellTokenFilterBuilder) Locale ¶

func (*HunspellTokenFilterBuilder) LongestOnly ¶

func (rb *HunspellTokenFilterBuilder) LongestOnly(longestonly bool) *HunspellTokenFilterBuilder

func (*HunspellTokenFilterBuilder) Version ¶

type Hyperparameter ¶

type Hyperparameter struct {
	// AbsoluteImportance A positive number showing how much the parameter influences the variation of
	// the loss function. For hyperparameters with values that are not specified by
	// the user but tuned during hyperparameter optimization.
	AbsoluteImportance *float64 `json:"absolute_importance,omitempty"`
	// Name Name of the hyperparameter.
	Name Name `json:"name"`
	// RelativeImportance A number between 0 and 1 showing the proportion of influence on the variation
	// of the loss function among all tuned hyperparameters. For hyperparameters
	// with values that are not specified by the user but tuned during
	// hyperparameter optimization.
	RelativeImportance *float64 `json:"relative_importance,omitempty"`
	// Supplied Indicates if the hyperparameter is specified by the user (true) or optimized
	// (false).
	Supplied bool `json:"supplied"`
	// Value The value of the hyperparameter, either optimized or specified by the user.
	Value float64 `json:"value"`
}

Hyperparameter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L205-L219

type HyperparameterBuilder ¶

type HyperparameterBuilder struct {
	// contains filtered or unexported fields
}

HyperparameterBuilder holds Hyperparameter struct and provides a builder API.

func NewHyperparameterBuilder ¶

func NewHyperparameterBuilder() *HyperparameterBuilder

NewHyperparameter provides a builder for the Hyperparameter struct.

func (*HyperparameterBuilder) AbsoluteImportance ¶

func (rb *HyperparameterBuilder) AbsoluteImportance(absoluteimportance float64) *HyperparameterBuilder

func (*HyperparameterBuilder) Build ¶

Build finalize the chain and returns the Hyperparameter struct

func (*HyperparameterBuilder) Name ¶

func (*HyperparameterBuilder) RelativeImportance ¶

func (rb *HyperparameterBuilder) RelativeImportance(relativeimportance float64) *HyperparameterBuilder

func (*HyperparameterBuilder) Supplied ¶

func (rb *HyperparameterBuilder) Supplied(supplied bool) *HyperparameterBuilder

func (*HyperparameterBuilder) Value ¶

type Hyperparameters ¶

type Hyperparameters struct {
	Alpha                                  *float64 `json:"alpha,omitempty"`
	DownsampleFactor                       *float64 `json:"downsample_factor,omitempty"`
	Eta                                    *float64 `json:"eta,omitempty"`
	EtaGrowthRatePerTree                   *float64 `json:"eta_growth_rate_per_tree,omitempty"`
	FeatureBagFraction                     *float64 `json:"feature_bag_fraction,omitempty"`
	Gamma                                  *float64 `json:"gamma,omitempty"`
	Lambda                                 *float64 `json:"lambda,omitempty"`
	MaxAttemptsToAddTree                   *int     `json:"max_attempts_to_add_tree,omitempty"`
	MaxOptimizationRoundsPerHyperparameter *int     `json:"max_optimization_rounds_per_hyperparameter,omitempty"`
	MaxTrees                               *int     `json:"max_trees,omitempty"`
	NumFolds                               *int     `json:"num_folds,omitempty"`
	NumSplitsPerFeature                    *int     `json:"num_splits_per_feature,omitempty"`
	SoftTreeDepthLimit                     *int     `json:"soft_tree_depth_limit,omitempty"`
	SoftTreeDepthTolerance                 *float64 `json:"soft_tree_depth_tolerance,omitempty"`
}

Hyperparameters type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L395-L410

type HyperparametersBuilder ¶

type HyperparametersBuilder struct {
	// contains filtered or unexported fields
}

HyperparametersBuilder holds Hyperparameters struct and provides a builder API.

func NewHyperparametersBuilder ¶

func NewHyperparametersBuilder() *HyperparametersBuilder

NewHyperparameters provides a builder for the Hyperparameters struct.

func (*HyperparametersBuilder) Alpha ¶

func (*HyperparametersBuilder) Build ¶

Build finalize the chain and returns the Hyperparameters struct

func (*HyperparametersBuilder) DownsampleFactor ¶

func (rb *HyperparametersBuilder) DownsampleFactor(downsamplefactor float64) *HyperparametersBuilder

func (*HyperparametersBuilder) Eta ¶

func (*HyperparametersBuilder) EtaGrowthRatePerTree ¶

func (rb *HyperparametersBuilder) EtaGrowthRatePerTree(etagrowthratepertree float64) *HyperparametersBuilder

func (*HyperparametersBuilder) FeatureBagFraction ¶

func (rb *HyperparametersBuilder) FeatureBagFraction(featurebagfraction float64) *HyperparametersBuilder

func (*HyperparametersBuilder) Gamma ¶

func (*HyperparametersBuilder) Lambda ¶

func (*HyperparametersBuilder) MaxAttemptsToAddTree ¶

func (rb *HyperparametersBuilder) MaxAttemptsToAddTree(maxattemptstoaddtree int) *HyperparametersBuilder

func (*HyperparametersBuilder) MaxOptimizationRoundsPerHyperparameter ¶

func (rb *HyperparametersBuilder) MaxOptimizationRoundsPerHyperparameter(maxoptimizationroundsperhyperparameter int) *HyperparametersBuilder

func (*HyperparametersBuilder) MaxTrees ¶

func (rb *HyperparametersBuilder) MaxTrees(maxtrees int) *HyperparametersBuilder

func (*HyperparametersBuilder) NumFolds ¶

func (rb *HyperparametersBuilder) NumFolds(numfolds int) *HyperparametersBuilder

func (*HyperparametersBuilder) NumSplitsPerFeature ¶

func (rb *HyperparametersBuilder) NumSplitsPerFeature(numsplitsperfeature int) *HyperparametersBuilder

func (*HyperparametersBuilder) SoftTreeDepthLimit ¶

func (rb *HyperparametersBuilder) SoftTreeDepthLimit(softtreedepthlimit int) *HyperparametersBuilder

func (*HyperparametersBuilder) SoftTreeDepthTolerance ¶

func (rb *HyperparametersBuilder) SoftTreeDepthTolerance(softtreedepthtolerance float64) *HyperparametersBuilder

type HyphenationDecompounderTokenFilter ¶

type HyphenationDecompounderTokenFilter struct {
	HyphenationPatternsPath *string        `json:"hyphenation_patterns_path,omitempty"`
	MaxSubwordSize          *int           `json:"max_subword_size,omitempty"`
	MinSubwordSize          *int           `json:"min_subword_size,omitempty"`
	MinWordSize             *int           `json:"min_word_size,omitempty"`
	OnlyLongestMatch        *bool          `json:"only_longest_match,omitempty"`
	Type                    string         `json:"type,omitempty"`
	Version                 *VersionString `json:"version,omitempty"`
	WordList                []string       `json:"word_list,omitempty"`
	WordListPath            *string        `json:"word_list_path,omitempty"`
}

HyphenationDecompounderTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L57-L59

type HyphenationDecompounderTokenFilterBuilder ¶

type HyphenationDecompounderTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

HyphenationDecompounderTokenFilterBuilder holds HyphenationDecompounderTokenFilter struct and provides a builder API.

func NewHyphenationDecompounderTokenFilterBuilder ¶

func NewHyphenationDecompounderTokenFilterBuilder() *HyphenationDecompounderTokenFilterBuilder

NewHyphenationDecompounderTokenFilter provides a builder for the HyphenationDecompounderTokenFilter struct.

func (*HyphenationDecompounderTokenFilterBuilder) Build ¶

Build finalize the chain and returns the HyphenationDecompounderTokenFilter struct

func (*HyphenationDecompounderTokenFilterBuilder) HyphenationPatternsPath ¶

func (rb *HyphenationDecompounderTokenFilterBuilder) HyphenationPatternsPath(hyphenationpatternspath string) *HyphenationDecompounderTokenFilterBuilder

func (*HyphenationDecompounderTokenFilterBuilder) MaxSubwordSize ¶

func (*HyphenationDecompounderTokenFilterBuilder) MinSubwordSize ¶

func (*HyphenationDecompounderTokenFilterBuilder) MinWordSize ¶

func (*HyphenationDecompounderTokenFilterBuilder) OnlyLongestMatch ¶

func (*HyphenationDecompounderTokenFilterBuilder) Version ¶

func (*HyphenationDecompounderTokenFilterBuilder) WordList ¶

func (*HyphenationDecompounderTokenFilterBuilder) WordListPath ¶

type IcuAnalyzerBuilder ¶

type IcuAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

IcuAnalyzerBuilder holds IcuAnalyzer struct and provides a builder API.

func NewIcuAnalyzerBuilder ¶

func NewIcuAnalyzerBuilder() *IcuAnalyzerBuilder

NewIcuAnalyzer provides a builder for the IcuAnalyzer struct.

func (*IcuAnalyzerBuilder) Build ¶

func (rb *IcuAnalyzerBuilder) Build() IcuAnalyzer

Build finalize the chain and returns the IcuAnalyzer struct

func (*IcuAnalyzerBuilder) Method ¶

func (*IcuAnalyzerBuilder) Mode ¶

type IcuCollationTokenFilter ¶

type IcuCollationTokenFilter struct {
	Alternate              icucollationalternate.IcuCollationAlternate         `json:"alternate"`
	CaseFirst              icucollationcasefirst.IcuCollationCaseFirst         `json:"caseFirst"`
	CaseLevel              bool                                                `json:"caseLevel"`
	Country                string                                              `json:"country"`
	Decomposition          icucollationdecomposition.IcuCollationDecomposition `json:"decomposition"`
	HiraganaQuaternaryMode bool                                                `json:"hiraganaQuaternaryMode"`
	Language               string                                              `json:"language"`
	Numeric                bool                                                `json:"numeric"`
	Strength               icucollationstrength.IcuCollationStrength           `json:"strength"`
	Type                   string                                              `json:"type,omitempty"`
	VariableTop            *string                                             `json:"variableTop,omitempty"`
	Variant                string                                              `json:"variant"`
	Version                *VersionString                                      `json:"version,omitempty"`
}

IcuCollationTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L51-L64

type IcuCollationTokenFilterBuilder ¶

type IcuCollationTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

IcuCollationTokenFilterBuilder holds IcuCollationTokenFilter struct and provides a builder API.

func NewIcuCollationTokenFilterBuilder ¶

func NewIcuCollationTokenFilterBuilder() *IcuCollationTokenFilterBuilder

NewIcuCollationTokenFilter provides a builder for the IcuCollationTokenFilter struct.

func (*IcuCollationTokenFilterBuilder) Alternate ¶

func (*IcuCollationTokenFilterBuilder) Build ¶

Build finalize the chain and returns the IcuCollationTokenFilter struct

func (*IcuCollationTokenFilterBuilder) CaseFirst ¶

func (*IcuCollationTokenFilterBuilder) CaseLevel ¶

func (*IcuCollationTokenFilterBuilder) Country ¶

func (*IcuCollationTokenFilterBuilder) Decomposition ¶

func (*IcuCollationTokenFilterBuilder) HiraganaQuaternaryMode ¶

func (rb *IcuCollationTokenFilterBuilder) HiraganaQuaternaryMode(hiraganaquaternarymode bool) *IcuCollationTokenFilterBuilder

func (*IcuCollationTokenFilterBuilder) Language ¶

func (*IcuCollationTokenFilterBuilder) Numeric ¶

func (*IcuCollationTokenFilterBuilder) Strength ¶

func (*IcuCollationTokenFilterBuilder) VariableTop ¶

func (*IcuCollationTokenFilterBuilder) Variant ¶

func (*IcuCollationTokenFilterBuilder) Version ¶

type IcuFoldingTokenFilter ¶

type IcuFoldingTokenFilter struct {
	Type             string         `json:"type,omitempty"`
	UnicodeSetFilter string         `json:"unicode_set_filter"`
	Version          *VersionString `json:"version,omitempty"`
}

IcuFoldingTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L46-L49

type IcuFoldingTokenFilterBuilder ¶

type IcuFoldingTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

IcuFoldingTokenFilterBuilder holds IcuFoldingTokenFilter struct and provides a builder API.

func NewIcuFoldingTokenFilterBuilder ¶

func NewIcuFoldingTokenFilterBuilder() *IcuFoldingTokenFilterBuilder

NewIcuFoldingTokenFilter provides a builder for the IcuFoldingTokenFilter struct.

func (*IcuFoldingTokenFilterBuilder) Build ¶

Build finalize the chain and returns the IcuFoldingTokenFilter struct

func (*IcuFoldingTokenFilterBuilder) UnicodeSetFilter ¶

func (rb *IcuFoldingTokenFilterBuilder) UnicodeSetFilter(unicodesetfilter string) *IcuFoldingTokenFilterBuilder

func (*IcuFoldingTokenFilterBuilder) Version ¶

type IcuNormalizationCharFilter ¶

type IcuNormalizationCharFilter struct {
	Mode    *icunormalizationmode.IcuNormalizationMode `json:"mode,omitempty"`
	Name    *icunormalizationtype.IcuNormalizationType `json:"name,omitempty"`
	Type    string                                     `json:"type,omitempty"`
	Version *VersionString                             `json:"version,omitempty"`
}

IcuNormalizationCharFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L40-L44

type IcuNormalizationCharFilterBuilder ¶

type IcuNormalizationCharFilterBuilder struct {
	// contains filtered or unexported fields
}

IcuNormalizationCharFilterBuilder holds IcuNormalizationCharFilter struct and provides a builder API.

func NewIcuNormalizationCharFilterBuilder ¶

func NewIcuNormalizationCharFilterBuilder() *IcuNormalizationCharFilterBuilder

NewIcuNormalizationCharFilter provides a builder for the IcuNormalizationCharFilter struct.

func (*IcuNormalizationCharFilterBuilder) Build ¶

Build finalize the chain and returns the IcuNormalizationCharFilter struct

func (*IcuNormalizationCharFilterBuilder) Version ¶

type IcuNormalizationTokenFilter ¶

type IcuNormalizationTokenFilter struct {
	Name    icunormalizationtype.IcuNormalizationType `json:"name"`
	Type    string                                    `json:"type,omitempty"`
	Version *VersionString                            `json:"version,omitempty"`
}

IcuNormalizationTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L35-L38

type IcuNormalizationTokenFilterBuilder ¶

type IcuNormalizationTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

IcuNormalizationTokenFilterBuilder holds IcuNormalizationTokenFilter struct and provides a builder API.

func NewIcuNormalizationTokenFilterBuilder ¶

func NewIcuNormalizationTokenFilterBuilder() *IcuNormalizationTokenFilterBuilder

NewIcuNormalizationTokenFilter provides a builder for the IcuNormalizationTokenFilter struct.

func (*IcuNormalizationTokenFilterBuilder) Build ¶

Build finalize the chain and returns the IcuNormalizationTokenFilter struct

func (*IcuNormalizationTokenFilterBuilder) Version ¶

type IcuTokenizer ¶

type IcuTokenizer struct {
	RuleFiles string         `json:"rule_files"`
	Type      string         `json:"type,omitempty"`
	Version   *VersionString `json:"version,omitempty"`
}

IcuTokenizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L30-L33

type IcuTokenizerBuilder ¶

type IcuTokenizerBuilder struct {
	// contains filtered or unexported fields
}

IcuTokenizerBuilder holds IcuTokenizer struct and provides a builder API.

func NewIcuTokenizerBuilder ¶

func NewIcuTokenizerBuilder() *IcuTokenizerBuilder

NewIcuTokenizer provides a builder for the IcuTokenizer struct.

func (*IcuTokenizerBuilder) Build ¶

func (rb *IcuTokenizerBuilder) Build() IcuTokenizer

Build finalize the chain and returns the IcuTokenizer struct

func (*IcuTokenizerBuilder) RuleFiles ¶

func (rb *IcuTokenizerBuilder) RuleFiles(rulefiles string) *IcuTokenizerBuilder

func (*IcuTokenizerBuilder) Version ¶

type IcuTransformTokenFilter ¶

type IcuTransformTokenFilter struct {
	Dir     icutransformdirection.IcuTransformDirection `json:"dir"`
	Id      string                                      `json:"id"`
	Type    string                                      `json:"type,omitempty"`
	Version *VersionString                              `json:"version,omitempty"`
}

IcuTransformTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L24-L28

type IcuTransformTokenFilterBuilder ¶

type IcuTransformTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

IcuTransformTokenFilterBuilder holds IcuTransformTokenFilter struct and provides a builder API.

func NewIcuTransformTokenFilterBuilder ¶

func NewIcuTransformTokenFilterBuilder() *IcuTransformTokenFilterBuilder

NewIcuTransformTokenFilter provides a builder for the IcuTransformTokenFilter struct.

func (*IcuTransformTokenFilterBuilder) Build ¶

Build finalize the chain and returns the IcuTransformTokenFilter struct

func (*IcuTransformTokenFilterBuilder) Id ¶

func (*IcuTransformTokenFilterBuilder) Version ¶

type IdBuilder ¶

type IdBuilder struct {
	// contains filtered or unexported fields
}

IdBuilder holds Id struct and provides a builder API.

func NewIdBuilder ¶

func NewIdBuilder() *IdBuilder

NewId provides a builder for the Id struct.

func (*IdBuilder) Build ¶

func (b *IdBuilder) Build() Id

Build finalize the chain and returns the Id struct

func (*IdBuilder) Id ¶

func (b *IdBuilder) Id(value Id) *IdBuilder

type IdsBuilder ¶

type IdsBuilder struct {
	// contains filtered or unexported fields
}

IdsBuilder holds Ids struct and provides a builder API.

func NewIdsBuilder ¶

func NewIdsBuilder() *IdsBuilder

NewIds provides a builder for the Ids struct.

func (*IdsBuilder) Build ¶

func (b *IdsBuilder) Build() Ids

Build finalize the chain and returns the Ids struct

func (*IdsBuilder) Ids ¶

func (b *IdsBuilder) Ids(value Ids) *IdsBuilder

type IdsQuery ¶

type IdsQuery struct {
	Boost      *float32 `json:"boost,omitempty"`
	QueryName_ *string  `json:"_name,omitempty"`
	Values     *Ids     `json:"values,omitempty"`
}

IdsQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L62-L64

type IdsQueryBuilder ¶

type IdsQueryBuilder struct {
	// contains filtered or unexported fields
}

IdsQueryBuilder holds IdsQuery struct and provides a builder API.

func NewIdsQueryBuilder ¶

func NewIdsQueryBuilder() *IdsQueryBuilder

NewIdsQuery provides a builder for the IdsQuery struct.

func (*IdsQueryBuilder) Boost ¶

func (rb *IdsQueryBuilder) Boost(boost float32) *IdsQueryBuilder

func (*IdsQueryBuilder) Build ¶

func (rb *IdsQueryBuilder) Build() IdsQuery

Build finalize the chain and returns the IdsQuery struct

func (*IdsQueryBuilder) QueryName_ ¶

func (rb *IdsQueryBuilder) QueryName_(queryname_ string) *IdsQueryBuilder

func (*IdsQueryBuilder) Values ¶

func (rb *IdsQueryBuilder) Values(values *IdsBuilder) *IdsQueryBuilder

type IlmBuilder ¶

type IlmBuilder struct {
	// contains filtered or unexported fields
}

IlmBuilder holds Ilm struct and provides a builder API.

func NewIlmBuilder ¶

func NewIlmBuilder() *IlmBuilder

NewIlm provides a builder for the Ilm struct.

func (*IlmBuilder) Build ¶

func (rb *IlmBuilder) Build() Ilm

Build finalize the chain and returns the Ilm struct

func (*IlmBuilder) PolicyCount ¶

func (rb *IlmBuilder) PolicyCount(policycount int) *IlmBuilder

func (*IlmBuilder) PolicyStats ¶

func (rb *IlmBuilder) PolicyStats(policy_stats []IlmPolicyStatisticsBuilder) *IlmBuilder

type IlmPolicyStatistics ¶

type IlmPolicyStatistics struct {
	IndicesManaged int    `json:"indices_managed"`
	Phases         Phases `json:"phases"`
}

IlmPolicyStatistics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L148-L151

type IlmPolicyStatisticsBuilder ¶

type IlmPolicyStatisticsBuilder struct {
	// contains filtered or unexported fields
}

IlmPolicyStatisticsBuilder holds IlmPolicyStatistics struct and provides a builder API.

func NewIlmPolicyStatisticsBuilder ¶

func NewIlmPolicyStatisticsBuilder() *IlmPolicyStatisticsBuilder

NewIlmPolicyStatistics provides a builder for the IlmPolicyStatistics struct.

func (*IlmPolicyStatisticsBuilder) Build ¶

Build finalize the chain and returns the IlmPolicyStatistics struct

func (*IlmPolicyStatisticsBuilder) IndicesManaged ¶

func (rb *IlmPolicyStatisticsBuilder) IndicesManaged(indicesmanaged int) *IlmPolicyStatisticsBuilder

func (*IlmPolicyStatisticsBuilder) Phases ¶

type InProgress ¶

type InProgress struct {
	Name            Name                `json:"name"`
	StartTimeMillis EpochTimeUnitMillis `json:"start_time_millis"`
	State           string              `json:"state"`
	Uuid            Uuid                `json:"uuid"`
}

InProgress type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/slm/_types/SnapshotLifecycle.ts#L131-L136

type InProgressBuilder ¶

type InProgressBuilder struct {
	// contains filtered or unexported fields
}

InProgressBuilder holds InProgress struct and provides a builder API.

func NewInProgressBuilder ¶

func NewInProgressBuilder() *InProgressBuilder

NewInProgress provides a builder for the InProgress struct.

func (*InProgressBuilder) Build ¶

func (rb *InProgressBuilder) Build() InProgress

Build finalize the chain and returns the InProgress struct

func (*InProgressBuilder) Name ¶

func (rb *InProgressBuilder) Name(name Name) *InProgressBuilder

func (*InProgressBuilder) StartTimeMillis ¶

func (rb *InProgressBuilder) StartTimeMillis(starttimemillis *EpochTimeUnitMillisBuilder) *InProgressBuilder

func (*InProgressBuilder) State ¶

func (rb *InProgressBuilder) State(state string) *InProgressBuilder

func (*InProgressBuilder) Uuid ¶

func (rb *InProgressBuilder) Uuid(uuid Uuid) *InProgressBuilder

type IndexAction ¶

type IndexAction struct {
	DocId              *Id              `json:"doc_id,omitempty"`
	ExecutionTimeField *Field           `json:"execution_time_field,omitempty"`
	Index              IndexName        `json:"index"`
	OpType             *optype.OpType   `json:"op_type,omitempty"`
	Refresh            *refresh.Refresh `json:"refresh,omitempty"`
	Timeout            *Duration        `json:"timeout,omitempty"`
}

IndexAction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L256-L265

type IndexActionBuilder ¶

type IndexActionBuilder struct {
	// contains filtered or unexported fields
}

IndexActionBuilder holds IndexAction struct and provides a builder API.

func NewIndexActionBuilder ¶

func NewIndexActionBuilder() *IndexActionBuilder

NewIndexAction provides a builder for the IndexAction struct.

func (*IndexActionBuilder) Build ¶

func (rb *IndexActionBuilder) Build() IndexAction

Build finalize the chain and returns the IndexAction struct

func (*IndexActionBuilder) DocId ¶

func (rb *IndexActionBuilder) DocId(docid Id) *IndexActionBuilder

func (*IndexActionBuilder) ExecutionTimeField ¶

func (rb *IndexActionBuilder) ExecutionTimeField(executiontimefield Field) *IndexActionBuilder

func (*IndexActionBuilder) Index ¶

func (*IndexActionBuilder) OpType ¶

func (rb *IndexActionBuilder) OpType(optype optype.OpType) *IndexActionBuilder

func (*IndexActionBuilder) Refresh ¶

func (rb *IndexActionBuilder) Refresh(refresh refresh.Refresh) *IndexActionBuilder

func (*IndexActionBuilder) Timeout ¶

func (rb *IndexActionBuilder) Timeout(timeout *DurationBuilder) *IndexActionBuilder

type IndexAliasBuilder ¶

type IndexAliasBuilder struct {
	// contains filtered or unexported fields
}

IndexAliasBuilder holds IndexAlias struct and provides a builder API.

func NewIndexAliasBuilder ¶

func NewIndexAliasBuilder() *IndexAliasBuilder

NewIndexAlias provides a builder for the IndexAlias struct.

func (*IndexAliasBuilder) Build ¶

func (b *IndexAliasBuilder) Build() IndexAlias

Build finalize the chain and returns the IndexAlias struct

func (*IndexAliasBuilder) IndexAlias ¶

func (b *IndexAliasBuilder) IndexAlias(value IndexAlias) *IndexAliasBuilder

type IndexAliasesBuilder ¶

type IndexAliasesBuilder struct {
	// contains filtered or unexported fields
}

IndexAliasesBuilder holds IndexAliases struct and provides a builder API.

func NewIndexAliasesBuilder ¶

func NewIndexAliasesBuilder() *IndexAliasesBuilder

NewIndexAliases provides a builder for the IndexAliases struct.

func (*IndexAliasesBuilder) Aliases ¶

func (*IndexAliasesBuilder) Build ¶

func (rb *IndexAliasesBuilder) Build() IndexAliases

Build finalize the chain and returns the IndexAliases struct

type IndexAndDataStreamActionBuilder ¶

type IndexAndDataStreamActionBuilder struct {
	// contains filtered or unexported fields
}

IndexAndDataStreamActionBuilder holds IndexAndDataStreamAction struct and provides a builder API.

func NewIndexAndDataStreamActionBuilder ¶

func NewIndexAndDataStreamActionBuilder() *IndexAndDataStreamActionBuilder

NewIndexAndDataStreamAction provides a builder for the IndexAndDataStreamAction struct.

func (*IndexAndDataStreamActionBuilder) Build ¶

Build finalize the chain and returns the IndexAndDataStreamAction struct

func (*IndexAndDataStreamActionBuilder) DataStream ¶

func (*IndexAndDataStreamActionBuilder) Index ¶

type IndexCapabilitiesBuilder ¶

type IndexCapabilitiesBuilder struct {
	// contains filtered or unexported fields
}

IndexCapabilitiesBuilder holds IndexCapabilities struct and provides a builder API.

func NewIndexCapabilitiesBuilder ¶

func NewIndexCapabilitiesBuilder() *IndexCapabilitiesBuilder

NewIndexCapabilities provides a builder for the IndexCapabilities struct.

func (*IndexCapabilitiesBuilder) Build ¶

Build finalize the chain and returns the IndexCapabilities struct

func (*IndexCapabilitiesBuilder) RollupJobs ¶

type IndexDetails ¶

type IndexDetails struct {
	MaxSegmentsPerShard int64     `json:"max_segments_per_shard"`
	ShardCount          int       `json:"shard_count"`
	Size                *ByteSize `json:"size,omitempty"`
	SizeInBytes         int64     `json:"size_in_bytes"`
}

IndexDetails type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/SnapshotIndexDetails.ts#L23-L28

type IndexDetailsBuilder ¶

type IndexDetailsBuilder struct {
	// contains filtered or unexported fields
}

IndexDetailsBuilder holds IndexDetails struct and provides a builder API.

func NewIndexDetailsBuilder ¶

func NewIndexDetailsBuilder() *IndexDetailsBuilder

NewIndexDetails provides a builder for the IndexDetails struct.

func (*IndexDetailsBuilder) Build ¶

func (rb *IndexDetailsBuilder) Build() IndexDetails

Build finalize the chain and returns the IndexDetails struct

func (*IndexDetailsBuilder) MaxSegmentsPerShard ¶

func (rb *IndexDetailsBuilder) MaxSegmentsPerShard(maxsegmentspershard int64) *IndexDetailsBuilder

func (*IndexDetailsBuilder) ShardCount ¶

func (rb *IndexDetailsBuilder) ShardCount(shardcount int) *IndexDetailsBuilder

func (*IndexDetailsBuilder) Size ¶

func (*IndexDetailsBuilder) SizeInBytes ¶

func (rb *IndexDetailsBuilder) SizeInBytes(sizeinbytes int64) *IndexDetailsBuilder

type IndexFieldBuilder ¶

type IndexFieldBuilder struct {
	// contains filtered or unexported fields
}

IndexFieldBuilder holds IndexField struct and provides a builder API.

func NewIndexFieldBuilder ¶

func NewIndexFieldBuilder() *IndexFieldBuilder

NewIndexField provides a builder for the IndexField struct.

func (*IndexFieldBuilder) Build ¶

func (rb *IndexFieldBuilder) Build() IndexField

Build finalize the chain and returns the IndexField struct

func (*IndexFieldBuilder) Enabled ¶

func (rb *IndexFieldBuilder) Enabled(enabled bool) *IndexFieldBuilder

type IndexHealthStats ¶

type IndexHealthStats struct {
	ActivePrimaryShards int                         `json:"active_primary_shards"`
	ActiveShards        int                         `json:"active_shards"`
	InitializingShards  int                         `json:"initializing_shards"`
	NumberOfReplicas    int                         `json:"number_of_replicas"`
	NumberOfShards      int                         `json:"number_of_shards"`
	RelocatingShards    int                         `json:"relocating_shards"`
	Shards              map[string]ShardHealthStats `json:"shards,omitempty"`
	Status              healthstatus.HealthStatus   `json:"status"`
	UnassignedShards    int                         `json:"unassigned_shards"`
}

IndexHealthStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/health/types.ts#L24-L34

type IndexHealthStatsBuilder ¶

type IndexHealthStatsBuilder struct {
	// contains filtered or unexported fields
}

IndexHealthStatsBuilder holds IndexHealthStats struct and provides a builder API.

func NewIndexHealthStatsBuilder ¶

func NewIndexHealthStatsBuilder() *IndexHealthStatsBuilder

NewIndexHealthStats provides a builder for the IndexHealthStats struct.

func (*IndexHealthStatsBuilder) ActivePrimaryShards ¶

func (rb *IndexHealthStatsBuilder) ActivePrimaryShards(activeprimaryshards int) *IndexHealthStatsBuilder

func (*IndexHealthStatsBuilder) ActiveShards ¶

func (rb *IndexHealthStatsBuilder) ActiveShards(activeshards int) *IndexHealthStatsBuilder

func (*IndexHealthStatsBuilder) Build ¶

Build finalize the chain and returns the IndexHealthStats struct

func (*IndexHealthStatsBuilder) InitializingShards ¶

func (rb *IndexHealthStatsBuilder) InitializingShards(initializingshards int) *IndexHealthStatsBuilder

func (*IndexHealthStatsBuilder) NumberOfReplicas ¶

func (rb *IndexHealthStatsBuilder) NumberOfReplicas(numberofreplicas int) *IndexHealthStatsBuilder

func (*IndexHealthStatsBuilder) NumberOfShards ¶

func (rb *IndexHealthStatsBuilder) NumberOfShards(numberofshards int) *IndexHealthStatsBuilder

func (*IndexHealthStatsBuilder) RelocatingShards ¶

func (rb *IndexHealthStatsBuilder) RelocatingShards(relocatingshards int) *IndexHealthStatsBuilder

func (*IndexHealthStatsBuilder) Shards ¶

func (*IndexHealthStatsBuilder) Status ¶

func (*IndexHealthStatsBuilder) UnassignedShards ¶

func (rb *IndexHealthStatsBuilder) UnassignedShards(unassignedshards int) *IndexHealthStatsBuilder

type IndexMappingRecordBuilder ¶

type IndexMappingRecordBuilder struct {
	// contains filtered or unexported fields
}

IndexMappingRecordBuilder holds IndexMappingRecord struct and provides a builder API.

func NewIndexMappingRecordBuilder ¶

func NewIndexMappingRecordBuilder() *IndexMappingRecordBuilder

NewIndexMappingRecord provides a builder for the IndexMappingRecord struct.

func (*IndexMappingRecordBuilder) Build ¶

Build finalize the chain and returns the IndexMappingRecord struct

func (*IndexMappingRecordBuilder) Item ¶

func (*IndexMappingRecordBuilder) Mappings ¶

type IndexNameBuilder ¶

type IndexNameBuilder struct {
	// contains filtered or unexported fields
}

IndexNameBuilder holds IndexName struct and provides a builder API.

func NewIndexNameBuilder ¶

func NewIndexNameBuilder() *IndexNameBuilder

NewIndexName provides a builder for the IndexName struct.

func (*IndexNameBuilder) Build ¶

func (b *IndexNameBuilder) Build() IndexName

Build finalize the chain and returns the IndexName struct

func (*IndexNameBuilder) IndexName ¶

func (b *IndexNameBuilder) IndexName(value IndexName) *IndexNameBuilder

type IndexPatternBuilder ¶

type IndexPatternBuilder struct {
	// contains filtered or unexported fields
}

IndexPatternBuilder holds IndexPattern struct and provides a builder API.

func NewIndexPatternBuilder ¶

func NewIndexPatternBuilder() *IndexPatternBuilder

NewIndexPattern provides a builder for the IndexPattern struct.

func (*IndexPatternBuilder) Build ¶

func (b *IndexPatternBuilder) Build() IndexPattern

Build finalize the chain and returns the IndexPattern struct

func (*IndexPatternBuilder) IndexPattern ¶

func (b *IndexPatternBuilder) IndexPattern(value IndexPattern) *IndexPatternBuilder

type IndexPatternsBuilder ¶

type IndexPatternsBuilder struct {
	// contains filtered or unexported fields
}

IndexPatternsBuilder holds IndexPatterns struct and provides a builder API.

func NewIndexPatternsBuilder ¶

func NewIndexPatternsBuilder() *IndexPatternsBuilder

NewIndexPatterns provides a builder for the IndexPatterns struct.

func (*IndexPatternsBuilder) Build ¶

Build finalize the chain and returns the IndexPatterns struct

func (*IndexPatternsBuilder) IndexPatterns ¶

func (b *IndexPatternsBuilder) IndexPatterns(value IndexPatterns) *IndexPatternsBuilder

type IndexPrivilegesCheck ¶

type IndexPrivilegesCheck struct {
	// AllowRestrictedIndices This needs to be set to true (default is false) if using wildcards or regexps
	// for patterns that cover restricted indices.
	// Implicitly, restricted indices do not match index patterns because restricted
	// indices usually have limited privileges and including them in pattern tests
	// would render most such tests false.
	// If restricted indices are explicitly included in the names list, privileges
	// will be checked against them regardless of the value of
	// allow_restricted_indices.
	AllowRestrictedIndices *bool `json:"allow_restricted_indices,omitempty"`
	// Names A list of indices.
	Names Indices `json:"names"`
	// Privileges A list of the privileges that you want to check for the specified indices.
	Privileges []indexprivilege.IndexPrivilege `json:"privileges"`
}

IndexPrivilegesCheck type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/has_privileges/types.ts#L33-L44

type IndexPrivilegesCheckBuilder ¶

type IndexPrivilegesCheckBuilder struct {
	// contains filtered or unexported fields
}

IndexPrivilegesCheckBuilder holds IndexPrivilegesCheck struct and provides a builder API.

func NewIndexPrivilegesCheckBuilder ¶

func NewIndexPrivilegesCheckBuilder() *IndexPrivilegesCheckBuilder

NewIndexPrivilegesCheck provides a builder for the IndexPrivilegesCheck struct.

func (*IndexPrivilegesCheckBuilder) AllowRestrictedIndices ¶

func (rb *IndexPrivilegesCheckBuilder) AllowRestrictedIndices(allowrestrictedindices bool) *IndexPrivilegesCheckBuilder

func (*IndexPrivilegesCheckBuilder) Build ¶

Build finalize the chain and returns the IndexPrivilegesCheck struct

func (*IndexPrivilegesCheckBuilder) Names ¶

func (*IndexPrivilegesCheckBuilder) Privileges ¶

type IndexResultBuilder ¶

type IndexResultBuilder struct {
	// contains filtered or unexported fields
}

IndexResultBuilder holds IndexResult struct and provides a builder API.

func NewIndexResultBuilder ¶

func NewIndexResultBuilder() *IndexResultBuilder

NewIndexResult provides a builder for the IndexResult struct.

func (*IndexResultBuilder) Build ¶

func (rb *IndexResultBuilder) Build() IndexResult

Build finalize the chain and returns the IndexResult struct

func (*IndexResultBuilder) Response ¶

type IndexResultSummary ¶

type IndexResultSummary struct {
	Created bool          `json:"created"`
	Id      Id            `json:"id"`
	Index   IndexName     `json:"index"`
	Result  result.Result `json:"result"`
	Version VersionNumber `json:"version"`
}

IndexResultSummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L271-L277

type IndexResultSummaryBuilder ¶

type IndexResultSummaryBuilder struct {
	// contains filtered or unexported fields
}

IndexResultSummaryBuilder holds IndexResultSummary struct and provides a builder API.

func NewIndexResultSummaryBuilder ¶

func NewIndexResultSummaryBuilder() *IndexResultSummaryBuilder

NewIndexResultSummary provides a builder for the IndexResultSummary struct.

func (*IndexResultSummaryBuilder) Build ¶

Build finalize the chain and returns the IndexResultSummary struct

func (*IndexResultSummaryBuilder) Created ¶

func (*IndexResultSummaryBuilder) Id ¶

func (*IndexResultSummaryBuilder) Index ¶

func (*IndexResultSummaryBuilder) Result ¶

func (*IndexResultSummaryBuilder) Version ¶

type IndexRoutingAllocation ¶

type IndexRoutingAllocation struct {
	Disk            *IndexRoutingAllocationDisk                                  `json:"disk,omitempty"`
	Enable          *indexroutingallocationoptions.IndexRoutingAllocationOptions `json:"enable,omitempty"`
	Include         *IndexRoutingAllocationInclude                               `json:"include,omitempty"`
	InitialRecovery *IndexRoutingAllocationInitialRecovery                       `json:"initial_recovery,omitempty"`
}

IndexRoutingAllocation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexRouting.ts#L27-L32

type IndexRoutingAllocationBuilder ¶

type IndexRoutingAllocationBuilder struct {
	// contains filtered or unexported fields
}

IndexRoutingAllocationBuilder holds IndexRoutingAllocation struct and provides a builder API.

func NewIndexRoutingAllocationBuilder ¶

func NewIndexRoutingAllocationBuilder() *IndexRoutingAllocationBuilder

NewIndexRoutingAllocation provides a builder for the IndexRoutingAllocation struct.

func (*IndexRoutingAllocationBuilder) Build ¶

Build finalize the chain and returns the IndexRoutingAllocation struct

func (*IndexRoutingAllocationBuilder) Disk ¶

func (*IndexRoutingAllocationBuilder) Include ¶

func (*IndexRoutingAllocationBuilder) InitialRecovery ¶

type IndexRoutingAllocationDisk ¶

type IndexRoutingAllocationDisk struct {
	ThresholdEnabled string `json:"threshold_enabled,omitempty"`
}

IndexRoutingAllocationDisk type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexRouting.ts#L62-L64

type IndexRoutingAllocationDiskBuilder ¶

type IndexRoutingAllocationDiskBuilder struct {
	// contains filtered or unexported fields
}

IndexRoutingAllocationDiskBuilder holds IndexRoutingAllocationDisk struct and provides a builder API.

func NewIndexRoutingAllocationDiskBuilder ¶

func NewIndexRoutingAllocationDiskBuilder() *IndexRoutingAllocationDiskBuilder

NewIndexRoutingAllocationDisk provides a builder for the IndexRoutingAllocationDisk struct.

func (*IndexRoutingAllocationDiskBuilder) Build ¶

Build finalize the chain and returns the IndexRoutingAllocationDisk struct

func (*IndexRoutingAllocationDiskBuilder) ThresholdEnabled ¶

type IndexRoutingAllocationInclude ¶

type IndexRoutingAllocationInclude struct {
	Id_             *Id     `json:"_id,omitempty"`
	TierPreference_ *string `json:"_tier_preference,omitempty"`
}

IndexRoutingAllocationInclude type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexRouting.ts#L52-L55

type IndexRoutingAllocationIncludeBuilder ¶

type IndexRoutingAllocationIncludeBuilder struct {
	// contains filtered or unexported fields
}

IndexRoutingAllocationIncludeBuilder holds IndexRoutingAllocationInclude struct and provides a builder API.

func NewIndexRoutingAllocationIncludeBuilder ¶

func NewIndexRoutingAllocationIncludeBuilder() *IndexRoutingAllocationIncludeBuilder

NewIndexRoutingAllocationInclude provides a builder for the IndexRoutingAllocationInclude struct.

func (*IndexRoutingAllocationIncludeBuilder) Build ¶

Build finalize the chain and returns the IndexRoutingAllocationInclude struct

func (*IndexRoutingAllocationIncludeBuilder) Id_ ¶

func (*IndexRoutingAllocationIncludeBuilder) TierPreference_ ¶

type IndexRoutingAllocationInitialRecovery ¶

type IndexRoutingAllocationInitialRecovery struct {
	Id_ *Id `json:"_id,omitempty"`
}

IndexRoutingAllocationInitialRecovery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexRouting.ts#L57-L59

type IndexRoutingAllocationInitialRecoveryBuilder ¶

type IndexRoutingAllocationInitialRecoveryBuilder struct {
	// contains filtered or unexported fields
}

IndexRoutingAllocationInitialRecoveryBuilder holds IndexRoutingAllocationInitialRecovery struct and provides a builder API.

func NewIndexRoutingAllocationInitialRecoveryBuilder ¶

func NewIndexRoutingAllocationInitialRecoveryBuilder() *IndexRoutingAllocationInitialRecoveryBuilder

NewIndexRoutingAllocationInitialRecovery provides a builder for the IndexRoutingAllocationInitialRecovery struct.

func (*IndexRoutingAllocationInitialRecoveryBuilder) Build ¶

Build finalize the chain and returns the IndexRoutingAllocationInitialRecovery struct

func (*IndexRoutingAllocationInitialRecoveryBuilder) Id_ ¶

type IndexRoutingBuilder ¶

type IndexRoutingBuilder struct {
	// contains filtered or unexported fields
}

IndexRoutingBuilder holds IndexRouting struct and provides a builder API.

func NewIndexRoutingBuilder ¶

func NewIndexRoutingBuilder() *IndexRoutingBuilder

NewIndexRouting provides a builder for the IndexRouting struct.

func (*IndexRoutingBuilder) Allocation ¶

func (*IndexRoutingBuilder) Build ¶

func (rb *IndexRoutingBuilder) Build() IndexRouting

Build finalize the chain and returns the IndexRouting struct

func (*IndexRoutingBuilder) Rebalance ¶

type IndexRoutingRebalanceBuilder ¶

type IndexRoutingRebalanceBuilder struct {
	// contains filtered or unexported fields
}

IndexRoutingRebalanceBuilder holds IndexRoutingRebalance struct and provides a builder API.

func NewIndexRoutingRebalanceBuilder ¶

func NewIndexRoutingRebalanceBuilder() *IndexRoutingRebalanceBuilder

NewIndexRoutingRebalance provides a builder for the IndexRoutingRebalance struct.

func (*IndexRoutingRebalanceBuilder) Build ¶

Build finalize the chain and returns the IndexRoutingRebalance struct

type IndexSegmentBuilder ¶

type IndexSegmentBuilder struct {
	// contains filtered or unexported fields
}

IndexSegmentBuilder holds IndexSegment struct and provides a builder API.

func NewIndexSegmentBuilder ¶

func NewIndexSegmentBuilder() *IndexSegmentBuilder

NewIndexSegment provides a builder for the IndexSegment struct.

func (*IndexSegmentBuilder) Build ¶

func (rb *IndexSegmentBuilder) Build() IndexSegment

Build finalize the chain and returns the IndexSegment struct

func (*IndexSegmentBuilder) Shards ¶

type IndexSegmentSort ¶

type IndexSegmentSort struct {
	Field   *Fields                                 `json:"field,omitempty"`
	Missing []segmentsortmissing.SegmentSortMissing `json:"missing,omitempty"`
	Mode    []segmentsortmode.SegmentSortMode       `json:"mode,omitempty"`
	Order   []segmentsortorder.SegmentSortOrder     `json:"order,omitempty"`
}

IndexSegmentSort type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSegmentSort.ts#L22-L27

type IndexSegmentSortBuilder ¶

type IndexSegmentSortBuilder struct {
	// contains filtered or unexported fields
}

IndexSegmentSortBuilder holds IndexSegmentSort struct and provides a builder API.

func NewIndexSegmentSortBuilder ¶

func NewIndexSegmentSortBuilder() *IndexSegmentSortBuilder

NewIndexSegmentSort provides a builder for the IndexSegmentSort struct.

func (*IndexSegmentSortBuilder) Build ¶

Build finalize the chain and returns the IndexSegmentSort struct

func (*IndexSegmentSortBuilder) Field ¶

func (*IndexSegmentSortBuilder) Missing ¶

func (*IndexSegmentSortBuilder) Mode ¶

func (*IndexSegmentSortBuilder) Order ¶

type IndexSettingBlocks ¶

type IndexSettingBlocks struct {
	Metadata            *bool  `json:"metadata,omitempty"`
	Read                *bool  `json:"read,omitempty"`
	ReadOnly            *bool  `json:"read_only,omitempty"`
	ReadOnlyAllowDelete *bool  `json:"read_only_allow_delete,omitempty"`
	Write               string `json:"write,omitempty"`
}

IndexSettingBlocks type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L245-L251

type IndexSettingBlocksBuilder ¶

type IndexSettingBlocksBuilder struct {
	// contains filtered or unexported fields
}

IndexSettingBlocksBuilder holds IndexSettingBlocks struct and provides a builder API.

func NewIndexSettingBlocksBuilder ¶

func NewIndexSettingBlocksBuilder() *IndexSettingBlocksBuilder

NewIndexSettingBlocks provides a builder for the IndexSettingBlocks struct.

func (*IndexSettingBlocksBuilder) Build ¶

Build finalize the chain and returns the IndexSettingBlocks struct

func (*IndexSettingBlocksBuilder) Metadata ¶

func (*IndexSettingBlocksBuilder) Read ¶

func (*IndexSettingBlocksBuilder) ReadOnly ¶

func (*IndexSettingBlocksBuilder) ReadOnlyAllowDelete ¶

func (rb *IndexSettingBlocksBuilder) ReadOnlyAllowDelete(readonlyallowdelete bool) *IndexSettingBlocksBuilder

func (*IndexSettingBlocksBuilder) Write ¶

type IndexSettings ¶

type IndexSettings struct {
	Analysis *IndexSettingsAnalysis `json:"analysis,omitempty"`
	// Analyze Settings to define analyzers, tokenizers, token filters and character
	// filters.
	Analyze            *SettingsAnalyze                         `json:"analyze,omitempty"`
	AutoExpandReplicas *string                                  `json:"auto_expand_replicas,omitempty"`
	Blocks             *IndexSettingBlocks                      `json:"blocks,omitempty"`
	CheckOnStartup     *indexcheckonstartup.IndexCheckOnStartup `json:"check_on_startup,omitempty"`
	Codec              *string                                  `json:"codec,omitempty"`
	CreationDate       *StringifiedEpochTimeUnitMillis          `json:"creation_date,omitempty"`
	CreationDateString *DateTime                                `json:"creation_date_string,omitempty"`
	DefaultPipeline    *PipelineName                            `json:"default_pipeline,omitempty"`
	FinalPipeline      *PipelineName                            `json:"final_pipeline,omitempty"`
	Format             string                                   `json:"format,omitempty"`
	GcDeletes          *Duration                                `json:"gc_deletes,omitempty"`
	Hidden             string                                   `json:"hidden,omitempty"`
	Highlight          *SettingsHighlight                       `json:"highlight,omitempty"`
	Index              *IndexSettings                           `json:"index,omitempty"`
	IndexSettings      map[string]interface{}                   `json:"IndexSettings,omitempty"`
	// IndexingPressure Configure indexing back pressure limits.
	IndexingPressure              *IndexingPressure       `json:"indexing_pressure,omitempty"`
	IndexingSlowlog               *SlowlogSettings        `json:"indexing.slowlog,omitempty"`
	Lifecycle                     *IndexSettingsLifecycle `json:"lifecycle,omitempty"`
	LoadFixedBitsetFiltersEagerly *bool                   `json:"load_fixed_bitset_filters_eagerly,omitempty"`
	// Mapping Enable or disable dynamic mapping for an index.
	Mapping                 *MappingLimitSettings `json:"mapping,omitempty"`
	MaxDocvalueFieldsSearch *int                  `json:"max_docvalue_fields_search,omitempty"`
	MaxInnerResultWindow    *int                  `json:"max_inner_result_window,omitempty"`
	MaxNgramDiff            *int                  `json:"max_ngram_diff,omitempty"`
	MaxRefreshListeners     *int                  `json:"max_refresh_listeners,omitempty"`
	MaxRegexLength          *int                  `json:"max_regex_length,omitempty"`
	MaxRescoreWindow        *int                  `json:"max_rescore_window,omitempty"`
	MaxResultWindow         *int                  `json:"max_result_window,omitempty"`
	MaxScriptFields         *int                  `json:"max_script_fields,omitempty"`
	MaxShingleDiff          *int                  `json:"max_shingle_diff,omitempty"`
	MaxSlicesPerScroll      *int                  `json:"max_slices_per_scroll,omitempty"`
	MaxTermsCount           *int                  `json:"max_terms_count,omitempty"`
	Merge                   *Merge                `json:"merge,omitempty"`
	Mode                    *string               `json:"mode,omitempty"`
	NumberOfReplicas        string                `json:"number_of_replicas,omitempty"`
	NumberOfRoutingShards   *int                  `json:"number_of_routing_shards,omitempty"`
	NumberOfShards          string                `json:"number_of_shards,omitempty"`
	Priority                string                `json:"priority,omitempty"`
	ProvidedName            *Name                 `json:"provided_name,omitempty"`
	Queries                 *Queries              `json:"queries,omitempty"`
	QueryString             *SettingsQueryString  `json:"query_string,omitempty"`
	RefreshInterval         *Duration             `json:"refresh_interval,omitempty"`
	Routing                 *IndexRouting         `json:"routing,omitempty"`
	RoutingPartitionSize    *int                  `json:"routing_partition_size,omitempty"`
	RoutingPath             []string              `json:"routing_path,omitempty"`
	Search                  *SettingsSearch       `json:"search,omitempty"`
	Settings                *IndexSettings        `json:"settings,omitempty"`
	Shards                  *int                  `json:"shards,omitempty"`
	// Similarity Configure custom similarity settings to customize how search results are
	// scored.
	Similarity  *SettingsSimilarity `json:"similarity,omitempty"`
	SoftDeletes *SoftDeletes        `json:"soft_deletes,omitempty"`
	Sort        *IndexSegmentSort   `json:"sort,omitempty"`
	// Store The store module allows you to control how index data is stored and accessed
	// on disk.
	Store               *Storage                 `json:"store,omitempty"`
	TimeSeries          *IndexSettingsTimeSeries `json:"time_series,omitempty"`
	TopMetricsMaxSize   *int                     `json:"top_metrics_max_size,omitempty"`
	Translog            *Translog                `json:"translog,omitempty"`
	Uuid                *Uuid                    `json:"uuid,omitempty"`
	VerifiedBeforeClose string                   `json:"verified_before_close,omitempty"`
	Version             *IndexVersioning         `json:"version,omitempty"`
}

IndexSettings type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L69-L168

type IndexSettingsAnalysis ¶

type IndexSettingsAnalysis struct {
	Analyzer   map[string]Analyzer    `json:"analyzer,omitempty"`
	CharFilter map[string]CharFilter  `json:"char_filter,omitempty"`
	Filter     map[string]TokenFilter `json:"filter,omitempty"`
	Normalizer map[string]Normalizer  `json:"normalizer,omitempty"`
	Tokenizer  map[string]Tokenizer   `json:"tokenizer,omitempty"`
}

IndexSettingsAnalysis type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L310-L316

type IndexSettingsAnalysisBuilder ¶

type IndexSettingsAnalysisBuilder struct {
	// contains filtered or unexported fields
}

IndexSettingsAnalysisBuilder holds IndexSettingsAnalysis struct and provides a builder API.

func NewIndexSettingsAnalysisBuilder ¶

func NewIndexSettingsAnalysisBuilder() *IndexSettingsAnalysisBuilder

NewIndexSettingsAnalysis provides a builder for the IndexSettingsAnalysis struct.

func (*IndexSettingsAnalysisBuilder) Analyzer ¶

func (*IndexSettingsAnalysisBuilder) Build ¶

Build finalize the chain and returns the IndexSettingsAnalysis struct

func (*IndexSettingsAnalysisBuilder) CharFilter ¶

func (*IndexSettingsAnalysisBuilder) Filter ¶

func (*IndexSettingsAnalysisBuilder) Normalizer ¶

func (*IndexSettingsAnalysisBuilder) Tokenizer ¶

type IndexSettingsBuilder ¶

type IndexSettingsBuilder struct {
	// contains filtered or unexported fields
}

IndexSettingsBuilder holds IndexSettings struct and provides a builder API.

func NewIndexSettingsBuilder ¶

func NewIndexSettingsBuilder() *IndexSettingsBuilder

NewIndexSettings provides a builder for the IndexSettings struct.

func (*IndexSettingsBuilder) Analysis ¶

func (*IndexSettingsBuilder) Analyze ¶

func (*IndexSettingsBuilder) AutoExpandReplicas ¶

func (rb *IndexSettingsBuilder) AutoExpandReplicas(autoexpandreplicas string) *IndexSettingsBuilder

func (*IndexSettingsBuilder) Blocks ¶

func (*IndexSettingsBuilder) Build ¶

func (rb *IndexSettingsBuilder) Build() IndexSettings

Build finalize the chain and returns the IndexSettings struct

func (*IndexSettingsBuilder) CheckOnStartup ¶

func (*IndexSettingsBuilder) Codec ¶

func (*IndexSettingsBuilder) CreationDate ¶

func (*IndexSettingsBuilder) CreationDateString ¶

func (rb *IndexSettingsBuilder) CreationDateString(creationdatestring *DateTimeBuilder) *IndexSettingsBuilder

func (*IndexSettingsBuilder) DefaultPipeline ¶

func (rb *IndexSettingsBuilder) DefaultPipeline(defaultpipeline PipelineName) *IndexSettingsBuilder

func (*IndexSettingsBuilder) FinalPipeline ¶

func (rb *IndexSettingsBuilder) FinalPipeline(finalpipeline PipelineName) *IndexSettingsBuilder

func (*IndexSettingsBuilder) Format ¶

func (*IndexSettingsBuilder) GcDeletes ¶

func (rb *IndexSettingsBuilder) GcDeletes(gcdeletes *DurationBuilder) *IndexSettingsBuilder

func (*IndexSettingsBuilder) Hidden ¶

func (*IndexSettingsBuilder) Highlight ¶

func (*IndexSettingsBuilder) Index ¶

func (*IndexSettingsBuilder) IndexSettings ¶

func (rb *IndexSettingsBuilder) IndexSettings(value map[string]interface{}) *IndexSettingsBuilder

func (*IndexSettingsBuilder) IndexingPressure ¶

func (rb *IndexSettingsBuilder) IndexingPressure(indexingpressure *IndexingPressureBuilder) *IndexSettingsBuilder

func (*IndexSettingsBuilder) IndexingSlowlog ¶

func (rb *IndexSettingsBuilder) IndexingSlowlog(indexingslowlog *SlowlogSettingsBuilder) *IndexSettingsBuilder

func (*IndexSettingsBuilder) Lifecycle ¶

func (*IndexSettingsBuilder) LoadFixedBitsetFiltersEagerly ¶

func (rb *IndexSettingsBuilder) LoadFixedBitsetFiltersEagerly(loadfixedbitsetfilterseagerly bool) *IndexSettingsBuilder

func (*IndexSettingsBuilder) Mapping ¶

func (*IndexSettingsBuilder) MaxDocvalueFieldsSearch ¶

func (rb *IndexSettingsBuilder) MaxDocvalueFieldsSearch(maxdocvaluefieldssearch int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) MaxInnerResultWindow ¶

func (rb *IndexSettingsBuilder) MaxInnerResultWindow(maxinnerresultwindow int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) MaxNgramDiff ¶

func (rb *IndexSettingsBuilder) MaxNgramDiff(maxngramdiff int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) MaxRefreshListeners ¶

func (rb *IndexSettingsBuilder) MaxRefreshListeners(maxrefreshlisteners int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) MaxRegexLength ¶

func (rb *IndexSettingsBuilder) MaxRegexLength(maxregexlength int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) MaxRescoreWindow ¶

func (rb *IndexSettingsBuilder) MaxRescoreWindow(maxrescorewindow int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) MaxResultWindow ¶

func (rb *IndexSettingsBuilder) MaxResultWindow(maxresultwindow int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) MaxScriptFields ¶

func (rb *IndexSettingsBuilder) MaxScriptFields(maxscriptfields int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) MaxShingleDiff ¶

func (rb *IndexSettingsBuilder) MaxShingleDiff(maxshinglediff int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) MaxSlicesPerScroll ¶

func (rb *IndexSettingsBuilder) MaxSlicesPerScroll(maxslicesperscroll int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) MaxTermsCount ¶

func (rb *IndexSettingsBuilder) MaxTermsCount(maxtermscount int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) Merge ¶

func (*IndexSettingsBuilder) Mode ¶

func (*IndexSettingsBuilder) NumberOfReplicas ¶

func (rb *IndexSettingsBuilder) NumberOfReplicas(arg string) *IndexSettingsBuilder

func (*IndexSettingsBuilder) NumberOfRoutingShards ¶

func (rb *IndexSettingsBuilder) NumberOfRoutingShards(numberofroutingshards int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) NumberOfShards ¶

func (rb *IndexSettingsBuilder) NumberOfShards(arg string) *IndexSettingsBuilder

func (*IndexSettingsBuilder) Priority ¶

func (*IndexSettingsBuilder) ProvidedName ¶

func (rb *IndexSettingsBuilder) ProvidedName(providedname Name) *IndexSettingsBuilder

func (*IndexSettingsBuilder) Queries ¶

func (*IndexSettingsBuilder) QueryString ¶

func (*IndexSettingsBuilder) RefreshInterval ¶

func (rb *IndexSettingsBuilder) RefreshInterval(refreshinterval *DurationBuilder) *IndexSettingsBuilder

func (*IndexSettingsBuilder) Routing ¶

func (*IndexSettingsBuilder) RoutingPartitionSize ¶

func (rb *IndexSettingsBuilder) RoutingPartitionSize(routingpartitionsize int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) RoutingPath ¶

func (rb *IndexSettingsBuilder) RoutingPath(arg []string) *IndexSettingsBuilder

func (*IndexSettingsBuilder) Search ¶

func (*IndexSettingsBuilder) Settings ¶

func (*IndexSettingsBuilder) Shards ¶

func (rb *IndexSettingsBuilder) Shards(shards int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) Similarity ¶

func (*IndexSettingsBuilder) SoftDeletes ¶

func (rb *IndexSettingsBuilder) SoftDeletes(softdeletes *SoftDeletesBuilder) *IndexSettingsBuilder

func (*IndexSettingsBuilder) Sort ¶

func (*IndexSettingsBuilder) Store ¶

func (*IndexSettingsBuilder) TimeSeries ¶

func (*IndexSettingsBuilder) TopMetricsMaxSize ¶

func (rb *IndexSettingsBuilder) TopMetricsMaxSize(topmetricsmaxsize int) *IndexSettingsBuilder

func (*IndexSettingsBuilder) Translog ¶

func (*IndexSettingsBuilder) Uuid ¶

func (*IndexSettingsBuilder) VerifiedBeforeClose ¶

func (rb *IndexSettingsBuilder) VerifiedBeforeClose(arg string) *IndexSettingsBuilder

func (*IndexSettingsBuilder) Version ¶

type IndexSettingsLifecycle ¶

type IndexSettingsLifecycle struct {
	// IndexingComplete Indicates whether or not the index has been rolled over. Automatically set to
	// true when ILM completes the rollover action.
	// You can explicitly set it to skip rollover.
	IndexingComplete *bool `json:"indexing_complete,omitempty"`
	// Name The name of the policy to use to manage the index. For information about how
	// Elasticsearch applies policy changes, see Policy updates.
	Name Name `json:"name"`
	// OriginationDate If specified, this is the timestamp used to calculate the index age for its
	// phase transitions. Use this setting
	// if you create a new index that contains old data and want to use the original
	// creation date to calculate the index
	// age. Specified as a Unix epoch value in milliseconds.
	OriginationDate *int64 `json:"origination_date,omitempty"`
	// ParseOriginationDate Set to true to parse the origination date from the index name. This
	// origination date is used to calculate the index age
	// for its phase transitions. The index name must match the pattern
	// ^.*-{date_format}-\\d+, where the date_format is
	// yyyy.MM.dd and the trailing digits are optional. An index that was rolled
	// over would normally match the full format,
	// for example logs-2016.10.31-000002). If the index name doesn’t match the
	// pattern, index creation fails.
	ParseOriginationDate *bool `json:"parse_origination_date,omitempty"`
	// RolloverAlias The index alias to update when the index rolls over. Specify when using a
	// policy that contains a rollover action.
	// When the index rolls over, the alias is updated to reflect that the index is
	// no longer the write index. For more
	// information about rolling indices, see Rollover.
	RolloverAlias *string                     `json:"rollover_alias,omitempty"`
	Step          *IndexSettingsLifecycleStep `json:"step,omitempty"`
}

IndexSettingsLifecycle type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L267-L300

type IndexSettingsLifecycleBuilder ¶

type IndexSettingsLifecycleBuilder struct {
	// contains filtered or unexported fields
}

IndexSettingsLifecycleBuilder holds IndexSettingsLifecycle struct and provides a builder API.

func NewIndexSettingsLifecycleBuilder ¶

func NewIndexSettingsLifecycleBuilder() *IndexSettingsLifecycleBuilder

NewIndexSettingsLifecycle provides a builder for the IndexSettingsLifecycle struct.

func (*IndexSettingsLifecycleBuilder) Build ¶

Build finalize the chain and returns the IndexSettingsLifecycle struct

func (*IndexSettingsLifecycleBuilder) IndexingComplete ¶

func (rb *IndexSettingsLifecycleBuilder) IndexingComplete(indexingcomplete bool) *IndexSettingsLifecycleBuilder

func (*IndexSettingsLifecycleBuilder) Name ¶

func (*IndexSettingsLifecycleBuilder) OriginationDate ¶

func (rb *IndexSettingsLifecycleBuilder) OriginationDate(originationdate int64) *IndexSettingsLifecycleBuilder

func (*IndexSettingsLifecycleBuilder) ParseOriginationDate ¶

func (rb *IndexSettingsLifecycleBuilder) ParseOriginationDate(parseoriginationdate bool) *IndexSettingsLifecycleBuilder

func (*IndexSettingsLifecycleBuilder) RolloverAlias ¶

func (rb *IndexSettingsLifecycleBuilder) RolloverAlias(rolloveralias string) *IndexSettingsLifecycleBuilder

func (*IndexSettingsLifecycleBuilder) Step ¶

type IndexSettingsLifecycleStep ¶

type IndexSettingsLifecycleStep struct {
	// WaitTimeThreshold Time to wait for the cluster to resolve allocation issues during an ILM
	// shrink action. Must be greater than 1h (1 hour).
	// See Shard allocation for shrink.
	WaitTimeThreshold *Duration `json:"wait_time_threshold,omitempty"`
}

IndexSettingsLifecycleStep type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L302-L308

type IndexSettingsLifecycleStepBuilder ¶

type IndexSettingsLifecycleStepBuilder struct {
	// contains filtered or unexported fields
}

IndexSettingsLifecycleStepBuilder holds IndexSettingsLifecycleStep struct and provides a builder API.

func NewIndexSettingsLifecycleStepBuilder ¶

func NewIndexSettingsLifecycleStepBuilder() *IndexSettingsLifecycleStepBuilder

NewIndexSettingsLifecycleStep provides a builder for the IndexSettingsLifecycleStep struct.

func (*IndexSettingsLifecycleStepBuilder) Build ¶

Build finalize the chain and returns the IndexSettingsLifecycleStep struct

func (*IndexSettingsLifecycleStepBuilder) WaitTimeThreshold ¶

func (rb *IndexSettingsLifecycleStepBuilder) WaitTimeThreshold(waittimethreshold *DurationBuilder) *IndexSettingsLifecycleStepBuilder

type IndexSettingsTimeSeries ¶

type IndexSettingsTimeSeries struct {
	EndTime   *DateTime `json:"end_time,omitempty"`
	StartTime *DateTime `json:"start_time,omitempty"`
}

IndexSettingsTimeSeries type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L318-L321

type IndexSettingsTimeSeriesBuilder ¶

type IndexSettingsTimeSeriesBuilder struct {
	// contains filtered or unexported fields
}

IndexSettingsTimeSeriesBuilder holds IndexSettingsTimeSeries struct and provides a builder API.

func NewIndexSettingsTimeSeriesBuilder ¶

func NewIndexSettingsTimeSeriesBuilder() *IndexSettingsTimeSeriesBuilder

NewIndexSettingsTimeSeries provides a builder for the IndexSettingsTimeSeries struct.

func (*IndexSettingsTimeSeriesBuilder) Build ¶

Build finalize the chain and returns the IndexSettingsTimeSeries struct

func (*IndexSettingsTimeSeriesBuilder) EndTime ¶

func (*IndexSettingsTimeSeriesBuilder) StartTime ¶

type IndexState ¶

type IndexState struct {
	Aliases    map[IndexName]Alias `json:"aliases,omitempty"`
	DataStream *DataStreamName     `json:"data_stream,omitempty"`
	// Defaults Default settings, included when the request's `include_default` is `true`.
	Defaults *IndexSettings `json:"defaults,omitempty"`
	Mappings *TypeMapping   `json:"mappings,omitempty"`
	Settings *IndexSettings `json:"settings,omitempty"`
}

IndexState type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexState.ts#L26-L33

type IndexStateBuilder ¶

type IndexStateBuilder struct {
	// contains filtered or unexported fields
}

IndexStateBuilder holds IndexState struct and provides a builder API.

func NewIndexStateBuilder ¶

func NewIndexStateBuilder() *IndexStateBuilder

NewIndexState provides a builder for the IndexState struct.

func (*IndexStateBuilder) Aliases ¶

func (rb *IndexStateBuilder) Aliases(values map[IndexName]*AliasBuilder) *IndexStateBuilder

func (*IndexStateBuilder) Build ¶

func (rb *IndexStateBuilder) Build() IndexState

Build finalize the chain and returns the IndexState struct

func (*IndexStateBuilder) DataStream ¶

func (rb *IndexStateBuilder) DataStream(datastream DataStreamName) *IndexStateBuilder

func (*IndexStateBuilder) Defaults ¶

func (rb *IndexStateBuilder) Defaults(defaults *IndexSettingsBuilder) *IndexStateBuilder

func (*IndexStateBuilder) Mappings ¶

func (rb *IndexStateBuilder) Mappings(mappings *TypeMappingBuilder) *IndexStateBuilder

func (*IndexStateBuilder) Settings ¶

func (rb *IndexStateBuilder) Settings(settings *IndexSettingsBuilder) *IndexStateBuilder

type IndexStats ¶

type IndexStats struct {
	Bulk *BulkStats `json:"bulk,omitempty"`
	// Completion Contains statistics about completions across all shards assigned to the node.
	Completion *CompletionStats `json:"completion,omitempty"`
	// Docs Contains statistics about documents across all primary shards assigned to the
	// node.
	Docs *DocStats `json:"docs,omitempty"`
	// Fielddata Contains statistics about the field data cache across all shards assigned to
	// the node.
	Fielddata *FielddataStats `json:"fielddata,omitempty"`
	// Flush Contains statistics about flush operations for the node.
	Flush *FlushStats `json:"flush,omitempty"`
	// Get Contains statistics about get operations for the node.
	Get *GetStats `json:"get,omitempty"`
	// Indexing Contains statistics about indexing operations for the node.
	Indexing *IndexingStats `json:"indexing,omitempty"`
	// Indices Contains statistics about indices operations for the node.
	Indices *IndicesStats `json:"indices,omitempty"`
	// Merges Contains statistics about merge operations for the node.
	Merges *MergesStats `json:"merges,omitempty"`
	// QueryCache Contains statistics about the query cache across all shards assigned to the
	// node.
	QueryCache *QueryCacheStats `json:"query_cache,omitempty"`
	// Recovery Contains statistics about recovery operations for the node.
	Recovery *RecoveryStats `json:"recovery,omitempty"`
	// Refresh Contains statistics about refresh operations for the node.
	Refresh *RefreshStats `json:"refresh,omitempty"`
	// RequestCache Contains statistics about the request cache across all shards assigned to the
	// node.
	RequestCache *RequestCacheStats `json:"request_cache,omitempty"`
	// Search Contains statistics about search operations for the node.
	Search *SearchStats `json:"search,omitempty"`
	// Segments Contains statistics about segments across all shards assigned to the node.
	Segments   *SegmentsStats    `json:"segments,omitempty"`
	ShardStats *ShardsTotalStats `json:"shard_stats,omitempty"`
	// Store Contains statistics about the size of shards assigned to the node.
	Store *StoreStats `json:"store,omitempty"`
	// Translog Contains statistics about transaction log operations for the node.
	Translog *TranslogStats `json:"translog,omitempty"`
	// Warmer Contains statistics about index warming operations for the node.
	Warmer *WarmerStats `json:"warmer,omitempty"`
}

IndexStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L49-L87

type IndexStatsBuilder ¶

type IndexStatsBuilder struct {
	// contains filtered or unexported fields
}

IndexStatsBuilder holds IndexStats struct and provides a builder API.

func NewIndexStatsBuilder ¶

func NewIndexStatsBuilder() *IndexStatsBuilder

NewIndexStats provides a builder for the IndexStats struct.

func (*IndexStatsBuilder) Build ¶

func (rb *IndexStatsBuilder) Build() IndexStats

Build finalize the chain and returns the IndexStats struct

func (*IndexStatsBuilder) Bulk ¶

func (*IndexStatsBuilder) Completion ¶

func (rb *IndexStatsBuilder) Completion(completion *CompletionStatsBuilder) *IndexStatsBuilder

func (*IndexStatsBuilder) Docs ¶

func (*IndexStatsBuilder) Fielddata ¶

func (rb *IndexStatsBuilder) Fielddata(fielddata *FielddataStatsBuilder) *IndexStatsBuilder

func (*IndexStatsBuilder) Flush ¶

func (*IndexStatsBuilder) Get ¶

func (*IndexStatsBuilder) Indexing ¶

func (rb *IndexStatsBuilder) Indexing(indexing *IndexingStatsBuilder) *IndexStatsBuilder

func (*IndexStatsBuilder) Indices ¶

func (*IndexStatsBuilder) Merges ¶

func (*IndexStatsBuilder) QueryCache ¶

func (rb *IndexStatsBuilder) QueryCache(querycache *QueryCacheStatsBuilder) *IndexStatsBuilder

func (*IndexStatsBuilder) Recovery ¶

func (rb *IndexStatsBuilder) Recovery(recovery *RecoveryStatsBuilder) *IndexStatsBuilder

func (*IndexStatsBuilder) Refresh ¶

func (*IndexStatsBuilder) RequestCache ¶

func (rb *IndexStatsBuilder) RequestCache(requestcache *RequestCacheStatsBuilder) *IndexStatsBuilder

func (*IndexStatsBuilder) Search ¶

func (*IndexStatsBuilder) Segments ¶

func (rb *IndexStatsBuilder) Segments(segments *SegmentsStatsBuilder) *IndexStatsBuilder

func (*IndexStatsBuilder) ShardStats ¶

func (rb *IndexStatsBuilder) ShardStats(shardstats *ShardsTotalStatsBuilder) *IndexStatsBuilder

func (*IndexStatsBuilder) Store ¶

func (*IndexStatsBuilder) Translog ¶

func (rb *IndexStatsBuilder) Translog(translog *TranslogStatsBuilder) *IndexStatsBuilder

func (*IndexStatsBuilder) Warmer ¶

type IndexTemplate ¶

type IndexTemplate struct {
	AllowAutoCreate *bool                                 `json:"allow_auto_create,omitempty"`
	ComposedOf      []Name                                `json:"composed_of"`
	DataStream      *IndexTemplateDataStreamConfiguration `json:"data_stream,omitempty"`
	IndexPatterns   Names                                 `json:"index_patterns"`
	Meta_           *Metadata                             `json:"_meta,omitempty"`
	Priority        *int64                                `json:"priority,omitempty"`
	Template        *IndexTemplateSummary                 `json:"template,omitempty"`
	Version         *VersionNumber                        `json:"version,omitempty"`
}

IndexTemplate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexTemplate.ts#L27-L37

type IndexTemplateBuilder ¶

type IndexTemplateBuilder struct {
	// contains filtered or unexported fields
}

IndexTemplateBuilder holds IndexTemplate struct and provides a builder API.

func NewIndexTemplateBuilder ¶

func NewIndexTemplateBuilder() *IndexTemplateBuilder

NewIndexTemplate provides a builder for the IndexTemplate struct.

func (*IndexTemplateBuilder) AllowAutoCreate ¶

func (rb *IndexTemplateBuilder) AllowAutoCreate(allowautocreate bool) *IndexTemplateBuilder

func (*IndexTemplateBuilder) Build ¶

func (rb *IndexTemplateBuilder) Build() IndexTemplate

Build finalize the chain and returns the IndexTemplate struct

func (*IndexTemplateBuilder) ComposedOf ¶

func (rb *IndexTemplateBuilder) ComposedOf(composed_of ...Name) *IndexTemplateBuilder

func (*IndexTemplateBuilder) DataStream ¶

func (*IndexTemplateBuilder) IndexPatterns ¶

func (rb *IndexTemplateBuilder) IndexPatterns(indexpatterns *NamesBuilder) *IndexTemplateBuilder

func (*IndexTemplateBuilder) Meta_ ¶

func (*IndexTemplateBuilder) Priority ¶

func (rb *IndexTemplateBuilder) Priority(priority int64) *IndexTemplateBuilder

func (*IndexTemplateBuilder) Template ¶

func (*IndexTemplateBuilder) Version ¶

type IndexTemplateDataStreamConfiguration ¶

type IndexTemplateDataStreamConfiguration struct {
	// AllowCustomRouting If true, the data stream supports custom routing.
	AllowCustomRouting *bool `json:"allow_custom_routing,omitempty"`
	// Hidden If true, the data stream is hidden.
	Hidden *bool `json:"hidden,omitempty"`
}

IndexTemplateDataStreamConfiguration type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexTemplate.ts#L39-L50

type IndexTemplateDataStreamConfigurationBuilder ¶

type IndexTemplateDataStreamConfigurationBuilder struct {
	// contains filtered or unexported fields
}

IndexTemplateDataStreamConfigurationBuilder holds IndexTemplateDataStreamConfiguration struct and provides a builder API.

func NewIndexTemplateDataStreamConfigurationBuilder ¶

func NewIndexTemplateDataStreamConfigurationBuilder() *IndexTemplateDataStreamConfigurationBuilder

NewIndexTemplateDataStreamConfiguration provides a builder for the IndexTemplateDataStreamConfiguration struct.

func (*IndexTemplateDataStreamConfigurationBuilder) AllowCustomRouting ¶

func (*IndexTemplateDataStreamConfigurationBuilder) Build ¶

Build finalize the chain and returns the IndexTemplateDataStreamConfiguration struct

func (*IndexTemplateDataStreamConfigurationBuilder) Hidden ¶

type IndexTemplateItemBuilder ¶

type IndexTemplateItemBuilder struct {
	// contains filtered or unexported fields
}

IndexTemplateItemBuilder holds IndexTemplateItem struct and provides a builder API.

func NewIndexTemplateItemBuilder ¶

func NewIndexTemplateItemBuilder() *IndexTemplateItemBuilder

NewIndexTemplateItem provides a builder for the IndexTemplateItem struct.

func (*IndexTemplateItemBuilder) Build ¶

Build finalize the chain and returns the IndexTemplateItem struct

func (*IndexTemplateItemBuilder) IndexTemplate ¶

func (rb *IndexTemplateItemBuilder) IndexTemplate(indextemplate *IndexTemplateBuilder) *IndexTemplateItemBuilder

func (*IndexTemplateItemBuilder) Name ¶

type IndexTemplateMapping ¶

type IndexTemplateMapping struct {
	Aliases  map[IndexName]Alias `json:"aliases,omitempty"`
	Mappings *TypeMapping        `json:"mappings,omitempty"`
	Settings *IndexSettings      `json:"settings,omitempty"`
}

IndexTemplateMapping type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/put_index_template/IndicesPutIndexTemplateRequest.ts#L60-L64

type IndexTemplateMappingBuilder ¶

type IndexTemplateMappingBuilder struct {
	// contains filtered or unexported fields
}

IndexTemplateMappingBuilder holds IndexTemplateMapping struct and provides a builder API.

func NewIndexTemplateMappingBuilder ¶

func NewIndexTemplateMappingBuilder() *IndexTemplateMappingBuilder

NewIndexTemplateMapping provides a builder for the IndexTemplateMapping struct.

func (*IndexTemplateMappingBuilder) Aliases ¶

func (*IndexTemplateMappingBuilder) Build ¶

Build finalize the chain and returns the IndexTemplateMapping struct

func (*IndexTemplateMappingBuilder) Mappings ¶

func (*IndexTemplateMappingBuilder) Settings ¶

type IndexTemplateSummary ¶

type IndexTemplateSummary struct {
	Aliases  map[IndexName]Alias `json:"aliases,omitempty"`
	Mappings *TypeMapping        `json:"mappings,omitempty"`
	Settings *IndexSettings      `json:"settings,omitempty"`
}

IndexTemplateSummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexTemplate.ts#L52-L56

type IndexTemplateSummaryBuilder ¶

type IndexTemplateSummaryBuilder struct {
	// contains filtered or unexported fields
}

IndexTemplateSummaryBuilder holds IndexTemplateSummary struct and provides a builder API.

func NewIndexTemplateSummaryBuilder ¶

func NewIndexTemplateSummaryBuilder() *IndexTemplateSummaryBuilder

NewIndexTemplateSummary provides a builder for the IndexTemplateSummary struct.

func (*IndexTemplateSummaryBuilder) Aliases ¶

func (*IndexTemplateSummaryBuilder) Build ¶

Build finalize the chain and returns the IndexTemplateSummary struct

func (*IndexTemplateSummaryBuilder) Mappings ¶

func (*IndexTemplateSummaryBuilder) Settings ¶

type IndexVersioning ¶

type IndexVersioning struct {
	Created       VersionString  `json:"created"`
	CreatedString *VersionString `json:"created_string,omitempty"`
}

IndexVersioning type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L262-L265

type IndexVersioningBuilder ¶

type IndexVersioningBuilder struct {
	// contains filtered or unexported fields
}

IndexVersioningBuilder holds IndexVersioning struct and provides a builder API.

func NewIndexVersioningBuilder ¶

func NewIndexVersioningBuilder() *IndexVersioningBuilder

NewIndexVersioning provides a builder for the IndexVersioning struct.

func (*IndexVersioningBuilder) Build ¶

Build finalize the chain and returns the IndexVersioning struct

func (*IndexVersioningBuilder) Created ¶

func (*IndexVersioningBuilder) CreatedString ¶

func (rb *IndexVersioningBuilder) CreatedString(createdstring VersionString) *IndexVersioningBuilder

type IndexingPressureBuilder ¶

type IndexingPressureBuilder struct {
	// contains filtered or unexported fields
}

IndexingPressureBuilder holds IndexingPressure struct and provides a builder API.

func NewIndexingPressureBuilder ¶

func NewIndexingPressureBuilder() *IndexingPressureBuilder

NewIndexingPressure provides a builder for the IndexingPressure struct.

func (*IndexingPressureBuilder) Build ¶

Build finalize the chain and returns the IndexingPressure struct

func (*IndexingPressureBuilder) Memory ¶

type IndexingPressureMemory ¶

type IndexingPressureMemory struct {
	Current      *PressureMemory `json:"current,omitempty"`
	LimitInBytes *int64          `json:"limit_in_bytes,omitempty"`
	Total        *PressureMemory `json:"total,omitempty"`
}

IndexingPressureMemory type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L59-L63

type IndexingPressureMemoryBuilder ¶

type IndexingPressureMemoryBuilder struct {
	// contains filtered or unexported fields
}

IndexingPressureMemoryBuilder holds IndexingPressureMemory struct and provides a builder API.

func NewIndexingPressureMemoryBuilder ¶

func NewIndexingPressureMemoryBuilder() *IndexingPressureMemoryBuilder

NewIndexingPressureMemory provides a builder for the IndexingPressureMemory struct.

func (*IndexingPressureMemoryBuilder) Build ¶

Build finalize the chain and returns the IndexingPressureMemory struct

func (*IndexingPressureMemoryBuilder) Current ¶

func (*IndexingPressureMemoryBuilder) LimitInBytes ¶

func (rb *IndexingPressureMemoryBuilder) LimitInBytes(limitinbytes int64) *IndexingPressureMemoryBuilder

func (*IndexingPressureMemoryBuilder) Total ¶

type IndexingPressureMemorySummary ¶

type IndexingPressureMemorySummary struct {
	AllInBytes                            int64  `json:"all_in_bytes"`
	CombinedCoordinatingAndPrimaryInBytes int64  `json:"combined_coordinating_and_primary_in_bytes"`
	CoordinatingInBytes                   int64  `json:"coordinating_in_bytes"`
	CoordinatingRejections                *int64 `json:"coordinating_rejections,omitempty"`
	PrimaryInBytes                        int64  `json:"primary_in_bytes"`
	PrimaryRejections                     *int64 `json:"primary_rejections,omitempty"`
	ReplicaInBytes                        int64  `json:"replica_in_bytes"`
	ReplicaRejections                     *int64 `json:"replica_rejections,omitempty"`
}

IndexingPressureMemorySummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L302-L311

type IndexingPressureMemorySummaryBuilder ¶

type IndexingPressureMemorySummaryBuilder struct {
	// contains filtered or unexported fields
}

IndexingPressureMemorySummaryBuilder holds IndexingPressureMemorySummary struct and provides a builder API.

func NewIndexingPressureMemorySummaryBuilder ¶

func NewIndexingPressureMemorySummaryBuilder() *IndexingPressureMemorySummaryBuilder

NewIndexingPressureMemorySummary provides a builder for the IndexingPressureMemorySummary struct.

func (*IndexingPressureMemorySummaryBuilder) AllInBytes ¶

func (*IndexingPressureMemorySummaryBuilder) Build ¶

Build finalize the chain and returns the IndexingPressureMemorySummary struct

func (*IndexingPressureMemorySummaryBuilder) CombinedCoordinatingAndPrimaryInBytes ¶

func (rb *IndexingPressureMemorySummaryBuilder) CombinedCoordinatingAndPrimaryInBytes(combinedcoordinatingandprimaryinbytes int64) *IndexingPressureMemorySummaryBuilder

func (*IndexingPressureMemorySummaryBuilder) CoordinatingInBytes ¶

func (rb *IndexingPressureMemorySummaryBuilder) CoordinatingInBytes(coordinatinginbytes int64) *IndexingPressureMemorySummaryBuilder

func (*IndexingPressureMemorySummaryBuilder) CoordinatingRejections ¶

func (rb *IndexingPressureMemorySummaryBuilder) CoordinatingRejections(coordinatingrejections int64) *IndexingPressureMemorySummaryBuilder

func (*IndexingPressureMemorySummaryBuilder) PrimaryInBytes ¶

func (*IndexingPressureMemorySummaryBuilder) PrimaryRejections ¶

func (rb *IndexingPressureMemorySummaryBuilder) PrimaryRejections(primaryrejections int64) *IndexingPressureMemorySummaryBuilder

func (*IndexingPressureMemorySummaryBuilder) ReplicaInBytes ¶

func (*IndexingPressureMemorySummaryBuilder) ReplicaRejections ¶

func (rb *IndexingPressureMemorySummaryBuilder) ReplicaRejections(replicarejections int64) *IndexingPressureMemorySummaryBuilder

type IndexingStats ¶

type IndexingStats struct {
	DeleteCurrent        int64                    `json:"delete_current"`
	DeleteTime           *Duration                `json:"delete_time,omitempty"`
	DeleteTimeInMillis   DurationValueUnitMillis  `json:"delete_time_in_millis"`
	DeleteTotal          int64                    `json:"delete_total"`
	IndexCurrent         int64                    `json:"index_current"`
	IndexFailed          int64                    `json:"index_failed"`
	IndexTime            *Duration                `json:"index_time,omitempty"`
	IndexTimeInMillis    DurationValueUnitMillis  `json:"index_time_in_millis"`
	IndexTotal           int64                    `json:"index_total"`
	IsThrottled          bool                     `json:"is_throttled"`
	NoopUpdateTotal      int64                    `json:"noop_update_total"`
	ThrottleTime         *Duration                `json:"throttle_time,omitempty"`
	ThrottleTimeInMillis DurationValueUnitMillis  `json:"throttle_time_in_millis"`
	Types                map[string]IndexingStats `json:"types,omitempty"`
}

IndexingStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L101-L116

type IndexingStatsBuilder ¶

type IndexingStatsBuilder struct {
	// contains filtered or unexported fields
}

IndexingStatsBuilder holds IndexingStats struct and provides a builder API.

func NewIndexingStatsBuilder ¶

func NewIndexingStatsBuilder() *IndexingStatsBuilder

NewIndexingStats provides a builder for the IndexingStats struct.

func (*IndexingStatsBuilder) Build ¶

func (rb *IndexingStatsBuilder) Build() IndexingStats

Build finalize the chain and returns the IndexingStats struct

func (*IndexingStatsBuilder) DeleteCurrent ¶

func (rb *IndexingStatsBuilder) DeleteCurrent(deletecurrent int64) *IndexingStatsBuilder

func (*IndexingStatsBuilder) DeleteTime ¶

func (rb *IndexingStatsBuilder) DeleteTime(deletetime *DurationBuilder) *IndexingStatsBuilder

func (*IndexingStatsBuilder) DeleteTimeInMillis ¶

func (rb *IndexingStatsBuilder) DeleteTimeInMillis(deletetimeinmillis *DurationValueUnitMillisBuilder) *IndexingStatsBuilder

func (*IndexingStatsBuilder) DeleteTotal ¶

func (rb *IndexingStatsBuilder) DeleteTotal(deletetotal int64) *IndexingStatsBuilder

func (*IndexingStatsBuilder) IndexCurrent ¶

func (rb *IndexingStatsBuilder) IndexCurrent(indexcurrent int64) *IndexingStatsBuilder

func (*IndexingStatsBuilder) IndexFailed ¶

func (rb *IndexingStatsBuilder) IndexFailed(indexfailed int64) *IndexingStatsBuilder

func (*IndexingStatsBuilder) IndexTime ¶

func (rb *IndexingStatsBuilder) IndexTime(indextime *DurationBuilder) *IndexingStatsBuilder

func (*IndexingStatsBuilder) IndexTimeInMillis ¶

func (rb *IndexingStatsBuilder) IndexTimeInMillis(indextimeinmillis *DurationValueUnitMillisBuilder) *IndexingStatsBuilder

func (*IndexingStatsBuilder) IndexTotal ¶

func (rb *IndexingStatsBuilder) IndexTotal(indextotal int64) *IndexingStatsBuilder

func (*IndexingStatsBuilder) IsThrottled ¶

func (rb *IndexingStatsBuilder) IsThrottled(isthrottled bool) *IndexingStatsBuilder

func (*IndexingStatsBuilder) NoopUpdateTotal ¶

func (rb *IndexingStatsBuilder) NoopUpdateTotal(noopupdatetotal int64) *IndexingStatsBuilder

func (*IndexingStatsBuilder) ThrottleTime ¶

func (rb *IndexingStatsBuilder) ThrottleTime(throttletime *DurationBuilder) *IndexingStatsBuilder

func (*IndexingStatsBuilder) ThrottleTimeInMillis ¶

func (rb *IndexingStatsBuilder) ThrottleTimeInMillis(throttletimeinmillis *DurationValueUnitMillisBuilder) *IndexingStatsBuilder

func (*IndexingStatsBuilder) Types ¶

type IndicesBlockStatusBuilder ¶

type IndicesBlockStatusBuilder struct {
	// contains filtered or unexported fields
}

IndicesBlockStatusBuilder holds IndicesBlockStatus struct and provides a builder API.

func NewIndicesBlockStatusBuilder ¶

func NewIndicesBlockStatusBuilder() *IndicesBlockStatusBuilder

NewIndicesBlockStatus provides a builder for the IndicesBlockStatus struct.

func (*IndicesBlockStatusBuilder) Blocked ¶

func (*IndicesBlockStatusBuilder) Build ¶

Build finalize the chain and returns the IndicesBlockStatus struct

func (*IndicesBlockStatusBuilder) Name ¶

type IndicesBuilder ¶

type IndicesBuilder struct {
	// contains filtered or unexported fields
}

IndicesBuilder holds Indices struct and provides a builder API.

func NewIndicesBuilder ¶

func NewIndicesBuilder() *IndicesBuilder

NewIndices provides a builder for the Indices struct.

func (*IndicesBuilder) Build ¶

func (b *IndicesBuilder) Build() Indices

Build finalize the chain and returns the Indices struct

func (*IndicesBuilder) Indices ¶

func (b *IndicesBuilder) Indices(value Indices) *IndicesBuilder

type IndicesOptions ¶

type IndicesOptions struct {
	// AllowNoIndices If false, the request returns an error if any wildcard expression, index
	// alias, or `_all` value targets only
	// missing or closed indices. This behavior applies even if the request targets
	// other open indices. For example,
	// a request targeting `foo*,bar*` returns an error if an index starts with
	// `foo` but no index starts with `bar`.
	AllowNoIndices *bool `json:"allow_no_indices,omitempty"`
	// ExpandWildcards Type of index that wildcard patterns can match. If the request can target
	// data streams, this argument
	// determines whether wildcard expressions match hidden data streams. Supports
	// comma-separated values,
	// such as `open,hidden`.
	ExpandWildcards *ExpandWildcards `json:"expand_wildcards,omitempty"`
	// IgnoreThrottled If true, concrete, expanded or aliased indices are ignored when frozen.
	IgnoreThrottled *bool `json:"ignore_throttled,omitempty"`
	// IgnoreUnavailable If true, missing or closed indices are not included in the response.
	IgnoreUnavailable *bool `json:"ignore_unavailable,omitempty"`
}

IndicesOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L290-L317

type IndicesOptionsBuilder ¶

type IndicesOptionsBuilder struct {
	// contains filtered or unexported fields
}

IndicesOptionsBuilder holds IndicesOptions struct and provides a builder API.

func NewIndicesOptionsBuilder ¶

func NewIndicesOptionsBuilder() *IndicesOptionsBuilder

NewIndicesOptions provides a builder for the IndicesOptions struct.

func (*IndicesOptionsBuilder) AllowNoIndices ¶

func (rb *IndicesOptionsBuilder) AllowNoIndices(allownoindices bool) *IndicesOptionsBuilder

func (*IndicesOptionsBuilder) Build ¶

Build finalize the chain and returns the IndicesOptions struct

func (*IndicesOptionsBuilder) ExpandWildcards ¶

func (rb *IndicesOptionsBuilder) ExpandWildcards(expandwildcards *ExpandWildcardsBuilder) *IndicesOptionsBuilder

func (*IndicesOptionsBuilder) IgnoreThrottled ¶

func (rb *IndicesOptionsBuilder) IgnoreThrottled(ignorethrottled bool) *IndicesOptionsBuilder

func (*IndicesOptionsBuilder) IgnoreUnavailable ¶

func (rb *IndicesOptionsBuilder) IgnoreUnavailable(ignoreunavailable bool) *IndicesOptionsBuilder

type IndicesPrivileges ¶

type IndicesPrivileges struct {
	// AllowRestrictedIndices Set to `true` if using wildcard or regular expressions for patterns that
	// cover restricted indices. Implicitly, restricted indices have limited
	// privileges that can cause pattern tests to fail. If restricted indices are
	// explicitly included in the `names` list, Elasticsearch checks privileges
	// against these indices regardless of the value set for
	// `allow_restricted_indices`.
	AllowRestrictedIndices *bool `json:"allow_restricted_indices,omitempty"`
	// FieldSecurity The document fields that the owners of the role have read access to.
	FieldSecurity []FieldSecurity `json:"field_security,omitempty"`
	// Names A list of indices (or index name patterns) to which the permissions in this
	// entry apply.
	Names Indices `json:"names"`
	// Privileges The index level privileges that owners of the role have on the specified
	// indices.
	Privileges []indexprivilege.IndexPrivilege `json:"privileges"`
	// Query A search query that defines the documents the owners of the role have read
	// access to. A document within the specified indices must match this query for
	// it to be accessible by the owners of the role.
	Query *IndicesPrivilegesQuery `json:"query,omitempty"`
}

IndicesPrivileges type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/Privileges.ts#L81-L104

type IndicesPrivilegesBuilder ¶

type IndicesPrivilegesBuilder struct {
	// contains filtered or unexported fields
}

IndicesPrivilegesBuilder holds IndicesPrivileges struct and provides a builder API.

func NewIndicesPrivilegesBuilder ¶

func NewIndicesPrivilegesBuilder() *IndicesPrivilegesBuilder

NewIndicesPrivileges provides a builder for the IndicesPrivileges struct.

func (*IndicesPrivilegesBuilder) AllowRestrictedIndices ¶

func (rb *IndicesPrivilegesBuilder) AllowRestrictedIndices(allowrestrictedindices bool) *IndicesPrivilegesBuilder

func (*IndicesPrivilegesBuilder) Build ¶

Build finalize the chain and returns the IndicesPrivileges struct

func (*IndicesPrivilegesBuilder) FieldSecurity ¶

FieldSecurity The document fields that the owners of the role have read access to.

func (*IndicesPrivilegesBuilder) Names ¶

func (*IndicesPrivilegesBuilder) Privileges ¶

func (*IndicesPrivilegesBuilder) Query ¶

type IndicesPrivilegesQuery ¶

type IndicesPrivilegesQuery interface{}

IndicesPrivilegesQuery holds the union for the following types:

QueryContainer
RoleTemplateQuery
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/Privileges.ts#L106-L114

type IndicesPrivilegesQueryBuilder ¶

type IndicesPrivilegesQueryBuilder struct {
	// contains filtered or unexported fields
}

IndicesPrivilegesQueryBuilder holds IndicesPrivilegesQuery struct and provides a builder API.

func NewIndicesPrivilegesQueryBuilder ¶

func NewIndicesPrivilegesQueryBuilder() *IndicesPrivilegesQueryBuilder

NewIndicesPrivilegesQuery provides a builder for the IndicesPrivilegesQuery struct.

func (*IndicesPrivilegesQueryBuilder) Build ¶

Build finalize the chain and returns the IndicesPrivilegesQuery struct

func (*IndicesPrivilegesQueryBuilder) QueryContainer ¶

func (*IndicesPrivilegesQueryBuilder) RoleTemplateQuery ¶

func (*IndicesPrivilegesQueryBuilder) String ¶

type IndicesRecord ¶

type IndicesRecord struct {
	// BulkAvgSizeInBytes average size in bytes of shard bulk
	BulkAvgSizeInBytes *string `json:"bulk.avg_size_in_bytes,omitempty"`
	// BulkAvgTime average time spend in shard bulk
	BulkAvgTime *string `json:"bulk.avg_time,omitempty"`
	// BulkTotalOperations number of bulk shard ops
	BulkTotalOperations *string `json:"bulk.total_operations,omitempty"`
	// BulkTotalSizeInBytes total size in bytes of shard bulk
	BulkTotalSizeInBytes *string `json:"bulk.total_size_in_bytes,omitempty"`
	// BulkTotalTime time spend in shard bulk
	BulkTotalTime *string `json:"bulk.total_time,omitempty"`
	// CompletionSize size of completion
	CompletionSize *string `json:"completion.size,omitempty"`
	// CreationDate index creation date (millisecond value)
	CreationDate *string `json:"creation.date,omitempty"`
	// CreationDateString index creation date (as string)
	CreationDateString *string `json:"creation.date.string,omitempty"`
	// DocsCount available docs
	DocsCount string `json:"docs.count,omitempty"`
	// DocsDeleted deleted docs
	DocsDeleted string `json:"docs.deleted,omitempty"`
	// FielddataEvictions fielddata evictions
	FielddataEvictions *string `json:"fielddata.evictions,omitempty"`
	// FielddataMemorySize used fielddata cache
	FielddataMemorySize *string `json:"fielddata.memory_size,omitempty"`
	// FlushTotal number of flushes
	FlushTotal *string `json:"flush.total,omitempty"`
	// FlushTotalTime time spent in flush
	FlushTotalTime *string `json:"flush.total_time,omitempty"`
	// GetCurrent number of current get ops
	GetCurrent *string `json:"get.current,omitempty"`
	// GetExistsTime time spent in successful gets
	GetExistsTime *string `json:"get.exists_time,omitempty"`
	// GetExistsTotal number of successful gets
	GetExistsTotal *string `json:"get.exists_total,omitempty"`
	// GetMissingTime time spent in failed gets
	GetMissingTime *string `json:"get.missing_time,omitempty"`
	// GetMissingTotal number of failed gets
	GetMissingTotal *string `json:"get.missing_total,omitempty"`
	// GetTime time spent in get
	GetTime *string `json:"get.time,omitempty"`
	// GetTotal number of get ops
	GetTotal *string `json:"get.total,omitempty"`
	// Health current health status
	Health *string `json:"health,omitempty"`
	// Index index name
	Index *string `json:"index,omitempty"`
	// IndexingDeleteCurrent number of current deletions
	IndexingDeleteCurrent *string `json:"indexing.delete_current,omitempty"`
	// IndexingDeleteTime time spent in deletions
	IndexingDeleteTime *string `json:"indexing.delete_time,omitempty"`
	// IndexingDeleteTotal number of delete ops
	IndexingDeleteTotal *string `json:"indexing.delete_total,omitempty"`
	// IndexingIndexCurrent number of current indexing ops
	IndexingIndexCurrent *string `json:"indexing.index_current,omitempty"`
	// IndexingIndexFailed number of failed indexing ops
	IndexingIndexFailed *string `json:"indexing.index_failed,omitempty"`
	// IndexingIndexTime time spent in indexing
	IndexingIndexTime *string `json:"indexing.index_time,omitempty"`
	// IndexingIndexTotal number of indexing ops
	IndexingIndexTotal *string `json:"indexing.index_total,omitempty"`
	// MemoryTotal total used memory
	MemoryTotal *string `json:"memory.total,omitempty"`
	// MergesCurrent number of current merges
	MergesCurrent *string `json:"merges.current,omitempty"`
	// MergesCurrentDocs number of current merging docs
	MergesCurrentDocs *string `json:"merges.current_docs,omitempty"`
	// MergesCurrentSize size of current merges
	MergesCurrentSize *string `json:"merges.current_size,omitempty"`
	// MergesTotal number of completed merge ops
	MergesTotal *string `json:"merges.total,omitempty"`
	// MergesTotalDocs docs merged
	MergesTotalDocs *string `json:"merges.total_docs,omitempty"`
	// MergesTotalSize size merged
	MergesTotalSize *string `json:"merges.total_size,omitempty"`
	// MergesTotalTime time spent in merges
	MergesTotalTime *string `json:"merges.total_time,omitempty"`
	// Pri number of primary shards
	Pri *string `json:"pri,omitempty"`
	// PriBulkAvgSizeInBytes average size in bytes of shard bulk
	PriBulkAvgSizeInBytes *string `json:"pri.bulk.avg_size_in_bytes,omitempty"`
	// PriBulkAvgTime average time spend in shard bulk
	PriBulkAvgTime *string `json:"pri.bulk.avg_time,omitempty"`
	// PriBulkTotalOperations number of bulk shard ops
	PriBulkTotalOperations *string `json:"pri.bulk.total_operations,omitempty"`
	// PriBulkTotalSizeInBytes total size in bytes of shard bulk
	PriBulkTotalSizeInBytes *string `json:"pri.bulk.total_size_in_bytes,omitempty"`
	// PriBulkTotalTime time spend in shard bulk
	PriBulkTotalTime *string `json:"pri.bulk.total_time,omitempty"`
	// PriCompletionSize size of completion
	PriCompletionSize *string `json:"pri.completion.size,omitempty"`
	// PriFielddataEvictions fielddata evictions
	PriFielddataEvictions *string `json:"pri.fielddata.evictions,omitempty"`
	// PriFielddataMemorySize used fielddata cache
	PriFielddataMemorySize *string `json:"pri.fielddata.memory_size,omitempty"`
	// PriFlushTotal number of flushes
	PriFlushTotal *string `json:"pri.flush.total,omitempty"`
	// PriFlushTotalTime time spent in flush
	PriFlushTotalTime *string `json:"pri.flush.total_time,omitempty"`
	// PriGetCurrent number of current get ops
	PriGetCurrent *string `json:"pri.get.current,omitempty"`
	// PriGetExistsTime time spent in successful gets
	PriGetExistsTime *string `json:"pri.get.exists_time,omitempty"`
	// PriGetExistsTotal number of successful gets
	PriGetExistsTotal *string `json:"pri.get.exists_total,omitempty"`
	// PriGetMissingTime time spent in failed gets
	PriGetMissingTime *string `json:"pri.get.missing_time,omitempty"`
	// PriGetMissingTotal number of failed gets
	PriGetMissingTotal *string `json:"pri.get.missing_total,omitempty"`
	// PriGetTime time spent in get
	PriGetTime *string `json:"pri.get.time,omitempty"`
	// PriGetTotal number of get ops
	PriGetTotal *string `json:"pri.get.total,omitempty"`
	// PriIndexingDeleteCurrent number of current deletions
	PriIndexingDeleteCurrent *string `json:"pri.indexing.delete_current,omitempty"`
	// PriIndexingDeleteTime time spent in deletions
	PriIndexingDeleteTime *string `json:"pri.indexing.delete_time,omitempty"`
	// PriIndexingDeleteTotal number of delete ops
	PriIndexingDeleteTotal *string `json:"pri.indexing.delete_total,omitempty"`
	// PriIndexingIndexCurrent number of current indexing ops
	PriIndexingIndexCurrent *string `json:"pri.indexing.index_current,omitempty"`
	// PriIndexingIndexFailed number of failed indexing ops
	PriIndexingIndexFailed *string `json:"pri.indexing.index_failed,omitempty"`
	// PriIndexingIndexTime time spent in indexing
	PriIndexingIndexTime *string `json:"pri.indexing.index_time,omitempty"`
	// PriIndexingIndexTotal number of indexing ops
	PriIndexingIndexTotal *string `json:"pri.indexing.index_total,omitempty"`
	// PriMemoryTotal total user memory
	PriMemoryTotal *string `json:"pri.memory.total,omitempty"`
	// PriMergesCurrent number of current merges
	PriMergesCurrent *string `json:"pri.merges.current,omitempty"`
	// PriMergesCurrentDocs number of current merging docs
	PriMergesCurrentDocs *string `json:"pri.merges.current_docs,omitempty"`
	// PriMergesCurrentSize size of current merges
	PriMergesCurrentSize *string `json:"pri.merges.current_size,omitempty"`
	// PriMergesTotal number of completed merge ops
	PriMergesTotal *string `json:"pri.merges.total,omitempty"`
	// PriMergesTotalDocs docs merged
	PriMergesTotalDocs *string `json:"pri.merges.total_docs,omitempty"`
	// PriMergesTotalSize size merged
	PriMergesTotalSize *string `json:"pri.merges.total_size,omitempty"`
	// PriMergesTotalTime time spent in merges
	PriMergesTotalTime *string `json:"pri.merges.total_time,omitempty"`
	// PriQueryCacheEvictions query cache evictions
	PriQueryCacheEvictions *string `json:"pri.query_cache.evictions,omitempty"`
	// PriQueryCacheMemorySize used query cache
	PriQueryCacheMemorySize *string `json:"pri.query_cache.memory_size,omitempty"`
	// PriRefreshExternalTime time spent in external refreshes
	PriRefreshExternalTime *string `json:"pri.refresh.external_time,omitempty"`
	// PriRefreshExternalTotal total external refreshes
	PriRefreshExternalTotal *string `json:"pri.refresh.external_total,omitempty"`
	// PriRefreshListeners number of pending refresh listeners
	PriRefreshListeners *string `json:"pri.refresh.listeners,omitempty"`
	// PriRefreshTime time spent in refreshes
	PriRefreshTime *string `json:"pri.refresh.time,omitempty"`
	// PriRefreshTotal total refreshes
	PriRefreshTotal *string `json:"pri.refresh.total,omitempty"`
	// PriRequestCacheEvictions request cache evictions
	PriRequestCacheEvictions *string `json:"pri.request_cache.evictions,omitempty"`
	// PriRequestCacheHitCount request cache hit count
	PriRequestCacheHitCount *string `json:"pri.request_cache.hit_count,omitempty"`
	// PriRequestCacheMemorySize used request cache
	PriRequestCacheMemorySize *string `json:"pri.request_cache.memory_size,omitempty"`
	// PriRequestCacheMissCount request cache miss count
	PriRequestCacheMissCount *string `json:"pri.request_cache.miss_count,omitempty"`
	// PriSearchFetchCurrent current fetch phase ops
	PriSearchFetchCurrent *string `json:"pri.search.fetch_current,omitempty"`
	// PriSearchFetchTime time spent in fetch phase
	PriSearchFetchTime *string `json:"pri.search.fetch_time,omitempty"`
	// PriSearchFetchTotal total fetch ops
	PriSearchFetchTotal *string `json:"pri.search.fetch_total,omitempty"`
	// PriSearchOpenContexts open search contexts
	PriSearchOpenContexts *string `json:"pri.search.open_contexts,omitempty"`
	// PriSearchQueryCurrent current query phase ops
	PriSearchQueryCurrent *string `json:"pri.search.query_current,omitempty"`
	// PriSearchQueryTime time spent in query phase
	PriSearchQueryTime *string `json:"pri.search.query_time,omitempty"`
	// PriSearchQueryTotal total query phase ops
	PriSearchQueryTotal *string `json:"pri.search.query_total,omitempty"`
	// PriSearchScrollCurrent open scroll contexts
	PriSearchScrollCurrent *string `json:"pri.search.scroll_current,omitempty"`
	// PriSearchScrollTime time scroll contexts held open
	PriSearchScrollTime *string `json:"pri.search.scroll_time,omitempty"`
	// PriSearchScrollTotal completed scroll contexts
	PriSearchScrollTotal *string `json:"pri.search.scroll_total,omitempty"`
	// PriSegmentsCount number of segments
	PriSegmentsCount *string `json:"pri.segments.count,omitempty"`
	// PriSegmentsFixedBitsetMemory memory used by fixed bit sets for nested object field types and export type
	// filters for types referred in _parent fields
	PriSegmentsFixedBitsetMemory *string `json:"pri.segments.fixed_bitset_memory,omitempty"`
	// PriSegmentsIndexWriterMemory memory used by index writer
	PriSegmentsIndexWriterMemory *string `json:"pri.segments.index_writer_memory,omitempty"`
	// PriSegmentsMemory memory used by segments
	PriSegmentsMemory *string `json:"pri.segments.memory,omitempty"`
	// PriSegmentsVersionMapMemory memory used by version map
	PriSegmentsVersionMapMemory *string `json:"pri.segments.version_map_memory,omitempty"`
	// PriStoreSize store size of primaries
	PriStoreSize string `json:"pri.store.size,omitempty"`
	// PriSuggestCurrent number of current suggest ops
	PriSuggestCurrent *string `json:"pri.suggest.current,omitempty"`
	// PriSuggestTime time spend in suggest
	PriSuggestTime *string `json:"pri.suggest.time,omitempty"`
	// PriSuggestTotal number of suggest ops
	PriSuggestTotal *string `json:"pri.suggest.total,omitempty"`
	// PriWarmerCurrent current warmer ops
	PriWarmerCurrent *string `json:"pri.warmer.current,omitempty"`
	// PriWarmerTotal total warmer ops
	PriWarmerTotal *string `json:"pri.warmer.total,omitempty"`
	// PriWarmerTotalTime time spent in warmers
	PriWarmerTotalTime *string `json:"pri.warmer.total_time,omitempty"`
	// QueryCacheEvictions query cache evictions
	QueryCacheEvictions *string `json:"query_cache.evictions,omitempty"`
	// QueryCacheMemorySize used query cache
	QueryCacheMemorySize *string `json:"query_cache.memory_size,omitempty"`
	// RefreshExternalTime time spent in external refreshes
	RefreshExternalTime *string `json:"refresh.external_time,omitempty"`
	// RefreshExternalTotal total external refreshes
	RefreshExternalTotal *string `json:"refresh.external_total,omitempty"`
	// RefreshListeners number of pending refresh listeners
	RefreshListeners *string `json:"refresh.listeners,omitempty"`
	// RefreshTime time spent in refreshes
	RefreshTime *string `json:"refresh.time,omitempty"`
	// RefreshTotal total refreshes
	RefreshTotal *string `json:"refresh.total,omitempty"`
	// Rep number of replica shards
	Rep *string `json:"rep,omitempty"`
	// RequestCacheEvictions request cache evictions
	RequestCacheEvictions *string `json:"request_cache.evictions,omitempty"`
	// RequestCacheHitCount request cache hit count
	RequestCacheHitCount *string `json:"request_cache.hit_count,omitempty"`
	// RequestCacheMemorySize used request cache
	RequestCacheMemorySize *string `json:"request_cache.memory_size,omitempty"`
	// RequestCacheMissCount request cache miss count
	RequestCacheMissCount *string `json:"request_cache.miss_count,omitempty"`
	// SearchFetchCurrent current fetch phase ops
	SearchFetchCurrent *string `json:"search.fetch_current,omitempty"`
	// SearchFetchTime time spent in fetch phase
	SearchFetchTime *string `json:"search.fetch_time,omitempty"`
	// SearchFetchTotal total fetch ops
	SearchFetchTotal *string `json:"search.fetch_total,omitempty"`
	// SearchOpenContexts open search contexts
	SearchOpenContexts *string `json:"search.open_contexts,omitempty"`
	// SearchQueryCurrent current query phase ops
	SearchQueryCurrent *string `json:"search.query_current,omitempty"`
	// SearchQueryTime time spent in query phase
	SearchQueryTime *string `json:"search.query_time,omitempty"`
	// SearchQueryTotal total query phase ops
	SearchQueryTotal *string `json:"search.query_total,omitempty"`
	// SearchScrollCurrent open scroll contexts
	SearchScrollCurrent *string `json:"search.scroll_current,omitempty"`
	// SearchScrollTime time scroll contexts held open
	SearchScrollTime *string `json:"search.scroll_time,omitempty"`
	// SearchScrollTotal completed scroll contexts
	SearchScrollTotal *string `json:"search.scroll_total,omitempty"`
	// SearchThrottled indicates if the index is search throttled
	SearchThrottled *string `json:"search.throttled,omitempty"`
	// SegmentsCount number of segments
	SegmentsCount *string `json:"segments.count,omitempty"`
	// SegmentsFixedBitsetMemory memory used by fixed bit sets for nested object field types and export type
	// filters for types referred in _parent fields
	SegmentsFixedBitsetMemory *string `json:"segments.fixed_bitset_memory,omitempty"`
	// SegmentsIndexWriterMemory memory used by index writer
	SegmentsIndexWriterMemory *string `json:"segments.index_writer_memory,omitempty"`
	// SegmentsMemory memory used by segments
	SegmentsMemory *string `json:"segments.memory,omitempty"`
	// SegmentsVersionMapMemory memory used by version map
	SegmentsVersionMapMemory *string `json:"segments.version_map_memory,omitempty"`
	// Status open/close status
	Status *string `json:"status,omitempty"`
	// StoreSize store size of primaries & replicas
	StoreSize string `json:"store.size,omitempty"`
	// SuggestCurrent number of current suggest ops
	SuggestCurrent *string `json:"suggest.current,omitempty"`
	// SuggestTime time spend in suggest
	SuggestTime *string `json:"suggest.time,omitempty"`
	// SuggestTotal number of suggest ops
	SuggestTotal *string `json:"suggest.total,omitempty"`
	// Uuid index uuid
	Uuid *string `json:"uuid,omitempty"`
	// WarmerCurrent current warmer ops
	WarmerCurrent *string `json:"warmer.current,omitempty"`
	// WarmerTotal total warmer ops
	WarmerTotal *string `json:"warmer.total,omitempty"`
	// WarmerTotalTime time spent in warmers
	WarmerTotalTime *string `json:"warmer.total_time,omitempty"`
}

IndicesRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/indices/types.ts#L20-L801

type IndicesRecordBuilder ¶

type IndicesRecordBuilder struct {
	// contains filtered or unexported fields
}

IndicesRecordBuilder holds IndicesRecord struct and provides a builder API.

func NewIndicesRecordBuilder ¶

func NewIndicesRecordBuilder() *IndicesRecordBuilder

NewIndicesRecord provides a builder for the IndicesRecord struct.

func (*IndicesRecordBuilder) Build ¶

func (rb *IndicesRecordBuilder) Build() IndicesRecord

Build finalize the chain and returns the IndicesRecord struct

func (*IndicesRecordBuilder) BulkAvgSizeInBytes ¶

func (rb *IndicesRecordBuilder) BulkAvgSizeInBytes(bulkavgsizeinbytes string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) BulkAvgTime ¶

func (rb *IndicesRecordBuilder) BulkAvgTime(bulkavgtime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) BulkTotalOperations ¶

func (rb *IndicesRecordBuilder) BulkTotalOperations(bulktotaloperations string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) BulkTotalSizeInBytes ¶

func (rb *IndicesRecordBuilder) BulkTotalSizeInBytes(bulktotalsizeinbytes string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) BulkTotalTime ¶

func (rb *IndicesRecordBuilder) BulkTotalTime(bulktotaltime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) CompletionSize ¶

func (rb *IndicesRecordBuilder) CompletionSize(completionsize string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) CreationDate ¶

func (rb *IndicesRecordBuilder) CreationDate(creationdate string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) CreationDateString ¶

func (rb *IndicesRecordBuilder) CreationDateString(creationdatestring string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) DocsCount ¶

func (rb *IndicesRecordBuilder) DocsCount(docscount string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) DocsDeleted ¶

func (rb *IndicesRecordBuilder) DocsDeleted(docsdeleted string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) FielddataEvictions ¶

func (rb *IndicesRecordBuilder) FielddataEvictions(fielddataevictions string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) FielddataMemorySize ¶

func (rb *IndicesRecordBuilder) FielddataMemorySize(fielddatamemorysize string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) FlushTotal ¶

func (rb *IndicesRecordBuilder) FlushTotal(flushtotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) FlushTotalTime ¶

func (rb *IndicesRecordBuilder) FlushTotalTime(flushtotaltime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) GetCurrent ¶

func (rb *IndicesRecordBuilder) GetCurrent(getcurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) GetExistsTime ¶

func (rb *IndicesRecordBuilder) GetExistsTime(getexiststime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) GetExistsTotal ¶

func (rb *IndicesRecordBuilder) GetExistsTotal(getexiststotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) GetMissingTime ¶

func (rb *IndicesRecordBuilder) GetMissingTime(getmissingtime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) GetMissingTotal ¶

func (rb *IndicesRecordBuilder) GetMissingTotal(getmissingtotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) GetTime ¶

func (rb *IndicesRecordBuilder) GetTime(gettime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) GetTotal ¶

func (rb *IndicesRecordBuilder) GetTotal(gettotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) Health ¶

func (rb *IndicesRecordBuilder) Health(health string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) Index ¶

func (*IndicesRecordBuilder) IndexingDeleteCurrent ¶

func (rb *IndicesRecordBuilder) IndexingDeleteCurrent(indexingdeletecurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) IndexingDeleteTime ¶

func (rb *IndicesRecordBuilder) IndexingDeleteTime(indexingdeletetime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) IndexingDeleteTotal ¶

func (rb *IndicesRecordBuilder) IndexingDeleteTotal(indexingdeletetotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) IndexingIndexCurrent ¶

func (rb *IndicesRecordBuilder) IndexingIndexCurrent(indexingindexcurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) IndexingIndexFailed ¶

func (rb *IndicesRecordBuilder) IndexingIndexFailed(indexingindexfailed string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) IndexingIndexTime ¶

func (rb *IndicesRecordBuilder) IndexingIndexTime(indexingindextime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) IndexingIndexTotal ¶

func (rb *IndicesRecordBuilder) IndexingIndexTotal(indexingindextotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) MemoryTotal ¶

func (rb *IndicesRecordBuilder) MemoryTotal(memorytotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) MergesCurrent ¶

func (rb *IndicesRecordBuilder) MergesCurrent(mergescurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) MergesCurrentDocs ¶

func (rb *IndicesRecordBuilder) MergesCurrentDocs(mergescurrentdocs string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) MergesCurrentSize ¶

func (rb *IndicesRecordBuilder) MergesCurrentSize(mergescurrentsize string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) MergesTotal ¶

func (rb *IndicesRecordBuilder) MergesTotal(mergestotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) MergesTotalDocs ¶

func (rb *IndicesRecordBuilder) MergesTotalDocs(mergestotaldocs string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) MergesTotalSize ¶

func (rb *IndicesRecordBuilder) MergesTotalSize(mergestotalsize string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) MergesTotalTime ¶

func (rb *IndicesRecordBuilder) MergesTotalTime(mergestotaltime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) Pri ¶

func (*IndicesRecordBuilder) PriBulkAvgSizeInBytes ¶

func (rb *IndicesRecordBuilder) PriBulkAvgSizeInBytes(pribulkavgsizeinbytes string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriBulkAvgTime ¶

func (rb *IndicesRecordBuilder) PriBulkAvgTime(pribulkavgtime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriBulkTotalOperations ¶

func (rb *IndicesRecordBuilder) PriBulkTotalOperations(pribulktotaloperations string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriBulkTotalSizeInBytes ¶

func (rb *IndicesRecordBuilder) PriBulkTotalSizeInBytes(pribulktotalsizeinbytes string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriBulkTotalTime ¶

func (rb *IndicesRecordBuilder) PriBulkTotalTime(pribulktotaltime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriCompletionSize ¶

func (rb *IndicesRecordBuilder) PriCompletionSize(pricompletionsize string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriFielddataEvictions ¶

func (rb *IndicesRecordBuilder) PriFielddataEvictions(prifielddataevictions string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriFielddataMemorySize ¶

func (rb *IndicesRecordBuilder) PriFielddataMemorySize(prifielddatamemorysize string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriFlushTotal ¶

func (rb *IndicesRecordBuilder) PriFlushTotal(priflushtotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriFlushTotalTime ¶

func (rb *IndicesRecordBuilder) PriFlushTotalTime(priflushtotaltime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriGetCurrent ¶

func (rb *IndicesRecordBuilder) PriGetCurrent(prigetcurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriGetExistsTime ¶

func (rb *IndicesRecordBuilder) PriGetExistsTime(prigetexiststime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriGetExistsTotal ¶

func (rb *IndicesRecordBuilder) PriGetExistsTotal(prigetexiststotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriGetMissingTime ¶

func (rb *IndicesRecordBuilder) PriGetMissingTime(prigetmissingtime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriGetMissingTotal ¶

func (rb *IndicesRecordBuilder) PriGetMissingTotal(prigetmissingtotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriGetTime ¶

func (rb *IndicesRecordBuilder) PriGetTime(prigettime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriGetTotal ¶

func (rb *IndicesRecordBuilder) PriGetTotal(prigettotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriIndexingDeleteCurrent ¶

func (rb *IndicesRecordBuilder) PriIndexingDeleteCurrent(priindexingdeletecurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriIndexingDeleteTime ¶

func (rb *IndicesRecordBuilder) PriIndexingDeleteTime(priindexingdeletetime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriIndexingDeleteTotal ¶

func (rb *IndicesRecordBuilder) PriIndexingDeleteTotal(priindexingdeletetotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriIndexingIndexCurrent ¶

func (rb *IndicesRecordBuilder) PriIndexingIndexCurrent(priindexingindexcurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriIndexingIndexFailed ¶

func (rb *IndicesRecordBuilder) PriIndexingIndexFailed(priindexingindexfailed string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriIndexingIndexTime ¶

func (rb *IndicesRecordBuilder) PriIndexingIndexTime(priindexingindextime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriIndexingIndexTotal ¶

func (rb *IndicesRecordBuilder) PriIndexingIndexTotal(priindexingindextotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriMemoryTotal ¶

func (rb *IndicesRecordBuilder) PriMemoryTotal(primemorytotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriMergesCurrent ¶

func (rb *IndicesRecordBuilder) PriMergesCurrent(primergescurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriMergesCurrentDocs ¶

func (rb *IndicesRecordBuilder) PriMergesCurrentDocs(primergescurrentdocs string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriMergesCurrentSize ¶

func (rb *IndicesRecordBuilder) PriMergesCurrentSize(primergescurrentsize string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriMergesTotal ¶

func (rb *IndicesRecordBuilder) PriMergesTotal(primergestotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriMergesTotalDocs ¶

func (rb *IndicesRecordBuilder) PriMergesTotalDocs(primergestotaldocs string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriMergesTotalSize ¶

func (rb *IndicesRecordBuilder) PriMergesTotalSize(primergestotalsize string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriMergesTotalTime ¶

func (rb *IndicesRecordBuilder) PriMergesTotalTime(primergestotaltime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriQueryCacheEvictions ¶

func (rb *IndicesRecordBuilder) PriQueryCacheEvictions(priquerycacheevictions string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriQueryCacheMemorySize ¶

func (rb *IndicesRecordBuilder) PriQueryCacheMemorySize(priquerycachememorysize string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriRefreshExternalTime ¶

func (rb *IndicesRecordBuilder) PriRefreshExternalTime(prirefreshexternaltime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriRefreshExternalTotal ¶

func (rb *IndicesRecordBuilder) PriRefreshExternalTotal(prirefreshexternaltotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriRefreshListeners ¶

func (rb *IndicesRecordBuilder) PriRefreshListeners(prirefreshlisteners string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriRefreshTime ¶

func (rb *IndicesRecordBuilder) PriRefreshTime(prirefreshtime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriRefreshTotal ¶

func (rb *IndicesRecordBuilder) PriRefreshTotal(prirefreshtotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriRequestCacheEvictions ¶

func (rb *IndicesRecordBuilder) PriRequestCacheEvictions(prirequestcacheevictions string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriRequestCacheHitCount ¶

func (rb *IndicesRecordBuilder) PriRequestCacheHitCount(prirequestcachehitcount string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriRequestCacheMemorySize ¶

func (rb *IndicesRecordBuilder) PriRequestCacheMemorySize(prirequestcachememorysize string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriRequestCacheMissCount ¶

func (rb *IndicesRecordBuilder) PriRequestCacheMissCount(prirequestcachemisscount string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSearchFetchCurrent ¶

func (rb *IndicesRecordBuilder) PriSearchFetchCurrent(prisearchfetchcurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSearchFetchTime ¶

func (rb *IndicesRecordBuilder) PriSearchFetchTime(prisearchfetchtime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSearchFetchTotal ¶

func (rb *IndicesRecordBuilder) PriSearchFetchTotal(prisearchfetchtotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSearchOpenContexts ¶

func (rb *IndicesRecordBuilder) PriSearchOpenContexts(prisearchopencontexts string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSearchQueryCurrent ¶

func (rb *IndicesRecordBuilder) PriSearchQueryCurrent(prisearchquerycurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSearchQueryTime ¶

func (rb *IndicesRecordBuilder) PriSearchQueryTime(prisearchquerytime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSearchQueryTotal ¶

func (rb *IndicesRecordBuilder) PriSearchQueryTotal(prisearchquerytotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSearchScrollCurrent ¶

func (rb *IndicesRecordBuilder) PriSearchScrollCurrent(prisearchscrollcurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSearchScrollTime ¶

func (rb *IndicesRecordBuilder) PriSearchScrollTime(prisearchscrolltime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSearchScrollTotal ¶

func (rb *IndicesRecordBuilder) PriSearchScrollTotal(prisearchscrolltotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSegmentsCount ¶

func (rb *IndicesRecordBuilder) PriSegmentsCount(prisegmentscount string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSegmentsFixedBitsetMemory ¶

func (rb *IndicesRecordBuilder) PriSegmentsFixedBitsetMemory(prisegmentsfixedbitsetmemory string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSegmentsIndexWriterMemory ¶

func (rb *IndicesRecordBuilder) PriSegmentsIndexWriterMemory(prisegmentsindexwritermemory string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSegmentsMemory ¶

func (rb *IndicesRecordBuilder) PriSegmentsMemory(prisegmentsmemory string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSegmentsVersionMapMemory ¶

func (rb *IndicesRecordBuilder) PriSegmentsVersionMapMemory(prisegmentsversionmapmemory string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriStoreSize ¶

func (rb *IndicesRecordBuilder) PriStoreSize(pristoresize string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSuggestCurrent ¶

func (rb *IndicesRecordBuilder) PriSuggestCurrent(prisuggestcurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSuggestTime ¶

func (rb *IndicesRecordBuilder) PriSuggestTime(prisuggesttime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriSuggestTotal ¶

func (rb *IndicesRecordBuilder) PriSuggestTotal(prisuggesttotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriWarmerCurrent ¶

func (rb *IndicesRecordBuilder) PriWarmerCurrent(priwarmercurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriWarmerTotal ¶

func (rb *IndicesRecordBuilder) PriWarmerTotal(priwarmertotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) PriWarmerTotalTime ¶

func (rb *IndicesRecordBuilder) PriWarmerTotalTime(priwarmertotaltime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) QueryCacheEvictions ¶

func (rb *IndicesRecordBuilder) QueryCacheEvictions(querycacheevictions string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) QueryCacheMemorySize ¶

func (rb *IndicesRecordBuilder) QueryCacheMemorySize(querycachememorysize string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) RefreshExternalTime ¶

func (rb *IndicesRecordBuilder) RefreshExternalTime(refreshexternaltime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) RefreshExternalTotal ¶

func (rb *IndicesRecordBuilder) RefreshExternalTotal(refreshexternaltotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) RefreshListeners ¶

func (rb *IndicesRecordBuilder) RefreshListeners(refreshlisteners string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) RefreshTime ¶

func (rb *IndicesRecordBuilder) RefreshTime(refreshtime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) RefreshTotal ¶

func (rb *IndicesRecordBuilder) RefreshTotal(refreshtotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) Rep ¶

func (*IndicesRecordBuilder) RequestCacheEvictions ¶

func (rb *IndicesRecordBuilder) RequestCacheEvictions(requestcacheevictions string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) RequestCacheHitCount ¶

func (rb *IndicesRecordBuilder) RequestCacheHitCount(requestcachehitcount string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) RequestCacheMemorySize ¶

func (rb *IndicesRecordBuilder) RequestCacheMemorySize(requestcachememorysize string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) RequestCacheMissCount ¶

func (rb *IndicesRecordBuilder) RequestCacheMissCount(requestcachemisscount string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SearchFetchCurrent ¶

func (rb *IndicesRecordBuilder) SearchFetchCurrent(searchfetchcurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SearchFetchTime ¶

func (rb *IndicesRecordBuilder) SearchFetchTime(searchfetchtime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SearchFetchTotal ¶

func (rb *IndicesRecordBuilder) SearchFetchTotal(searchfetchtotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SearchOpenContexts ¶

func (rb *IndicesRecordBuilder) SearchOpenContexts(searchopencontexts string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SearchQueryCurrent ¶

func (rb *IndicesRecordBuilder) SearchQueryCurrent(searchquerycurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SearchQueryTime ¶

func (rb *IndicesRecordBuilder) SearchQueryTime(searchquerytime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SearchQueryTotal ¶

func (rb *IndicesRecordBuilder) SearchQueryTotal(searchquerytotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SearchScrollCurrent ¶

func (rb *IndicesRecordBuilder) SearchScrollCurrent(searchscrollcurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SearchScrollTime ¶

func (rb *IndicesRecordBuilder) SearchScrollTime(searchscrolltime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SearchScrollTotal ¶

func (rb *IndicesRecordBuilder) SearchScrollTotal(searchscrolltotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SearchThrottled ¶

func (rb *IndicesRecordBuilder) SearchThrottled(searchthrottled string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SegmentsCount ¶

func (rb *IndicesRecordBuilder) SegmentsCount(segmentscount string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SegmentsFixedBitsetMemory ¶

func (rb *IndicesRecordBuilder) SegmentsFixedBitsetMemory(segmentsfixedbitsetmemory string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SegmentsIndexWriterMemory ¶

func (rb *IndicesRecordBuilder) SegmentsIndexWriterMemory(segmentsindexwritermemory string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SegmentsMemory ¶

func (rb *IndicesRecordBuilder) SegmentsMemory(segmentsmemory string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SegmentsVersionMapMemory ¶

func (rb *IndicesRecordBuilder) SegmentsVersionMapMemory(segmentsversionmapmemory string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) Status ¶

func (rb *IndicesRecordBuilder) Status(status string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) StoreSize ¶

func (rb *IndicesRecordBuilder) StoreSize(storesize string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SuggestCurrent ¶

func (rb *IndicesRecordBuilder) SuggestCurrent(suggestcurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SuggestTime ¶

func (rb *IndicesRecordBuilder) SuggestTime(suggesttime string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) SuggestTotal ¶

func (rb *IndicesRecordBuilder) SuggestTotal(suggesttotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) Uuid ¶

func (*IndicesRecordBuilder) WarmerCurrent ¶

func (rb *IndicesRecordBuilder) WarmerCurrent(warmercurrent string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) WarmerTotal ¶

func (rb *IndicesRecordBuilder) WarmerTotal(warmertotal string) *IndicesRecordBuilder

func (*IndicesRecordBuilder) WarmerTotalTime ¶

func (rb *IndicesRecordBuilder) WarmerTotalTime(warmertotaltime string) *IndicesRecordBuilder

type IndicesResponseBase ¶

type IndicesResponseBase struct {
	// Acknowledged For a successful response, this value is always true. On failure, an
	// exception is returned instead.
	Acknowledged bool             `json:"acknowledged"`
	Shards_      *ShardStatistics `json:"_shards,omitempty"`
}

IndicesResponseBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Base.ts#L77-L79

type IndicesResponseBaseBuilder ¶

type IndicesResponseBaseBuilder struct {
	// contains filtered or unexported fields
}

IndicesResponseBaseBuilder holds IndicesResponseBase struct and provides a builder API.

func NewIndicesResponseBaseBuilder ¶

func NewIndicesResponseBaseBuilder() *IndicesResponseBaseBuilder

NewIndicesResponseBase provides a builder for the IndicesResponseBase struct.

func (*IndicesResponseBaseBuilder) Acknowledged ¶

func (rb *IndicesResponseBaseBuilder) Acknowledged(acknowledged bool) *IndicesResponseBaseBuilder

func (*IndicesResponseBaseBuilder) Build ¶

Build finalize the chain and returns the IndicesResponseBase struct

func (*IndicesResponseBaseBuilder) Shards_ ¶

type IndicesShardStoresBuilder ¶

type IndicesShardStoresBuilder struct {
	// contains filtered or unexported fields
}

IndicesShardStoresBuilder holds IndicesShardStores struct and provides a builder API.

func NewIndicesShardStoresBuilder ¶

func NewIndicesShardStoresBuilder() *IndicesShardStoresBuilder

NewIndicesShardStores provides a builder for the IndicesShardStores struct.

func (*IndicesShardStoresBuilder) Build ¶

Build finalize the chain and returns the IndicesShardStores struct

func (*IndicesShardStoresBuilder) Shards ¶

type IndicesStats ¶

type IndicesStats struct {
	Health    *healthstatus.HealthStatus             `json:"health,omitempty"`
	Primaries *IndexStats                            `json:"primaries,omitempty"`
	Shards    map[string][]ShardStats                `json:"shards,omitempty"`
	Status    *indexmetadatastate.IndexMetadataState `json:"status,omitempty"`
	Total     *IndexStats                            `json:"total,omitempty"`
	Uuid      *Uuid                                  `json:"uuid,omitempty"`
}

IndicesStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L89-L98

type IndicesStatsBuilder ¶

type IndicesStatsBuilder struct {
	// contains filtered or unexported fields
}

IndicesStatsBuilder holds IndicesStats struct and provides a builder API.

func NewIndicesStatsBuilder ¶

func NewIndicesStatsBuilder() *IndicesStatsBuilder

NewIndicesStats provides a builder for the IndicesStats struct.

func (*IndicesStatsBuilder) Build ¶

func (rb *IndicesStatsBuilder) Build() IndicesStats

Build finalize the chain and returns the IndicesStats struct

func (*IndicesStatsBuilder) Health ¶

func (*IndicesStatsBuilder) Primaries ¶

func (rb *IndicesStatsBuilder) Primaries(primaries *IndexStatsBuilder) *IndicesStatsBuilder

func (*IndicesStatsBuilder) Shards ¶

func (rb *IndicesStatsBuilder) Shards(value map[string][]ShardStats) *IndicesStatsBuilder

func (*IndicesStatsBuilder) Status ¶

func (*IndicesStatsBuilder) Total ¶

func (*IndicesStatsBuilder) Uuid ¶

type IndicesValidationExplanation ¶

type IndicesValidationExplanation struct {
	Error       *string   `json:"error,omitempty"`
	Explanation *string   `json:"explanation,omitempty"`
	Index       IndexName `json:"index"`
	Valid       bool      `json:"valid"`
}

IndicesValidationExplanation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/validate_query/IndicesValidateQueryResponse.ts#L32-L37

type IndicesValidationExplanationBuilder ¶

type IndicesValidationExplanationBuilder struct {
	// contains filtered or unexported fields
}

IndicesValidationExplanationBuilder holds IndicesValidationExplanation struct and provides a builder API.

func NewIndicesValidationExplanationBuilder ¶

func NewIndicesValidationExplanationBuilder() *IndicesValidationExplanationBuilder

NewIndicesValidationExplanation provides a builder for the IndicesValidationExplanation struct.

func (*IndicesValidationExplanationBuilder) Build ¶

Build finalize the chain and returns the IndicesValidationExplanation struct

func (*IndicesValidationExplanationBuilder) Error ¶

func (*IndicesValidationExplanationBuilder) Explanation ¶

func (*IndicesValidationExplanationBuilder) Index ¶

func (*IndicesValidationExplanationBuilder) Valid ¶

type IndicesVersions ¶

type IndicesVersions struct {
	IndexCount        int           `json:"index_count"`
	PrimaryShardCount int           `json:"primary_shard_count"`
	TotalPrimaryBytes int64         `json:"total_primary_bytes"`
	Version           VersionString `json:"version"`
}

IndicesVersions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L137-L142

type IndicesVersionsBuilder ¶

type IndicesVersionsBuilder struct {
	// contains filtered or unexported fields
}

IndicesVersionsBuilder holds IndicesVersions struct and provides a builder API.

func NewIndicesVersionsBuilder ¶

func NewIndicesVersionsBuilder() *IndicesVersionsBuilder

NewIndicesVersions provides a builder for the IndicesVersions struct.

func (*IndicesVersionsBuilder) Build ¶

Build finalize the chain and returns the IndicesVersions struct

func (*IndicesVersionsBuilder) IndexCount ¶

func (rb *IndicesVersionsBuilder) IndexCount(indexcount int) *IndicesVersionsBuilder

func (*IndicesVersionsBuilder) PrimaryShardCount ¶

func (rb *IndicesVersionsBuilder) PrimaryShardCount(primaryshardcount int) *IndicesVersionsBuilder

func (*IndicesVersionsBuilder) TotalPrimaryBytes ¶

func (rb *IndicesVersionsBuilder) TotalPrimaryBytes(totalprimarybytes int64) *IndicesVersionsBuilder

func (*IndicesVersionsBuilder) Version ¶

type InferenceAggregate ¶

type InferenceAggregate struct {
	Data              map[string]interface{}       `json:"data,omitempty"`
	FeatureImportance []InferenceFeatureImportance `json:"feature_importance,omitempty"`
	Meta              *Metadata                    `json:"meta,omitempty"`
	TopClasses        []InferenceTopClassEntry     `json:"top_classes,omitempty"`
	Value             *FieldValue                  `json:"value,omitempty"`
	Warning           *string                      `json:"warning,omitempty"`
}

InferenceAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L610-L621

type InferenceAggregateBuilder ¶

type InferenceAggregateBuilder struct {
	// contains filtered or unexported fields
}

InferenceAggregateBuilder holds InferenceAggregate struct and provides a builder API.

func NewInferenceAggregateBuilder ¶

func NewInferenceAggregateBuilder() *InferenceAggregateBuilder

NewInferenceAggregate provides a builder for the InferenceAggregate struct.

func (*InferenceAggregateBuilder) Build ¶

Build finalize the chain and returns the InferenceAggregate struct

func (*InferenceAggregateBuilder) Data ¶

func (rb *InferenceAggregateBuilder) Data(value map[string]interface{}) *InferenceAggregateBuilder

func (*InferenceAggregateBuilder) FeatureImportance ¶

func (rb *InferenceAggregateBuilder) FeatureImportance(feature_importance []InferenceFeatureImportanceBuilder) *InferenceAggregateBuilder

func (*InferenceAggregateBuilder) Meta ¶

func (*InferenceAggregateBuilder) TopClasses ¶

func (*InferenceAggregateBuilder) Value ¶

func (*InferenceAggregateBuilder) Warning ¶

type InferenceAggregation ¶

type InferenceAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath     *BucketsPath              `json:"buckets_path,omitempty"`
	Format          *string                   `json:"format,omitempty"`
	GapPolicy       *gappolicy.GapPolicy      `json:"gap_policy,omitempty"`
	InferenceConfig *InferenceConfigContainer `json:"inference_config,omitempty"`
	Meta            *Metadata                 `json:"meta,omitempty"`
	ModelId         Name                      `json:"model_id"`
	Name            *string                   `json:"name,omitempty"`
}

InferenceAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L159-L162

type InferenceAggregationBuilder ¶

type InferenceAggregationBuilder struct {
	// contains filtered or unexported fields
}

InferenceAggregationBuilder holds InferenceAggregation struct and provides a builder API.

func NewInferenceAggregationBuilder ¶

func NewInferenceAggregationBuilder() *InferenceAggregationBuilder

NewInferenceAggregation provides a builder for the InferenceAggregation struct.

func (*InferenceAggregationBuilder) BucketsPath ¶

func (*InferenceAggregationBuilder) Build ¶

Build finalize the chain and returns the InferenceAggregation struct

func (*InferenceAggregationBuilder) Format ¶

func (*InferenceAggregationBuilder) GapPolicy ¶

func (*InferenceAggregationBuilder) InferenceConfig ¶

func (*InferenceAggregationBuilder) Meta ¶

func (*InferenceAggregationBuilder) ModelId ¶

func (*InferenceAggregationBuilder) Name ¶

type InferenceClassImportance ¶

type InferenceClassImportance struct {
	ClassName  string  `json:"class_name"`
	Importance float64 `json:"importance"`
}

InferenceClassImportance type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L635-L638

type InferenceClassImportanceBuilder ¶

type InferenceClassImportanceBuilder struct {
	// contains filtered or unexported fields
}

InferenceClassImportanceBuilder holds InferenceClassImportance struct and provides a builder API.

func NewInferenceClassImportanceBuilder ¶

func NewInferenceClassImportanceBuilder() *InferenceClassImportanceBuilder

NewInferenceClassImportance provides a builder for the InferenceClassImportance struct.

func (*InferenceClassImportanceBuilder) Build ¶

Build finalize the chain and returns the InferenceClassImportance struct

func (*InferenceClassImportanceBuilder) ClassName ¶

func (*InferenceClassImportanceBuilder) Importance ¶

type InferenceConfig ¶

type InferenceConfig struct {
	Classification *InferenceConfigClassification `json:"classification,omitempty"`
	Regression     *InferenceConfigRegression     `json:"regression,omitempty"`
}

InferenceConfig type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L244-L250

type InferenceConfigBuilder ¶

type InferenceConfigBuilder struct {
	// contains filtered or unexported fields
}

InferenceConfigBuilder holds InferenceConfig struct and provides a builder API.

func NewInferenceConfigBuilder ¶

func NewInferenceConfigBuilder() *InferenceConfigBuilder

NewInferenceConfig provides a builder for the InferenceConfig struct.

func (*InferenceConfigBuilder) Build ¶

Build finalize the chain and returns the InferenceConfig struct

func (*InferenceConfigBuilder) Classification ¶

func (*InferenceConfigBuilder) Regression ¶

type InferenceConfigClassification ¶

type InferenceConfigClassification struct {
	NumTopClasses                 *int    `json:"num_top_classes,omitempty"`
	NumTopFeatureImportanceValues *int    `json:"num_top_feature_importance_values,omitempty"`
	PredictionFieldType           *string `json:"prediction_field_type,omitempty"`
	ResultsField                  *Field  `json:"results_field,omitempty"`
	TopClassesResultsField        *Field  `json:"top_classes_results_field,omitempty"`
}

InferenceConfigClassification type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L257-L263

type InferenceConfigClassificationBuilder ¶

type InferenceConfigClassificationBuilder struct {
	// contains filtered or unexported fields
}

InferenceConfigClassificationBuilder holds InferenceConfigClassification struct and provides a builder API.

func NewInferenceConfigClassificationBuilder ¶

func NewInferenceConfigClassificationBuilder() *InferenceConfigClassificationBuilder

NewInferenceConfigClassification provides a builder for the InferenceConfigClassification struct.

func (*InferenceConfigClassificationBuilder) Build ¶

Build finalize the chain and returns the InferenceConfigClassification struct

func (*InferenceConfigClassificationBuilder) NumTopClasses ¶

func (*InferenceConfigClassificationBuilder) NumTopFeatureImportanceValues ¶

func (rb *InferenceConfigClassificationBuilder) NumTopFeatureImportanceValues(numtopfeatureimportancevalues int) *InferenceConfigClassificationBuilder

func (*InferenceConfigClassificationBuilder) PredictionFieldType ¶

func (rb *InferenceConfigClassificationBuilder) PredictionFieldType(predictionfieldtype string) *InferenceConfigClassificationBuilder

func (*InferenceConfigClassificationBuilder) ResultsField ¶

func (*InferenceConfigClassificationBuilder) TopClassesResultsField ¶

func (rb *InferenceConfigClassificationBuilder) TopClassesResultsField(topclassesresultsfield Field) *InferenceConfigClassificationBuilder

type InferenceConfigContainer ¶

type InferenceConfigContainer struct {
	// Classification Classification configuration for inference.
	Classification *ClassificationInferenceOptions `json:"classification,omitempty"`
	// Regression Regression configuration for inference.
	Regression *RegressionInferenceOptions `json:"regression,omitempty"`
}

InferenceConfigContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L164-L170

type InferenceConfigContainerBuilder ¶

type InferenceConfigContainerBuilder struct {
	// contains filtered or unexported fields
}

InferenceConfigContainerBuilder holds InferenceConfigContainer struct and provides a builder API.

func NewInferenceConfigContainerBuilder ¶

func NewInferenceConfigContainerBuilder() *InferenceConfigContainerBuilder

NewInferenceConfigContainer provides a builder for the InferenceConfigContainer struct.

func (*InferenceConfigContainerBuilder) Build ¶

Build finalize the chain and returns the InferenceConfigContainer struct

func (*InferenceConfigContainerBuilder) Classification ¶

func (*InferenceConfigContainerBuilder) Regression ¶

type InferenceConfigCreateContainer ¶

type InferenceConfigCreateContainer struct {
	// Classification Classification configuration for inference.
	Classification *ClassificationInferenceOptions `json:"classification,omitempty"`
	// FillMask Fill mask configuration for inference.
	FillMask *FillMaskInferenceOptions `json:"fill_mask,omitempty"`
	// Ner Named entity recognition configuration for inference.
	Ner *NerInferenceOptions `json:"ner,omitempty"`
	// PassThrough Pass through configuration for inference.
	PassThrough *PassThroughInferenceOptions `json:"pass_through,omitempty"`
	// QuestionAnswering Question answering configuration for inference.
	QuestionAnswering *QuestionAnsweringInferenceOptions `json:"question_answering,omitempty"`
	// Regression Regression configuration for inference.
	Regression *RegressionInferenceOptions `json:"regression,omitempty"`
	// TextClassification Text classification configuration for inference.
	TextClassification *TextClassificationInferenceOptions `json:"text_classification,omitempty"`
	// TextEmbedding Text embedding configuration for inference.
	TextEmbedding *TextEmbeddingInferenceOptions `json:"text_embedding,omitempty"`
	// ZeroShotClassification Zeroshot classification configuration for inference.
	ZeroShotClassification *ZeroShotClassificationInferenceOptions `json:"zero_shot_classification,omitempty"`
}

InferenceConfigCreateContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L23-L67

type InferenceConfigCreateContainerBuilder ¶

type InferenceConfigCreateContainerBuilder struct {
	// contains filtered or unexported fields
}

InferenceConfigCreateContainerBuilder holds InferenceConfigCreateContainer struct and provides a builder API.

func NewInferenceConfigCreateContainerBuilder ¶

func NewInferenceConfigCreateContainerBuilder() *InferenceConfigCreateContainerBuilder

NewInferenceConfigCreateContainer provides a builder for the InferenceConfigCreateContainer struct.

func (*InferenceConfigCreateContainerBuilder) Build ¶

Build finalize the chain and returns the InferenceConfigCreateContainer struct

func (*InferenceConfigCreateContainerBuilder) Classification ¶

func (*InferenceConfigCreateContainerBuilder) FillMask ¶

func (*InferenceConfigCreateContainerBuilder) Ner ¶

func (*InferenceConfigCreateContainerBuilder) PassThrough ¶

func (*InferenceConfigCreateContainerBuilder) QuestionAnswering ¶

func (*InferenceConfigCreateContainerBuilder) Regression ¶

func (*InferenceConfigCreateContainerBuilder) TextClassification ¶

func (*InferenceConfigCreateContainerBuilder) TextEmbedding ¶

func (*InferenceConfigCreateContainerBuilder) ZeroShotClassification ¶

type InferenceConfigRegression ¶

type InferenceConfigRegression struct {
	NumTopFeatureImportanceValues *int   `json:"num_top_feature_importance_values,omitempty"`
	ResultsField                  *Field `json:"results_field,omitempty"`
}

InferenceConfigRegression type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L252-L255

type InferenceConfigRegressionBuilder ¶

type InferenceConfigRegressionBuilder struct {
	// contains filtered or unexported fields
}

InferenceConfigRegressionBuilder holds InferenceConfigRegression struct and provides a builder API.

func NewInferenceConfigRegressionBuilder ¶

func NewInferenceConfigRegressionBuilder() *InferenceConfigRegressionBuilder

NewInferenceConfigRegression provides a builder for the InferenceConfigRegression struct.

func (*InferenceConfigRegressionBuilder) Build ¶

Build finalize the chain and returns the InferenceConfigRegression struct

func (*InferenceConfigRegressionBuilder) NumTopFeatureImportanceValues ¶

func (rb *InferenceConfigRegressionBuilder) NumTopFeatureImportanceValues(numtopfeatureimportancevalues int) *InferenceConfigRegressionBuilder

func (*InferenceConfigRegressionBuilder) ResultsField ¶

type InferenceConfigUpdateContainer ¶

type InferenceConfigUpdateContainer struct {
	// Classification Classification configuration for inference.
	Classification *ClassificationInferenceOptions `json:"classification,omitempty"`
	// FillMask Fill mask configuration for inference.
	FillMask *FillMaskInferenceUpdateOptions `json:"fill_mask,omitempty"`
	// Ner Named entity recognition configuration for inference.
	Ner *NerInferenceUpdateOptions `json:"ner,omitempty"`
	// PassThrough Pass through configuration for inference.
	PassThrough *PassThroughInferenceUpdateOptions `json:"pass_through,omitempty"`
	// QuestionAnswering Question answering configuration for inference
	QuestionAnswering *QuestionAnsweringInferenceUpdateOptions `json:"question_answering,omitempty"`
	// Regression Regression configuration for inference.
	Regression *RegressionInferenceOptions `json:"regression,omitempty"`
	// TextClassification Text classification configuration for inference.
	TextClassification *TextClassificationInferenceUpdateOptions `json:"text_classification,omitempty"`
	// TextEmbedding Text embedding configuration for inference.
	TextEmbedding *TextEmbeddingInferenceUpdateOptions `json:"text_embedding,omitempty"`
	// ZeroShotClassification Zeroshot classification configuration for inference.
	ZeroShotClassification *ZeroShotClassificationInferenceUpdateOptions `json:"zero_shot_classification,omitempty"`
}

InferenceConfigUpdateContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L259-L279

type InferenceConfigUpdateContainerBuilder ¶

type InferenceConfigUpdateContainerBuilder struct {
	// contains filtered or unexported fields
}

InferenceConfigUpdateContainerBuilder holds InferenceConfigUpdateContainer struct and provides a builder API.

func NewInferenceConfigUpdateContainerBuilder ¶

func NewInferenceConfigUpdateContainerBuilder() *InferenceConfigUpdateContainerBuilder

NewInferenceConfigUpdateContainer provides a builder for the InferenceConfigUpdateContainer struct.

func (*InferenceConfigUpdateContainerBuilder) Build ¶

Build finalize the chain and returns the InferenceConfigUpdateContainer struct

func (*InferenceConfigUpdateContainerBuilder) Classification ¶

func (*InferenceConfigUpdateContainerBuilder) FillMask ¶

func (*InferenceConfigUpdateContainerBuilder) PassThrough ¶

func (*InferenceConfigUpdateContainerBuilder) QuestionAnswering ¶

func (*InferenceConfigUpdateContainerBuilder) Regression ¶

func (*InferenceConfigUpdateContainerBuilder) TextClassification ¶

func (*InferenceConfigUpdateContainerBuilder) TextEmbedding ¶

func (*InferenceConfigUpdateContainerBuilder) ZeroShotClassification ¶

type InferenceFeatureImportance ¶

type InferenceFeatureImportance struct {
	Classes     []InferenceClassImportance `json:"classes,omitempty"`
	FeatureName string                     `json:"feature_name"`
	Importance  *float64                   `json:"importance,omitempty"`
}

InferenceFeatureImportance type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L629-L633

type InferenceFeatureImportanceBuilder ¶

type InferenceFeatureImportanceBuilder struct {
	// contains filtered or unexported fields
}

InferenceFeatureImportanceBuilder holds InferenceFeatureImportance struct and provides a builder API.

func NewInferenceFeatureImportanceBuilder ¶

func NewInferenceFeatureImportanceBuilder() *InferenceFeatureImportanceBuilder

NewInferenceFeatureImportance provides a builder for the InferenceFeatureImportance struct.

func (*InferenceFeatureImportanceBuilder) Build ¶

Build finalize the chain and returns the InferenceFeatureImportance struct

func (*InferenceFeatureImportanceBuilder) Classes ¶

func (*InferenceFeatureImportanceBuilder) FeatureName ¶

func (*InferenceFeatureImportanceBuilder) Importance ¶

type InferenceProcessor ¶

type InferenceProcessor struct {
	FieldMap        map[Field]interface{} `json:"field_map,omitempty"`
	If              *string               `json:"if,omitempty"`
	IgnoreFailure   *bool                 `json:"ignore_failure,omitempty"`
	InferenceConfig *InferenceConfig      `json:"inference_config,omitempty"`
	ModelId         Id                    `json:"model_id"`
	OnFailure       []ProcessorContainer  `json:"on_failure,omitempty"`
	Tag             *string               `json:"tag,omitempty"`
	TargetField     Field                 `json:"target_field"`
}

InferenceProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L237-L242

type InferenceProcessorBuilder ¶

type InferenceProcessorBuilder struct {
	// contains filtered or unexported fields
}

InferenceProcessorBuilder holds InferenceProcessor struct and provides a builder API.

func NewInferenceProcessorBuilder ¶

func NewInferenceProcessorBuilder() *InferenceProcessorBuilder

NewInferenceProcessor provides a builder for the InferenceProcessor struct.

func (*InferenceProcessorBuilder) Build ¶

Build finalize the chain and returns the InferenceProcessor struct

func (*InferenceProcessorBuilder) FieldMap ¶

func (rb *InferenceProcessorBuilder) FieldMap(value map[Field]interface{}) *InferenceProcessorBuilder

func (*InferenceProcessorBuilder) If_ ¶

func (*InferenceProcessorBuilder) IgnoreFailure ¶

func (rb *InferenceProcessorBuilder) IgnoreFailure(ignorefailure bool) *InferenceProcessorBuilder

func (*InferenceProcessorBuilder) InferenceConfig ¶

func (rb *InferenceProcessorBuilder) InferenceConfig(inferenceconfig *InferenceConfigBuilder) *InferenceProcessorBuilder

func (*InferenceProcessorBuilder) ModelId ¶

func (*InferenceProcessorBuilder) OnFailure ¶

func (*InferenceProcessorBuilder) Tag ¶

func (*InferenceProcessorBuilder) TargetField ¶

func (rb *InferenceProcessorBuilder) TargetField(targetfield Field) *InferenceProcessorBuilder

type InferenceResponseResult ¶

type InferenceResponseResult struct {
	// Entities If the model is trained for named entity recognition (NER) tasks, the
	// response contains the recognized entities.
	Entities []TrainedModelEntities `json:"entities,omitempty"`
	// FeatureImportance The feature importance for the inference results. Relevant only for
	// classification or regression models
	FeatureImportance []TrainedModelInferenceFeatureImportance `json:"feature_importance,omitempty"`
	// IsTruncated Indicates whether the input text was truncated to meet the model's maximum
	// sequence length limit. This property
	// is present only when it is true.
	IsTruncated *bool `json:"is_truncated,omitempty"`
	// PredictedValue If the model is trained for a text classification or zero shot classification
	// task, the response is the
	// predicted class.
	// For named entity recognition (NER) tasks, it contains the annotated text
	// output.
	// For fill mask tasks, it contains the top prediction for replacing the mask
	// token.
	// For text embedding tasks, it contains the raw numerical text embedding
	// values.
	// For regression models, its a numerical value
	// For classification models, it may be an integer, double, boolean or string
	// depending on prediction type
	PredictedValue []PredictedValue `json:"predicted_value,omitempty"`
	// PredictedValueSequence For fill mask tasks, the response contains the input text sequence with the
	// mask token replaced by the predicted
	// value.
	// Additionally
	PredictedValueSequence *string `json:"predicted_value_sequence,omitempty"`
	// PredictionProbability Specifies a probability for the predicted value.
	PredictionProbability *float64 `json:"prediction_probability,omitempty"`
	// PredictionScore Specifies a confidence score for the predicted value.
	PredictionScore *float64 `json:"prediction_score,omitempty"`
	// TopClasses For fill mask, text classification, and zero shot classification tasks, the
	// response contains a list of top
	// class entries.
	TopClasses []TopClassEntry `json:"top_classes,omitempty"`
	// Warning If the request failed, the response contains the reason for the failure.
	Warning *string `json:"warning,omitempty"`
}

InferenceResponseResult type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L412-L459

type InferenceResponseResultBuilder ¶

type InferenceResponseResultBuilder struct {
	// contains filtered or unexported fields
}

InferenceResponseResultBuilder holds InferenceResponseResult struct and provides a builder API.

func NewInferenceResponseResultBuilder ¶

func NewInferenceResponseResultBuilder() *InferenceResponseResultBuilder

NewInferenceResponseResult provides a builder for the InferenceResponseResult struct.

func (*InferenceResponseResultBuilder) Build ¶

Build finalize the chain and returns the InferenceResponseResult struct

func (*InferenceResponseResultBuilder) Entities ¶

func (*InferenceResponseResultBuilder) FeatureImportance ¶

func (*InferenceResponseResultBuilder) IsTruncated ¶

func (*InferenceResponseResultBuilder) PredictedValue ¶

func (rb *InferenceResponseResultBuilder) PredictedValue(predicted_value ...PredictedValue) *InferenceResponseResultBuilder

func (*InferenceResponseResultBuilder) PredictedValueSequence ¶

func (rb *InferenceResponseResultBuilder) PredictedValueSequence(predictedvaluesequence string) *InferenceResponseResultBuilder

func (*InferenceResponseResultBuilder) PredictionProbability ¶

func (rb *InferenceResponseResultBuilder) PredictionProbability(predictionprobability float64) *InferenceResponseResultBuilder

func (*InferenceResponseResultBuilder) PredictionScore ¶

func (rb *InferenceResponseResultBuilder) PredictionScore(predictionscore float64) *InferenceResponseResultBuilder

func (*InferenceResponseResultBuilder) TopClasses ¶

func (*InferenceResponseResultBuilder) Warning ¶

type InferenceTopClassEntry ¶

type InferenceTopClassEntry struct {
	ClassName        FieldValue `json:"class_name"`
	ClassProbability float64    `json:"class_probability"`
	ClassScore       float64    `json:"class_score"`
}

InferenceTopClassEntry type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L623-L627

type InferenceTopClassEntryBuilder ¶

type InferenceTopClassEntryBuilder struct {
	// contains filtered or unexported fields
}

InferenceTopClassEntryBuilder holds InferenceTopClassEntry struct and provides a builder API.

func NewInferenceTopClassEntryBuilder ¶

func NewInferenceTopClassEntryBuilder() *InferenceTopClassEntryBuilder

NewInferenceTopClassEntry provides a builder for the InferenceTopClassEntry struct.

func (*InferenceTopClassEntryBuilder) Build ¶

Build finalize the chain and returns the InferenceTopClassEntry struct

func (*InferenceTopClassEntryBuilder) ClassName ¶

func (*InferenceTopClassEntryBuilder) ClassProbability ¶

func (rb *InferenceTopClassEntryBuilder) ClassProbability(classprobability float64) *InferenceTopClassEntryBuilder

func (*InferenceTopClassEntryBuilder) ClassScore ¶

type Influence ¶

type Influence struct {
	InfluencerFieldName   string   `json:"influencer_field_name"`
	InfluencerFieldValues []string `json:"influencer_field_values"`
}

Influence type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Anomaly.ts#L66-L69

type InfluenceBuilder ¶

type InfluenceBuilder struct {
	// contains filtered or unexported fields
}

InfluenceBuilder holds Influence struct and provides a builder API.

func NewInfluenceBuilder ¶

func NewInfluenceBuilder() *InfluenceBuilder

NewInfluence provides a builder for the Influence struct.

func (*InfluenceBuilder) Build ¶

func (rb *InfluenceBuilder) Build() Influence

Build finalize the chain and returns the Influence struct

func (*InfluenceBuilder) InfluencerFieldName ¶

func (rb *InfluenceBuilder) InfluencerFieldName(influencerfieldname string) *InfluenceBuilder

func (*InfluenceBuilder) InfluencerFieldValues ¶

func (rb *InfluenceBuilder) InfluencerFieldValues(influencer_field_values ...string) *InfluenceBuilder

type Influencer ¶

type Influencer struct {
	// BucketSpan The length of the bucket in seconds. This value matches the bucket span that
	// is specified in the job.
	BucketSpan DurationValueUnitSeconds `json:"bucket_span"`
	// Foo Additional influencer properties are added, depending on the fields being
	// analyzed. For example, if it’s
	// analyzing `user_name` as an influencer, a field `user_name` is added to the
	// result document. This
	// information enables you to filter the anomaly results more easily.
	Foo *string `json:"foo,omitempty"`
	// InfluencerFieldName The field name of the influencer.
	InfluencerFieldName Field `json:"influencer_field_name"`
	// InfluencerFieldValue The entity that influenced, contributed to, or was to blame for the anomaly.
	InfluencerFieldValue string `json:"influencer_field_value"`
	// InfluencerScore A normalized score between 0-100, which is based on the probability of the
	// influencer in this bucket aggregated
	// across detectors. Unlike `initial_influencer_score`, this value is updated by
	// a re-normalization process as new
	// data is analyzed.
	InfluencerScore float64 `json:"influencer_score"`
	// InitialInfluencerScore A normalized score between 0-100, which is based on the probability of the
	// influencer aggregated across detectors.
	// This is the initial value that was calculated at the time the bucket was
	// processed.
	InitialInfluencerScore float64 `json:"initial_influencer_score"`
	// IsInterim If true, this is an interim result. In other words, the results are
	// calculated based on partial input data.
	IsInterim bool `json:"is_interim"`
	// JobId Identifier for the anomaly detection job.
	JobId Id `json:"job_id"`
	// Probability The probability that the influencer has this behavior, in the range 0 to 1.
	// This value can be held to a high
	// precision of over 300 decimal places, so the `influencer_score` is provided
	// as a human-readable and friendly
	// interpretation of this value.
	Probability float64 `json:"probability"`
	// ResultType Internal. This value is always set to `influencer`.
	ResultType string `json:"result_type"`
	// Timestamp The start time of the bucket for which these results were calculated.
	Timestamp EpochTimeUnitMillis `json:"timestamp"`
}

Influencer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Influencer.ts#L31-L83

type InfluencerBuilder ¶

type InfluencerBuilder struct {
	// contains filtered or unexported fields
}

InfluencerBuilder holds Influencer struct and provides a builder API.

func NewInfluencerBuilder ¶

func NewInfluencerBuilder() *InfluencerBuilder

NewInfluencer provides a builder for the Influencer struct.

func (*InfluencerBuilder) BucketSpan ¶

func (*InfluencerBuilder) Build ¶

func (rb *InfluencerBuilder) Build() Influencer

Build finalize the chain and returns the Influencer struct

func (*InfluencerBuilder) Foo ¶

func (*InfluencerBuilder) InfluencerFieldName ¶

func (rb *InfluencerBuilder) InfluencerFieldName(influencerfieldname Field) *InfluencerBuilder

func (*InfluencerBuilder) InfluencerFieldValue ¶

func (rb *InfluencerBuilder) InfluencerFieldValue(influencerfieldvalue string) *InfluencerBuilder

func (*InfluencerBuilder) InfluencerScore ¶

func (rb *InfluencerBuilder) InfluencerScore(influencerscore float64) *InfluencerBuilder

func (*InfluencerBuilder) InitialInfluencerScore ¶

func (rb *InfluencerBuilder) InitialInfluencerScore(initialinfluencerscore float64) *InfluencerBuilder

func (*InfluencerBuilder) IsInterim ¶

func (rb *InfluencerBuilder) IsInterim(isinterim bool) *InfluencerBuilder

func (*InfluencerBuilder) JobId ¶

func (rb *InfluencerBuilder) JobId(jobid Id) *InfluencerBuilder

func (*InfluencerBuilder) Probability ¶

func (rb *InfluencerBuilder) Probability(probability float64) *InfluencerBuilder

func (*InfluencerBuilder) ResultType ¶

func (rb *InfluencerBuilder) ResultType(resulttype string) *InfluencerBuilder

func (*InfluencerBuilder) Timestamp ¶

type InfoFeatureStateBuilder ¶

type InfoFeatureStateBuilder struct {
	// contains filtered or unexported fields
}

InfoFeatureStateBuilder holds InfoFeatureState struct and provides a builder API.

func NewInfoFeatureStateBuilder ¶

func NewInfoFeatureStateBuilder() *InfoFeatureStateBuilder

NewInfoFeatureState provides a builder for the InfoFeatureState struct.

func (*InfoFeatureStateBuilder) Build ¶

Build finalize the chain and returns the InfoFeatureState struct

func (*InfoFeatureStateBuilder) FeatureName ¶

func (rb *InfoFeatureStateBuilder) FeatureName(featurename string) *InfoFeatureStateBuilder

func (*InfoFeatureStateBuilder) Indices ¶

type Ingest ¶

type Ingest struct {
	Pipelines map[string]IngestTotal `json:"pipelines,omitempty"`
	Total     *IngestTotal           `json:"total,omitempty"`
}

Ingest type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L138-L141

type IngestBuilder ¶

type IngestBuilder struct {
	// contains filtered or unexported fields
}

IngestBuilder holds Ingest struct and provides a builder API.

func NewIngestBuilder ¶

func NewIngestBuilder() *IngestBuilder

NewIngest provides a builder for the Ingest struct.

func (*IngestBuilder) Build ¶

func (rb *IngestBuilder) Build() Ingest

Build finalize the chain and returns the Ingest struct

func (*IngestBuilder) Pipelines ¶

func (rb *IngestBuilder) Pipelines(values map[string]*IngestTotalBuilder) *IngestBuilder

func (*IngestBuilder) Total ¶

func (rb *IngestBuilder) Total(total *IngestTotalBuilder) *IngestBuilder

type IngestTotal ¶

type IngestTotal struct {
	Count        *int64                      `json:"count,omitempty"`
	Current      *int64                      `json:"current,omitempty"`
	Failed       *int64                      `json:"failed,omitempty"`
	Processors   []map[string]KeyedProcessor `json:"processors,omitempty"`
	TimeInMillis *DurationValueUnitMillis    `json:"time_in_millis,omitempty"`
}

IngestTotal type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L143-L149

type IngestTotalBuilder ¶

type IngestTotalBuilder struct {
	// contains filtered or unexported fields
}

IngestTotalBuilder holds IngestTotal struct and provides a builder API.

func NewIngestTotalBuilder ¶

func NewIngestTotalBuilder() *IngestTotalBuilder

NewIngestTotal provides a builder for the IngestTotal struct.

func (*IngestTotalBuilder) Build ¶

func (rb *IngestTotalBuilder) Build() IngestTotal

Build finalize the chain and returns the IngestTotal struct

func (*IngestTotalBuilder) Count ¶

func (rb *IngestTotalBuilder) Count(count int64) *IngestTotalBuilder

func (*IngestTotalBuilder) Current ¶

func (rb *IngestTotalBuilder) Current(current int64) *IngestTotalBuilder

func (*IngestTotalBuilder) Failed ¶

func (rb *IngestTotalBuilder) Failed(failed int64) *IngestTotalBuilder

func (*IngestTotalBuilder) Processors ¶

func (rb *IngestTotalBuilder) Processors(value ...map[string]KeyedProcessor) *IngestTotalBuilder

func (*IngestTotalBuilder) TimeInMillis ¶

func (rb *IngestTotalBuilder) TimeInMillis(timeinmillis *DurationValueUnitMillisBuilder) *IngestTotalBuilder

type InlineGet ¶

type InlineGet struct {
	Fields       map[string]interface{} `json:"fields,omitempty"`
	Found        bool                   `json:"found"`
	Metadata     map[string]interface{} `json:"metadata,omitempty"`
	PrimaryTerm_ *int64                 `json:"_primary_term,omitempty"`
	Routing_     *Routing               `json:"_routing,omitempty"`
	SeqNo_       *SequenceNumber        `json:"_seq_no,omitempty"`
	Source_      interface{}            `json:"_source,omitempty"`
}

InlineGet type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L279-L288

type InlineGetBuilder ¶

type InlineGetBuilder struct {
	// contains filtered or unexported fields
}

InlineGetBuilder holds InlineGet struct and provides a builder API.

func NewInlineGetBuilder ¶

func NewInlineGetBuilder() *InlineGetBuilder

NewInlineGet provides a builder for the InlineGet struct.

func (*InlineGetBuilder) Build ¶

func (rb *InlineGetBuilder) Build() InlineGet

Build finalize the chain and returns the InlineGet struct

func (*InlineGetBuilder) Fields ¶

func (rb *InlineGetBuilder) Fields(value map[string]interface{}) *InlineGetBuilder

func (*InlineGetBuilder) Found ¶

func (rb *InlineGetBuilder) Found(found bool) *InlineGetBuilder

func (*InlineGetBuilder) Metadata ¶

func (rb *InlineGetBuilder) Metadata(value map[string]interface{}) *InlineGetBuilder

func (*InlineGetBuilder) PrimaryTerm_ ¶

func (rb *InlineGetBuilder) PrimaryTerm_(primaryterm_ int64) *InlineGetBuilder

func (*InlineGetBuilder) Routing_ ¶

func (rb *InlineGetBuilder) Routing_(routing_ Routing) *InlineGetBuilder

func (*InlineGetBuilder) SeqNo_ ¶

func (rb *InlineGetBuilder) SeqNo_(seqno_ SequenceNumber) *InlineGetBuilder

func (*InlineGetBuilder) Source_ ¶

func (rb *InlineGetBuilder) Source_(source_ interface{}) *InlineGetBuilder

type InlineGetDictUserDefined ¶

type InlineGetDictUserDefined struct {
	Fields                   map[string]interface{} `json:"fields,omitempty"`
	Found                    bool                   `json:"found"`
	InlineGetDictUserDefined map[string]interface{} `json:"InlineGetDictUserDefined,omitempty"`
	PrimaryTerm_             *int64                 `json:"_primary_term,omitempty"`
	Routing_                 *Routing               `json:"_routing,omitempty"`
	SeqNo_                   *SequenceNumber        `json:"_seq_no,omitempty"`
	Source_                  map[string]interface{} `json:"_source"`
}

InlineGetDictUserDefined type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L279-L288

type InlineGetDictUserDefinedBuilder ¶

type InlineGetDictUserDefinedBuilder struct {
	// contains filtered or unexported fields
}

InlineGetDictUserDefinedBuilder holds InlineGetDictUserDefined struct and provides a builder API.

func NewInlineGetDictUserDefinedBuilder ¶

func NewInlineGetDictUserDefinedBuilder() *InlineGetDictUserDefinedBuilder

NewInlineGetDictUserDefined provides a builder for the InlineGetDictUserDefined struct.

func (*InlineGetDictUserDefinedBuilder) Build ¶

Build finalize the chain and returns the InlineGetDictUserDefined struct

func (*InlineGetDictUserDefinedBuilder) Fields ¶

func (rb *InlineGetDictUserDefinedBuilder) Fields(value map[string]interface{}) *InlineGetDictUserDefinedBuilder

func (*InlineGetDictUserDefinedBuilder) Found ¶

func (*InlineGetDictUserDefinedBuilder) InlineGetDictUserDefined ¶

func (rb *InlineGetDictUserDefinedBuilder) InlineGetDictUserDefined(value map[string]interface{}) *InlineGetDictUserDefinedBuilder

func (*InlineGetDictUserDefinedBuilder) PrimaryTerm_ ¶

func (*InlineGetDictUserDefinedBuilder) Routing_ ¶

func (*InlineGetDictUserDefinedBuilder) SeqNo_ ¶

func (*InlineGetDictUserDefinedBuilder) Source_ ¶

func (rb *InlineGetDictUserDefinedBuilder) Source_(value map[string]interface{}) *InlineGetDictUserDefinedBuilder

type InlineScript ¶

type InlineScript struct {
	Lang    *scriptlanguage.ScriptLanguage `json:"lang,omitempty"`
	Options map[string]string              `json:"options,omitempty"`
	Params  map[string]interface{}         `json:"params,omitempty"`
	Source  string                         `json:"source"`
}

InlineScript type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Scripting.ts#L45-L50

type InlineScriptBuilder ¶

type InlineScriptBuilder struct {
	// contains filtered or unexported fields
}

InlineScriptBuilder holds InlineScript struct and provides a builder API.

func NewInlineScriptBuilder ¶

func NewInlineScriptBuilder() *InlineScriptBuilder

NewInlineScript provides a builder for the InlineScript struct.

func (*InlineScriptBuilder) Build ¶

func (rb *InlineScriptBuilder) Build() InlineScript

Build finalize the chain and returns the InlineScript struct

func (*InlineScriptBuilder) Lang ¶

func (*InlineScriptBuilder) Options ¶

func (rb *InlineScriptBuilder) Options(value map[string]string) *InlineScriptBuilder

func (*InlineScriptBuilder) Params ¶

func (rb *InlineScriptBuilder) Params(value map[string]interface{}) *InlineScriptBuilder

func (*InlineScriptBuilder) Source ¶

func (rb *InlineScriptBuilder) Source(source string) *InlineScriptBuilder

type InnerHits ¶

type InnerHits struct {
	Collapse         *FieldCollapse        `json:"collapse,omitempty"`
	DocvalueFields   []FieldAndFormat      `json:"docvalue_fields,omitempty"`
	Explain          *bool                 `json:"explain,omitempty"`
	Fields           *Fields               `json:"fields,omitempty"`
	From             *int                  `json:"from,omitempty"`
	Highlight        *Highlight            `json:"highlight,omitempty"`
	IgnoreUnmapped   *bool                 `json:"ignore_unmapped,omitempty"`
	Name             *Name                 `json:"name,omitempty"`
	ScriptFields     map[Field]ScriptField `json:"script_fields,omitempty"`
	SeqNoPrimaryTerm *bool                 `json:"seq_no_primary_term,omitempty"`
	Size             *int                  `json:"size,omitempty"`
	Sort             *Sort                 `json:"sort,omitempty"`
	Source_          *SourceConfig         `json:"_source,omitempty"`
	StoredField      *Fields               `json:"stored_field,omitempty"`
	TrackScores      *bool                 `json:"track_scores,omitempty"`
	Version          *bool                 `json:"version,omitempty"`
}

InnerHits type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/hits.ts#L102-L120

type InnerHitsBuilder ¶

type InnerHitsBuilder struct {
	// contains filtered or unexported fields
}

InnerHitsBuilder holds InnerHits struct and provides a builder API.

func NewInnerHitsBuilder ¶

func NewInnerHitsBuilder() *InnerHitsBuilder

NewInnerHits provides a builder for the InnerHits struct.

func (*InnerHitsBuilder) Build ¶

func (rb *InnerHitsBuilder) Build() InnerHits

Build finalize the chain and returns the InnerHits struct

func (*InnerHitsBuilder) Collapse ¶

func (rb *InnerHitsBuilder) Collapse(collapse *FieldCollapseBuilder) *InnerHitsBuilder

func (*InnerHitsBuilder) DocvalueFields ¶

func (rb *InnerHitsBuilder) DocvalueFields(docvalue_fields []FieldAndFormatBuilder) *InnerHitsBuilder

func (*InnerHitsBuilder) Explain ¶

func (rb *InnerHitsBuilder) Explain(explain bool) *InnerHitsBuilder

func (*InnerHitsBuilder) Fields ¶

func (rb *InnerHitsBuilder) Fields(fields *FieldsBuilder) *InnerHitsBuilder

func (*InnerHitsBuilder) From ¶

func (rb *InnerHitsBuilder) From(from int) *InnerHitsBuilder

func (*InnerHitsBuilder) Highlight ¶

func (rb *InnerHitsBuilder) Highlight(highlight *HighlightBuilder) *InnerHitsBuilder

func (*InnerHitsBuilder) IgnoreUnmapped ¶

func (rb *InnerHitsBuilder) IgnoreUnmapped(ignoreunmapped bool) *InnerHitsBuilder

func (*InnerHitsBuilder) Name ¶

func (rb *InnerHitsBuilder) Name(name Name) *InnerHitsBuilder

func (*InnerHitsBuilder) ScriptFields ¶

func (rb *InnerHitsBuilder) ScriptFields(values map[Field]*ScriptFieldBuilder) *InnerHitsBuilder

func (*InnerHitsBuilder) SeqNoPrimaryTerm ¶

func (rb *InnerHitsBuilder) SeqNoPrimaryTerm(seqnoprimaryterm bool) *InnerHitsBuilder

func (*InnerHitsBuilder) Size ¶

func (rb *InnerHitsBuilder) Size(size int) *InnerHitsBuilder

func (*InnerHitsBuilder) Sort ¶

func (*InnerHitsBuilder) Source_ ¶

func (rb *InnerHitsBuilder) Source_(source_ *SourceConfigBuilder) *InnerHitsBuilder

func (*InnerHitsBuilder) StoredField ¶

func (rb *InnerHitsBuilder) StoredField(storedfield *FieldsBuilder) *InnerHitsBuilder

func (*InnerHitsBuilder) TrackScores ¶

func (rb *InnerHitsBuilder) TrackScores(trackscores bool) *InnerHitsBuilder

func (*InnerHitsBuilder) Version ¶

func (rb *InnerHitsBuilder) Version(version bool) *InnerHitsBuilder

type InnerHitsResultBuilder ¶

type InnerHitsResultBuilder struct {
	// contains filtered or unexported fields
}

InnerHitsResultBuilder holds InnerHitsResult struct and provides a builder API.

func NewInnerHitsResultBuilder ¶

func NewInnerHitsResultBuilder() *InnerHitsResultBuilder

NewInnerHitsResult provides a builder for the InnerHitsResult struct.

func (*InnerHitsResultBuilder) Build ¶

Build finalize the chain and returns the InnerHitsResult struct

func (*InnerHitsResultBuilder) Hits ¶

type InputBuilder ¶

type InputBuilder struct {
	// contains filtered or unexported fields
}

InputBuilder holds Input struct and provides a builder API.

func NewInputBuilder ¶

func NewInputBuilder() *InputBuilder

NewInput provides a builder for the Input struct.

func (*InputBuilder) Build ¶

func (rb *InputBuilder) Build() Input

Build finalize the chain and returns the Input struct

func (*InputBuilder) FieldNames ¶

func (rb *InputBuilder) FieldNames(fieldnames *NamesBuilder) *InputBuilder

type InputContainer ¶

type InputContainer struct {
	Chain  *ChainInput            `json:"chain,omitempty"`
	Http   *HttpInput             `json:"http,omitempty"`
	Search *SearchInput           `json:"search,omitempty"`
	Simple map[string]interface{} `json:"simple,omitempty"`
}

InputContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L92-L100

type InputContainerBuilder ¶

type InputContainerBuilder struct {
	// contains filtered or unexported fields
}

InputContainerBuilder holds InputContainer struct and provides a builder API.

func NewInputContainerBuilder ¶

func NewInputContainerBuilder() *InputContainerBuilder

NewInputContainer provides a builder for the InputContainer struct.

func (*InputContainerBuilder) Build ¶

Build finalize the chain and returns the InputContainer struct

func (*InputContainerBuilder) Chain ¶

func (*InputContainerBuilder) Http ¶

func (*InputContainerBuilder) Search ¶

func (*InputContainerBuilder) Simple ¶

func (rb *InputContainerBuilder) Simple(value map[string]interface{}) *InputContainerBuilder

type IntegerNumberProperty ¶

type IntegerNumberProperty struct {
	Coerce           *bool                                      `json:"coerce,omitempty"`
	CopyTo           *Fields                                    `json:"copy_to,omitempty"`
	DocValues        *bool                                      `json:"doc_values,omitempty"`
	Dynamic          *dynamicmapping.DynamicMapping             `json:"dynamic,omitempty"`
	Fields           map[PropertyName]Property                  `json:"fields,omitempty"`
	IgnoreAbove      *int                                       `json:"ignore_above,omitempty"`
	IgnoreMalformed  *bool                                      `json:"ignore_malformed,omitempty"`
	Index            *bool                                      `json:"index,omitempty"`
	LocalMetadata    *Metadata                                  `json:"local_metadata,omitempty"`
	Meta             map[string]string                          `json:"meta,omitempty"`
	NullValue        *int                                       `json:"null_value,omitempty"`
	OnScriptError    *onscripterror.OnScriptError               `json:"on_script_error,omitempty"`
	Properties       map[PropertyName]Property                  `json:"properties,omitempty"`
	Script           *Script                                    `json:"script,omitempty"`
	Similarity       *string                                    `json:"similarity,omitempty"`
	Store            *bool                                      `json:"store,omitempty"`
	TimeSeriesMetric *timeseriesmetrictype.TimeSeriesMetricType `json:"time_series_metric,omitempty"`
	Type             string                                     `json:"type,omitempty"`
}

IntegerNumberProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L134-L137

type IntegerNumberPropertyBuilder ¶

type IntegerNumberPropertyBuilder struct {
	// contains filtered or unexported fields
}

IntegerNumberPropertyBuilder holds IntegerNumberProperty struct and provides a builder API.

func NewIntegerNumberPropertyBuilder ¶

func NewIntegerNumberPropertyBuilder() *IntegerNumberPropertyBuilder

NewIntegerNumberProperty provides a builder for the IntegerNumberProperty struct.

func (*IntegerNumberPropertyBuilder) Build ¶

Build finalize the chain and returns the IntegerNumberProperty struct

func (*IntegerNumberPropertyBuilder) Coerce ¶

func (*IntegerNumberPropertyBuilder) CopyTo ¶

func (*IntegerNumberPropertyBuilder) DocValues ¶

func (*IntegerNumberPropertyBuilder) Dynamic ¶

func (*IntegerNumberPropertyBuilder) Fields ¶

func (*IntegerNumberPropertyBuilder) IgnoreAbove ¶

func (rb *IntegerNumberPropertyBuilder) IgnoreAbove(ignoreabove int) *IntegerNumberPropertyBuilder

func (*IntegerNumberPropertyBuilder) IgnoreMalformed ¶

func (rb *IntegerNumberPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *IntegerNumberPropertyBuilder

func (*IntegerNumberPropertyBuilder) Index ¶

func (*IntegerNumberPropertyBuilder) LocalMetadata ¶

func (*IntegerNumberPropertyBuilder) Meta ¶

func (*IntegerNumberPropertyBuilder) NullValue ¶

func (*IntegerNumberPropertyBuilder) OnScriptError ¶

func (*IntegerNumberPropertyBuilder) Properties ¶

func (*IntegerNumberPropertyBuilder) Script ¶

func (*IntegerNumberPropertyBuilder) Similarity ¶

func (*IntegerNumberPropertyBuilder) Store ¶

func (*IntegerNumberPropertyBuilder) TimeSeriesMetric ¶

type IntegerRangeProperty ¶

type IntegerRangeProperty struct {
	Boost         *float64                       `json:"boost,omitempty"`
	Coerce        *bool                          `json:"coerce,omitempty"`
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	DocValues     *bool                          `json:"doc_values,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	Index         *bool                          `json:"index,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

IntegerRangeProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/range.ts#L42-L44

type IntegerRangePropertyBuilder ¶

type IntegerRangePropertyBuilder struct {
	// contains filtered or unexported fields
}

IntegerRangePropertyBuilder holds IntegerRangeProperty struct and provides a builder API.

func NewIntegerRangePropertyBuilder ¶

func NewIntegerRangePropertyBuilder() *IntegerRangePropertyBuilder

NewIntegerRangeProperty provides a builder for the IntegerRangeProperty struct.

func (*IntegerRangePropertyBuilder) Boost ¶

func (*IntegerRangePropertyBuilder) Build ¶

Build finalize the chain and returns the IntegerRangeProperty struct

func (*IntegerRangePropertyBuilder) Coerce ¶

func (*IntegerRangePropertyBuilder) CopyTo ¶

func (*IntegerRangePropertyBuilder) DocValues ¶

func (*IntegerRangePropertyBuilder) Dynamic ¶

func (*IntegerRangePropertyBuilder) Fields ¶

func (*IntegerRangePropertyBuilder) IgnoreAbove ¶

func (rb *IntegerRangePropertyBuilder) IgnoreAbove(ignoreabove int) *IntegerRangePropertyBuilder

func (*IntegerRangePropertyBuilder) Index ¶

func (*IntegerRangePropertyBuilder) LocalMetadata ¶

func (rb *IntegerRangePropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *IntegerRangePropertyBuilder

func (*IntegerRangePropertyBuilder) Meta ¶

func (*IntegerRangePropertyBuilder) Properties ¶

func (*IntegerRangePropertyBuilder) Similarity ¶

func (*IntegerRangePropertyBuilder) Store ¶

type IntervalsAllOf ¶

type IntervalsAllOf struct {
	Filter    *IntervalsFilter     `json:"filter,omitempty"`
	Intervals []IntervalsContainer `json:"intervals"`
	MaxGaps   *int                 `json:"max_gaps,omitempty"`
	Ordered   *bool                `json:"ordered,omitempty"`
}

IntervalsAllOf type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L49-L56

type IntervalsAllOfBuilder ¶

type IntervalsAllOfBuilder struct {
	// contains filtered or unexported fields
}

IntervalsAllOfBuilder holds IntervalsAllOf struct and provides a builder API.

func NewIntervalsAllOfBuilder ¶

func NewIntervalsAllOfBuilder() *IntervalsAllOfBuilder

NewIntervalsAllOf provides a builder for the IntervalsAllOf struct.

func (*IntervalsAllOfBuilder) Build ¶

Build finalize the chain and returns the IntervalsAllOf struct

func (*IntervalsAllOfBuilder) Filter ¶

func (*IntervalsAllOfBuilder) Intervals ¶

func (*IntervalsAllOfBuilder) MaxGaps ¶

func (rb *IntervalsAllOfBuilder) MaxGaps(maxgaps int) *IntervalsAllOfBuilder

func (*IntervalsAllOfBuilder) Ordered ¶

func (rb *IntervalsAllOfBuilder) Ordered(ordered bool) *IntervalsAllOfBuilder

type IntervalsAnyOfBuilder ¶

type IntervalsAnyOfBuilder struct {
	// contains filtered or unexported fields
}

IntervalsAnyOfBuilder holds IntervalsAnyOf struct and provides a builder API.

func NewIntervalsAnyOfBuilder ¶

func NewIntervalsAnyOfBuilder() *IntervalsAnyOfBuilder

NewIntervalsAnyOf provides a builder for the IntervalsAnyOf struct.

func (*IntervalsAnyOfBuilder) Build ¶

Build finalize the chain and returns the IntervalsAnyOf struct

func (*IntervalsAnyOfBuilder) Filter ¶

func (*IntervalsAnyOfBuilder) Intervals ¶

type IntervalsContainer ¶

type IntervalsContainer struct {
	AllOf    *IntervalsAllOf    `json:"all_of,omitempty"`
	AnyOf    *IntervalsAnyOf    `json:"any_of,omitempty"`
	Fuzzy    *IntervalsFuzzy    `json:"fuzzy,omitempty"`
	Match    *IntervalsMatch    `json:"match,omitempty"`
	Prefix   *IntervalsPrefix   `json:"prefix,omitempty"`
	Wildcard *IntervalsWildcard `json:"wildcard,omitempty"`
}

IntervalsContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L63-L72

type IntervalsContainerBuilder ¶

type IntervalsContainerBuilder struct {
	// contains filtered or unexported fields
}

IntervalsContainerBuilder holds IntervalsContainer struct and provides a builder API.

func NewIntervalsContainerBuilder ¶

func NewIntervalsContainerBuilder() *IntervalsContainerBuilder

NewIntervalsContainer provides a builder for the IntervalsContainer struct.

func (*IntervalsContainerBuilder) AllOf ¶

func (*IntervalsContainerBuilder) AnyOf ¶

func (*IntervalsContainerBuilder) Build ¶

Build finalize the chain and returns the IntervalsContainer struct

func (*IntervalsContainerBuilder) Fuzzy ¶

func (*IntervalsContainerBuilder) Match ¶

func (*IntervalsContainerBuilder) Prefix ¶

func (*IntervalsContainerBuilder) Wildcard ¶

type IntervalsFilter ¶

type IntervalsFilter struct {
	After          *IntervalsContainer `json:"after,omitempty"`
	Before         *IntervalsContainer `json:"before,omitempty"`
	ContainedBy    *IntervalsContainer `json:"contained_by,omitempty"`
	Containing     *IntervalsContainer `json:"containing,omitempty"`
	NotContainedBy *IntervalsContainer `json:"not_contained_by,omitempty"`
	NotContaining  *IntervalsContainer `json:"not_containing,omitempty"`
	NotOverlapping *IntervalsContainer `json:"not_overlapping,omitempty"`
	Overlapping    *IntervalsContainer `json:"overlapping,omitempty"`
	Script         *Script             `json:"script,omitempty"`
}

IntervalsFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L74-L86

type IntervalsFilterBuilder ¶

type IntervalsFilterBuilder struct {
	// contains filtered or unexported fields
}

IntervalsFilterBuilder holds IntervalsFilter struct and provides a builder API.

func NewIntervalsFilterBuilder ¶

func NewIntervalsFilterBuilder() *IntervalsFilterBuilder

NewIntervalsFilter provides a builder for the IntervalsFilter struct.

func (*IntervalsFilterBuilder) After ¶

func (*IntervalsFilterBuilder) Before ¶

func (*IntervalsFilterBuilder) Build ¶

Build finalize the chain and returns the IntervalsFilter struct

func (*IntervalsFilterBuilder) ContainedBy ¶

func (*IntervalsFilterBuilder) Containing ¶

func (*IntervalsFilterBuilder) NotContainedBy ¶

func (rb *IntervalsFilterBuilder) NotContainedBy(notcontainedby *IntervalsContainerBuilder) *IntervalsFilterBuilder

func (*IntervalsFilterBuilder) NotContaining ¶

func (rb *IntervalsFilterBuilder) NotContaining(notcontaining *IntervalsContainerBuilder) *IntervalsFilterBuilder

func (*IntervalsFilterBuilder) NotOverlapping ¶

func (rb *IntervalsFilterBuilder) NotOverlapping(notoverlapping *IntervalsContainerBuilder) *IntervalsFilterBuilder

func (*IntervalsFilterBuilder) Overlapping ¶

func (*IntervalsFilterBuilder) Script ¶

type IntervalsFuzzy ¶

type IntervalsFuzzy struct {
	Analyzer       *string    `json:"analyzer,omitempty"`
	Fuzziness      *Fuzziness `json:"fuzziness,omitempty"`
	PrefixLength   *int       `json:"prefix_length,omitempty"`
	Term           string     `json:"term"`
	Transpositions *bool      `json:"transpositions,omitempty"`
	UseField       *Field     `json:"use_field,omitempty"`
}

IntervalsFuzzy type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L88-L97

type IntervalsFuzzyBuilder ¶

type IntervalsFuzzyBuilder struct {
	// contains filtered or unexported fields
}

IntervalsFuzzyBuilder holds IntervalsFuzzy struct and provides a builder API.

func NewIntervalsFuzzyBuilder ¶

func NewIntervalsFuzzyBuilder() *IntervalsFuzzyBuilder

NewIntervalsFuzzy provides a builder for the IntervalsFuzzy struct.

func (*IntervalsFuzzyBuilder) Analyzer ¶

func (rb *IntervalsFuzzyBuilder) Analyzer(analyzer string) *IntervalsFuzzyBuilder

func (*IntervalsFuzzyBuilder) Build ¶

Build finalize the chain and returns the IntervalsFuzzy struct

func (*IntervalsFuzzyBuilder) Fuzziness ¶

func (*IntervalsFuzzyBuilder) PrefixLength ¶

func (rb *IntervalsFuzzyBuilder) PrefixLength(prefixlength int) *IntervalsFuzzyBuilder

func (*IntervalsFuzzyBuilder) Term ¶

func (*IntervalsFuzzyBuilder) Transpositions ¶

func (rb *IntervalsFuzzyBuilder) Transpositions(transpositions bool) *IntervalsFuzzyBuilder

func (*IntervalsFuzzyBuilder) UseField ¶

func (rb *IntervalsFuzzyBuilder) UseField(usefield Field) *IntervalsFuzzyBuilder

type IntervalsMatch ¶

type IntervalsMatch struct {
	Analyzer *string          `json:"analyzer,omitempty"`
	Filter   *IntervalsFilter `json:"filter,omitempty"`
	MaxGaps  *int             `json:"max_gaps,omitempty"`
	Ordered  *bool            `json:"ordered,omitempty"`
	Query    string           `json:"query"`
	UseField *Field           `json:"use_field,omitempty"`
}

IntervalsMatch type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L99-L108

type IntervalsMatchBuilder ¶

type IntervalsMatchBuilder struct {
	// contains filtered or unexported fields
}

IntervalsMatchBuilder holds IntervalsMatch struct and provides a builder API.

func NewIntervalsMatchBuilder ¶

func NewIntervalsMatchBuilder() *IntervalsMatchBuilder

NewIntervalsMatch provides a builder for the IntervalsMatch struct.

func (*IntervalsMatchBuilder) Analyzer ¶

func (rb *IntervalsMatchBuilder) Analyzer(analyzer string) *IntervalsMatchBuilder

func (*IntervalsMatchBuilder) Build ¶

Build finalize the chain and returns the IntervalsMatch struct

func (*IntervalsMatchBuilder) Filter ¶

func (*IntervalsMatchBuilder) MaxGaps ¶

func (rb *IntervalsMatchBuilder) MaxGaps(maxgaps int) *IntervalsMatchBuilder

func (*IntervalsMatchBuilder) Ordered ¶

func (rb *IntervalsMatchBuilder) Ordered(ordered bool) *IntervalsMatchBuilder

func (*IntervalsMatchBuilder) Query ¶

func (*IntervalsMatchBuilder) UseField ¶

func (rb *IntervalsMatchBuilder) UseField(usefield Field) *IntervalsMatchBuilder

type IntervalsPrefix ¶

type IntervalsPrefix struct {
	Analyzer *string `json:"analyzer,omitempty"`
	Prefix   string  `json:"prefix"`
	UseField *Field  `json:"use_field,omitempty"`
}

IntervalsPrefix type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L110-L114

type IntervalsPrefixBuilder ¶

type IntervalsPrefixBuilder struct {
	// contains filtered or unexported fields
}

IntervalsPrefixBuilder holds IntervalsPrefix struct and provides a builder API.

func NewIntervalsPrefixBuilder ¶

func NewIntervalsPrefixBuilder() *IntervalsPrefixBuilder

NewIntervalsPrefix provides a builder for the IntervalsPrefix struct.

func (*IntervalsPrefixBuilder) Analyzer ¶

func (rb *IntervalsPrefixBuilder) Analyzer(analyzer string) *IntervalsPrefixBuilder

func (*IntervalsPrefixBuilder) Build ¶

Build finalize the chain and returns the IntervalsPrefix struct

func (*IntervalsPrefixBuilder) Prefix ¶

func (*IntervalsPrefixBuilder) UseField ¶

func (rb *IntervalsPrefixBuilder) UseField(usefield Field) *IntervalsPrefixBuilder

type IntervalsQuery ¶

type IntervalsQuery struct {
	AllOf      *IntervalsAllOf    `json:"all_of,omitempty"`
	AnyOf      *IntervalsAnyOf    `json:"any_of,omitempty"`
	Boost      *float32           `json:"boost,omitempty"`
	Fuzzy      *IntervalsFuzzy    `json:"fuzzy,omitempty"`
	Match      *IntervalsMatch    `json:"match,omitempty"`
	Prefix     *IntervalsPrefix   `json:"prefix,omitempty"`
	QueryName_ *string            `json:"_name,omitempty"`
	Wildcard   *IntervalsWildcard `json:"wildcard,omitempty"`
}

IntervalsQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L116-L125

type IntervalsQueryBuilder ¶

type IntervalsQueryBuilder struct {
	// contains filtered or unexported fields
}

IntervalsQueryBuilder holds IntervalsQuery struct and provides a builder API.

func NewIntervalsQueryBuilder ¶

func NewIntervalsQueryBuilder() *IntervalsQueryBuilder

NewIntervalsQuery provides a builder for the IntervalsQuery struct.

func (*IntervalsQueryBuilder) AllOf ¶

func (*IntervalsQueryBuilder) AnyOf ¶

func (*IntervalsQueryBuilder) Boost ¶

func (*IntervalsQueryBuilder) Build ¶

Build finalize the chain and returns the IntervalsQuery struct

func (*IntervalsQueryBuilder) Fuzzy ¶

func (*IntervalsQueryBuilder) Match ¶

func (*IntervalsQueryBuilder) Prefix ¶

func (*IntervalsQueryBuilder) QueryName_ ¶

func (rb *IntervalsQueryBuilder) QueryName_(queryname_ string) *IntervalsQueryBuilder

func (*IntervalsQueryBuilder) Wildcard ¶

type IntervalsWildcard ¶

type IntervalsWildcard struct {
	Analyzer *string `json:"analyzer,omitempty"`
	Pattern  string  `json:"pattern"`
	UseField *Field  `json:"use_field,omitempty"`
}

IntervalsWildcard type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L127-L131

type IntervalsWildcardBuilder ¶

type IntervalsWildcardBuilder struct {
	// contains filtered or unexported fields
}

IntervalsWildcardBuilder holds IntervalsWildcard struct and provides a builder API.

func NewIntervalsWildcardBuilder ¶

func NewIntervalsWildcardBuilder() *IntervalsWildcardBuilder

NewIntervalsWildcard provides a builder for the IntervalsWildcard struct.

func (*IntervalsWildcardBuilder) Analyzer ¶

func (*IntervalsWildcardBuilder) Build ¶

Build finalize the chain and returns the IntervalsWildcard struct

func (*IntervalsWildcardBuilder) Pattern ¶

func (*IntervalsWildcardBuilder) UseField ¶

type InvertedIndex ¶

type InvertedIndex struct {
	Offsets         uint `json:"offsets"`
	Payloads        uint `json:"payloads"`
	Positions       uint `json:"positions"`
	Postings        uint `json:"postings"`
	Proximity       uint `json:"proximity"`
	TermFrequencies uint `json:"term_frequencies"`
	Terms           uint `json:"terms"`
}

InvertedIndex type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L65-L73

type InvertedIndexBuilder ¶

type InvertedIndexBuilder struct {
	// contains filtered or unexported fields
}

InvertedIndexBuilder holds InvertedIndex struct and provides a builder API.

func NewInvertedIndexBuilder ¶

func NewInvertedIndexBuilder() *InvertedIndexBuilder

NewInvertedIndex provides a builder for the InvertedIndex struct.

func (*InvertedIndexBuilder) Build ¶

func (rb *InvertedIndexBuilder) Build() InvertedIndex

Build finalize the chain and returns the InvertedIndex struct

func (*InvertedIndexBuilder) Offsets ¶

func (rb *InvertedIndexBuilder) Offsets(offsets uint) *InvertedIndexBuilder

func (*InvertedIndexBuilder) Payloads ¶

func (rb *InvertedIndexBuilder) Payloads(payloads uint) *InvertedIndexBuilder

func (*InvertedIndexBuilder) Positions ¶

func (rb *InvertedIndexBuilder) Positions(positions uint) *InvertedIndexBuilder

func (*InvertedIndexBuilder) Postings ¶

func (rb *InvertedIndexBuilder) Postings(postings uint) *InvertedIndexBuilder

func (*InvertedIndexBuilder) Proximity ¶

func (rb *InvertedIndexBuilder) Proximity(proximity uint) *InvertedIndexBuilder

func (*InvertedIndexBuilder) TermFrequencies ¶

func (rb *InvertedIndexBuilder) TermFrequencies(termfrequencies uint) *InvertedIndexBuilder

func (*InvertedIndexBuilder) Terms ¶

type InvocationBuilder ¶

type InvocationBuilder struct {
	// contains filtered or unexported fields
}

InvocationBuilder holds Invocation struct and provides a builder API.

func NewInvocationBuilder ¶

func NewInvocationBuilder() *InvocationBuilder

NewInvocation provides a builder for the Invocation struct.

func (*InvocationBuilder) Build ¶

func (rb *InvocationBuilder) Build() Invocation

Build finalize the chain and returns the Invocation struct

func (*InvocationBuilder) SnapshotName ¶

func (rb *InvocationBuilder) SnapshotName(snapshotname Name) *InvocationBuilder

func (*InvocationBuilder) Time ¶

type IoStatDevice ¶

type IoStatDevice struct {
	DeviceName      *string `json:"device_name,omitempty"`
	Operations      *int64  `json:"operations,omitempty"`
	ReadKilobytes   *int64  `json:"read_kilobytes,omitempty"`
	ReadOperations  *int64  `json:"read_operations,omitempty"`
	WriteKilobytes  *int64  `json:"write_kilobytes,omitempty"`
	WriteOperations *int64  `json:"write_operations,omitempty"`
}

IoStatDevice type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L292-L299

type IoStatDeviceBuilder ¶

type IoStatDeviceBuilder struct {
	// contains filtered or unexported fields
}

IoStatDeviceBuilder holds IoStatDevice struct and provides a builder API.

func NewIoStatDeviceBuilder ¶

func NewIoStatDeviceBuilder() *IoStatDeviceBuilder

NewIoStatDevice provides a builder for the IoStatDevice struct.

func (*IoStatDeviceBuilder) Build ¶

func (rb *IoStatDeviceBuilder) Build() IoStatDevice

Build finalize the chain and returns the IoStatDevice struct

func (*IoStatDeviceBuilder) DeviceName ¶

func (rb *IoStatDeviceBuilder) DeviceName(devicename string) *IoStatDeviceBuilder

func (*IoStatDeviceBuilder) Operations ¶

func (rb *IoStatDeviceBuilder) Operations(operations int64) *IoStatDeviceBuilder

func (*IoStatDeviceBuilder) ReadKilobytes ¶

func (rb *IoStatDeviceBuilder) ReadKilobytes(readkilobytes int64) *IoStatDeviceBuilder

func (*IoStatDeviceBuilder) ReadOperations ¶

func (rb *IoStatDeviceBuilder) ReadOperations(readoperations int64) *IoStatDeviceBuilder

func (*IoStatDeviceBuilder) WriteKilobytes ¶

func (rb *IoStatDeviceBuilder) WriteKilobytes(writekilobytes int64) *IoStatDeviceBuilder

func (*IoStatDeviceBuilder) WriteOperations ¶

func (rb *IoStatDeviceBuilder) WriteOperations(writeoperations int64) *IoStatDeviceBuilder

type IoStatsBuilder ¶

type IoStatsBuilder struct {
	// contains filtered or unexported fields
}

IoStatsBuilder holds IoStats struct and provides a builder API.

func NewIoStatsBuilder ¶

func NewIoStatsBuilder() *IoStatsBuilder

NewIoStats provides a builder for the IoStats struct.

func (*IoStatsBuilder) Build ¶

func (rb *IoStatsBuilder) Build() IoStats

Build finalize the chain and returns the IoStats struct

func (*IoStatsBuilder) Devices ¶

func (rb *IoStatsBuilder) Devices(devices []IoStatDeviceBuilder) *IoStatsBuilder

func (*IoStatsBuilder) Total ¶

type IpBuilder ¶

type IpBuilder struct {
	// contains filtered or unexported fields
}

IpBuilder holds Ip struct and provides a builder API.

func NewIpBuilder ¶

func NewIpBuilder() *IpBuilder

NewIp provides a builder for the Ip struct.

func (*IpBuilder) Build ¶

func (b *IpBuilder) Build() Ip

Build finalize the chain and returns the Ip struct

func (*IpBuilder) Ip ¶

func (b *IpBuilder) Ip(value Ip) *IpBuilder

type IpFilterBuilder ¶

type IpFilterBuilder struct {
	// contains filtered or unexported fields
}

IpFilterBuilder holds IpFilter struct and provides a builder API.

func NewIpFilterBuilder ¶

func NewIpFilterBuilder() *IpFilterBuilder

NewIpFilter provides a builder for the IpFilter struct.

func (*IpFilterBuilder) Build ¶

func (rb *IpFilterBuilder) Build() IpFilter

Build finalize the chain and returns the IpFilter struct

func (*IpFilterBuilder) Http ¶

func (rb *IpFilterBuilder) Http(http bool) *IpFilterBuilder

func (*IpFilterBuilder) Transport ¶

func (rb *IpFilterBuilder) Transport(transport bool) *IpFilterBuilder

type IpProperty ¶

type IpProperty struct {
	Boost           *float64                       `json:"boost,omitempty"`
	CopyTo          *Fields                        `json:"copy_to,omitempty"`
	DocValues       *bool                          `json:"doc_values,omitempty"`
	Dynamic         *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields          map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove     *int                           `json:"ignore_above,omitempty"`
	IgnoreMalformed *bool                          `json:"ignore_malformed,omitempty"`
	Index           *bool                          `json:"index,omitempty"`
	LocalMetadata   *Metadata                      `json:"local_metadata,omitempty"`
	Meta            map[string]string              `json:"meta,omitempty"`
	NullValue       *string                        `json:"null_value,omitempty"`
	Properties      map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity      *string                        `json:"similarity,omitempty"`
	Store           *bool                          `json:"store,omitempty"`
	Type            string                         `json:"type,omitempty"`
}

IpProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/specialized.ts#L58-L64

type IpPropertyBuilder ¶

type IpPropertyBuilder struct {
	// contains filtered or unexported fields
}

IpPropertyBuilder holds IpProperty struct and provides a builder API.

func NewIpPropertyBuilder ¶

func NewIpPropertyBuilder() *IpPropertyBuilder

NewIpProperty provides a builder for the IpProperty struct.

func (*IpPropertyBuilder) Boost ¶

func (rb *IpPropertyBuilder) Boost(boost float64) *IpPropertyBuilder

func (*IpPropertyBuilder) Build ¶

func (rb *IpPropertyBuilder) Build() IpProperty

Build finalize the chain and returns the IpProperty struct

func (*IpPropertyBuilder) CopyTo ¶

func (rb *IpPropertyBuilder) CopyTo(copyto *FieldsBuilder) *IpPropertyBuilder

func (*IpPropertyBuilder) DocValues ¶

func (rb *IpPropertyBuilder) DocValues(docvalues bool) *IpPropertyBuilder

func (*IpPropertyBuilder) Dynamic ¶

func (*IpPropertyBuilder) Fields ¶

func (*IpPropertyBuilder) IgnoreAbove ¶

func (rb *IpPropertyBuilder) IgnoreAbove(ignoreabove int) *IpPropertyBuilder

func (*IpPropertyBuilder) IgnoreMalformed ¶

func (rb *IpPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *IpPropertyBuilder

func (*IpPropertyBuilder) Index ¶

func (rb *IpPropertyBuilder) Index(index bool) *IpPropertyBuilder

func (*IpPropertyBuilder) LocalMetadata ¶

func (rb *IpPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *IpPropertyBuilder

func (*IpPropertyBuilder) Meta ¶

func (rb *IpPropertyBuilder) Meta(value map[string]string) *IpPropertyBuilder

func (*IpPropertyBuilder) NullValue ¶

func (rb *IpPropertyBuilder) NullValue(nullvalue string) *IpPropertyBuilder

func (*IpPropertyBuilder) Properties ¶

func (rb *IpPropertyBuilder) Properties(values map[PropertyName]*PropertyBuilder) *IpPropertyBuilder

func (*IpPropertyBuilder) Similarity ¶

func (rb *IpPropertyBuilder) Similarity(similarity string) *IpPropertyBuilder

func (*IpPropertyBuilder) Store ¶

func (rb *IpPropertyBuilder) Store(store bool) *IpPropertyBuilder

type IpRangeAggregateBuilder ¶

type IpRangeAggregateBuilder struct {
	// contains filtered or unexported fields
}

IpRangeAggregateBuilder holds IpRangeAggregate struct and provides a builder API.

func NewIpRangeAggregateBuilder ¶

func NewIpRangeAggregateBuilder() *IpRangeAggregateBuilder

NewIpRangeAggregate provides a builder for the IpRangeAggregate struct.

func (*IpRangeAggregateBuilder) Buckets ¶

func (*IpRangeAggregateBuilder) Build ¶

Build finalize the chain and returns the IpRangeAggregate struct

func (*IpRangeAggregateBuilder) Meta ¶

type IpRangeAggregation ¶

type IpRangeAggregation struct {
	Field  *Field                    `json:"field,omitempty"`
	Meta   *Metadata                 `json:"meta,omitempty"`
	Name   *string                   `json:"name,omitempty"`
	Ranges []IpRangeAggregationRange `json:"ranges,omitempty"`
}

IpRangeAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L246-L249

type IpRangeAggregationBuilder ¶

type IpRangeAggregationBuilder struct {
	// contains filtered or unexported fields
}

IpRangeAggregationBuilder holds IpRangeAggregation struct and provides a builder API.

func NewIpRangeAggregationBuilder ¶

func NewIpRangeAggregationBuilder() *IpRangeAggregationBuilder

NewIpRangeAggregation provides a builder for the IpRangeAggregation struct.

func (*IpRangeAggregationBuilder) Build ¶

Build finalize the chain and returns the IpRangeAggregation struct

func (*IpRangeAggregationBuilder) Field ¶

func (*IpRangeAggregationBuilder) Meta ¶

func (*IpRangeAggregationBuilder) Name ¶

func (*IpRangeAggregationBuilder) Ranges ¶

type IpRangeAggregationRange ¶

type IpRangeAggregationRange struct {
	From string  `json:"from,omitempty"`
	Mask *string `json:"mask,omitempty"`
	To   string  `json:"to,omitempty"`
}

IpRangeAggregationRange type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L251-L255

type IpRangeAggregationRangeBuilder ¶

type IpRangeAggregationRangeBuilder struct {
	// contains filtered or unexported fields
}

IpRangeAggregationRangeBuilder holds IpRangeAggregationRange struct and provides a builder API.

func NewIpRangeAggregationRangeBuilder ¶

func NewIpRangeAggregationRangeBuilder() *IpRangeAggregationRangeBuilder

NewIpRangeAggregationRange provides a builder for the IpRangeAggregationRange struct.

func (*IpRangeAggregationRangeBuilder) Build ¶

Build finalize the chain and returns the IpRangeAggregationRange struct

func (*IpRangeAggregationRangeBuilder) From ¶

func (*IpRangeAggregationRangeBuilder) Mask ¶

func (*IpRangeAggregationRangeBuilder) To ¶

type IpRangeBucket ¶

type IpRangeBucket struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	From         *string                     `json:"from,omitempty"`
	To           *string                     `json:"to,omitempty"`
}

IpRangeBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L540-L543

type IpRangeBucketBuilder ¶

type IpRangeBucketBuilder struct {
	// contains filtered or unexported fields
}

IpRangeBucketBuilder holds IpRangeBucket struct and provides a builder API.

func NewIpRangeBucketBuilder ¶

func NewIpRangeBucketBuilder() *IpRangeBucketBuilder

NewIpRangeBucket provides a builder for the IpRangeBucket struct.

func (*IpRangeBucketBuilder) Aggregations ¶

func (*IpRangeBucketBuilder) Build ¶

func (rb *IpRangeBucketBuilder) Build() IpRangeBucket

Build finalize the chain and returns the IpRangeBucket struct

func (*IpRangeBucketBuilder) DocCount ¶

func (rb *IpRangeBucketBuilder) DocCount(doccount int64) *IpRangeBucketBuilder

func (*IpRangeBucketBuilder) From ¶

func (*IpRangeBucketBuilder) To ¶

type IpRangeProperty ¶

type IpRangeProperty struct {
	Boost         *float64                       `json:"boost,omitempty"`
	Coerce        *bool                          `json:"coerce,omitempty"`
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	DocValues     *bool                          `json:"doc_values,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	Index         *bool                          `json:"index,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

IpRangeProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/range.ts#L46-L48

type IpRangePropertyBuilder ¶

type IpRangePropertyBuilder struct {
	// contains filtered or unexported fields
}

IpRangePropertyBuilder holds IpRangeProperty struct and provides a builder API.

func NewIpRangePropertyBuilder ¶

func NewIpRangePropertyBuilder() *IpRangePropertyBuilder

NewIpRangeProperty provides a builder for the IpRangeProperty struct.

func (*IpRangePropertyBuilder) Boost ¶

func (*IpRangePropertyBuilder) Build ¶

Build finalize the chain and returns the IpRangeProperty struct

func (*IpRangePropertyBuilder) Coerce ¶

func (*IpRangePropertyBuilder) CopyTo ¶

func (*IpRangePropertyBuilder) DocValues ¶

func (rb *IpRangePropertyBuilder) DocValues(docvalues bool) *IpRangePropertyBuilder

func (*IpRangePropertyBuilder) Dynamic ¶

func (*IpRangePropertyBuilder) Fields ¶

func (*IpRangePropertyBuilder) IgnoreAbove ¶

func (rb *IpRangePropertyBuilder) IgnoreAbove(ignoreabove int) *IpRangePropertyBuilder

func (*IpRangePropertyBuilder) Index ¶

func (*IpRangePropertyBuilder) LocalMetadata ¶

func (rb *IpRangePropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *IpRangePropertyBuilder

func (*IpRangePropertyBuilder) Meta ¶

func (*IpRangePropertyBuilder) Properties ¶

func (*IpRangePropertyBuilder) Similarity ¶

func (rb *IpRangePropertyBuilder) Similarity(similarity string) *IpRangePropertyBuilder

func (*IpRangePropertyBuilder) Store ¶

type Job ¶

type Job struct {
	AllowLazyOpen                        bool             `json:"allow_lazy_open"`
	AnalysisConfig                       AnalysisConfig   `json:"analysis_config"`
	AnalysisLimits                       *AnalysisLimits  `json:"analysis_limits,omitempty"`
	BackgroundPersistInterval            *Duration        `json:"background_persist_interval,omitempty"`
	Blocked                              *JobBlocked      `json:"blocked,omitempty"`
	CreateTime                           *DateTime        `json:"create_time,omitempty"`
	CustomSettings                       *CustomSettings  `json:"custom_settings,omitempty"`
	DailyModelSnapshotRetentionAfterDays *int64           `json:"daily_model_snapshot_retention_after_days,omitempty"`
	DataDescription                      DataDescription  `json:"data_description"`
	DatafeedConfig                       *Datafeed        `json:"datafeed_config,omitempty"`
	Deleting                             *bool            `json:"deleting,omitempty"`
	Description                          *string          `json:"description,omitempty"`
	FinishedTime                         *DateTime        `json:"finished_time,omitempty"`
	Groups                               []string         `json:"groups,omitempty"`
	JobId                                Id               `json:"job_id"`
	JobType                              *string          `json:"job_type,omitempty"`
	JobVersion                           *VersionString   `json:"job_version,omitempty"`
	ModelPlotConfig                      *ModelPlotConfig `json:"model_plot_config,omitempty"`
	ModelSnapshotId                      *Id              `json:"model_snapshot_id,omitempty"`
	ModelSnapshotRetentionDays           int64            `json:"model_snapshot_retention_days"`
	RenormalizationWindowDays            *int64           `json:"renormalization_window_days,omitempty"`
	ResultsIndexName                     IndexName        `json:"results_index_name"`
	ResultsRetentionDays                 *int64           `json:"results_retention_days,omitempty"`
}

Job type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Job.ts#L51-L75

type JobBlockedBuilder ¶

type JobBlockedBuilder struct {
	// contains filtered or unexported fields
}

JobBlockedBuilder holds JobBlocked struct and provides a builder API.

func NewJobBlockedBuilder ¶

func NewJobBlockedBuilder() *JobBlockedBuilder

NewJobBlocked provides a builder for the JobBlocked struct.

func (*JobBlockedBuilder) Build ¶

func (rb *JobBlockedBuilder) Build() JobBlocked

Build finalize the chain and returns the JobBlocked struct

func (*JobBlockedBuilder) Reason ¶

func (*JobBlockedBuilder) TaskId ¶

func (rb *JobBlockedBuilder) TaskId(taskid *TaskIdBuilder) *JobBlockedBuilder

type JobBuilder ¶

type JobBuilder struct {
	// contains filtered or unexported fields
}

JobBuilder holds Job struct and provides a builder API.

func NewJobBuilder ¶

func NewJobBuilder() *JobBuilder

NewJob provides a builder for the Job struct.

func (*JobBuilder) AllowLazyOpen ¶

func (rb *JobBuilder) AllowLazyOpen(allowlazyopen bool) *JobBuilder

func (*JobBuilder) AnalysisConfig ¶

func (rb *JobBuilder) AnalysisConfig(analysisconfig *AnalysisConfigBuilder) *JobBuilder

func (*JobBuilder) AnalysisLimits ¶

func (rb *JobBuilder) AnalysisLimits(analysislimits *AnalysisLimitsBuilder) *JobBuilder

func (*JobBuilder) BackgroundPersistInterval ¶

func (rb *JobBuilder) BackgroundPersistInterval(backgroundpersistinterval *DurationBuilder) *JobBuilder

func (*JobBuilder) Blocked ¶

func (rb *JobBuilder) Blocked(blocked *JobBlockedBuilder) *JobBuilder

func (*JobBuilder) Build ¶

func (rb *JobBuilder) Build() Job

Build finalize the chain and returns the Job struct

func (*JobBuilder) CreateTime ¶

func (rb *JobBuilder) CreateTime(createtime *DateTimeBuilder) *JobBuilder

func (*JobBuilder) CustomSettings ¶

func (rb *JobBuilder) CustomSettings(customsettings *CustomSettingsBuilder) *JobBuilder

func (*JobBuilder) DailyModelSnapshotRetentionAfterDays ¶

func (rb *JobBuilder) DailyModelSnapshotRetentionAfterDays(dailymodelsnapshotretentionafterdays int64) *JobBuilder

func (*JobBuilder) DataDescription ¶

func (rb *JobBuilder) DataDescription(datadescription *DataDescriptionBuilder) *JobBuilder

func (*JobBuilder) DatafeedConfig ¶

func (rb *JobBuilder) DatafeedConfig(datafeedconfig *DatafeedBuilder) *JobBuilder

func (*JobBuilder) Deleting ¶

func (rb *JobBuilder) Deleting(deleting bool) *JobBuilder

func (*JobBuilder) Description ¶

func (rb *JobBuilder) Description(description string) *JobBuilder

func (*JobBuilder) FinishedTime ¶

func (rb *JobBuilder) FinishedTime(finishedtime *DateTimeBuilder) *JobBuilder

func (*JobBuilder) Groups ¶

func (rb *JobBuilder) Groups(groups ...string) *JobBuilder

func (*JobBuilder) JobId ¶

func (rb *JobBuilder) JobId(jobid Id) *JobBuilder

func (*JobBuilder) JobType ¶

func (rb *JobBuilder) JobType(jobtype string) *JobBuilder

func (*JobBuilder) JobVersion ¶

func (rb *JobBuilder) JobVersion(jobversion VersionString) *JobBuilder

func (*JobBuilder) ModelPlotConfig ¶

func (rb *JobBuilder) ModelPlotConfig(modelplotconfig *ModelPlotConfigBuilder) *JobBuilder

func (*JobBuilder) ModelSnapshotId ¶

func (rb *JobBuilder) ModelSnapshotId(modelsnapshotid Id) *JobBuilder

func (*JobBuilder) ModelSnapshotRetentionDays ¶

func (rb *JobBuilder) ModelSnapshotRetentionDays(modelsnapshotretentiondays int64) *JobBuilder

func (*JobBuilder) RenormalizationWindowDays ¶

func (rb *JobBuilder) RenormalizationWindowDays(renormalizationwindowdays int64) *JobBuilder

func (*JobBuilder) ResultsIndexName ¶

func (rb *JobBuilder) ResultsIndexName(resultsindexname IndexName) *JobBuilder

func (*JobBuilder) ResultsRetentionDays ¶

func (rb *JobBuilder) ResultsRetentionDays(resultsretentiondays int64) *JobBuilder

type JobConfig ¶

type JobConfig struct {
	AllowLazyOpen                        *bool            `json:"allow_lazy_open,omitempty"`
	AnalysisConfig                       AnalysisConfig   `json:"analysis_config"`
	AnalysisLimits                       *AnalysisLimits  `json:"analysis_limits,omitempty"`
	BackgroundPersistInterval            *Duration        `json:"background_persist_interval,omitempty"`
	CustomSettings                       *CustomSettings  `json:"custom_settings,omitempty"`
	DailyModelSnapshotRetentionAfterDays *int64           `json:"daily_model_snapshot_retention_after_days,omitempty"`
	DataDescription                      DataDescription  `json:"data_description"`
	DatafeedConfig                       *DatafeedConfig  `json:"datafeed_config,omitempty"`
	Description                          *string          `json:"description,omitempty"`
	Groups                               []string         `json:"groups,omitempty"`
	JobId                                *Id              `json:"job_id,omitempty"`
	JobType                              *string          `json:"job_type,omitempty"`
	ModelPlotConfig                      *ModelPlotConfig `json:"model_plot_config,omitempty"`
	ModelSnapshotRetentionDays           *int64           `json:"model_snapshot_retention_days,omitempty"`
	RenormalizationWindowDays            *int64           `json:"renormalization_window_days,omitempty"`
	ResultsIndexName                     *IndexName       `json:"results_index_name,omitempty"`
	ResultsRetentionDays                 *int64           `json:"results_retention_days,omitempty"`
}

JobConfig type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Job.ts#L77-L95

type JobConfigBuilder ¶

type JobConfigBuilder struct {
	// contains filtered or unexported fields
}

JobConfigBuilder holds JobConfig struct and provides a builder API.

func NewJobConfigBuilder ¶

func NewJobConfigBuilder() *JobConfigBuilder

NewJobConfig provides a builder for the JobConfig struct.

func (*JobConfigBuilder) AllowLazyOpen ¶

func (rb *JobConfigBuilder) AllowLazyOpen(allowlazyopen bool) *JobConfigBuilder

func (*JobConfigBuilder) AnalysisConfig ¶

func (rb *JobConfigBuilder) AnalysisConfig(analysisconfig *AnalysisConfigBuilder) *JobConfigBuilder

func (*JobConfigBuilder) AnalysisLimits ¶

func (rb *JobConfigBuilder) AnalysisLimits(analysislimits *AnalysisLimitsBuilder) *JobConfigBuilder

func (*JobConfigBuilder) BackgroundPersistInterval ¶

func (rb *JobConfigBuilder) BackgroundPersistInterval(backgroundpersistinterval *DurationBuilder) *JobConfigBuilder

func (*JobConfigBuilder) Build ¶

func (rb *JobConfigBuilder) Build() JobConfig

Build finalize the chain and returns the JobConfig struct

func (*JobConfigBuilder) CustomSettings ¶

func (rb *JobConfigBuilder) CustomSettings(customsettings *CustomSettingsBuilder) *JobConfigBuilder

func (*JobConfigBuilder) DailyModelSnapshotRetentionAfterDays ¶

func (rb *JobConfigBuilder) DailyModelSnapshotRetentionAfterDays(dailymodelsnapshotretentionafterdays int64) *JobConfigBuilder

func (*JobConfigBuilder) DataDescription ¶

func (rb *JobConfigBuilder) DataDescription(datadescription *DataDescriptionBuilder) *JobConfigBuilder

func (*JobConfigBuilder) DatafeedConfig ¶

func (rb *JobConfigBuilder) DatafeedConfig(datafeedconfig *DatafeedConfigBuilder) *JobConfigBuilder

func (*JobConfigBuilder) Description ¶

func (rb *JobConfigBuilder) Description(description string) *JobConfigBuilder

func (*JobConfigBuilder) Groups ¶

func (rb *JobConfigBuilder) Groups(groups ...string) *JobConfigBuilder

func (*JobConfigBuilder) JobId ¶

func (rb *JobConfigBuilder) JobId(jobid Id) *JobConfigBuilder

func (*JobConfigBuilder) JobType ¶

func (rb *JobConfigBuilder) JobType(jobtype string) *JobConfigBuilder

func (*JobConfigBuilder) ModelPlotConfig ¶

func (rb *JobConfigBuilder) ModelPlotConfig(modelplotconfig *ModelPlotConfigBuilder) *JobConfigBuilder

func (*JobConfigBuilder) ModelSnapshotRetentionDays ¶

func (rb *JobConfigBuilder) ModelSnapshotRetentionDays(modelsnapshotretentiondays int64) *JobConfigBuilder

func (*JobConfigBuilder) RenormalizationWindowDays ¶

func (rb *JobConfigBuilder) RenormalizationWindowDays(renormalizationwindowdays int64) *JobConfigBuilder

func (*JobConfigBuilder) ResultsIndexName ¶

func (rb *JobConfigBuilder) ResultsIndexName(resultsindexname IndexName) *JobConfigBuilder

func (*JobConfigBuilder) ResultsRetentionDays ¶

func (rb *JobConfigBuilder) ResultsRetentionDays(resultsretentiondays int64) *JobConfigBuilder

type JobForecastStatistics ¶

type JobForecastStatistics struct {
	ForecastedJobs   int              `json:"forecasted_jobs"`
	MemoryBytes      *JobStatistics   `json:"memory_bytes,omitempty"`
	ProcessingTimeMs *JobStatistics   `json:"processing_time_ms,omitempty"`
	Records          *JobStatistics   `json:"records,omitempty"`
	Status           map[string]int64 `json:"status,omitempty"`
	Total            int64            `json:"total"`
}

JobForecastStatistics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Job.ts#L120-L127

type JobForecastStatisticsBuilder ¶

type JobForecastStatisticsBuilder struct {
	// contains filtered or unexported fields
}

JobForecastStatisticsBuilder holds JobForecastStatistics struct and provides a builder API.

func NewJobForecastStatisticsBuilder ¶

func NewJobForecastStatisticsBuilder() *JobForecastStatisticsBuilder

NewJobForecastStatistics provides a builder for the JobForecastStatistics struct.

func (*JobForecastStatisticsBuilder) Build ¶

Build finalize the chain and returns the JobForecastStatistics struct

func (*JobForecastStatisticsBuilder) ForecastedJobs ¶

func (rb *JobForecastStatisticsBuilder) ForecastedJobs(forecastedjobs int) *JobForecastStatisticsBuilder

func (*JobForecastStatisticsBuilder) MemoryBytes ¶

func (*JobForecastStatisticsBuilder) ProcessingTimeMs ¶

func (rb *JobForecastStatisticsBuilder) ProcessingTimeMs(processingtimems *JobStatisticsBuilder) *JobForecastStatisticsBuilder

func (*JobForecastStatisticsBuilder) Records ¶

func (*JobForecastStatisticsBuilder) Status ¶

func (*JobForecastStatisticsBuilder) Total ¶

type JobStatistics ¶

type JobStatistics struct {
	Avg   float64 `json:"avg"`
	Max   float64 `json:"max"`
	Min   float64 `json:"min"`
	Total float64 `json:"total"`
}

JobStatistics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Job.ts#L44-L49

type JobStatisticsBuilder ¶

type JobStatisticsBuilder struct {
	// contains filtered or unexported fields
}

JobStatisticsBuilder holds JobStatistics struct and provides a builder API.

func NewJobStatisticsBuilder ¶

func NewJobStatisticsBuilder() *JobStatisticsBuilder

NewJobStatistics provides a builder for the JobStatistics struct.

func (*JobStatisticsBuilder) Avg ¶

func (*JobStatisticsBuilder) Build ¶

func (rb *JobStatisticsBuilder) Build() JobStatistics

Build finalize the chain and returns the JobStatistics struct

func (*JobStatisticsBuilder) Max ¶

func (*JobStatisticsBuilder) Min ¶

func (*JobStatisticsBuilder) Total ¶

type JobStats ¶

type JobStats struct {
	AssignmentExplanation *string               `json:"assignment_explanation,omitempty"`
	DataCounts            DataCounts            `json:"data_counts"`
	Deleting              *bool                 `json:"deleting,omitempty"`
	ForecastsStats        JobForecastStatistics `json:"forecasts_stats"`
	JobId                 string                `json:"job_id"`
	ModelSizeStats        ModelSizeStats        `json:"model_size_stats"`
	Node                  *DiscoveryNode        `json:"node,omitempty"`
	OpenTime              *DateTime             `json:"open_time,omitempty"`
	State                 jobstate.JobState     `json:"state"`
	TimingStats           JobTimingStats        `json:"timing_stats"`
}

JobStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Job.ts#L96-L107

type JobStatsBuilder ¶

type JobStatsBuilder struct {
	// contains filtered or unexported fields
}

JobStatsBuilder holds JobStats struct and provides a builder API.

func NewJobStatsBuilder ¶

func NewJobStatsBuilder() *JobStatsBuilder

NewJobStats provides a builder for the JobStats struct.

func (*JobStatsBuilder) AssignmentExplanation ¶

func (rb *JobStatsBuilder) AssignmentExplanation(assignmentexplanation string) *JobStatsBuilder

func (*JobStatsBuilder) Build ¶

func (rb *JobStatsBuilder) Build() JobStats

Build finalize the chain and returns the JobStats struct

func (*JobStatsBuilder) DataCounts ¶

func (rb *JobStatsBuilder) DataCounts(datacounts *DataCountsBuilder) *JobStatsBuilder

func (*JobStatsBuilder) Deleting ¶

func (rb *JobStatsBuilder) Deleting(deleting bool) *JobStatsBuilder

func (*JobStatsBuilder) ForecastsStats ¶

func (rb *JobStatsBuilder) ForecastsStats(forecastsstats *JobForecastStatisticsBuilder) *JobStatsBuilder

func (*JobStatsBuilder) JobId ¶

func (rb *JobStatsBuilder) JobId(jobid string) *JobStatsBuilder

func (*JobStatsBuilder) ModelSizeStats ¶

func (rb *JobStatsBuilder) ModelSizeStats(modelsizestats *ModelSizeStatsBuilder) *JobStatsBuilder

func (*JobStatsBuilder) Node ¶

func (*JobStatsBuilder) OpenTime ¶

func (rb *JobStatsBuilder) OpenTime(opentime *DateTimeBuilder) *JobStatsBuilder

func (*JobStatsBuilder) State ¶

func (*JobStatsBuilder) TimingStats ¶

func (rb *JobStatsBuilder) TimingStats(timingstats *JobTimingStatsBuilder) *JobStatsBuilder

type JobTimingStats ¶

type JobTimingStats struct {
	AverageBucketProcessingTimeMs                   *DurationValueUnitFloatMillis `json:"average_bucket_processing_time_ms,omitempty"`
	BucketCount                                     int64                         `json:"bucket_count"`
	ExponentialAverageBucketProcessingTimeMs        *DurationValueUnitFloatMillis `json:"exponential_average_bucket_processing_time_ms,omitempty"`
	ExponentialAverageBucketProcessingTimePerHourMs DurationValueUnitFloatMillis  `json:"exponential_average_bucket_processing_time_per_hour_ms"`
	JobId                                           Id                            `json:"job_id"`
	MaximumBucketProcessingTimeMs                   *DurationValueUnitFloatMillis `json:"maximum_bucket_processing_time_ms,omitempty"`
	MinimumBucketProcessingTimeMs                   *DurationValueUnitFloatMillis `json:"minimum_bucket_processing_time_ms,omitempty"`
	TotalBucketProcessingTimeMs                     DurationValueUnitFloatMillis  `json:"total_bucket_processing_time_ms"`
}

JobTimingStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Job.ts#L109-L118

type JobTimingStatsBuilder ¶

type JobTimingStatsBuilder struct {
	// contains filtered or unexported fields
}

JobTimingStatsBuilder holds JobTimingStats struct and provides a builder API.

func NewJobTimingStatsBuilder ¶

func NewJobTimingStatsBuilder() *JobTimingStatsBuilder

NewJobTimingStats provides a builder for the JobTimingStats struct.

func (*JobTimingStatsBuilder) AverageBucketProcessingTimeMs ¶

func (rb *JobTimingStatsBuilder) AverageBucketProcessingTimeMs(averagebucketprocessingtimems *DurationValueUnitFloatMillisBuilder) *JobTimingStatsBuilder

func (*JobTimingStatsBuilder) BucketCount ¶

func (rb *JobTimingStatsBuilder) BucketCount(bucketcount int64) *JobTimingStatsBuilder

func (*JobTimingStatsBuilder) Build ¶

Build finalize the chain and returns the JobTimingStats struct

func (*JobTimingStatsBuilder) ExponentialAverageBucketProcessingTimeMs ¶

func (rb *JobTimingStatsBuilder) ExponentialAverageBucketProcessingTimeMs(exponentialaveragebucketprocessingtimems *DurationValueUnitFloatMillisBuilder) *JobTimingStatsBuilder

func (*JobTimingStatsBuilder) ExponentialAverageBucketProcessingTimePerHourMs ¶

func (rb *JobTimingStatsBuilder) ExponentialAverageBucketProcessingTimePerHourMs(exponentialaveragebucketprocessingtimeperhourms *DurationValueUnitFloatMillisBuilder) *JobTimingStatsBuilder

func (*JobTimingStatsBuilder) JobId ¶

func (*JobTimingStatsBuilder) MaximumBucketProcessingTimeMs ¶

func (rb *JobTimingStatsBuilder) MaximumBucketProcessingTimeMs(maximumbucketprocessingtimems *DurationValueUnitFloatMillisBuilder) *JobTimingStatsBuilder

func (*JobTimingStatsBuilder) MinimumBucketProcessingTimeMs ¶

func (rb *JobTimingStatsBuilder) MinimumBucketProcessingTimeMs(minimumbucketprocessingtimems *DurationValueUnitFloatMillisBuilder) *JobTimingStatsBuilder

func (*JobTimingStatsBuilder) TotalBucketProcessingTimeMs ¶

func (rb *JobTimingStatsBuilder) TotalBucketProcessingTimeMs(totalbucketprocessingtimems *DurationValueUnitFloatMillisBuilder) *JobTimingStatsBuilder

type JobsBuilder ¶

type JobsBuilder struct {
	// contains filtered or unexported fields
}

JobsBuilder holds Jobs struct and provides a builder API.

func NewJobsBuilder ¶

func NewJobsBuilder() *JobsBuilder

NewJobs provides a builder for the Jobs struct.

func (*JobsBuilder) All_ ¶

func (rb *JobsBuilder) All_(all_ *AllJobsBuilder) *JobsBuilder

func (*JobsBuilder) Build ¶

func (rb *JobsBuilder) Build() Jobs

Build finalize the chain and returns the Jobs struct

func (*JobsBuilder) Jobs ¶

func (rb *JobsBuilder) Jobs(values map[string]*JobBuilder) *JobsBuilder

type JobsRecord ¶

type JobsRecord struct {
	// AssignmentExplanation why the job is or is not assigned to a node
	AssignmentExplanation *string `json:"assignment_explanation,omitempty"`
	// BucketsCount bucket count
	BucketsCount *string `json:"buckets.count,omitempty"`
	// BucketsTimeExpAvg exponential average bucket processing time (milliseconds)
	BucketsTimeExpAvg *string `json:"buckets.time.exp_avg,omitempty"`
	// BucketsTimeExpAvgHour exponential average bucket processing time by hour (milliseconds)
	BucketsTimeExpAvgHour *string `json:"buckets.time.exp_avg_hour,omitempty"`
	// BucketsTimeMax maximum bucket processing time
	BucketsTimeMax *string `json:"buckets.time.max,omitempty"`
	// BucketsTimeMin minimum bucket processing time
	BucketsTimeMin *string `json:"buckets.time.min,omitempty"`
	// BucketsTimeTotal total bucket processing time
	BucketsTimeTotal *string `json:"buckets.time.total,omitempty"`
	// DataBuckets total bucket count
	DataBuckets *string `json:"data.buckets,omitempty"`
	// DataEarliestRecord earliest record time
	DataEarliestRecord *string `json:"data.earliest_record,omitempty"`
	// DataEmptyBuckets number of empty buckets
	DataEmptyBuckets *string `json:"data.empty_buckets,omitempty"`
	// DataInputBytes total input bytes
	DataInputBytes *ByteSize `json:"data.input_bytes,omitempty"`
	// DataInputFields total field count
	DataInputFields *string `json:"data.input_fields,omitempty"`
	// DataInputRecords total record count
	DataInputRecords *string `json:"data.input_records,omitempty"`
	// DataInvalidDates number of records with invalid dates
	DataInvalidDates *string `json:"data.invalid_dates,omitempty"`
	// DataLast last time data was seen
	DataLast *string `json:"data.last,omitempty"`
	// DataLastEmptyBucket last time an empty bucket occurred
	DataLastEmptyBucket *string `json:"data.last_empty_bucket,omitempty"`
	// DataLastSparseBucket last time a sparse bucket occurred
	DataLastSparseBucket *string `json:"data.last_sparse_bucket,omitempty"`
	// DataLatestRecord latest record time
	DataLatestRecord *string `json:"data.latest_record,omitempty"`
	// DataMissingFields number of records with missing fields
	DataMissingFields *string `json:"data.missing_fields,omitempty"`
	// DataOutOfOrderTimestamps number of records handled out of order
	DataOutOfOrderTimestamps *string `json:"data.out_of_order_timestamps,omitempty"`
	// DataProcessedFields number of processed fields
	DataProcessedFields *string `json:"data.processed_fields,omitempty"`
	// DataProcessedRecords number of processed records
	DataProcessedRecords *string `json:"data.processed_records,omitempty"`
	// DataSparseBuckets number of sparse buckets
	DataSparseBuckets *string `json:"data.sparse_buckets,omitempty"`
	// ForecastsMemoryAvg average memory used by forecasts
	ForecastsMemoryAvg *string `json:"forecasts.memory.avg,omitempty"`
	// ForecastsMemoryMax maximum memory used by forecasts
	ForecastsMemoryMax *string `json:"forecasts.memory.max,omitempty"`
	// ForecastsMemoryMin minimum memory used by forecasts
	ForecastsMemoryMin *string `json:"forecasts.memory.min,omitempty"`
	// ForecastsMemoryTotal total memory used by all forecasts
	ForecastsMemoryTotal *string `json:"forecasts.memory.total,omitempty"`
	// ForecastsRecordsAvg average record count for forecasts
	ForecastsRecordsAvg *string `json:"forecasts.records.avg,omitempty"`
	// ForecastsRecordsMax maximum record count for forecasts
	ForecastsRecordsMax *string `json:"forecasts.records.max,omitempty"`
	// ForecastsRecordsMin minimum record count for forecasts
	ForecastsRecordsMin *string `json:"forecasts.records.min,omitempty"`
	// ForecastsRecordsTotal total record count for all forecasts
	ForecastsRecordsTotal *string `json:"forecasts.records.total,omitempty"`
	// ForecastsTimeAvg average runtime for all forecasts (milliseconds)
	ForecastsTimeAvg *string `json:"forecasts.time.avg,omitempty"`
	// ForecastsTimeMax maximum run time for forecasts
	ForecastsTimeMax *string `json:"forecasts.time.max,omitempty"`
	// ForecastsTimeMin minimum runtime for forecasts
	ForecastsTimeMin *string `json:"forecasts.time.min,omitempty"`
	// ForecastsTimeTotal total runtime for all forecasts
	ForecastsTimeTotal *string `json:"forecasts.time.total,omitempty"`
	// ForecastsTotal total number of forecasts
	ForecastsTotal *string `json:"forecasts.total,omitempty"`
	// Id the job_id
	Id *Id `json:"id,omitempty"`
	// ModelBucketAllocationFailures number of bucket allocation failures
	ModelBucketAllocationFailures *string `json:"model.bucket_allocation_failures,omitempty"`
	// ModelByFields count of 'by' fields
	ModelByFields *string `json:"model.by_fields,omitempty"`
	// ModelBytes model size
	ModelBytes *ByteSize `json:"model.bytes,omitempty"`
	// ModelBytesExceeded how much the model has exceeded the limit
	ModelBytesExceeded *ByteSize `json:"model.bytes_exceeded,omitempty"`
	// ModelCategorizationStatus current categorization status
	ModelCategorizationStatus *categorizationstatus.CategorizationStatus `json:"model.categorization_status,omitempty"`
	// ModelCategorizedDocCount count of categorized documents
	ModelCategorizedDocCount *string `json:"model.categorized_doc_count,omitempty"`
	// ModelDeadCategoryCount count of dead categories
	ModelDeadCategoryCount *string `json:"model.dead_category_count,omitempty"`
	// ModelFailedCategoryCount count of failed categories
	ModelFailedCategoryCount *string `json:"model.failed_category_count,omitempty"`
	// ModelFrequentCategoryCount count of frequent categories
	ModelFrequentCategoryCount *string `json:"model.frequent_category_count,omitempty"`
	// ModelLogTime when the model stats were gathered
	ModelLogTime *string `json:"model.log_time,omitempty"`
	// ModelMemoryLimit model memory limit
	ModelMemoryLimit *string `json:"model.memory_limit,omitempty"`
	// ModelMemoryStatus current memory status
	ModelMemoryStatus *memorystatus.MemoryStatus `json:"model.memory_status,omitempty"`
	// ModelOverFields count of 'over' fields
	ModelOverFields *string `json:"model.over_fields,omitempty"`
	// ModelPartitionFields count of 'partition' fields
	ModelPartitionFields *string `json:"model.partition_fields,omitempty"`
	// ModelRareCategoryCount count of rare categories
	ModelRareCategoryCount *string `json:"model.rare_category_count,omitempty"`
	// ModelTimestamp the time of the last record when the model stats were gathered
	ModelTimestamp *string `json:"model.timestamp,omitempty"`
	// ModelTotalCategoryCount count of categories
	ModelTotalCategoryCount *string `json:"model.total_category_count,omitempty"`
	// NodeAddress network address of the assigned node
	NodeAddress *string `json:"node.address,omitempty"`
	// NodeEphemeralId ephemeral id of the assigned node
	NodeEphemeralId *NodeId `json:"node.ephemeral_id,omitempty"`
	// NodeId id of the assigned node
	NodeId *NodeId `json:"node.id,omitempty"`
	// NodeName name of the assigned node
	NodeName *string `json:"node.name,omitempty"`
	// OpenedTime the amount of time the job has been opened
	OpenedTime *string `json:"opened_time,omitempty"`
	// State the job state
	State *jobstate.JobState `json:"state,omitempty"`
}

JobsRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/ml_jobs/types.ts#L24-L325

type JobsRecordBuilder ¶

type JobsRecordBuilder struct {
	// contains filtered or unexported fields
}

JobsRecordBuilder holds JobsRecord struct and provides a builder API.

func NewJobsRecordBuilder ¶

func NewJobsRecordBuilder() *JobsRecordBuilder

NewJobsRecord provides a builder for the JobsRecord struct.

func (*JobsRecordBuilder) AssignmentExplanation ¶

func (rb *JobsRecordBuilder) AssignmentExplanation(assignmentexplanation string) *JobsRecordBuilder

func (*JobsRecordBuilder) BucketsCount ¶

func (rb *JobsRecordBuilder) BucketsCount(bucketscount string) *JobsRecordBuilder

func (*JobsRecordBuilder) BucketsTimeExpAvg ¶

func (rb *JobsRecordBuilder) BucketsTimeExpAvg(bucketstimeexpavg string) *JobsRecordBuilder

func (*JobsRecordBuilder) BucketsTimeExpAvgHour ¶

func (rb *JobsRecordBuilder) BucketsTimeExpAvgHour(bucketstimeexpavghour string) *JobsRecordBuilder

func (*JobsRecordBuilder) BucketsTimeMax ¶

func (rb *JobsRecordBuilder) BucketsTimeMax(bucketstimemax string) *JobsRecordBuilder

func (*JobsRecordBuilder) BucketsTimeMin ¶

func (rb *JobsRecordBuilder) BucketsTimeMin(bucketstimemin string) *JobsRecordBuilder

func (*JobsRecordBuilder) BucketsTimeTotal ¶

func (rb *JobsRecordBuilder) BucketsTimeTotal(bucketstimetotal string) *JobsRecordBuilder

func (*JobsRecordBuilder) Build ¶

func (rb *JobsRecordBuilder) Build() JobsRecord

Build finalize the chain and returns the JobsRecord struct

func (*JobsRecordBuilder) DataBuckets ¶

func (rb *JobsRecordBuilder) DataBuckets(databuckets string) *JobsRecordBuilder

func (*JobsRecordBuilder) DataEarliestRecord ¶

func (rb *JobsRecordBuilder) DataEarliestRecord(dataearliestrecord string) *JobsRecordBuilder

func (*JobsRecordBuilder) DataEmptyBuckets ¶

func (rb *JobsRecordBuilder) DataEmptyBuckets(dataemptybuckets string) *JobsRecordBuilder

func (*JobsRecordBuilder) DataInputBytes ¶

func (rb *JobsRecordBuilder) DataInputBytes(datainputbytes *ByteSizeBuilder) *JobsRecordBuilder

func (*JobsRecordBuilder) DataInputFields ¶

func (rb *JobsRecordBuilder) DataInputFields(datainputfields string) *JobsRecordBuilder

func (*JobsRecordBuilder) DataInputRecords ¶

func (rb *JobsRecordBuilder) DataInputRecords(datainputrecords string) *JobsRecordBuilder

func (*JobsRecordBuilder) DataInvalidDates ¶

func (rb *JobsRecordBuilder) DataInvalidDates(datainvaliddates string) *JobsRecordBuilder

func (*JobsRecordBuilder) DataLast ¶

func (rb *JobsRecordBuilder) DataLast(datalast string) *JobsRecordBuilder

func (*JobsRecordBuilder) DataLastEmptyBucket ¶

func (rb *JobsRecordBuilder) DataLastEmptyBucket(datalastemptybucket string) *JobsRecordBuilder

func (*JobsRecordBuilder) DataLastSparseBucket ¶

func (rb *JobsRecordBuilder) DataLastSparseBucket(datalastsparsebucket string) *JobsRecordBuilder

func (*JobsRecordBuilder) DataLatestRecord ¶

func (rb *JobsRecordBuilder) DataLatestRecord(datalatestrecord string) *JobsRecordBuilder

func (*JobsRecordBuilder) DataMissingFields ¶

func (rb *JobsRecordBuilder) DataMissingFields(datamissingfields string) *JobsRecordBuilder

func (*JobsRecordBuilder) DataOutOfOrderTimestamps ¶

func (rb *JobsRecordBuilder) DataOutOfOrderTimestamps(dataoutofordertimestamps string) *JobsRecordBuilder

func (*JobsRecordBuilder) DataProcessedFields ¶

func (rb *JobsRecordBuilder) DataProcessedFields(dataprocessedfields string) *JobsRecordBuilder

func (*JobsRecordBuilder) DataProcessedRecords ¶

func (rb *JobsRecordBuilder) DataProcessedRecords(dataprocessedrecords string) *JobsRecordBuilder

func (*JobsRecordBuilder) DataSparseBuckets ¶

func (rb *JobsRecordBuilder) DataSparseBuckets(datasparsebuckets string) *JobsRecordBuilder

func (*JobsRecordBuilder) ForecastsMemoryAvg ¶

func (rb *JobsRecordBuilder) ForecastsMemoryAvg(forecastsmemoryavg string) *JobsRecordBuilder

func (*JobsRecordBuilder) ForecastsMemoryMax ¶

func (rb *JobsRecordBuilder) ForecastsMemoryMax(forecastsmemorymax string) *JobsRecordBuilder

func (*JobsRecordBuilder) ForecastsMemoryMin ¶

func (rb *JobsRecordBuilder) ForecastsMemoryMin(forecastsmemorymin string) *JobsRecordBuilder

func (*JobsRecordBuilder) ForecastsMemoryTotal ¶

func (rb *JobsRecordBuilder) ForecastsMemoryTotal(forecastsmemorytotal string) *JobsRecordBuilder

func (*JobsRecordBuilder) ForecastsRecordsAvg ¶

func (rb *JobsRecordBuilder) ForecastsRecordsAvg(forecastsrecordsavg string) *JobsRecordBuilder

func (*JobsRecordBuilder) ForecastsRecordsMax ¶

func (rb *JobsRecordBuilder) ForecastsRecordsMax(forecastsrecordsmax string) *JobsRecordBuilder

func (*JobsRecordBuilder) ForecastsRecordsMin ¶

func (rb *JobsRecordBuilder) ForecastsRecordsMin(forecastsrecordsmin string) *JobsRecordBuilder

func (*JobsRecordBuilder) ForecastsRecordsTotal ¶

func (rb *JobsRecordBuilder) ForecastsRecordsTotal(forecastsrecordstotal string) *JobsRecordBuilder

func (*JobsRecordBuilder) ForecastsTimeAvg ¶

func (rb *JobsRecordBuilder) ForecastsTimeAvg(forecaststimeavg string) *JobsRecordBuilder

func (*JobsRecordBuilder) ForecastsTimeMax ¶

func (rb *JobsRecordBuilder) ForecastsTimeMax(forecaststimemax string) *JobsRecordBuilder

func (*JobsRecordBuilder) ForecastsTimeMin ¶

func (rb *JobsRecordBuilder) ForecastsTimeMin(forecaststimemin string) *JobsRecordBuilder

func (*JobsRecordBuilder) ForecastsTimeTotal ¶

func (rb *JobsRecordBuilder) ForecastsTimeTotal(forecaststimetotal string) *JobsRecordBuilder

func (*JobsRecordBuilder) ForecastsTotal ¶

func (rb *JobsRecordBuilder) ForecastsTotal(forecaststotal string) *JobsRecordBuilder

func (*JobsRecordBuilder) Id ¶

func (*JobsRecordBuilder) ModelBucketAllocationFailures ¶

func (rb *JobsRecordBuilder) ModelBucketAllocationFailures(modelbucketallocationfailures string) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelByFields ¶

func (rb *JobsRecordBuilder) ModelByFields(modelbyfields string) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelBytes ¶

func (rb *JobsRecordBuilder) ModelBytes(modelbytes *ByteSizeBuilder) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelBytesExceeded ¶

func (rb *JobsRecordBuilder) ModelBytesExceeded(modelbytesexceeded *ByteSizeBuilder) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelCategorizationStatus ¶

func (rb *JobsRecordBuilder) ModelCategorizationStatus(modelcategorizationstatus categorizationstatus.CategorizationStatus) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelCategorizedDocCount ¶

func (rb *JobsRecordBuilder) ModelCategorizedDocCount(modelcategorizeddoccount string) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelDeadCategoryCount ¶

func (rb *JobsRecordBuilder) ModelDeadCategoryCount(modeldeadcategorycount string) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelFailedCategoryCount ¶

func (rb *JobsRecordBuilder) ModelFailedCategoryCount(modelfailedcategorycount string) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelFrequentCategoryCount ¶

func (rb *JobsRecordBuilder) ModelFrequentCategoryCount(modelfrequentcategorycount string) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelLogTime ¶

func (rb *JobsRecordBuilder) ModelLogTime(modellogtime string) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelMemoryLimit ¶

func (rb *JobsRecordBuilder) ModelMemoryLimit(modelmemorylimit string) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelMemoryStatus ¶

func (rb *JobsRecordBuilder) ModelMemoryStatus(modelmemorystatus memorystatus.MemoryStatus) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelOverFields ¶

func (rb *JobsRecordBuilder) ModelOverFields(modeloverfields string) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelPartitionFields ¶

func (rb *JobsRecordBuilder) ModelPartitionFields(modelpartitionfields string) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelRareCategoryCount ¶

func (rb *JobsRecordBuilder) ModelRareCategoryCount(modelrarecategorycount string) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelTimestamp ¶

func (rb *JobsRecordBuilder) ModelTimestamp(modeltimestamp string) *JobsRecordBuilder

func (*JobsRecordBuilder) ModelTotalCategoryCount ¶

func (rb *JobsRecordBuilder) ModelTotalCategoryCount(modeltotalcategorycount string) *JobsRecordBuilder

func (*JobsRecordBuilder) NodeAddress ¶

func (rb *JobsRecordBuilder) NodeAddress(nodeaddress string) *JobsRecordBuilder

func (*JobsRecordBuilder) NodeEphemeralId ¶

func (rb *JobsRecordBuilder) NodeEphemeralId(nodeephemeralid NodeId) *JobsRecordBuilder

func (*JobsRecordBuilder) NodeId ¶

func (rb *JobsRecordBuilder) NodeId(nodeid NodeId) *JobsRecordBuilder

func (*JobsRecordBuilder) NodeName ¶

func (rb *JobsRecordBuilder) NodeName(nodename string) *JobsRecordBuilder

func (*JobsRecordBuilder) OpenedTime ¶

func (rb *JobsRecordBuilder) OpenedTime(openedtime string) *JobsRecordBuilder

func (*JobsRecordBuilder) State ¶

type JoinProcessor ¶

type JoinProcessor struct {
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Separator     string               `json:"separator"`
	Tag           *string              `json:"tag,omitempty"`
	TargetField   *Field               `json:"target_field,omitempty"`
}

JoinProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L265-L269

type JoinProcessorBuilder ¶

type JoinProcessorBuilder struct {
	// contains filtered or unexported fields
}

JoinProcessorBuilder holds JoinProcessor struct and provides a builder API.

func NewJoinProcessorBuilder ¶

func NewJoinProcessorBuilder() *JoinProcessorBuilder

NewJoinProcessor provides a builder for the JoinProcessor struct.

func (*JoinProcessorBuilder) Build ¶

func (rb *JoinProcessorBuilder) Build() JoinProcessor

Build finalize the chain and returns the JoinProcessor struct

func (*JoinProcessorBuilder) Field ¶

func (*JoinProcessorBuilder) If_ ¶

func (*JoinProcessorBuilder) IgnoreFailure ¶

func (rb *JoinProcessorBuilder) IgnoreFailure(ignorefailure bool) *JoinProcessorBuilder

func (*JoinProcessorBuilder) OnFailure ¶

func (*JoinProcessorBuilder) Separator ¶

func (rb *JoinProcessorBuilder) Separator(separator string) *JoinProcessorBuilder

func (*JoinProcessorBuilder) Tag ¶

func (*JoinProcessorBuilder) TargetField ¶

func (rb *JoinProcessorBuilder) TargetField(targetfield Field) *JoinProcessorBuilder

type JoinProperty ¶

type JoinProperty struct {
	Dynamic       *dynamicmapping.DynamicMapping  `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property       `json:"fields,omitempty"`
	IgnoreAbove   *int                            `json:"ignore_above,omitempty"`
	LocalMetadata *Metadata                       `json:"local_metadata,omitempty"`
	Meta          map[string]string               `json:"meta,omitempty"`
	Properties    map[PropertyName]Property       `json:"properties,omitempty"`
	Relations     map[RelationName][]RelationName `json:"relations,omitempty"`
	Type          string                          `json:"type,omitempty"`
}

JoinProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L83-L86

type JoinPropertyBuilder ¶

type JoinPropertyBuilder struct {
	// contains filtered or unexported fields
}

JoinPropertyBuilder holds JoinProperty struct and provides a builder API.

func NewJoinPropertyBuilder ¶

func NewJoinPropertyBuilder() *JoinPropertyBuilder

NewJoinProperty provides a builder for the JoinProperty struct.

func (*JoinPropertyBuilder) Build ¶

func (rb *JoinPropertyBuilder) Build() JoinProperty

Build finalize the chain and returns the JoinProperty struct

func (*JoinPropertyBuilder) Dynamic ¶

func (*JoinPropertyBuilder) Fields ¶

func (*JoinPropertyBuilder) IgnoreAbove ¶

func (rb *JoinPropertyBuilder) IgnoreAbove(ignoreabove int) *JoinPropertyBuilder

func (*JoinPropertyBuilder) LocalMetadata ¶

func (rb *JoinPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *JoinPropertyBuilder

func (*JoinPropertyBuilder) Meta ¶

func (*JoinPropertyBuilder) Properties ¶

func (*JoinPropertyBuilder) Relations ¶

type JsonProcessor ¶

type JsonProcessor struct {
	AddToRoot     bool                 `json:"add_to_root"`
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
	TargetField   Field                `json:"target_field"`
}

JsonProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L271-L275

type JsonProcessorBuilder ¶

type JsonProcessorBuilder struct {
	// contains filtered or unexported fields
}

JsonProcessorBuilder holds JsonProcessor struct and provides a builder API.

func NewJsonProcessorBuilder ¶

func NewJsonProcessorBuilder() *JsonProcessorBuilder

NewJsonProcessor provides a builder for the JsonProcessor struct.

func (*JsonProcessorBuilder) AddToRoot ¶

func (rb *JsonProcessorBuilder) AddToRoot(addtoroot bool) *JsonProcessorBuilder

func (*JsonProcessorBuilder) Build ¶

func (rb *JsonProcessorBuilder) Build() JsonProcessor

Build finalize the chain and returns the JsonProcessor struct

func (*JsonProcessorBuilder) Field ¶

func (*JsonProcessorBuilder) If_ ¶

func (*JsonProcessorBuilder) IgnoreFailure ¶

func (rb *JsonProcessorBuilder) IgnoreFailure(ignorefailure bool) *JsonProcessorBuilder

func (*JsonProcessorBuilder) OnFailure ¶

func (*JsonProcessorBuilder) Tag ¶

func (*JsonProcessorBuilder) TargetField ¶

func (rb *JsonProcessorBuilder) TargetField(targetfield Field) *JsonProcessorBuilder

type Jvm ¶

type Jvm struct {
	BufferPools    map[string]NodeBufferPool `json:"buffer_pools,omitempty"`
	Classes        *JvmClasses               `json:"classes,omitempty"`
	Gc             *GarbageCollector         `json:"gc,omitempty"`
	Mem            *JvmMemoryStats           `json:"mem,omitempty"`
	Threads        *JvmThreads               `json:"threads,omitempty"`
	Timestamp      *int64                    `json:"timestamp,omitempty"`
	Uptime         *string                   `json:"uptime,omitempty"`
	UptimeInMillis *int64                    `json:"uptime_in_millis,omitempty"`
}

Jvm type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L318-L327

type JvmBuilder ¶

type JvmBuilder struct {
	// contains filtered or unexported fields
}

JvmBuilder holds Jvm struct and provides a builder API.

func NewJvmBuilder ¶

func NewJvmBuilder() *JvmBuilder

NewJvm provides a builder for the Jvm struct.

func (*JvmBuilder) BufferPools ¶

func (rb *JvmBuilder) BufferPools(values map[string]*NodeBufferPoolBuilder) *JvmBuilder

func (*JvmBuilder) Build ¶

func (rb *JvmBuilder) Build() Jvm

Build finalize the chain and returns the Jvm struct

func (*JvmBuilder) Classes ¶

func (rb *JvmBuilder) Classes(classes *JvmClassesBuilder) *JvmBuilder

func (*JvmBuilder) Gc ¶

func (*JvmBuilder) Mem ¶

func (*JvmBuilder) Threads ¶

func (rb *JvmBuilder) Threads(threads *JvmThreadsBuilder) *JvmBuilder

func (*JvmBuilder) Timestamp ¶

func (rb *JvmBuilder) Timestamp(timestamp int64) *JvmBuilder

func (*JvmBuilder) Uptime ¶

func (rb *JvmBuilder) Uptime(uptime string) *JvmBuilder

func (*JvmBuilder) UptimeInMillis ¶

func (rb *JvmBuilder) UptimeInMillis(uptimeinmillis int64) *JvmBuilder

type JvmClasses ¶

type JvmClasses struct {
	CurrentLoadedCount *int64 `json:"current_loaded_count,omitempty"`
	TotalLoadedCount   *int64 `json:"total_loaded_count,omitempty"`
	TotalUnloadedCount *int64 `json:"total_unloaded_count,omitempty"`
}

JvmClasses type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L351-L355

type JvmClassesBuilder ¶

type JvmClassesBuilder struct {
	// contains filtered or unexported fields
}

JvmClassesBuilder holds JvmClasses struct and provides a builder API.

func NewJvmClassesBuilder ¶

func NewJvmClassesBuilder() *JvmClassesBuilder

NewJvmClasses provides a builder for the JvmClasses struct.

func (*JvmClassesBuilder) Build ¶

func (rb *JvmClassesBuilder) Build() JvmClasses

Build finalize the chain and returns the JvmClasses struct

func (*JvmClassesBuilder) CurrentLoadedCount ¶

func (rb *JvmClassesBuilder) CurrentLoadedCount(currentloadedcount int64) *JvmClassesBuilder

func (*JvmClassesBuilder) TotalLoadedCount ¶

func (rb *JvmClassesBuilder) TotalLoadedCount(totalloadedcount int64) *JvmClassesBuilder

func (*JvmClassesBuilder) TotalUnloadedCount ¶

func (rb *JvmClassesBuilder) TotalUnloadedCount(totalunloadedcount int64) *JvmClassesBuilder

type JvmMemoryStats ¶

type JvmMemoryStats struct {
	HeapCommittedInBytes    *int64          `json:"heap_committed_in_bytes,omitempty"`
	HeapMaxInBytes          *int64          `json:"heap_max_in_bytes,omitempty"`
	HeapUsedInBytes         *int64          `json:"heap_used_in_bytes,omitempty"`
	HeapUsedPercent         *int64          `json:"heap_used_percent,omitempty"`
	NonHeapCommittedInBytes *int64          `json:"non_heap_committed_in_bytes,omitempty"`
	NonHeapUsedInBytes      *int64          `json:"non_heap_used_in_bytes,omitempty"`
	Pools                   map[string]Pool `json:"pools,omitempty"`
}

JvmMemoryStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L329-L337

type JvmMemoryStatsBuilder ¶

type JvmMemoryStatsBuilder struct {
	// contains filtered or unexported fields
}

JvmMemoryStatsBuilder holds JvmMemoryStats struct and provides a builder API.

func NewJvmMemoryStatsBuilder ¶

func NewJvmMemoryStatsBuilder() *JvmMemoryStatsBuilder

NewJvmMemoryStats provides a builder for the JvmMemoryStats struct.

func (*JvmMemoryStatsBuilder) Build ¶

Build finalize the chain and returns the JvmMemoryStats struct

func (*JvmMemoryStatsBuilder) HeapCommittedInBytes ¶

func (rb *JvmMemoryStatsBuilder) HeapCommittedInBytes(heapcommittedinbytes int64) *JvmMemoryStatsBuilder

func (*JvmMemoryStatsBuilder) HeapMaxInBytes ¶

func (rb *JvmMemoryStatsBuilder) HeapMaxInBytes(heapmaxinbytes int64) *JvmMemoryStatsBuilder

func (*JvmMemoryStatsBuilder) HeapUsedInBytes ¶

func (rb *JvmMemoryStatsBuilder) HeapUsedInBytes(heapusedinbytes int64) *JvmMemoryStatsBuilder

func (*JvmMemoryStatsBuilder) HeapUsedPercent ¶

func (rb *JvmMemoryStatsBuilder) HeapUsedPercent(heapusedpercent int64) *JvmMemoryStatsBuilder

func (*JvmMemoryStatsBuilder) NonHeapCommittedInBytes ¶

func (rb *JvmMemoryStatsBuilder) NonHeapCommittedInBytes(nonheapcommittedinbytes int64) *JvmMemoryStatsBuilder

func (*JvmMemoryStatsBuilder) NonHeapUsedInBytes ¶

func (rb *JvmMemoryStatsBuilder) NonHeapUsedInBytes(nonheapusedinbytes int64) *JvmMemoryStatsBuilder

func (*JvmMemoryStatsBuilder) Pools ¶

type JvmStats ¶

type JvmStats struct {
	// HeapMax Maximum amount of memory available for use by the heap.
	HeapMax *ByteSize `json:"heap_max,omitempty"`
	// HeapMaxInBytes Maximum amount of memory, in bytes, available for use by the heap.
	HeapMaxInBytes int `json:"heap_max_in_bytes"`
	// JavaInference Amount of Java heap currently being used for caching inference models.
	JavaInference *ByteSize `json:"java_inference,omitempty"`
	// JavaInferenceInBytes Amount of Java heap, in bytes, currently being used for caching inference
	// models.
	JavaInferenceInBytes int `json:"java_inference_in_bytes"`
	// JavaInferenceMax Maximum amount of Java heap to be used for caching inference models.
	JavaInferenceMax *ByteSize `json:"java_inference_max,omitempty"`
	// JavaInferenceMaxInBytes Maximum amount of Java heap, in bytes, to be used for caching inference
	// models.
	JavaInferenceMaxInBytes int `json:"java_inference_max_in_bytes"`
}

JvmStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/get_memory_stats/types.ts#L50-L63

type JvmStatsBuilder ¶

type JvmStatsBuilder struct {
	// contains filtered or unexported fields
}

JvmStatsBuilder holds JvmStats struct and provides a builder API.

func NewJvmStatsBuilder ¶

func NewJvmStatsBuilder() *JvmStatsBuilder

NewJvmStats provides a builder for the JvmStats struct.

func (*JvmStatsBuilder) Build ¶

func (rb *JvmStatsBuilder) Build() JvmStats

Build finalize the chain and returns the JvmStats struct

func (*JvmStatsBuilder) HeapMax ¶

func (rb *JvmStatsBuilder) HeapMax(heapmax *ByteSizeBuilder) *JvmStatsBuilder

func (*JvmStatsBuilder) HeapMaxInBytes ¶

func (rb *JvmStatsBuilder) HeapMaxInBytes(heapmaxinbytes int) *JvmStatsBuilder

func (*JvmStatsBuilder) JavaInference ¶

func (rb *JvmStatsBuilder) JavaInference(javainference *ByteSizeBuilder) *JvmStatsBuilder

func (*JvmStatsBuilder) JavaInferenceInBytes ¶

func (rb *JvmStatsBuilder) JavaInferenceInBytes(javainferenceinbytes int) *JvmStatsBuilder

func (*JvmStatsBuilder) JavaInferenceMax ¶

func (rb *JvmStatsBuilder) JavaInferenceMax(javainferencemax *ByteSizeBuilder) *JvmStatsBuilder

func (*JvmStatsBuilder) JavaInferenceMaxInBytes ¶

func (rb *JvmStatsBuilder) JavaInferenceMaxInBytes(javainferencemaxinbytes int) *JvmStatsBuilder

type JvmThreads ¶

type JvmThreads struct {
	Count     *int64 `json:"count,omitempty"`
	PeakCount *int64 `json:"peak_count,omitempty"`
}

JvmThreads type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L346-L349

type JvmThreadsBuilder ¶

type JvmThreadsBuilder struct {
	// contains filtered or unexported fields
}

JvmThreadsBuilder holds JvmThreads struct and provides a builder API.

func NewJvmThreadsBuilder ¶

func NewJvmThreadsBuilder() *JvmThreadsBuilder

NewJvmThreads provides a builder for the JvmThreads struct.

func (*JvmThreadsBuilder) Build ¶

func (rb *JvmThreadsBuilder) Build() JvmThreads

Build finalize the chain and returns the JvmThreads struct

func (*JvmThreadsBuilder) Count ¶

func (rb *JvmThreadsBuilder) Count(count int64) *JvmThreadsBuilder

func (*JvmThreadsBuilder) PeakCount ¶

func (rb *JvmThreadsBuilder) PeakCount(peakcount int64) *JvmThreadsBuilder

type KStemTokenFilter ¶

type KStemTokenFilter struct {
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

KStemTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L238-L240

type KStemTokenFilterBuilder ¶

type KStemTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

KStemTokenFilterBuilder holds KStemTokenFilter struct and provides a builder API.

func NewKStemTokenFilterBuilder ¶

func NewKStemTokenFilterBuilder() *KStemTokenFilterBuilder

NewKStemTokenFilter provides a builder for the KStemTokenFilter struct.

func (*KStemTokenFilterBuilder) Build ¶

Build finalize the chain and returns the KStemTokenFilter struct

func (*KStemTokenFilterBuilder) Version ¶

type KeepTypesTokenFilter ¶

type KeepTypesTokenFilter struct {
	Mode    *keeptypesmode.KeepTypesMode `json:"mode,omitempty"`
	Type    string                       `json:"type,omitempty"`
	Types   []string                     `json:"types,omitempty"`
	Version *VersionString               `json:"version,omitempty"`
}

KeepTypesTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L217-L221

type KeepTypesTokenFilterBuilder ¶

type KeepTypesTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

KeepTypesTokenFilterBuilder holds KeepTypesTokenFilter struct and provides a builder API.

func NewKeepTypesTokenFilterBuilder ¶

func NewKeepTypesTokenFilterBuilder() *KeepTypesTokenFilterBuilder

NewKeepTypesTokenFilter provides a builder for the KeepTypesTokenFilter struct.

func (*KeepTypesTokenFilterBuilder) Build ¶

Build finalize the chain and returns the KeepTypesTokenFilter struct

func (*KeepTypesTokenFilterBuilder) Mode ¶

func (*KeepTypesTokenFilterBuilder) Types ¶

func (*KeepTypesTokenFilterBuilder) Version ¶

type KeepWordsTokenFilter ¶

type KeepWordsTokenFilter struct {
	KeepWords     []string       `json:"keep_words,omitempty"`
	KeepWordsCase *bool          `json:"keep_words_case,omitempty"`
	KeepWordsPath *string        `json:"keep_words_path,omitempty"`
	Type          string         `json:"type,omitempty"`
	Version       *VersionString `json:"version,omitempty"`
}

KeepWordsTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L223-L228

type KeepWordsTokenFilterBuilder ¶

type KeepWordsTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

KeepWordsTokenFilterBuilder holds KeepWordsTokenFilter struct and provides a builder API.

func NewKeepWordsTokenFilterBuilder ¶

func NewKeepWordsTokenFilterBuilder() *KeepWordsTokenFilterBuilder

NewKeepWordsTokenFilter provides a builder for the KeepWordsTokenFilter struct.

func (*KeepWordsTokenFilterBuilder) Build ¶

Build finalize the chain and returns the KeepWordsTokenFilter struct

func (*KeepWordsTokenFilterBuilder) KeepWords ¶

func (rb *KeepWordsTokenFilterBuilder) KeepWords(keep_words ...string) *KeepWordsTokenFilterBuilder

func (*KeepWordsTokenFilterBuilder) KeepWordsCase ¶

func (rb *KeepWordsTokenFilterBuilder) KeepWordsCase(keepwordscase bool) *KeepWordsTokenFilterBuilder

func (*KeepWordsTokenFilterBuilder) KeepWordsPath ¶

func (rb *KeepWordsTokenFilterBuilder) KeepWordsPath(keepwordspath string) *KeepWordsTokenFilterBuilder

func (*KeepWordsTokenFilterBuilder) Version ¶

type KeyValueProcessor ¶

type KeyValueProcessor struct {
	ExcludeKeys   []string             `json:"exclude_keys,omitempty"`
	Field         Field                `json:"field"`
	FieldSplit    string               `json:"field_split"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing *bool                `json:"ignore_missing,omitempty"`
	IncludeKeys   []string             `json:"include_keys,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Prefix        *string              `json:"prefix,omitempty"`
	StripBrackets *bool                `json:"strip_brackets,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
	TargetField   *Field               `json:"target_field,omitempty"`
	TrimKey       *string              `json:"trim_key,omitempty"`
	TrimValue     *string              `json:"trim_value,omitempty"`
	ValueSplit    string               `json:"value_split"`
}

KeyValueProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L277-L289

type KeyValueProcessorBuilder ¶

type KeyValueProcessorBuilder struct {
	// contains filtered or unexported fields
}

KeyValueProcessorBuilder holds KeyValueProcessor struct and provides a builder API.

func NewKeyValueProcessorBuilder ¶

func NewKeyValueProcessorBuilder() *KeyValueProcessorBuilder

NewKeyValueProcessor provides a builder for the KeyValueProcessor struct.

func (*KeyValueProcessorBuilder) Build ¶

Build finalize the chain and returns the KeyValueProcessor struct

func (*KeyValueProcessorBuilder) ExcludeKeys ¶

func (rb *KeyValueProcessorBuilder) ExcludeKeys(exclude_keys ...string) *KeyValueProcessorBuilder

func (*KeyValueProcessorBuilder) Field ¶

func (*KeyValueProcessorBuilder) FieldSplit ¶

func (rb *KeyValueProcessorBuilder) FieldSplit(fieldsplit string) *KeyValueProcessorBuilder

func (*KeyValueProcessorBuilder) If_ ¶

func (*KeyValueProcessorBuilder) IgnoreFailure ¶

func (rb *KeyValueProcessorBuilder) IgnoreFailure(ignorefailure bool) *KeyValueProcessorBuilder

func (*KeyValueProcessorBuilder) IgnoreMissing ¶

func (rb *KeyValueProcessorBuilder) IgnoreMissing(ignoremissing bool) *KeyValueProcessorBuilder

func (*KeyValueProcessorBuilder) IncludeKeys ¶

func (rb *KeyValueProcessorBuilder) IncludeKeys(include_keys ...string) *KeyValueProcessorBuilder

func (*KeyValueProcessorBuilder) OnFailure ¶

func (*KeyValueProcessorBuilder) Prefix ¶

func (*KeyValueProcessorBuilder) StripBrackets ¶

func (rb *KeyValueProcessorBuilder) StripBrackets(stripbrackets bool) *KeyValueProcessorBuilder

func (*KeyValueProcessorBuilder) Tag ¶

func (*KeyValueProcessorBuilder) TargetField ¶

func (rb *KeyValueProcessorBuilder) TargetField(targetfield Field) *KeyValueProcessorBuilder

func (*KeyValueProcessorBuilder) TrimKey ¶

func (*KeyValueProcessorBuilder) TrimValue ¶

func (rb *KeyValueProcessorBuilder) TrimValue(trimvalue string) *KeyValueProcessorBuilder

func (*KeyValueProcessorBuilder) ValueSplit ¶

func (rb *KeyValueProcessorBuilder) ValueSplit(valuesplit string) *KeyValueProcessorBuilder

type KeyedPercentilesBuilder ¶

type KeyedPercentilesBuilder struct {
	// contains filtered or unexported fields
}

KeyedPercentilesBuilder holds KeyedPercentiles struct and provides a builder API.

func NewKeyedPercentilesBuilder ¶

func NewKeyedPercentilesBuilder() *KeyedPercentilesBuilder

NewKeyedPercentiles provides a builder for the KeyedPercentiles struct.

func (*KeyedPercentilesBuilder) Build ¶

Build finalize the chain and returns the KeyedPercentiles struct

func (*KeyedPercentilesBuilder) KeyedPercentiles ¶

type KeyedProcessor ¶

type KeyedProcessor struct {
	Stats *Processor `json:"stats,omitempty"`
	Type  *string    `json:"type,omitempty"`
}

KeyedProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L151-L154

type KeyedProcessorBuilder ¶

type KeyedProcessorBuilder struct {
	// contains filtered or unexported fields
}

KeyedProcessorBuilder holds KeyedProcessor struct and provides a builder API.

func NewKeyedProcessorBuilder ¶

func NewKeyedProcessorBuilder() *KeyedProcessorBuilder

NewKeyedProcessor provides a builder for the KeyedProcessor struct.

func (*KeyedProcessorBuilder) Build ¶

Build finalize the chain and returns the KeyedProcessor struct

func (*KeyedProcessorBuilder) Stats ¶

func (*KeyedProcessorBuilder) Type_ ¶

type KeywordAnalyzer ¶

type KeywordAnalyzer struct {
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

KeywordAnalyzer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/analyzers.ts#L47-L50

type KeywordAnalyzerBuilder ¶

type KeywordAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

KeywordAnalyzerBuilder holds KeywordAnalyzer struct and provides a builder API.

func NewKeywordAnalyzerBuilder ¶

func NewKeywordAnalyzerBuilder() *KeywordAnalyzerBuilder

NewKeywordAnalyzer provides a builder for the KeywordAnalyzer struct.

func (*KeywordAnalyzerBuilder) Build ¶

Build finalize the chain and returns the KeywordAnalyzer struct

func (*KeywordAnalyzerBuilder) Version ¶

type KeywordMarkerTokenFilter ¶

type KeywordMarkerTokenFilter struct {
	IgnoreCase      *bool          `json:"ignore_case,omitempty"`
	Keywords        []string       `json:"keywords,omitempty"`
	KeywordsPath    *string        `json:"keywords_path,omitempty"`
	KeywordsPattern *string        `json:"keywords_pattern,omitempty"`
	Type            string         `json:"type,omitempty"`
	Version         *VersionString `json:"version,omitempty"`
}

KeywordMarkerTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L230-L236

type KeywordMarkerTokenFilterBuilder ¶

type KeywordMarkerTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

KeywordMarkerTokenFilterBuilder holds KeywordMarkerTokenFilter struct and provides a builder API.

func NewKeywordMarkerTokenFilterBuilder ¶

func NewKeywordMarkerTokenFilterBuilder() *KeywordMarkerTokenFilterBuilder

NewKeywordMarkerTokenFilter provides a builder for the KeywordMarkerTokenFilter struct.

func (*KeywordMarkerTokenFilterBuilder) Build ¶

Build finalize the chain and returns the KeywordMarkerTokenFilter struct

func (*KeywordMarkerTokenFilterBuilder) IgnoreCase ¶

func (*KeywordMarkerTokenFilterBuilder) Keywords ¶

func (*KeywordMarkerTokenFilterBuilder) KeywordsPath ¶

func (*KeywordMarkerTokenFilterBuilder) KeywordsPattern ¶

func (rb *KeywordMarkerTokenFilterBuilder) KeywordsPattern(keywordspattern string) *KeywordMarkerTokenFilterBuilder

func (*KeywordMarkerTokenFilterBuilder) Version ¶

type KeywordProperty ¶

type KeywordProperty struct {
	Boost                    *float64                       `json:"boost,omitempty"`
	CopyTo                   *Fields                        `json:"copy_to,omitempty"`
	DocValues                *bool                          `json:"doc_values,omitempty"`
	Dynamic                  *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	EagerGlobalOrdinals      *bool                          `json:"eager_global_ordinals,omitempty"`
	Fields                   map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove              *int                           `json:"ignore_above,omitempty"`
	Index                    *bool                          `json:"index,omitempty"`
	IndexOptions             *indexoptions.IndexOptions     `json:"index_options,omitempty"`
	LocalMetadata            *Metadata                      `json:"local_metadata,omitempty"`
	Meta                     map[string]string              `json:"meta,omitempty"`
	Normalizer               *string                        `json:"normalizer,omitempty"`
	Norms                    *bool                          `json:"norms,omitempty"`
	NullValue                *string                        `json:"null_value,omitempty"`
	Properties               map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity               *string                        `json:"similarity,omitempty"`
	SplitQueriesOnWhitespace *bool                          `json:"split_queries_on_whitespace,omitempty"`
	Store                    *bool                          `json:"store,omitempty"`
	// TimeSeriesDimension [experimental] For internal use by Elastic only. Marks the field as a time
	// series dimension. Defaults to false.
	TimeSeriesDimension *bool  `json:"time_series_dimension,omitempty"`
	Type                string `json:"type,omitempty"`
}

KeywordProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L88-L100

type KeywordPropertyBuilder ¶

type KeywordPropertyBuilder struct {
	// contains filtered or unexported fields
}

KeywordPropertyBuilder holds KeywordProperty struct and provides a builder API.

func NewKeywordPropertyBuilder ¶

func NewKeywordPropertyBuilder() *KeywordPropertyBuilder

NewKeywordProperty provides a builder for the KeywordProperty struct.

func (*KeywordPropertyBuilder) Boost ¶

func (*KeywordPropertyBuilder) Build ¶

Build finalize the chain and returns the KeywordProperty struct

func (*KeywordPropertyBuilder) CopyTo ¶

func (*KeywordPropertyBuilder) DocValues ¶

func (rb *KeywordPropertyBuilder) DocValues(docvalues bool) *KeywordPropertyBuilder

func (*KeywordPropertyBuilder) Dynamic ¶

func (*KeywordPropertyBuilder) EagerGlobalOrdinals ¶

func (rb *KeywordPropertyBuilder) EagerGlobalOrdinals(eagerglobalordinals bool) *KeywordPropertyBuilder

func (*KeywordPropertyBuilder) Fields ¶

func (*KeywordPropertyBuilder) IgnoreAbove ¶

func (rb *KeywordPropertyBuilder) IgnoreAbove(ignoreabove int) *KeywordPropertyBuilder

func (*KeywordPropertyBuilder) Index ¶

func (*KeywordPropertyBuilder) IndexOptions ¶

func (*KeywordPropertyBuilder) LocalMetadata ¶

func (rb *KeywordPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *KeywordPropertyBuilder

func (*KeywordPropertyBuilder) Meta ¶

func (*KeywordPropertyBuilder) Normalizer ¶

func (rb *KeywordPropertyBuilder) Normalizer(normalizer string) *KeywordPropertyBuilder

func (*KeywordPropertyBuilder) Norms ¶

func (*KeywordPropertyBuilder) NullValue ¶

func (rb *KeywordPropertyBuilder) NullValue(nullvalue string) *KeywordPropertyBuilder

func (*KeywordPropertyBuilder) Properties ¶

func (*KeywordPropertyBuilder) Similarity ¶

func (rb *KeywordPropertyBuilder) Similarity(similarity string) *KeywordPropertyBuilder

func (*KeywordPropertyBuilder) SplitQueriesOnWhitespace ¶

func (rb *KeywordPropertyBuilder) SplitQueriesOnWhitespace(splitqueriesonwhitespace bool) *KeywordPropertyBuilder

func (*KeywordPropertyBuilder) Store ¶

func (*KeywordPropertyBuilder) TimeSeriesDimension ¶

func (rb *KeywordPropertyBuilder) TimeSeriesDimension(timeseriesdimension bool) *KeywordPropertyBuilder

type KeywordTokenizer ¶

type KeywordTokenizer struct {
	BufferSize int            `json:"buffer_size"`
	Type       string         `json:"type,omitempty"`
	Version    *VersionString `json:"version,omitempty"`
}

KeywordTokenizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L61-L64

type KeywordTokenizerBuilder ¶

type KeywordTokenizerBuilder struct {
	// contains filtered or unexported fields
}

KeywordTokenizerBuilder holds KeywordTokenizer struct and provides a builder API.

func NewKeywordTokenizerBuilder ¶

func NewKeywordTokenizerBuilder() *KeywordTokenizerBuilder

NewKeywordTokenizer provides a builder for the KeywordTokenizer struct.

func (*KeywordTokenizerBuilder) BufferSize ¶

func (rb *KeywordTokenizerBuilder) BufferSize(buffersize int) *KeywordTokenizerBuilder

func (*KeywordTokenizerBuilder) Build ¶

Build finalize the chain and returns the KeywordTokenizer struct

func (*KeywordTokenizerBuilder) Version ¶

type KnnQuery ¶

type KnnQuery struct {
	Boost         *float32  `json:"boost,omitempty"`
	Field         Field     `json:"field"`
	NumCandidates int       `json:"num_candidates"`
	QueryName_    *string   `json:"_name,omitempty"`
	QueryVector   []float64 `json:"query_vector"`
}

KnnQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L40-L47

type KnnQueryBuilder ¶

type KnnQueryBuilder struct {
	// contains filtered or unexported fields
}

KnnQueryBuilder holds KnnQuery struct and provides a builder API.

func NewKnnQueryBuilder ¶

func NewKnnQueryBuilder() *KnnQueryBuilder

NewKnnQuery provides a builder for the KnnQuery struct.

func (*KnnQueryBuilder) Boost ¶

func (rb *KnnQueryBuilder) Boost(boost float32) *KnnQueryBuilder

func (*KnnQueryBuilder) Build ¶

func (rb *KnnQueryBuilder) Build() KnnQuery

Build finalize the chain and returns the KnnQuery struct

func (*KnnQueryBuilder) Field ¶

func (rb *KnnQueryBuilder) Field(field Field) *KnnQueryBuilder

func (*KnnQueryBuilder) NumCandidates ¶

func (rb *KnnQueryBuilder) NumCandidates(numcandidates int) *KnnQueryBuilder

func (*KnnQueryBuilder) QueryName_ ¶

func (rb *KnnQueryBuilder) QueryName_(queryname_ string) *KnnQueryBuilder

func (*KnnQueryBuilder) QueryVector ¶

func (rb *KnnQueryBuilder) QueryVector(query_vector ...float64) *KnnQueryBuilder

type KuromojiAnalyzer ¶

type KuromojiAnalyzer struct {
	Mode           kuromojitokenizationmode.KuromojiTokenizationMode `json:"mode"`
	Type           string                                            `json:"type,omitempty"`
	UserDictionary *string                                           `json:"user_dictionary,omitempty"`
}

KuromojiAnalyzer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/kuromoji-plugin.ts#L25-L29

type KuromojiAnalyzerBuilder ¶

type KuromojiAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

KuromojiAnalyzerBuilder holds KuromojiAnalyzer struct and provides a builder API.

func NewKuromojiAnalyzerBuilder ¶

func NewKuromojiAnalyzerBuilder() *KuromojiAnalyzerBuilder

NewKuromojiAnalyzer provides a builder for the KuromojiAnalyzer struct.

func (*KuromojiAnalyzerBuilder) Build ¶

Build finalize the chain and returns the KuromojiAnalyzer struct

func (*KuromojiAnalyzerBuilder) UserDictionary ¶

func (rb *KuromojiAnalyzerBuilder) UserDictionary(userdictionary string) *KuromojiAnalyzerBuilder

type KuromojiIterationMarkCharFilter ¶

type KuromojiIterationMarkCharFilter struct {
	NormalizeKana  bool           `json:"normalize_kana"`
	NormalizeKanji bool           `json:"normalize_kanji"`
	Type           string         `json:"type,omitempty"`
	Version        *VersionString `json:"version,omitempty"`
}

KuromojiIterationMarkCharFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/kuromoji-plugin.ts#L31-L35

type KuromojiIterationMarkCharFilterBuilder ¶

type KuromojiIterationMarkCharFilterBuilder struct {
	// contains filtered or unexported fields
}

KuromojiIterationMarkCharFilterBuilder holds KuromojiIterationMarkCharFilter struct and provides a builder API.

func NewKuromojiIterationMarkCharFilterBuilder ¶

func NewKuromojiIterationMarkCharFilterBuilder() *KuromojiIterationMarkCharFilterBuilder

NewKuromojiIterationMarkCharFilter provides a builder for the KuromojiIterationMarkCharFilter struct.

func (*KuromojiIterationMarkCharFilterBuilder) Build ¶

Build finalize the chain and returns the KuromojiIterationMarkCharFilter struct

func (*KuromojiIterationMarkCharFilterBuilder) NormalizeKana ¶

func (*KuromojiIterationMarkCharFilterBuilder) NormalizeKanji ¶

func (*KuromojiIterationMarkCharFilterBuilder) Version ¶

type KuromojiPartOfSpeechTokenFilter ¶

type KuromojiPartOfSpeechTokenFilter struct {
	Stoptags []string       `json:"stoptags"`
	Type     string         `json:"type,omitempty"`
	Version  *VersionString `json:"version,omitempty"`
}

KuromojiPartOfSpeechTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/kuromoji-plugin.ts#L37-L40

type KuromojiPartOfSpeechTokenFilterBuilder ¶

type KuromojiPartOfSpeechTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

KuromojiPartOfSpeechTokenFilterBuilder holds KuromojiPartOfSpeechTokenFilter struct and provides a builder API.

func NewKuromojiPartOfSpeechTokenFilterBuilder ¶

func NewKuromojiPartOfSpeechTokenFilterBuilder() *KuromojiPartOfSpeechTokenFilterBuilder

NewKuromojiPartOfSpeechTokenFilter provides a builder for the KuromojiPartOfSpeechTokenFilter struct.

func (*KuromojiPartOfSpeechTokenFilterBuilder) Build ¶

Build finalize the chain and returns the KuromojiPartOfSpeechTokenFilter struct

func (*KuromojiPartOfSpeechTokenFilterBuilder) Stoptags ¶

func (*KuromojiPartOfSpeechTokenFilterBuilder) Version ¶

type KuromojiReadingFormTokenFilter ¶

type KuromojiReadingFormTokenFilter struct {
	Type      string         `json:"type,omitempty"`
	UseRomaji bool           `json:"use_romaji"`
	Version   *VersionString `json:"version,omitempty"`
}

KuromojiReadingFormTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/kuromoji-plugin.ts#L42-L45

type KuromojiReadingFormTokenFilterBuilder ¶

type KuromojiReadingFormTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

KuromojiReadingFormTokenFilterBuilder holds KuromojiReadingFormTokenFilter struct and provides a builder API.

func NewKuromojiReadingFormTokenFilterBuilder ¶

func NewKuromojiReadingFormTokenFilterBuilder() *KuromojiReadingFormTokenFilterBuilder

NewKuromojiReadingFormTokenFilter provides a builder for the KuromojiReadingFormTokenFilter struct.

func (*KuromojiReadingFormTokenFilterBuilder) Build ¶

Build finalize the chain and returns the KuromojiReadingFormTokenFilter struct

func (*KuromojiReadingFormTokenFilterBuilder) UseRomaji ¶

func (*KuromojiReadingFormTokenFilterBuilder) Version ¶

type KuromojiStemmerTokenFilter ¶

type KuromojiStemmerTokenFilter struct {
	MinimumLength int            `json:"minimum_length"`
	Type          string         `json:"type,omitempty"`
	Version       *VersionString `json:"version,omitempty"`
}

KuromojiStemmerTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/kuromoji-plugin.ts#L47-L50

type KuromojiStemmerTokenFilterBuilder ¶

type KuromojiStemmerTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

KuromojiStemmerTokenFilterBuilder holds KuromojiStemmerTokenFilter struct and provides a builder API.

func NewKuromojiStemmerTokenFilterBuilder ¶

func NewKuromojiStemmerTokenFilterBuilder() *KuromojiStemmerTokenFilterBuilder

NewKuromojiStemmerTokenFilter provides a builder for the KuromojiStemmerTokenFilter struct.

func (*KuromojiStemmerTokenFilterBuilder) Build ¶

Build finalize the chain and returns the KuromojiStemmerTokenFilter struct

func (*KuromojiStemmerTokenFilterBuilder) MinimumLength ¶

func (*KuromojiStemmerTokenFilterBuilder) Version ¶

type KuromojiTokenizer ¶

type KuromojiTokenizer struct {
	DiscardCompoundToken *bool                                             `json:"discard_compound_token,omitempty"`
	DiscardPunctuation   *bool                                             `json:"discard_punctuation,omitempty"`
	Mode                 kuromojitokenizationmode.KuromojiTokenizationMode `json:"mode"`
	NbestCost            *int                                              `json:"nbest_cost,omitempty"`
	NbestExamples        *string                                           `json:"nbest_examples,omitempty"`
	Type                 string                                            `json:"type,omitempty"`
	UserDictionary       *string                                           `json:"user_dictionary,omitempty"`
	UserDictionaryRules  []string                                          `json:"user_dictionary_rules,omitempty"`
	Version              *VersionString                                    `json:"version,omitempty"`
}

KuromojiTokenizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/kuromoji-plugin.ts#L58-L67

type KuromojiTokenizerBuilder ¶

type KuromojiTokenizerBuilder struct {
	// contains filtered or unexported fields
}

KuromojiTokenizerBuilder holds KuromojiTokenizer struct and provides a builder API.

func NewKuromojiTokenizerBuilder ¶

func NewKuromojiTokenizerBuilder() *KuromojiTokenizerBuilder

NewKuromojiTokenizer provides a builder for the KuromojiTokenizer struct.

func (*KuromojiTokenizerBuilder) Build ¶

Build finalize the chain and returns the KuromojiTokenizer struct

func (*KuromojiTokenizerBuilder) DiscardCompoundToken ¶

func (rb *KuromojiTokenizerBuilder) DiscardCompoundToken(discardcompoundtoken bool) *KuromojiTokenizerBuilder

func (*KuromojiTokenizerBuilder) DiscardPunctuation ¶

func (rb *KuromojiTokenizerBuilder) DiscardPunctuation(discardpunctuation bool) *KuromojiTokenizerBuilder

func (*KuromojiTokenizerBuilder) NbestCost ¶

func (rb *KuromojiTokenizerBuilder) NbestCost(nbestcost int) *KuromojiTokenizerBuilder

func (*KuromojiTokenizerBuilder) NbestExamples ¶

func (rb *KuromojiTokenizerBuilder) NbestExamples(nbestexamples string) *KuromojiTokenizerBuilder

func (*KuromojiTokenizerBuilder) UserDictionary ¶

func (rb *KuromojiTokenizerBuilder) UserDictionary(userdictionary string) *KuromojiTokenizerBuilder

func (*KuromojiTokenizerBuilder) UserDictionaryRules ¶

func (rb *KuromojiTokenizerBuilder) UserDictionaryRules(user_dictionary_rules ...string) *KuromojiTokenizerBuilder

func (*KuromojiTokenizerBuilder) Version ¶

type LanguageAnalyzer ¶

type LanguageAnalyzer struct {
	Language      language.Language `json:"language"`
	StemExclusion []string          `json:"stem_exclusion"`
	Stopwords     *StopWords        `json:"stopwords,omitempty"`
	StopwordsPath *string           `json:"stopwords_path,omitempty"`
	Type          string            `json:"type,omitempty"`
	Version       *VersionString    `json:"version,omitempty"`
}

LanguageAnalyzer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/analyzers.ts#L52-L59

type LanguageAnalyzerBuilder ¶

type LanguageAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

LanguageAnalyzerBuilder holds LanguageAnalyzer struct and provides a builder API.

func NewLanguageAnalyzerBuilder ¶

func NewLanguageAnalyzerBuilder() *LanguageAnalyzerBuilder

NewLanguageAnalyzer provides a builder for the LanguageAnalyzer struct.

func (*LanguageAnalyzerBuilder) Build ¶

Build finalize the chain and returns the LanguageAnalyzer struct

func (*LanguageAnalyzerBuilder) Language ¶

func (*LanguageAnalyzerBuilder) StemExclusion ¶

func (rb *LanguageAnalyzerBuilder) StemExclusion(stem_exclusion ...string) *LanguageAnalyzerBuilder

func (*LanguageAnalyzerBuilder) Stopwords ¶

func (*LanguageAnalyzerBuilder) StopwordsPath ¶

func (rb *LanguageAnalyzerBuilder) StopwordsPath(stopwordspath string) *LanguageAnalyzerBuilder

func (*LanguageAnalyzerBuilder) Version ¶

type LanguageContextBuilder ¶

type LanguageContextBuilder struct {
	// contains filtered or unexported fields
}

LanguageContextBuilder holds LanguageContext struct and provides a builder API.

func NewLanguageContextBuilder ¶

func NewLanguageContextBuilder() *LanguageContextBuilder

NewLanguageContext provides a builder for the LanguageContext struct.

func (*LanguageContextBuilder) Build ¶

Build finalize the chain and returns the LanguageContext struct

func (*LanguageContextBuilder) Contexts ¶

func (rb *LanguageContextBuilder) Contexts(contexts ...string) *LanguageContextBuilder

func (*LanguageContextBuilder) Language ¶

type LaplaceSmoothingModelBuilder ¶

type LaplaceSmoothingModelBuilder struct {
	// contains filtered or unexported fields
}

LaplaceSmoothingModelBuilder holds LaplaceSmoothingModel struct and provides a builder API.

func NewLaplaceSmoothingModelBuilder ¶

func NewLaplaceSmoothingModelBuilder() *LaplaceSmoothingModelBuilder

NewLaplaceSmoothingModel provides a builder for the LaplaceSmoothingModel struct.

func (*LaplaceSmoothingModelBuilder) Alpha ¶

func (*LaplaceSmoothingModelBuilder) Build ¶

Build finalize the chain and returns the LaplaceSmoothingModel struct

type LatLonGeoLocationBuilder ¶

type LatLonGeoLocationBuilder struct {
	// contains filtered or unexported fields
}

LatLonGeoLocationBuilder holds LatLonGeoLocation struct and provides a builder API.

func NewLatLonGeoLocationBuilder ¶

func NewLatLonGeoLocationBuilder() *LatLonGeoLocationBuilder

NewLatLonGeoLocation provides a builder for the LatLonGeoLocation struct.

func (*LatLonGeoLocationBuilder) Build ¶

Build finalize the chain and returns the LatLonGeoLocation struct

func (*LatLonGeoLocationBuilder) Lat ¶

func (*LatLonGeoLocationBuilder) Lon ¶

type Latest ¶

type Latest struct {
	// Sort Specifies the date field that is used to identify the latest documents.
	Sort Field `json:"sort"`
	// UniqueKey Specifies an array of one or more fields that are used to group the data.
	UniqueKey []Field `json:"unique_key"`
}

Latest type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/_types/Transform.ts#L47-L52

type LatestBuilder ¶

type LatestBuilder struct {
	// contains filtered or unexported fields
}

LatestBuilder holds Latest struct and provides a builder API.

func NewLatestBuilder ¶

func NewLatestBuilder() *LatestBuilder

NewLatest provides a builder for the Latest struct.

func (*LatestBuilder) Build ¶

func (rb *LatestBuilder) Build() Latest

Build finalize the chain and returns the Latest struct

func (*LatestBuilder) Sort ¶

func (rb *LatestBuilder) Sort(sort Field) *LatestBuilder

func (*LatestBuilder) UniqueKey ¶

func (rb *LatestBuilder) UniqueKey(unique_key ...Field) *LatestBuilder

type LengthTokenFilter ¶

type LengthTokenFilter struct {
	Max     *int           `json:"max,omitempty"`
	Min     *int           `json:"min,omitempty"`
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

LengthTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L242-L246

type LengthTokenFilterBuilder ¶

type LengthTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

LengthTokenFilterBuilder holds LengthTokenFilter struct and provides a builder API.

func NewLengthTokenFilterBuilder ¶

func NewLengthTokenFilterBuilder() *LengthTokenFilterBuilder

NewLengthTokenFilter provides a builder for the LengthTokenFilter struct.

func (*LengthTokenFilterBuilder) Build ¶

Build finalize the chain and returns the LengthTokenFilter struct

func (*LengthTokenFilterBuilder) Max ¶

func (*LengthTokenFilterBuilder) Min ¶

func (*LengthTokenFilterBuilder) Version ¶

type LetterTokenizer ¶

type LetterTokenizer struct {
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

LetterTokenizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L66-L68

type LetterTokenizerBuilder ¶

type LetterTokenizerBuilder struct {
	// contains filtered or unexported fields
}

LetterTokenizerBuilder holds LetterTokenizer struct and provides a builder API.

func NewLetterTokenizerBuilder ¶

func NewLetterTokenizerBuilder() *LetterTokenizerBuilder

NewLetterTokenizer provides a builder for the LetterTokenizer struct.

func (*LetterTokenizerBuilder) Build ¶

Build finalize the chain and returns the LetterTokenizer struct

func (*LetterTokenizerBuilder) Version ¶

type License ¶

type License struct {
	ExpiryDateInMillis EpochTimeUnitMillis     `json:"expiry_date_in_millis"`
	IssueDateInMillis  EpochTimeUnitMillis     `json:"issue_date_in_millis"`
	IssuedTo           string                  `json:"issued_to"`
	Issuer             string                  `json:"issuer"`
	MaxNodes           int64                   `json:"max_nodes,omitempty"`
	MaxResourceUnits   *int64                  `json:"max_resource_units,omitempty"`
	Signature          string                  `json:"signature"`
	StartDateInMillis  *EpochTimeUnitMillis    `json:"start_date_in_millis,omitempty"`
	Type               licensetype.LicenseType `json:"type"`
	Uid                string                  `json:"uid"`
}

License type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/license/_types/License.ts#L42-L53

type LicenseBuilder ¶

type LicenseBuilder struct {
	// contains filtered or unexported fields
}

LicenseBuilder holds License struct and provides a builder API.

func NewLicenseBuilder ¶

func NewLicenseBuilder() *LicenseBuilder

NewLicense provides a builder for the License struct.

func (*LicenseBuilder) Build ¶

func (rb *LicenseBuilder) Build() License

Build finalize the chain and returns the License struct

func (*LicenseBuilder) ExpiryDateInMillis ¶

func (rb *LicenseBuilder) ExpiryDateInMillis(expirydateinmillis *EpochTimeUnitMillisBuilder) *LicenseBuilder

func (*LicenseBuilder) IssueDateInMillis ¶

func (rb *LicenseBuilder) IssueDateInMillis(issuedateinmillis *EpochTimeUnitMillisBuilder) *LicenseBuilder

func (*LicenseBuilder) IssuedTo ¶

func (rb *LicenseBuilder) IssuedTo(issuedto string) *LicenseBuilder

func (*LicenseBuilder) Issuer ¶

func (rb *LicenseBuilder) Issuer(issuer string) *LicenseBuilder

func (*LicenseBuilder) MaxNodes ¶

func (rb *LicenseBuilder) MaxNodes(maxnodes int64) *LicenseBuilder

func (*LicenseBuilder) MaxResourceUnits ¶

func (rb *LicenseBuilder) MaxResourceUnits(maxresourceunits int64) *LicenseBuilder

func (*LicenseBuilder) Signature ¶

func (rb *LicenseBuilder) Signature(signature string) *LicenseBuilder

func (*LicenseBuilder) StartDateInMillis ¶

func (rb *LicenseBuilder) StartDateInMillis(startdateinmillis *EpochTimeUnitMillisBuilder) *LicenseBuilder

func (*LicenseBuilder) Type_ ¶

func (*LicenseBuilder) Uid ¶

func (rb *LicenseBuilder) Uid(uid string) *LicenseBuilder

type LicenseInformation ¶

type LicenseInformation struct {
	ExpiryDate         *DateTime                   `json:"expiry_date,omitempty"`
	ExpiryDateInMillis *EpochTimeUnitMillis        `json:"expiry_date_in_millis,omitempty"`
	IssueDate          DateTime                    `json:"issue_date"`
	IssueDateInMillis  EpochTimeUnitMillis         `json:"issue_date_in_millis"`
	IssuedTo           string                      `json:"issued_to"`
	Issuer             string                      `json:"issuer"`
	MaxNodes           int64                       `json:"max_nodes,omitempty"`
	MaxResourceUnits   int                         `json:"max_resource_units,omitempty"`
	StartDateInMillis  EpochTimeUnitMillis         `json:"start_date_in_millis"`
	Status             licensestatus.LicenseStatus `json:"status"`
	Type               licensetype.LicenseType     `json:"type"`
	Uid                Uuid                        `json:"uid"`
}

LicenseInformation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/license/get/types.ts#L25-L38

type LicenseInformationBuilder ¶

type LicenseInformationBuilder struct {
	// contains filtered or unexported fields
}

LicenseInformationBuilder holds LicenseInformation struct and provides a builder API.

func NewLicenseInformationBuilder ¶

func NewLicenseInformationBuilder() *LicenseInformationBuilder

NewLicenseInformation provides a builder for the LicenseInformation struct.

func (*LicenseInformationBuilder) Build ¶

Build finalize the chain and returns the LicenseInformation struct

func (*LicenseInformationBuilder) ExpiryDate ¶

func (*LicenseInformationBuilder) ExpiryDateInMillis ¶

func (rb *LicenseInformationBuilder) ExpiryDateInMillis(expirydateinmillis *EpochTimeUnitMillisBuilder) *LicenseInformationBuilder

func (*LicenseInformationBuilder) IssueDate ¶

func (*LicenseInformationBuilder) IssueDateInMillis ¶

func (rb *LicenseInformationBuilder) IssueDateInMillis(issuedateinmillis *EpochTimeUnitMillisBuilder) *LicenseInformationBuilder

func (*LicenseInformationBuilder) IssuedTo ¶

func (*LicenseInformationBuilder) Issuer ¶

func (*LicenseInformationBuilder) MaxNodes ¶

func (*LicenseInformationBuilder) MaxResourceUnits ¶

func (rb *LicenseInformationBuilder) MaxResourceUnits(maxresourceunits int) *LicenseInformationBuilder

func (*LicenseInformationBuilder) StartDateInMillis ¶

func (rb *LicenseInformationBuilder) StartDateInMillis(startdateinmillis *EpochTimeUnitMillisBuilder) *LicenseInformationBuilder

func (*LicenseInformationBuilder) Status ¶

func (*LicenseInformationBuilder) Type_ ¶

func (*LicenseInformationBuilder) Uid ¶

type Lifecycle ¶

type Lifecycle struct {
	ModifiedDate DateTime      `json:"modified_date"`
	Policy       Policy        `json:"policy"`
	Version      VersionNumber `json:"version"`
}

Lifecycle type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ilm/get_lifecycle/types.ts#L24-L28

type LifecycleBuilder ¶

type LifecycleBuilder struct {
	// contains filtered or unexported fields
}

LifecycleBuilder holds Lifecycle struct and provides a builder API.

func NewLifecycleBuilder ¶

func NewLifecycleBuilder() *LifecycleBuilder

NewLifecycle provides a builder for the Lifecycle struct.

func (*LifecycleBuilder) Build ¶

func (rb *LifecycleBuilder) Build() Lifecycle

Build finalize the chain and returns the Lifecycle struct

func (*LifecycleBuilder) ModifiedDate ¶

func (rb *LifecycleBuilder) ModifiedDate(modifieddate *DateTimeBuilder) *LifecycleBuilder

func (*LifecycleBuilder) Policy ¶

func (rb *LifecycleBuilder) Policy(policy *PolicyBuilder) *LifecycleBuilder

func (*LifecycleBuilder) Version ¶

func (rb *LifecycleBuilder) Version(version VersionNumber) *LifecycleBuilder

type LifecycleExplain ¶

type LifecycleExplain interface{}

LifecycleExplain holds the union for the following types:

LifecycleExplainManaged
LifecycleExplainUnmanaged

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ilm/explain_lifecycle/types.ts#L59-L62

type LifecycleExplainBuilder ¶

type LifecycleExplainBuilder struct {
	// contains filtered or unexported fields
}

LifecycleExplainBuilder holds LifecycleExplain struct and provides a builder API.

func NewLifecycleExplainBuilder ¶

func NewLifecycleExplainBuilder() *LifecycleExplainBuilder

NewLifecycleExplain provides a builder for the LifecycleExplain struct.

func (*LifecycleExplainBuilder) Build ¶

Build finalize the chain and returns the LifecycleExplain struct

func (*LifecycleExplainBuilder) LifecycleExplainManaged ¶

func (u *LifecycleExplainBuilder) LifecycleExplainManaged(lifecycleexplainmanaged *LifecycleExplainManagedBuilder) *LifecycleExplainBuilder

func (*LifecycleExplainBuilder) LifecycleExplainUnmanaged ¶

func (u *LifecycleExplainBuilder) LifecycleExplainUnmanaged(lifecycleexplainunmanaged *LifecycleExplainUnmanagedBuilder) *LifecycleExplainBuilder

type LifecycleExplainManaged ¶

type LifecycleExplainManaged struct {
	Action                  *Name                           `json:"action,omitempty"`
	ActionTime              *DateTime                       `json:"action_time,omitempty"`
	ActionTimeMillis        *EpochTimeUnitMillis            `json:"action_time_millis,omitempty"`
	Age                     *Duration                       `json:"age,omitempty"`
	FailedStep              *Name                           `json:"failed_step,omitempty"`
	FailedStepRetryCount    *int                            `json:"failed_step_retry_count,omitempty"`
	Index                   *IndexName                      `json:"index,omitempty"`
	IndexCreationDate       *DateTime                       `json:"index_creation_date,omitempty"`
	IndexCreationDateMillis *EpochTimeUnitMillis            `json:"index_creation_date_millis,omitempty"`
	IsAutoRetryableError    *bool                           `json:"is_auto_retryable_error,omitempty"`
	LifecycleDate           *DateTime                       `json:"lifecycle_date,omitempty"`
	LifecycleDateMillis     *EpochTimeUnitMillis            `json:"lifecycle_date_millis,omitempty"`
	Managed                 string                          `json:"managed,omitempty"`
	Phase                   Name                            `json:"phase"`
	PhaseExecution          *LifecycleExplainPhaseExecution `json:"phase_execution,omitempty"`
	PhaseTime               *DateTime                       `json:"phase_time,omitempty"`
	PhaseTimeMillis         *EpochTimeUnitMillis            `json:"phase_time_millis,omitempty"`
	Policy                  Name                            `json:"policy"`
	Step                    *Name                           `json:"step,omitempty"`
	StepInfo                map[string]interface{}          `json:"step_info,omitempty"`
	StepTime                *DateTime                       `json:"step_time,omitempty"`
	StepTimeMillis          *EpochTimeUnitMillis            `json:"step_time_millis,omitempty"`
	TimeSinceIndexCreation  *Duration                       `json:"time_since_index_creation,omitempty"`
}

LifecycleExplainManaged type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ilm/explain_lifecycle/types.ts#L26-L52

type LifecycleExplainManagedBuilder ¶

type LifecycleExplainManagedBuilder struct {
	// contains filtered or unexported fields
}

LifecycleExplainManagedBuilder holds LifecycleExplainManaged struct and provides a builder API.

func NewLifecycleExplainManagedBuilder ¶

func NewLifecycleExplainManagedBuilder() *LifecycleExplainManagedBuilder

NewLifecycleExplainManaged provides a builder for the LifecycleExplainManaged struct.

func (*LifecycleExplainManagedBuilder) Action ¶

func (*LifecycleExplainManagedBuilder) ActionTime ¶

func (*LifecycleExplainManagedBuilder) ActionTimeMillis ¶

func (*LifecycleExplainManagedBuilder) Age ¶

func (*LifecycleExplainManagedBuilder) Build ¶

Build finalize the chain and returns the LifecycleExplainManaged struct

func (*LifecycleExplainManagedBuilder) FailedStep ¶

func (*LifecycleExplainManagedBuilder) FailedStepRetryCount ¶

func (rb *LifecycleExplainManagedBuilder) FailedStepRetryCount(failedstepretrycount int) *LifecycleExplainManagedBuilder

func (*LifecycleExplainManagedBuilder) Index ¶

func (*LifecycleExplainManagedBuilder) IndexCreationDate ¶

func (rb *LifecycleExplainManagedBuilder) IndexCreationDate(indexcreationdate *DateTimeBuilder) *LifecycleExplainManagedBuilder

func (*LifecycleExplainManagedBuilder) IndexCreationDateMillis ¶

func (rb *LifecycleExplainManagedBuilder) IndexCreationDateMillis(indexcreationdatemillis *EpochTimeUnitMillisBuilder) *LifecycleExplainManagedBuilder

func (*LifecycleExplainManagedBuilder) IsAutoRetryableError ¶

func (rb *LifecycleExplainManagedBuilder) IsAutoRetryableError(isautoretryableerror bool) *LifecycleExplainManagedBuilder

func (*LifecycleExplainManagedBuilder) LifecycleDate ¶

func (*LifecycleExplainManagedBuilder) LifecycleDateMillis ¶

func (rb *LifecycleExplainManagedBuilder) LifecycleDateMillis(lifecycledatemillis *EpochTimeUnitMillisBuilder) *LifecycleExplainManagedBuilder

func (*LifecycleExplainManagedBuilder) Phase ¶

func (*LifecycleExplainManagedBuilder) PhaseExecution ¶

func (*LifecycleExplainManagedBuilder) PhaseTime ¶

func (*LifecycleExplainManagedBuilder) PhaseTimeMillis ¶

func (*LifecycleExplainManagedBuilder) Policy ¶

func (*LifecycleExplainManagedBuilder) Step ¶

func (*LifecycleExplainManagedBuilder) StepInfo ¶

func (rb *LifecycleExplainManagedBuilder) StepInfo(value map[string]interface{}) *LifecycleExplainManagedBuilder

func (*LifecycleExplainManagedBuilder) StepTime ¶

func (*LifecycleExplainManagedBuilder) StepTimeMillis ¶

func (*LifecycleExplainManagedBuilder) TimeSinceIndexCreation ¶

func (rb *LifecycleExplainManagedBuilder) TimeSinceIndexCreation(timesinceindexcreation *DurationBuilder) *LifecycleExplainManagedBuilder

type LifecycleExplainPhaseExecution ¶

type LifecycleExplainPhaseExecution struct {
	ModifiedDateInMillis EpochTimeUnitMillis `json:"modified_date_in_millis"`
	Policy               Name                `json:"policy"`
	Version              VersionNumber       `json:"version"`
}

LifecycleExplainPhaseExecution type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ilm/explain_lifecycle/types.ts#L64-L68

type LifecycleExplainPhaseExecutionBuilder ¶

type LifecycleExplainPhaseExecutionBuilder struct {
	// contains filtered or unexported fields
}

LifecycleExplainPhaseExecutionBuilder holds LifecycleExplainPhaseExecution struct and provides a builder API.

func NewLifecycleExplainPhaseExecutionBuilder ¶

func NewLifecycleExplainPhaseExecutionBuilder() *LifecycleExplainPhaseExecutionBuilder

NewLifecycleExplainPhaseExecution provides a builder for the LifecycleExplainPhaseExecution struct.

func (*LifecycleExplainPhaseExecutionBuilder) Build ¶

Build finalize the chain and returns the LifecycleExplainPhaseExecution struct

func (*LifecycleExplainPhaseExecutionBuilder) ModifiedDateInMillis ¶

func (*LifecycleExplainPhaseExecutionBuilder) Policy ¶

func (*LifecycleExplainPhaseExecutionBuilder) Version ¶

type LifecycleExplainUnmanaged ¶

type LifecycleExplainUnmanaged struct {
	Index   IndexName `json:"index"`
	Managed string    `json:"managed,omitempty"`
}

LifecycleExplainUnmanaged type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ilm/explain_lifecycle/types.ts#L54-L57

type LifecycleExplainUnmanagedBuilder ¶

type LifecycleExplainUnmanagedBuilder struct {
	// contains filtered or unexported fields
}

LifecycleExplainUnmanagedBuilder holds LifecycleExplainUnmanaged struct and provides a builder API.

func NewLifecycleExplainUnmanagedBuilder ¶

func NewLifecycleExplainUnmanagedBuilder() *LifecycleExplainUnmanagedBuilder

NewLifecycleExplainUnmanaged provides a builder for the LifecycleExplainUnmanaged struct.

func (*LifecycleExplainUnmanagedBuilder) Build ¶

Build finalize the chain and returns the LifecycleExplainUnmanaged struct

func (*LifecycleExplainUnmanagedBuilder) Index ¶

type LikeBuilder ¶

type LikeBuilder struct {
	// contains filtered or unexported fields
}

LikeBuilder holds Like struct and provides a builder API.

func NewLikeBuilder ¶

func NewLikeBuilder() *LikeBuilder

NewLike provides a builder for the Like struct.

func (*LikeBuilder) Build ¶

func (u *LikeBuilder) Build() Like

Build finalize the chain and returns the Like struct

func (*LikeBuilder) LikeDocument ¶

func (u *LikeBuilder) LikeDocument(likedocument *LikeDocumentBuilder) *LikeBuilder

func (*LikeBuilder) String ¶

func (u *LikeBuilder) String(string string) *LikeBuilder

type LikeDocument ¶

type LikeDocument struct {
	Doc              interface{}              `json:"doc,omitempty"`
	Fields           []Field                  `json:"fields,omitempty"`
	Id_              *Id                      `json:"_id,omitempty"`
	Index_           *IndexName               `json:"_index,omitempty"`
	PerFieldAnalyzer map[Field]string         `json:"per_field_analyzer,omitempty"`
	Routing          *Routing                 `json:"routing,omitempty"`
	Version          *VersionNumber           `json:"version,omitempty"`
	VersionType      *versiontype.VersionType `json:"version_type,omitempty"`
}

LikeDocument type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L91-L101

type LikeDocumentBuilder ¶

type LikeDocumentBuilder struct {
	// contains filtered or unexported fields
}

LikeDocumentBuilder holds LikeDocument struct and provides a builder API.

func NewLikeDocumentBuilder ¶

func NewLikeDocumentBuilder() *LikeDocumentBuilder

NewLikeDocument provides a builder for the LikeDocument struct.

func (*LikeDocumentBuilder) Build ¶

func (rb *LikeDocumentBuilder) Build() LikeDocument

Build finalize the chain and returns the LikeDocument struct

func (*LikeDocumentBuilder) Doc ¶

func (rb *LikeDocumentBuilder) Doc(doc interface{}) *LikeDocumentBuilder

func (*LikeDocumentBuilder) Fields ¶

func (rb *LikeDocumentBuilder) Fields(fields ...Field) *LikeDocumentBuilder

func (*LikeDocumentBuilder) Id_ ¶

func (*LikeDocumentBuilder) Index_ ¶

func (*LikeDocumentBuilder) PerFieldAnalyzer ¶

func (rb *LikeDocumentBuilder) PerFieldAnalyzer(value map[Field]string) *LikeDocumentBuilder

func (*LikeDocumentBuilder) Routing ¶

func (rb *LikeDocumentBuilder) Routing(routing Routing) *LikeDocumentBuilder

func (*LikeDocumentBuilder) Version ¶

func (*LikeDocumentBuilder) VersionType ¶

func (rb *LikeDocumentBuilder) VersionType(versiontype versiontype.VersionType) *LikeDocumentBuilder

type LimitTokenCountTokenFilter ¶

type LimitTokenCountTokenFilter struct {
	ConsumeAllTokens *bool          `json:"consume_all_tokens,omitempty"`
	MaxTokenCount    *int           `json:"max_token_count,omitempty"`
	Type             string         `json:"type,omitempty"`
	Version          *VersionString `json:"version,omitempty"`
}

LimitTokenCountTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L248-L252

type LimitTokenCountTokenFilterBuilder ¶

type LimitTokenCountTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

LimitTokenCountTokenFilterBuilder holds LimitTokenCountTokenFilter struct and provides a builder API.

func NewLimitTokenCountTokenFilterBuilder ¶

func NewLimitTokenCountTokenFilterBuilder() *LimitTokenCountTokenFilterBuilder

NewLimitTokenCountTokenFilter provides a builder for the LimitTokenCountTokenFilter struct.

func (*LimitTokenCountTokenFilterBuilder) Build ¶

Build finalize the chain and returns the LimitTokenCountTokenFilter struct

func (*LimitTokenCountTokenFilterBuilder) ConsumeAllTokens ¶

func (rb *LimitTokenCountTokenFilterBuilder) ConsumeAllTokens(consumealltokens bool) *LimitTokenCountTokenFilterBuilder

func (*LimitTokenCountTokenFilterBuilder) MaxTokenCount ¶

func (*LimitTokenCountTokenFilterBuilder) Version ¶

type Limits ¶

type Limits struct {
	EffectiveMaxModelMemoryLimit string  `json:"effective_max_model_memory_limit"`
	MaxModelMemoryLimit          *string `json:"max_model_memory_limit,omitempty"`
	TotalMlMemory                string  `json:"total_ml_memory"`
}

Limits type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/info/types.ts#L34-L38

type LimitsBuilder ¶

type LimitsBuilder struct {
	// contains filtered or unexported fields
}

LimitsBuilder holds Limits struct and provides a builder API.

func NewLimitsBuilder ¶

func NewLimitsBuilder() *LimitsBuilder

NewLimits provides a builder for the Limits struct.

func (*LimitsBuilder) Build ¶

func (rb *LimitsBuilder) Build() Limits

Build finalize the chain and returns the Limits struct

func (*LimitsBuilder) EffectiveMaxModelMemoryLimit ¶

func (rb *LimitsBuilder) EffectiveMaxModelMemoryLimit(effectivemaxmodelmemorylimit string) *LimitsBuilder

func (*LimitsBuilder) MaxModelMemoryLimit ¶

func (rb *LimitsBuilder) MaxModelMemoryLimit(maxmodelmemorylimit string) *LimitsBuilder

func (*LimitsBuilder) TotalMlMemory ¶

func (rb *LimitsBuilder) TotalMlMemory(totalmlmemory string) *LimitsBuilder

type LinearInterpolationSmoothingModel ¶

type LinearInterpolationSmoothingModel struct {
	BigramLambda  float64 `json:"bigram_lambda"`
	TrigramLambda float64 `json:"trigram_lambda"`
	UnigramLambda float64 `json:"unigram_lambda"`
}

LinearInterpolationSmoothingModel type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L211-L215

type LinearInterpolationSmoothingModelBuilder ¶

type LinearInterpolationSmoothingModelBuilder struct {
	// contains filtered or unexported fields
}

LinearInterpolationSmoothingModelBuilder holds LinearInterpolationSmoothingModel struct and provides a builder API.

func NewLinearInterpolationSmoothingModelBuilder ¶

func NewLinearInterpolationSmoothingModelBuilder() *LinearInterpolationSmoothingModelBuilder

NewLinearInterpolationSmoothingModel provides a builder for the LinearInterpolationSmoothingModel struct.

func (*LinearInterpolationSmoothingModelBuilder) BigramLambda ¶

func (*LinearInterpolationSmoothingModelBuilder) Build ¶

Build finalize the chain and returns the LinearInterpolationSmoothingModel struct

func (*LinearInterpolationSmoothingModelBuilder) TrigramLambda ¶

func (*LinearInterpolationSmoothingModelBuilder) UnigramLambda ¶

type LinearMovingAverageAggregation ¶

type LinearMovingAverageAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Minimize    *bool                `json:"minimize,omitempty"`
	Model       string               `json:"model,omitempty"`
	Name        *string              `json:"name,omitempty"`
	Predict     *int                 `json:"predict,omitempty"`
	Settings    EmptyObject          `json:"settings"`
	Window      *int                 `json:"window,omitempty"`
}

LinearMovingAverageAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L190-L193

type LinearMovingAverageAggregationBuilder ¶

type LinearMovingAverageAggregationBuilder struct {
	// contains filtered or unexported fields
}

LinearMovingAverageAggregationBuilder holds LinearMovingAverageAggregation struct and provides a builder API.

func NewLinearMovingAverageAggregationBuilder ¶

func NewLinearMovingAverageAggregationBuilder() *LinearMovingAverageAggregationBuilder

NewLinearMovingAverageAggregation provides a builder for the LinearMovingAverageAggregation struct.

func (*LinearMovingAverageAggregationBuilder) BucketsPath ¶

func (*LinearMovingAverageAggregationBuilder) Build ¶

Build finalize the chain and returns the LinearMovingAverageAggregation struct

func (*LinearMovingAverageAggregationBuilder) Format ¶

func (*LinearMovingAverageAggregationBuilder) GapPolicy ¶

func (*LinearMovingAverageAggregationBuilder) Meta ¶

func (*LinearMovingAverageAggregationBuilder) Minimize ¶

func (*LinearMovingAverageAggregationBuilder) Name ¶

func (*LinearMovingAverageAggregationBuilder) Predict ¶

func (*LinearMovingAverageAggregationBuilder) Settings ¶

func (*LinearMovingAverageAggregationBuilder) Window ¶

type LoggingAction ¶

type LoggingAction struct {
	Category *string `json:"category,omitempty"`
	Level    *string `json:"level,omitempty"`
	Text     string  `json:"text"`
}

LoggingAction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L281-L285

type LoggingActionBuilder ¶

type LoggingActionBuilder struct {
	// contains filtered or unexported fields
}

LoggingActionBuilder holds LoggingAction struct and provides a builder API.

func NewLoggingActionBuilder ¶

func NewLoggingActionBuilder() *LoggingActionBuilder

NewLoggingAction provides a builder for the LoggingAction struct.

func (*LoggingActionBuilder) Build ¶

func (rb *LoggingActionBuilder) Build() LoggingAction

Build finalize the chain and returns the LoggingAction struct

func (*LoggingActionBuilder) Category ¶

func (rb *LoggingActionBuilder) Category(category string) *LoggingActionBuilder

func (*LoggingActionBuilder) Level ¶

func (*LoggingActionBuilder) Text ¶

type LoggingResultBuilder ¶

type LoggingResultBuilder struct {
	// contains filtered or unexported fields
}

LoggingResultBuilder holds LoggingResult struct and provides a builder API.

func NewLoggingResultBuilder ¶

func NewLoggingResultBuilder() *LoggingResultBuilder

NewLoggingResult provides a builder for the LoggingResult struct.

func (*LoggingResultBuilder) Build ¶

func (rb *LoggingResultBuilder) Build() LoggingResult

Build finalize the chain and returns the LoggingResult struct

func (*LoggingResultBuilder) LoggedText ¶

func (rb *LoggingResultBuilder) LoggedText(loggedtext string) *LoggingResultBuilder

type LongNumberProperty ¶

type LongNumberProperty struct {
	Coerce           *bool                                      `json:"coerce,omitempty"`
	CopyTo           *Fields                                    `json:"copy_to,omitempty"`
	DocValues        *bool                                      `json:"doc_values,omitempty"`
	Dynamic          *dynamicmapping.DynamicMapping             `json:"dynamic,omitempty"`
	Fields           map[PropertyName]Property                  `json:"fields,omitempty"`
	IgnoreAbove      *int                                       `json:"ignore_above,omitempty"`
	IgnoreMalformed  *bool                                      `json:"ignore_malformed,omitempty"`
	Index            *bool                                      `json:"index,omitempty"`
	LocalMetadata    *Metadata                                  `json:"local_metadata,omitempty"`
	Meta             map[string]string                          `json:"meta,omitempty"`
	NullValue        *int64                                     `json:"null_value,omitempty"`
	OnScriptError    *onscripterror.OnScriptError               `json:"on_script_error,omitempty"`
	Properties       map[PropertyName]Property                  `json:"properties,omitempty"`
	Script           *Script                                    `json:"script,omitempty"`
	Similarity       *string                                    `json:"similarity,omitempty"`
	Store            *bool                                      `json:"store,omitempty"`
	TimeSeriesMetric *timeseriesmetrictype.TimeSeriesMetricType `json:"time_series_metric,omitempty"`
	Type             string                                     `json:"type,omitempty"`
}

LongNumberProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L139-L142

type LongNumberPropertyBuilder ¶

type LongNumberPropertyBuilder struct {
	// contains filtered or unexported fields
}

LongNumberPropertyBuilder holds LongNumberProperty struct and provides a builder API.

func NewLongNumberPropertyBuilder ¶

func NewLongNumberPropertyBuilder() *LongNumberPropertyBuilder

NewLongNumberProperty provides a builder for the LongNumberProperty struct.

func (*LongNumberPropertyBuilder) Build ¶

Build finalize the chain and returns the LongNumberProperty struct

func (*LongNumberPropertyBuilder) Coerce ¶

func (*LongNumberPropertyBuilder) CopyTo ¶

func (*LongNumberPropertyBuilder) DocValues ¶

func (rb *LongNumberPropertyBuilder) DocValues(docvalues bool) *LongNumberPropertyBuilder

func (*LongNumberPropertyBuilder) Dynamic ¶

func (*LongNumberPropertyBuilder) Fields ¶

func (*LongNumberPropertyBuilder) IgnoreAbove ¶

func (rb *LongNumberPropertyBuilder) IgnoreAbove(ignoreabove int) *LongNumberPropertyBuilder

func (*LongNumberPropertyBuilder) IgnoreMalformed ¶

func (rb *LongNumberPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *LongNumberPropertyBuilder

func (*LongNumberPropertyBuilder) Index ¶

func (*LongNumberPropertyBuilder) LocalMetadata ¶

func (rb *LongNumberPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *LongNumberPropertyBuilder

func (*LongNumberPropertyBuilder) Meta ¶

func (*LongNumberPropertyBuilder) NullValue ¶

func (rb *LongNumberPropertyBuilder) NullValue(nullvalue int64) *LongNumberPropertyBuilder

func (*LongNumberPropertyBuilder) OnScriptError ¶

func (*LongNumberPropertyBuilder) Properties ¶

func (*LongNumberPropertyBuilder) Script ¶

func (*LongNumberPropertyBuilder) Similarity ¶

func (rb *LongNumberPropertyBuilder) Similarity(similarity string) *LongNumberPropertyBuilder

func (*LongNumberPropertyBuilder) Store ¶

func (*LongNumberPropertyBuilder) TimeSeriesMetric ¶

type LongRangeProperty ¶

type LongRangeProperty struct {
	Boost         *float64                       `json:"boost,omitempty"`
	Coerce        *bool                          `json:"coerce,omitempty"`
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	DocValues     *bool                          `json:"doc_values,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	Index         *bool                          `json:"index,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

LongRangeProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/range.ts#L50-L52

type LongRangePropertyBuilder ¶

type LongRangePropertyBuilder struct {
	// contains filtered or unexported fields
}

LongRangePropertyBuilder holds LongRangeProperty struct and provides a builder API.

func NewLongRangePropertyBuilder ¶

func NewLongRangePropertyBuilder() *LongRangePropertyBuilder

NewLongRangeProperty provides a builder for the LongRangeProperty struct.

func (*LongRangePropertyBuilder) Boost ¶

func (*LongRangePropertyBuilder) Build ¶

Build finalize the chain and returns the LongRangeProperty struct

func (*LongRangePropertyBuilder) Coerce ¶

func (*LongRangePropertyBuilder) CopyTo ¶

func (*LongRangePropertyBuilder) DocValues ¶

func (rb *LongRangePropertyBuilder) DocValues(docvalues bool) *LongRangePropertyBuilder

func (*LongRangePropertyBuilder) Dynamic ¶

func (*LongRangePropertyBuilder) Fields ¶

func (*LongRangePropertyBuilder) IgnoreAbove ¶

func (rb *LongRangePropertyBuilder) IgnoreAbove(ignoreabove int) *LongRangePropertyBuilder

func (*LongRangePropertyBuilder) Index ¶

func (*LongRangePropertyBuilder) LocalMetadata ¶

func (rb *LongRangePropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *LongRangePropertyBuilder

func (*LongRangePropertyBuilder) Meta ¶

func (*LongRangePropertyBuilder) Properties ¶

func (*LongRangePropertyBuilder) Similarity ¶

func (rb *LongRangePropertyBuilder) Similarity(similarity string) *LongRangePropertyBuilder

func (*LongRangePropertyBuilder) Store ¶

type LongRareTermsAggregateBuilder ¶

type LongRareTermsAggregateBuilder struct {
	// contains filtered or unexported fields
}

LongRareTermsAggregateBuilder holds LongRareTermsAggregate struct and provides a builder API.

func NewLongRareTermsAggregateBuilder ¶

func NewLongRareTermsAggregateBuilder() *LongRareTermsAggregateBuilder

NewLongRareTermsAggregate provides a builder for the LongRareTermsAggregate struct.

func (*LongRareTermsAggregateBuilder) Buckets ¶

func (*LongRareTermsAggregateBuilder) Build ¶

Build finalize the chain and returns the LongRareTermsAggregate struct

func (*LongRareTermsAggregateBuilder) Meta ¶

type LongRareTermsBucket ¶

type LongRareTermsBucket struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Key          int64                       `json:"key"`
	KeyAsString  *string                     `json:"key_as_string,omitempty"`
}

LongRareTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L425-L428

type LongRareTermsBucketBuilder ¶

type LongRareTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

LongRareTermsBucketBuilder holds LongRareTermsBucket struct and provides a builder API.

func NewLongRareTermsBucketBuilder ¶

func NewLongRareTermsBucketBuilder() *LongRareTermsBucketBuilder

NewLongRareTermsBucket provides a builder for the LongRareTermsBucket struct.

func (*LongRareTermsBucketBuilder) Aggregations ¶

func (*LongRareTermsBucketBuilder) Build ¶

Build finalize the chain and returns the LongRareTermsBucket struct

func (*LongRareTermsBucketBuilder) DocCount ¶

func (*LongRareTermsBucketBuilder) Key ¶

func (*LongRareTermsBucketBuilder) KeyAsString ¶

func (rb *LongRareTermsBucketBuilder) KeyAsString(keyasstring string) *LongRareTermsBucketBuilder

type LongTermsAggregate ¶

type LongTermsAggregate struct {
	Buckets                 BucketsLongTermsBucket `json:"buckets"`
	DocCountErrorUpperBound *int64                 `json:"doc_count_error_upper_bound,omitempty"`
	Meta                    *Metadata              `json:"meta,omitempty"`
	SumOtherDocCount        int64                  `json:"sum_other_doc_count"`
}

LongTermsAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L386-L391

type LongTermsAggregateBuilder ¶

type LongTermsAggregateBuilder struct {
	// contains filtered or unexported fields
}

LongTermsAggregateBuilder holds LongTermsAggregate struct and provides a builder API.

func NewLongTermsAggregateBuilder ¶

func NewLongTermsAggregateBuilder() *LongTermsAggregateBuilder

NewLongTermsAggregate provides a builder for the LongTermsAggregate struct.

func (*LongTermsAggregateBuilder) Buckets ¶

func (*LongTermsAggregateBuilder) Build ¶

Build finalize the chain and returns the LongTermsAggregate struct

func (*LongTermsAggregateBuilder) DocCountErrorUpperBound ¶

func (rb *LongTermsAggregateBuilder) DocCountErrorUpperBound(doccounterrorupperbound int64) *LongTermsAggregateBuilder

func (*LongTermsAggregateBuilder) Meta ¶

func (*LongTermsAggregateBuilder) SumOtherDocCount ¶

func (rb *LongTermsAggregateBuilder) SumOtherDocCount(sumotherdoccount int64) *LongTermsAggregateBuilder

type LongTermsBucket ¶

type LongTermsBucket struct {
	Aggregations  map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount      int64                       `json:"doc_count"`
	DocCountError *int64                      `json:"doc_count_error,omitempty"`
	Key           int64                       `json:"key"`
	KeyAsString   *string                     `json:"key_as_string,omitempty"`
}

LongTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L393-L396

type LongTermsBucketBuilder ¶

type LongTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

LongTermsBucketBuilder holds LongTermsBucket struct and provides a builder API.

func NewLongTermsBucketBuilder ¶

func NewLongTermsBucketBuilder() *LongTermsBucketBuilder

NewLongTermsBucket provides a builder for the LongTermsBucket struct.

func (*LongTermsBucketBuilder) Aggregations ¶

func (*LongTermsBucketBuilder) Build ¶

Build finalize the chain and returns the LongTermsBucket struct

func (*LongTermsBucketBuilder) DocCount ¶

func (rb *LongTermsBucketBuilder) DocCount(doccount int64) *LongTermsBucketBuilder

func (*LongTermsBucketBuilder) DocCountError ¶

func (rb *LongTermsBucketBuilder) DocCountError(doccounterror int64) *LongTermsBucketBuilder

func (*LongTermsBucketBuilder) Key ¶

func (*LongTermsBucketBuilder) KeyAsString ¶

func (rb *LongTermsBucketBuilder) KeyAsString(keyasstring string) *LongTermsBucketBuilder

type LowercaseNormalizerBuilder ¶

type LowercaseNormalizerBuilder struct {
	// contains filtered or unexported fields
}

LowercaseNormalizerBuilder holds LowercaseNormalizer struct and provides a builder API.

func NewLowercaseNormalizerBuilder ¶

func NewLowercaseNormalizerBuilder() *LowercaseNormalizerBuilder

NewLowercaseNormalizer provides a builder for the LowercaseNormalizer struct.

func (*LowercaseNormalizerBuilder) Build ¶

Build finalize the chain and returns the LowercaseNormalizer struct

type LowercaseProcessor ¶

type LowercaseProcessor struct {
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing *bool                `json:"ignore_missing,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
	TargetField   *Field               `json:"target_field,omitempty"`
}

LowercaseProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L291-L295

type LowercaseProcessorBuilder ¶

type LowercaseProcessorBuilder struct {
	// contains filtered or unexported fields
}

LowercaseProcessorBuilder holds LowercaseProcessor struct and provides a builder API.

func NewLowercaseProcessorBuilder ¶

func NewLowercaseProcessorBuilder() *LowercaseProcessorBuilder

NewLowercaseProcessor provides a builder for the LowercaseProcessor struct.

func (*LowercaseProcessorBuilder) Build ¶

Build finalize the chain and returns the LowercaseProcessor struct

func (*LowercaseProcessorBuilder) Field ¶

func (*LowercaseProcessorBuilder) If_ ¶

func (*LowercaseProcessorBuilder) IgnoreFailure ¶

func (rb *LowercaseProcessorBuilder) IgnoreFailure(ignorefailure bool) *LowercaseProcessorBuilder

func (*LowercaseProcessorBuilder) IgnoreMissing ¶

func (rb *LowercaseProcessorBuilder) IgnoreMissing(ignoremissing bool) *LowercaseProcessorBuilder

func (*LowercaseProcessorBuilder) OnFailure ¶

func (*LowercaseProcessorBuilder) Tag ¶

func (*LowercaseProcessorBuilder) TargetField ¶

func (rb *LowercaseProcessorBuilder) TargetField(targetfield Field) *LowercaseProcessorBuilder

type LowercaseTokenFilter ¶

type LowercaseTokenFilter struct {
	Language *string        `json:"language,omitempty"`
	Type     string         `json:"type,omitempty"`
	Version  *VersionString `json:"version,omitempty"`
}

LowercaseTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L254-L257

type LowercaseTokenFilterBuilder ¶

type LowercaseTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

LowercaseTokenFilterBuilder holds LowercaseTokenFilter struct and provides a builder API.

func NewLowercaseTokenFilterBuilder ¶

func NewLowercaseTokenFilterBuilder() *LowercaseTokenFilterBuilder

NewLowercaseTokenFilter provides a builder for the LowercaseTokenFilter struct.

func (*LowercaseTokenFilterBuilder) Build ¶

Build finalize the chain and returns the LowercaseTokenFilter struct

func (*LowercaseTokenFilterBuilder) Language ¶

func (*LowercaseTokenFilterBuilder) Version ¶

type LowercaseTokenizer ¶

type LowercaseTokenizer struct {
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

LowercaseTokenizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L70-L72

type LowercaseTokenizerBuilder ¶

type LowercaseTokenizerBuilder struct {
	// contains filtered or unexported fields
}

LowercaseTokenizerBuilder holds LowercaseTokenizer struct and provides a builder API.

func NewLowercaseTokenizerBuilder ¶

func NewLowercaseTokenizerBuilder() *LowercaseTokenizerBuilder

NewLowercaseTokenizer provides a builder for the LowercaseTokenizer struct.

func (*LowercaseTokenizerBuilder) Build ¶

Build finalize the chain and returns the LowercaseTokenizer struct

func (*LowercaseTokenizerBuilder) Version ¶

type MachineLearning ¶

type MachineLearning struct {
	Available              bool                     `json:"available"`
	DataFrameAnalyticsJobs MlDataFrameAnalyticsJobs `json:"data_frame_analytics_jobs"`
	Datafeeds              map[string]Datafeed      `json:"datafeeds"`
	Enabled                bool                     `json:"enabled"`
	Inference              MlInference              `json:"inference"`
	Jobs                   Jobs                     `json:"jobs"`
	NodeCount              int                      `json:"node_count"`
}

MachineLearning type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L360-L368

type MachineLearningBuilder ¶

type MachineLearningBuilder struct {
	// contains filtered or unexported fields
}

MachineLearningBuilder holds MachineLearning struct and provides a builder API.

func NewMachineLearningBuilder ¶

func NewMachineLearningBuilder() *MachineLearningBuilder

NewMachineLearning provides a builder for the MachineLearning struct.

func (*MachineLearningBuilder) Available ¶

func (rb *MachineLearningBuilder) Available(available bool) *MachineLearningBuilder

func (*MachineLearningBuilder) Build ¶

Build finalize the chain and returns the MachineLearning struct

func (*MachineLearningBuilder) DataFrameAnalyticsJobs ¶

func (rb *MachineLearningBuilder) DataFrameAnalyticsJobs(dataframeanalyticsjobs *MlDataFrameAnalyticsJobsBuilder) *MachineLearningBuilder

func (*MachineLearningBuilder) Datafeeds ¶

func (*MachineLearningBuilder) Enabled ¶

func (rb *MachineLearningBuilder) Enabled(enabled bool) *MachineLearningBuilder

func (*MachineLearningBuilder) Inference ¶

func (*MachineLearningBuilder) Jobs ¶

func (*MachineLearningBuilder) NodeCount ¶

func (rb *MachineLearningBuilder) NodeCount(nodecount int) *MachineLearningBuilder

type ManageUserPrivilegesBuilder ¶

type ManageUserPrivilegesBuilder struct {
	// contains filtered or unexported fields
}

ManageUserPrivilegesBuilder holds ManageUserPrivileges struct and provides a builder API.

func NewManageUserPrivilegesBuilder ¶

func NewManageUserPrivilegesBuilder() *ManageUserPrivilegesBuilder

NewManageUserPrivileges provides a builder for the ManageUserPrivileges struct.

func (*ManageUserPrivilegesBuilder) Applications ¶

func (rb *ManageUserPrivilegesBuilder) Applications(applications ...string) *ManageUserPrivilegesBuilder

func (*ManageUserPrivilegesBuilder) Build ¶

Build finalize the chain and returns the ManageUserPrivileges struct

type MapboxVectorTilesBuilder ¶

type MapboxVectorTilesBuilder struct {
	// contains filtered or unexported fields
}

MapboxVectorTilesBuilder holds MapboxVectorTiles struct and provides a builder API.

func NewMapboxVectorTilesBuilder ¶

func NewMapboxVectorTilesBuilder() *MapboxVectorTilesBuilder

NewMapboxVectorTiles provides a builder for the MapboxVectorTiles struct.

func (*MapboxVectorTilesBuilder) Build ¶

Build finalize the chain and returns the MapboxVectorTiles struct

func (*MapboxVectorTilesBuilder) MapboxVectorTiles ¶

type MappingCharFilter ¶

type MappingCharFilter struct {
	Mappings     []string       `json:"mappings"`
	MappingsPath *string        `json:"mappings_path,omitempty"`
	Type         string         `json:"type,omitempty"`
	Version      *VersionString `json:"version,omitempty"`
}

MappingCharFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/char_filters.ts#L47-L51

type MappingCharFilterBuilder ¶

type MappingCharFilterBuilder struct {
	// contains filtered or unexported fields
}

MappingCharFilterBuilder holds MappingCharFilter struct and provides a builder API.

func NewMappingCharFilterBuilder ¶

func NewMappingCharFilterBuilder() *MappingCharFilterBuilder

NewMappingCharFilter provides a builder for the MappingCharFilter struct.

func (*MappingCharFilterBuilder) Build ¶

Build finalize the chain and returns the MappingCharFilter struct

func (*MappingCharFilterBuilder) Mappings ¶

func (rb *MappingCharFilterBuilder) Mappings(mappings ...string) *MappingCharFilterBuilder

func (*MappingCharFilterBuilder) MappingsPath ¶

func (rb *MappingCharFilterBuilder) MappingsPath(mappingspath string) *MappingCharFilterBuilder

func (*MappingCharFilterBuilder) Version ¶

type MappingLimitSettings ¶

type MappingLimitSettings struct {
	Depth           *MappingLimitSettingsDepth           `json:"depth,omitempty"`
	DimensionFields *MappingLimitSettingsDimensionFields `json:"dimension_fields,omitempty"`
	FieldNameLength *MappingLimitSettingsFieldNameLength `json:"field_name_length,omitempty"`
	IgnoreMalformed *bool                                `json:"ignore_malformed,omitempty"`
	NestedFields    *MappingLimitSettingsNestedFields    `json:"nested_fields,omitempty"`
	NestedObjects   *MappingLimitSettingsNestedObjects   `json:"nested_objects,omitempty"`
	TotalFields     *MappingLimitSettingsTotalFields     `json:"total_fields,omitempty"`
}

MappingLimitSettings type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L402-L414

type MappingLimitSettingsBuilder ¶

type MappingLimitSettingsBuilder struct {
	// contains filtered or unexported fields
}

MappingLimitSettingsBuilder holds MappingLimitSettings struct and provides a builder API.

func NewMappingLimitSettingsBuilder ¶

func NewMappingLimitSettingsBuilder() *MappingLimitSettingsBuilder

NewMappingLimitSettings provides a builder for the MappingLimitSettings struct.

func (*MappingLimitSettingsBuilder) Build ¶

Build finalize the chain and returns the MappingLimitSettings struct

func (*MappingLimitSettingsBuilder) Depth ¶

func (*MappingLimitSettingsBuilder) DimensionFields ¶

func (*MappingLimitSettingsBuilder) FieldNameLength ¶

func (*MappingLimitSettingsBuilder) IgnoreMalformed ¶

func (rb *MappingLimitSettingsBuilder) IgnoreMalformed(ignoremalformed bool) *MappingLimitSettingsBuilder

func (*MappingLimitSettingsBuilder) NestedFields ¶

func (*MappingLimitSettingsBuilder) NestedObjects ¶

func (*MappingLimitSettingsBuilder) TotalFields ¶

type MappingLimitSettingsDepth ¶

type MappingLimitSettingsDepth struct {
	// Limit The maximum depth for a field, which is measured as the number of inner
	// objects. For instance, if all fields are defined
	// at the root object level, then the depth is 1. If there is one object
	// mapping, then the depth is 2, etc.
	Limit *int `json:"limit,omitempty"`
}

MappingLimitSettingsDepth type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L426-L433

type MappingLimitSettingsDepthBuilder ¶

type MappingLimitSettingsDepthBuilder struct {
	// contains filtered or unexported fields
}

MappingLimitSettingsDepthBuilder holds MappingLimitSettingsDepth struct and provides a builder API.

func NewMappingLimitSettingsDepthBuilder ¶

func NewMappingLimitSettingsDepthBuilder() *MappingLimitSettingsDepthBuilder

NewMappingLimitSettingsDepth provides a builder for the MappingLimitSettingsDepth struct.

func (*MappingLimitSettingsDepthBuilder) Build ¶

Build finalize the chain and returns the MappingLimitSettingsDepth struct

func (*MappingLimitSettingsDepthBuilder) Limit ¶

type MappingLimitSettingsDimensionFields ¶

type MappingLimitSettingsDimensionFields struct {
	// Limit [preview] This functionality is in technical preview and may be changed or
	// removed in a future release. Elastic will
	// apply best effort to fix any issues, but features in technical preview are
	// not subject to the support SLA of official GA features.
	Limit *int `json:"limit,omitempty"`
}

MappingLimitSettingsDimensionFields type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L463-L469

type MappingLimitSettingsDimensionFieldsBuilder ¶

type MappingLimitSettingsDimensionFieldsBuilder struct {
	// contains filtered or unexported fields
}

MappingLimitSettingsDimensionFieldsBuilder holds MappingLimitSettingsDimensionFields struct and provides a builder API.

func NewMappingLimitSettingsDimensionFieldsBuilder ¶

func NewMappingLimitSettingsDimensionFieldsBuilder() *MappingLimitSettingsDimensionFieldsBuilder

NewMappingLimitSettingsDimensionFields provides a builder for the MappingLimitSettingsDimensionFields struct.

func (*MappingLimitSettingsDimensionFieldsBuilder) Build ¶

Build finalize the chain and returns the MappingLimitSettingsDimensionFields struct

func (*MappingLimitSettingsDimensionFieldsBuilder) Limit ¶

type MappingLimitSettingsFieldNameLength ¶

type MappingLimitSettingsFieldNameLength struct {
	// Limit Setting for the maximum length of a field name. This setting isn’t really
	// something that addresses mappings explosion but
	// might still be useful if you want to limit the field length. It usually
	// shouldn’t be necessary to set this setting. The
	// default is okay unless a user starts to add a huge number of fields with
	// really long names. Default is `Long.MAX_VALUE` (no limit).
	Limit *int64 `json:"limit,omitempty"`
}

MappingLimitSettingsFieldNameLength type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L454-L461

type MappingLimitSettingsFieldNameLengthBuilder ¶

type MappingLimitSettingsFieldNameLengthBuilder struct {
	// contains filtered or unexported fields
}

MappingLimitSettingsFieldNameLengthBuilder holds MappingLimitSettingsFieldNameLength struct and provides a builder API.

func NewMappingLimitSettingsFieldNameLengthBuilder ¶

func NewMappingLimitSettingsFieldNameLengthBuilder() *MappingLimitSettingsFieldNameLengthBuilder

NewMappingLimitSettingsFieldNameLength provides a builder for the MappingLimitSettingsFieldNameLength struct.

func (*MappingLimitSettingsFieldNameLengthBuilder) Build ¶

Build finalize the chain and returns the MappingLimitSettingsFieldNameLength struct

func (*MappingLimitSettingsFieldNameLengthBuilder) Limit ¶

type MappingLimitSettingsNestedFields ¶

type MappingLimitSettingsNestedFields struct {
	// Limit The maximum number of distinct nested mappings in an index. The nested type
	// should only be used in special cases, when
	// arrays of objects need to be queried independently of each other. To
	// safeguard against poorly designed mappings, this
	// setting limits the number of unique nested types per index.
	Limit *int `json:"limit,omitempty"`
}

MappingLimitSettingsNestedFields type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L435-L443

type MappingLimitSettingsNestedFieldsBuilder ¶

type MappingLimitSettingsNestedFieldsBuilder struct {
	// contains filtered or unexported fields
}

MappingLimitSettingsNestedFieldsBuilder holds MappingLimitSettingsNestedFields struct and provides a builder API.

func NewMappingLimitSettingsNestedFieldsBuilder ¶

func NewMappingLimitSettingsNestedFieldsBuilder() *MappingLimitSettingsNestedFieldsBuilder

NewMappingLimitSettingsNestedFields provides a builder for the MappingLimitSettingsNestedFields struct.

func (*MappingLimitSettingsNestedFieldsBuilder) Build ¶

Build finalize the chain and returns the MappingLimitSettingsNestedFields struct

func (*MappingLimitSettingsNestedFieldsBuilder) Limit ¶

type MappingLimitSettingsNestedObjects ¶

type MappingLimitSettingsNestedObjects struct {
	// Limit The maximum number of nested JSON objects that a single document can contain
	// across all nested types. This limit helps
	// to prevent out of memory errors when a document contains too many nested
	// objects.
	Limit *int `json:"limit,omitempty"`
}

MappingLimitSettingsNestedObjects type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L445-L452

type MappingLimitSettingsNestedObjectsBuilder ¶

type MappingLimitSettingsNestedObjectsBuilder struct {
	// contains filtered or unexported fields
}

MappingLimitSettingsNestedObjectsBuilder holds MappingLimitSettingsNestedObjects struct and provides a builder API.

func NewMappingLimitSettingsNestedObjectsBuilder ¶

func NewMappingLimitSettingsNestedObjectsBuilder() *MappingLimitSettingsNestedObjectsBuilder

NewMappingLimitSettingsNestedObjects provides a builder for the MappingLimitSettingsNestedObjects struct.

func (*MappingLimitSettingsNestedObjectsBuilder) Build ¶

Build finalize the chain and returns the MappingLimitSettingsNestedObjects struct

func (*MappingLimitSettingsNestedObjectsBuilder) Limit ¶

type MappingLimitSettingsTotalFields ¶

type MappingLimitSettingsTotalFields struct {
	// Limit The maximum number of fields in an index. Field and object mappings, as well
	// as field aliases count towards this limit.
	// The limit is in place to prevent mappings and searches from becoming too
	// large. Higher values can lead to performance
	// degradations and memory issues, especially in clusters with a high load or
	// few resources.
	Limit *int `json:"limit,omitempty"`
}

MappingLimitSettingsTotalFields type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L416-L424

type MappingLimitSettingsTotalFieldsBuilder ¶

type MappingLimitSettingsTotalFieldsBuilder struct {
	// contains filtered or unexported fields
}

MappingLimitSettingsTotalFieldsBuilder holds MappingLimitSettingsTotalFields struct and provides a builder API.

func NewMappingLimitSettingsTotalFieldsBuilder ¶

func NewMappingLimitSettingsTotalFieldsBuilder() *MappingLimitSettingsTotalFieldsBuilder

NewMappingLimitSettingsTotalFields provides a builder for the MappingLimitSettingsTotalFields struct.

func (*MappingLimitSettingsTotalFieldsBuilder) Build ¶

Build finalize the chain and returns the MappingLimitSettingsTotalFields struct

func (*MappingLimitSettingsTotalFieldsBuilder) Limit ¶

type MasterRecord ¶

type MasterRecord struct {
	// Host host name
	Host *string `json:"host,omitempty"`
	// Id node id
	Id *string `json:"id,omitempty"`
	// Ip ip address
	Ip *string `json:"ip,omitempty"`
	// Node node name
	Node *string `json:"node,omitempty"`
}

MasterRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/master/types.ts#L20-L39

type MasterRecordBuilder ¶

type MasterRecordBuilder struct {
	// contains filtered or unexported fields
}

MasterRecordBuilder holds MasterRecord struct and provides a builder API.

func NewMasterRecordBuilder ¶

func NewMasterRecordBuilder() *MasterRecordBuilder

NewMasterRecord provides a builder for the MasterRecord struct.

func (*MasterRecordBuilder) Build ¶

func (rb *MasterRecordBuilder) Build() MasterRecord

Build finalize the chain and returns the MasterRecord struct

func (*MasterRecordBuilder) Host ¶

func (*MasterRecordBuilder) Id ¶

func (*MasterRecordBuilder) Ip ¶

func (*MasterRecordBuilder) Node ¶

type MatchAllQuery ¶

type MatchAllQuery struct {
	Boost      *float32 `json:"boost,omitempty"`
	QueryName_ *string  `json:"_name,omitempty"`
}

MatchAllQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/MatchAllQuery.ts#L22-L22

type MatchAllQueryBuilder ¶

type MatchAllQueryBuilder struct {
	// contains filtered or unexported fields
}

MatchAllQueryBuilder holds MatchAllQuery struct and provides a builder API.

func NewMatchAllQueryBuilder ¶

func NewMatchAllQueryBuilder() *MatchAllQueryBuilder

NewMatchAllQuery provides a builder for the MatchAllQuery struct.

func (*MatchAllQueryBuilder) Boost ¶

func (*MatchAllQueryBuilder) Build ¶

func (rb *MatchAllQueryBuilder) Build() MatchAllQuery

Build finalize the chain and returns the MatchAllQuery struct

func (*MatchAllQueryBuilder) QueryName_ ¶

func (rb *MatchAllQueryBuilder) QueryName_(queryname_ string) *MatchAllQueryBuilder

type MatchBoolPrefixQuery ¶

type MatchBoolPrefixQuery struct {
	Analyzer            *string                `json:"analyzer,omitempty"`
	Boost               *float32               `json:"boost,omitempty"`
	Fuzziness           *Fuzziness             `json:"fuzziness,omitempty"`
	FuzzyRewrite        *MultiTermQueryRewrite `json:"fuzzy_rewrite,omitempty"`
	FuzzyTranspositions *bool                  `json:"fuzzy_transpositions,omitempty"`
	MaxExpansions       *int                   `json:"max_expansions,omitempty"`
	MinimumShouldMatch  *MinimumShouldMatch    `json:"minimum_should_match,omitempty"`
	Operator            *operator.Operator     `json:"operator,omitempty"`
	PrefixLength        *int                   `json:"prefix_length,omitempty"`
	Query               string                 `json:"query"`
	QueryName_          *string                `json:"_name,omitempty"`
}

MatchBoolPrefixQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L160-L171

type MatchBoolPrefixQueryBuilder ¶

type MatchBoolPrefixQueryBuilder struct {
	// contains filtered or unexported fields
}

MatchBoolPrefixQueryBuilder holds MatchBoolPrefixQuery struct and provides a builder API.

func NewMatchBoolPrefixQueryBuilder ¶

func NewMatchBoolPrefixQueryBuilder() *MatchBoolPrefixQueryBuilder

NewMatchBoolPrefixQuery provides a builder for the MatchBoolPrefixQuery struct.

func (*MatchBoolPrefixQueryBuilder) Analyzer ¶

func (*MatchBoolPrefixQueryBuilder) Boost ¶

func (*MatchBoolPrefixQueryBuilder) Build ¶

Build finalize the chain and returns the MatchBoolPrefixQuery struct

func (*MatchBoolPrefixQueryBuilder) Fuzziness ¶

func (*MatchBoolPrefixQueryBuilder) FuzzyRewrite ¶

func (*MatchBoolPrefixQueryBuilder) FuzzyTranspositions ¶

func (rb *MatchBoolPrefixQueryBuilder) FuzzyTranspositions(fuzzytranspositions bool) *MatchBoolPrefixQueryBuilder

func (*MatchBoolPrefixQueryBuilder) MaxExpansions ¶

func (rb *MatchBoolPrefixQueryBuilder) MaxExpansions(maxexpansions int) *MatchBoolPrefixQueryBuilder

func (*MatchBoolPrefixQueryBuilder) MinimumShouldMatch ¶

func (rb *MatchBoolPrefixQueryBuilder) MinimumShouldMatch(minimumshouldmatch *MinimumShouldMatchBuilder) *MatchBoolPrefixQueryBuilder

func (*MatchBoolPrefixQueryBuilder) Operator ¶

func (*MatchBoolPrefixQueryBuilder) PrefixLength ¶

func (rb *MatchBoolPrefixQueryBuilder) PrefixLength(prefixlength int) *MatchBoolPrefixQueryBuilder

func (*MatchBoolPrefixQueryBuilder) Query ¶

func (*MatchBoolPrefixQueryBuilder) QueryName_ ¶

type MatchNoneQuery ¶

type MatchNoneQuery struct {
	Boost      *float32 `json:"boost,omitempty"`
	QueryName_ *string  `json:"_name,omitempty"`
}

MatchNoneQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/MatchNoneQuery.ts#L22-L22

type MatchNoneQueryBuilder ¶

type MatchNoneQueryBuilder struct {
	// contains filtered or unexported fields
}

MatchNoneQueryBuilder holds MatchNoneQuery struct and provides a builder API.

func NewMatchNoneQueryBuilder ¶

func NewMatchNoneQueryBuilder() *MatchNoneQueryBuilder

NewMatchNoneQuery provides a builder for the MatchNoneQuery struct.

func (*MatchNoneQueryBuilder) Boost ¶

func (*MatchNoneQueryBuilder) Build ¶

Build finalize the chain and returns the MatchNoneQuery struct

func (*MatchNoneQueryBuilder) QueryName_ ¶

func (rb *MatchNoneQueryBuilder) QueryName_(queryname_ string) *MatchNoneQueryBuilder

type MatchOnlyTextProperty ¶

type MatchOnlyTextProperty struct {
	// CopyTo Allows you to copy the values of multiple fields into a group
	// field, which can then be queried as a single field.
	CopyTo *Fields `json:"copy_to,omitempty"`
	// Fields Multi-fields allow the same string value to be indexed in multiple ways for
	// different purposes, such as one
	// field for search and a multi-field for sorting and aggregations, or the same
	// string value analyzed by different analyzers.
	Fields map[PropertyName]Property `json:"fields,omitempty"`
	// Meta Metadata about the field.
	Meta map[string]string `json:"meta,omitempty"`
	Type string            `json:"type,omitempty"`
}

MatchOnlyTextProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L197-L222

type MatchOnlyTextPropertyBuilder ¶

type MatchOnlyTextPropertyBuilder struct {
	// contains filtered or unexported fields
}

MatchOnlyTextPropertyBuilder holds MatchOnlyTextProperty struct and provides a builder API.

func NewMatchOnlyTextPropertyBuilder ¶

func NewMatchOnlyTextPropertyBuilder() *MatchOnlyTextPropertyBuilder

NewMatchOnlyTextProperty provides a builder for the MatchOnlyTextProperty struct.

func (*MatchOnlyTextPropertyBuilder) Build ¶

Build finalize the chain and returns the MatchOnlyTextProperty struct

func (*MatchOnlyTextPropertyBuilder) CopyTo ¶

func (*MatchOnlyTextPropertyBuilder) Fields ¶

func (*MatchOnlyTextPropertyBuilder) Meta ¶

type MatchPhrasePrefixQuery ¶

type MatchPhrasePrefixQuery struct {
	Analyzer       *string                        `json:"analyzer,omitempty"`
	Boost          *float32                       `json:"boost,omitempty"`
	MaxExpansions  *int                           `json:"max_expansions,omitempty"`
	Query          string                         `json:"query"`
	QueryName_     *string                        `json:"_name,omitempty"`
	Slop           *int                           `json:"slop,omitempty"`
	ZeroTermsQuery *zerotermsquery.ZeroTermsQuery `json:"zero_terms_query,omitempty"`
}

MatchPhrasePrefixQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L182-L189

type MatchPhrasePrefixQueryBuilder ¶

type MatchPhrasePrefixQueryBuilder struct {
	// contains filtered or unexported fields
}

MatchPhrasePrefixQueryBuilder holds MatchPhrasePrefixQuery struct and provides a builder API.

func NewMatchPhrasePrefixQueryBuilder ¶

func NewMatchPhrasePrefixQueryBuilder() *MatchPhrasePrefixQueryBuilder

NewMatchPhrasePrefixQuery provides a builder for the MatchPhrasePrefixQuery struct.

func (*MatchPhrasePrefixQueryBuilder) Analyzer ¶

func (*MatchPhrasePrefixQueryBuilder) Boost ¶

func (*MatchPhrasePrefixQueryBuilder) Build ¶

Build finalize the chain and returns the MatchPhrasePrefixQuery struct

func (*MatchPhrasePrefixQueryBuilder) MaxExpansions ¶

func (rb *MatchPhrasePrefixQueryBuilder) MaxExpansions(maxexpansions int) *MatchPhrasePrefixQueryBuilder

func (*MatchPhrasePrefixQueryBuilder) Query ¶

func (*MatchPhrasePrefixQueryBuilder) QueryName_ ¶

func (*MatchPhrasePrefixQueryBuilder) Slop ¶

func (*MatchPhrasePrefixQueryBuilder) ZeroTermsQuery ¶

type MatchPhraseQuery ¶

type MatchPhraseQuery struct {
	Analyzer       *string                        `json:"analyzer,omitempty"`
	Boost          *float32                       `json:"boost,omitempty"`
	Query          string                         `json:"query"`
	QueryName_     *string                        `json:"_name,omitempty"`
	Slop           *int                           `json:"slop,omitempty"`
	ZeroTermsQuery *zerotermsquery.ZeroTermsQuery `json:"zero_terms_query,omitempty"`
}

MatchPhraseQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L173-L180

type MatchPhraseQueryBuilder ¶

type MatchPhraseQueryBuilder struct {
	// contains filtered or unexported fields
}

MatchPhraseQueryBuilder holds MatchPhraseQuery struct and provides a builder API.

func NewMatchPhraseQueryBuilder ¶

func NewMatchPhraseQueryBuilder() *MatchPhraseQueryBuilder

NewMatchPhraseQuery provides a builder for the MatchPhraseQuery struct.

func (*MatchPhraseQueryBuilder) Analyzer ¶

func (rb *MatchPhraseQueryBuilder) Analyzer(analyzer string) *MatchPhraseQueryBuilder

func (*MatchPhraseQueryBuilder) Boost ¶

func (*MatchPhraseQueryBuilder) Build ¶

Build finalize the chain and returns the MatchPhraseQuery struct

func (*MatchPhraseQueryBuilder) Query ¶

func (*MatchPhraseQueryBuilder) QueryName_ ¶

func (rb *MatchPhraseQueryBuilder) QueryName_(queryname_ string) *MatchPhraseQueryBuilder

func (*MatchPhraseQueryBuilder) Slop ¶

func (*MatchPhraseQueryBuilder) ZeroTermsQuery ¶

type MatchQuery ¶

type MatchQuery struct {
	Analyzer                        *string                        `json:"analyzer,omitempty"`
	AutoGenerateSynonymsPhraseQuery *bool                          `json:"auto_generate_synonyms_phrase_query,omitempty"`
	Boost                           *float32                       `json:"boost,omitempty"`
	CutoffFrequency                 *float64                       `json:"cutoff_frequency,omitempty"`
	Fuzziness                       *Fuzziness                     `json:"fuzziness,omitempty"`
	FuzzyRewrite                    *MultiTermQueryRewrite         `json:"fuzzy_rewrite,omitempty"`
	FuzzyTranspositions             *bool                          `json:"fuzzy_transpositions,omitempty"`
	Lenient                         *bool                          `json:"lenient,omitempty"`
	MaxExpansions                   *int                           `json:"max_expansions,omitempty"`
	MinimumShouldMatch              *MinimumShouldMatch            `json:"minimum_should_match,omitempty"`
	Operator                        *operator.Operator             `json:"operator,omitempty"`
	PrefixLength                    *int                           `json:"prefix_length,omitempty"`
	Query                           string                         `json:"query"`
	QueryName_                      *string                        `json:"_name,omitempty"`
	ZeroTermsQuery                  *zerotermsquery.ZeroTermsQuery `json:"zero_terms_query,omitempty"`
}

MatchQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L133-L158

type MatchQueryBuilder ¶

type MatchQueryBuilder struct {
	// contains filtered or unexported fields
}

MatchQueryBuilder holds MatchQuery struct and provides a builder API.

func NewMatchQueryBuilder ¶

func NewMatchQueryBuilder() *MatchQueryBuilder

NewMatchQuery provides a builder for the MatchQuery struct.

func (*MatchQueryBuilder) Analyzer ¶

func (rb *MatchQueryBuilder) Analyzer(analyzer string) *MatchQueryBuilder

func (*MatchQueryBuilder) AutoGenerateSynonymsPhraseQuery ¶

func (rb *MatchQueryBuilder) AutoGenerateSynonymsPhraseQuery(autogeneratesynonymsphrasequery bool) *MatchQueryBuilder

func (*MatchQueryBuilder) Boost ¶

func (rb *MatchQueryBuilder) Boost(boost float32) *MatchQueryBuilder

func (*MatchQueryBuilder) Build ¶

func (rb *MatchQueryBuilder) Build() MatchQuery

Build finalize the chain and returns the MatchQuery struct

func (*MatchQueryBuilder) CutoffFrequency ¶

func (rb *MatchQueryBuilder) CutoffFrequency(cutofffrequency float64) *MatchQueryBuilder

func (*MatchQueryBuilder) Fuzziness ¶

func (rb *MatchQueryBuilder) Fuzziness(fuzziness *FuzzinessBuilder) *MatchQueryBuilder

func (*MatchQueryBuilder) FuzzyRewrite ¶

func (rb *MatchQueryBuilder) FuzzyRewrite(fuzzyrewrite MultiTermQueryRewrite) *MatchQueryBuilder

func (*MatchQueryBuilder) FuzzyTranspositions ¶

func (rb *MatchQueryBuilder) FuzzyTranspositions(fuzzytranspositions bool) *MatchQueryBuilder

func (*MatchQueryBuilder) Lenient ¶

func (rb *MatchQueryBuilder) Lenient(lenient bool) *MatchQueryBuilder

func (*MatchQueryBuilder) MaxExpansions ¶

func (rb *MatchQueryBuilder) MaxExpansions(maxexpansions int) *MatchQueryBuilder

func (*MatchQueryBuilder) MinimumShouldMatch ¶

func (rb *MatchQueryBuilder) MinimumShouldMatch(minimumshouldmatch *MinimumShouldMatchBuilder) *MatchQueryBuilder

func (*MatchQueryBuilder) Operator ¶

func (rb *MatchQueryBuilder) Operator(operator operator.Operator) *MatchQueryBuilder

func (*MatchQueryBuilder) PrefixLength ¶

func (rb *MatchQueryBuilder) PrefixLength(prefixlength int) *MatchQueryBuilder

func (*MatchQueryBuilder) Query ¶

func (rb *MatchQueryBuilder) Query(arg string) *MatchQueryBuilder

func (*MatchQueryBuilder) QueryName_ ¶

func (rb *MatchQueryBuilder) QueryName_(queryname_ string) *MatchQueryBuilder

func (*MatchQueryBuilder) ZeroTermsQuery ¶

func (rb *MatchQueryBuilder) ZeroTermsQuery(zerotermsquery zerotermsquery.ZeroTermsQuery) *MatchQueryBuilder

type MatrixAggregation ¶

type MatrixAggregation struct {
	Fields  *Fields           `json:"fields,omitempty"`
	Meta    *Metadata         `json:"meta,omitempty"`
	Missing map[Field]float64 `json:"missing,omitempty"`
	Name    *string           `json:"name,omitempty"`
}

MatrixAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/matrix.ts#L26-L29

type MatrixAggregationBuilder ¶

type MatrixAggregationBuilder struct {
	// contains filtered or unexported fields
}

MatrixAggregationBuilder holds MatrixAggregation struct and provides a builder API.

func NewMatrixAggregationBuilder ¶

func NewMatrixAggregationBuilder() *MatrixAggregationBuilder

NewMatrixAggregation provides a builder for the MatrixAggregation struct.

func (*MatrixAggregationBuilder) Build ¶

Build finalize the chain and returns the MatrixAggregation struct

func (*MatrixAggregationBuilder) Fields ¶

func (*MatrixAggregationBuilder) Meta ¶

func (*MatrixAggregationBuilder) Missing ¶

func (*MatrixAggregationBuilder) Name ¶

type MatrixStatsAggregate ¶

type MatrixStatsAggregate struct {
	DocCount int64               `json:"doc_count"`
	Fields   []MatrixStatsFields `json:"fields"`
	Meta     *Metadata           `json:"meta,omitempty"`
}

MatrixStatsAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L708-L712

type MatrixStatsAggregateBuilder ¶

type MatrixStatsAggregateBuilder struct {
	// contains filtered or unexported fields
}

MatrixStatsAggregateBuilder holds MatrixStatsAggregate struct and provides a builder API.

func NewMatrixStatsAggregateBuilder ¶

func NewMatrixStatsAggregateBuilder() *MatrixStatsAggregateBuilder

NewMatrixStatsAggregate provides a builder for the MatrixStatsAggregate struct.

func (*MatrixStatsAggregateBuilder) Build ¶

Build finalize the chain and returns the MatrixStatsAggregate struct

func (*MatrixStatsAggregateBuilder) DocCount ¶

func (*MatrixStatsAggregateBuilder) Fields ¶

func (*MatrixStatsAggregateBuilder) Meta ¶

type MatrixStatsAggregation ¶

type MatrixStatsAggregation struct {
	Fields  *Fields            `json:"fields,omitempty"`
	Meta    *Metadata          `json:"meta,omitempty"`
	Missing map[Field]float64  `json:"missing,omitempty"`
	Mode    *sortmode.SortMode `json:"mode,omitempty"`
	Name    *string            `json:"name,omitempty"`
}

MatrixStatsAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/matrix.ts#L31-L33

type MatrixStatsAggregationBuilder ¶

type MatrixStatsAggregationBuilder struct {
	// contains filtered or unexported fields
}

MatrixStatsAggregationBuilder holds MatrixStatsAggregation struct and provides a builder API.

func NewMatrixStatsAggregationBuilder ¶

func NewMatrixStatsAggregationBuilder() *MatrixStatsAggregationBuilder

NewMatrixStatsAggregation provides a builder for the MatrixStatsAggregation struct.

func (*MatrixStatsAggregationBuilder) Build ¶

Build finalize the chain and returns the MatrixStatsAggregation struct

func (*MatrixStatsAggregationBuilder) Fields ¶

func (*MatrixStatsAggregationBuilder) Meta ¶

func (*MatrixStatsAggregationBuilder) Missing ¶

func (*MatrixStatsAggregationBuilder) Mode ¶

func (*MatrixStatsAggregationBuilder) Name ¶

type MatrixStatsFields ¶

type MatrixStatsFields struct {
	Correlation map[Field]float64 `json:"correlation"`
	Count       int64             `json:"count"`
	Covariance  map[Field]float64 `json:"covariance"`
	Kurtosis    float64           `json:"kurtosis"`
	Mean        float64           `json:"mean"`
	Name        Field             `json:"name"`
	Skewness    float64           `json:"skewness"`
	Variance    float64           `json:"variance"`
}

MatrixStatsFields type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L714-L723

type MatrixStatsFieldsBuilder ¶

type MatrixStatsFieldsBuilder struct {
	// contains filtered or unexported fields
}

MatrixStatsFieldsBuilder holds MatrixStatsFields struct and provides a builder API.

func NewMatrixStatsFieldsBuilder ¶

func NewMatrixStatsFieldsBuilder() *MatrixStatsFieldsBuilder

NewMatrixStatsFields provides a builder for the MatrixStatsFields struct.

func (*MatrixStatsFieldsBuilder) Build ¶

Build finalize the chain and returns the MatrixStatsFields struct

func (*MatrixStatsFieldsBuilder) Correlation ¶

func (rb *MatrixStatsFieldsBuilder) Correlation(value map[Field]float64) *MatrixStatsFieldsBuilder

func (*MatrixStatsFieldsBuilder) Count ¶

func (*MatrixStatsFieldsBuilder) Covariance ¶

func (*MatrixStatsFieldsBuilder) Kurtosis ¶

func (*MatrixStatsFieldsBuilder) Mean ¶

func (*MatrixStatsFieldsBuilder) Name ¶

func (*MatrixStatsFieldsBuilder) Skewness ¶

func (*MatrixStatsFieldsBuilder) Variance ¶

type MaxAggregate ¶

type MaxAggregate struct {
	Meta *Metadata `json:"meta,omitempty"`
	// Value The metric value. A missing value generally means that there was no data to
	// aggregate,
	// unless specified otherwise.
	Value         float64 `json:"value,omitempty"`
	ValueAsString *string `json:"value_as_string,omitempty"`
}

MaxAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L189-L190

type MaxAggregateBuilder ¶

type MaxAggregateBuilder struct {
	// contains filtered or unexported fields
}

MaxAggregateBuilder holds MaxAggregate struct and provides a builder API.

func NewMaxAggregateBuilder ¶

func NewMaxAggregateBuilder() *MaxAggregateBuilder

NewMaxAggregate provides a builder for the MaxAggregate struct.

func (*MaxAggregateBuilder) Build ¶

func (rb *MaxAggregateBuilder) Build() MaxAggregate

Build finalize the chain and returns the MaxAggregate struct

func (*MaxAggregateBuilder) Meta ¶

func (*MaxAggregateBuilder) Value ¶

func (*MaxAggregateBuilder) ValueAsString ¶

func (rb *MaxAggregateBuilder) ValueAsString(valueasstring string) *MaxAggregateBuilder

type MaxAggregation ¶

type MaxAggregation struct {
	Field   *Field   `json:"field,omitempty"`
	Format  *string  `json:"format,omitempty"`
	Missing *Missing `json:"missing,omitempty"`
	Script  *Script  `json:"script,omitempty"`
}

MaxAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L88-L88

type MaxAggregationBuilder ¶

type MaxAggregationBuilder struct {
	// contains filtered or unexported fields
}

MaxAggregationBuilder holds MaxAggregation struct and provides a builder API.

func NewMaxAggregationBuilder ¶

func NewMaxAggregationBuilder() *MaxAggregationBuilder

NewMaxAggregation provides a builder for the MaxAggregation struct.

func (*MaxAggregationBuilder) Build ¶

Build finalize the chain and returns the MaxAggregation struct

func (*MaxAggregationBuilder) Field ¶

func (*MaxAggregationBuilder) Format ¶

func (*MaxAggregationBuilder) Missing ¶

func (*MaxAggregationBuilder) Script ¶

type MaxBucketAggregation ¶

type MaxBucketAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
}

MaxBucketAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L172-L172

type MaxBucketAggregationBuilder ¶

type MaxBucketAggregationBuilder struct {
	// contains filtered or unexported fields
}

MaxBucketAggregationBuilder holds MaxBucketAggregation struct and provides a builder API.

func NewMaxBucketAggregationBuilder ¶

func NewMaxBucketAggregationBuilder() *MaxBucketAggregationBuilder

NewMaxBucketAggregation provides a builder for the MaxBucketAggregation struct.

func (*MaxBucketAggregationBuilder) BucketsPath ¶

func (*MaxBucketAggregationBuilder) Build ¶

Build finalize the chain and returns the MaxBucketAggregation struct

func (*MaxBucketAggregationBuilder) Format ¶

func (*MaxBucketAggregationBuilder) GapPolicy ¶

func (*MaxBucketAggregationBuilder) Meta ¶

func (*MaxBucketAggregationBuilder) Name ¶

type MedianAbsoluteDeviationAggregate ¶

type MedianAbsoluteDeviationAggregate struct {
	Meta *Metadata `json:"meta,omitempty"`
	// Value The metric value. A missing value generally means that there was no data to
	// aggregate,
	// unless specified otherwise.
	Value         float64 `json:"value,omitempty"`
	ValueAsString *string `json:"value_as_string,omitempty"`
}

MedianAbsoluteDeviationAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L183-L184

type MedianAbsoluteDeviationAggregateBuilder ¶

type MedianAbsoluteDeviationAggregateBuilder struct {
	// contains filtered or unexported fields
}

MedianAbsoluteDeviationAggregateBuilder holds MedianAbsoluteDeviationAggregate struct and provides a builder API.

func NewMedianAbsoluteDeviationAggregateBuilder ¶

func NewMedianAbsoluteDeviationAggregateBuilder() *MedianAbsoluteDeviationAggregateBuilder

NewMedianAbsoluteDeviationAggregate provides a builder for the MedianAbsoluteDeviationAggregate struct.

func (*MedianAbsoluteDeviationAggregateBuilder) Build ¶

Build finalize the chain and returns the MedianAbsoluteDeviationAggregate struct

func (*MedianAbsoluteDeviationAggregateBuilder) Meta ¶

func (*MedianAbsoluteDeviationAggregateBuilder) Value ¶

func (*MedianAbsoluteDeviationAggregateBuilder) ValueAsString ¶

type MedianAbsoluteDeviationAggregation ¶

type MedianAbsoluteDeviationAggregation struct {
	Compression *float64 `json:"compression,omitempty"`
	Field       *Field   `json:"field,omitempty"`
	Format      *string  `json:"format,omitempty"`
	Missing     *Missing `json:"missing,omitempty"`
	Script      *Script  `json:"script,omitempty"`
}

MedianAbsoluteDeviationAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L90-L92

type MedianAbsoluteDeviationAggregationBuilder ¶

type MedianAbsoluteDeviationAggregationBuilder struct {
	// contains filtered or unexported fields
}

MedianAbsoluteDeviationAggregationBuilder holds MedianAbsoluteDeviationAggregation struct and provides a builder API.

func NewMedianAbsoluteDeviationAggregationBuilder ¶

func NewMedianAbsoluteDeviationAggregationBuilder() *MedianAbsoluteDeviationAggregationBuilder

NewMedianAbsoluteDeviationAggregation provides a builder for the MedianAbsoluteDeviationAggregation struct.

func (*MedianAbsoluteDeviationAggregationBuilder) Build ¶

Build finalize the chain and returns the MedianAbsoluteDeviationAggregation struct

func (*MedianAbsoluteDeviationAggregationBuilder) Compression ¶

func (*MedianAbsoluteDeviationAggregationBuilder) Field ¶

func (*MedianAbsoluteDeviationAggregationBuilder) Format ¶

func (*MedianAbsoluteDeviationAggregationBuilder) Missing ¶

func (*MedianAbsoluteDeviationAggregationBuilder) Script ¶

type MemMlStats ¶

type MemMlStats struct {
	// AnomalyDetectors Amount of native memory set aside for anomaly detection jobs.
	AnomalyDetectors *ByteSize `json:"anomaly_detectors,omitempty"`
	// AnomalyDetectorsInBytes Amount of native memory, in bytes, set aside for anomaly detection jobs.
	AnomalyDetectorsInBytes int `json:"anomaly_detectors_in_bytes"`
	// DataFrameAnalytics Amount of native memory set aside for data frame analytics jobs.
	DataFrameAnalytics *ByteSize `json:"data_frame_analytics,omitempty"`
	// DataFrameAnalyticsInBytes Amount of native memory, in bytes, set aside for data frame analytics jobs.
	DataFrameAnalyticsInBytes int `json:"data_frame_analytics_in_bytes"`
	// Max Maximum amount of native memory (separate to the JVM heap) that may be used
	// by machine learning native processes.
	Max *ByteSize `json:"max,omitempty"`
	// MaxInBytes Maximum amount of native memory (separate to the JVM heap), in bytes, that
	// may be used by machine learning native processes.
	MaxInBytes int `json:"max_in_bytes"`
	// NativeCodeOverhead Amount of native memory set aside for loading machine learning native code
	// shared libraries.
	NativeCodeOverhead *ByteSize `json:"native_code_overhead,omitempty"`
	// NativeCodeOverheadInBytes Amount of native memory, in bytes, set aside for loading machine learning
	// native code shared libraries.
	NativeCodeOverheadInBytes int `json:"native_code_overhead_in_bytes"`
	// NativeInference Amount of native memory set aside for trained models that have a PyTorch
	// model_type.
	NativeInference *ByteSize `json:"native_inference,omitempty"`
	// NativeInferenceInBytes Amount of native memory, in bytes, set aside for trained models that have a
	// PyTorch model_type.
	NativeInferenceInBytes int `json:"native_inference_in_bytes"`
}

MemMlStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/get_memory_stats/types.ts#L90-L111

type MemMlStatsBuilder ¶

type MemMlStatsBuilder struct {
	// contains filtered or unexported fields
}

MemMlStatsBuilder holds MemMlStats struct and provides a builder API.

func NewMemMlStatsBuilder ¶

func NewMemMlStatsBuilder() *MemMlStatsBuilder

NewMemMlStats provides a builder for the MemMlStats struct.

func (*MemMlStatsBuilder) AnomalyDetectors ¶

func (rb *MemMlStatsBuilder) AnomalyDetectors(anomalydetectors *ByteSizeBuilder) *MemMlStatsBuilder

func (*MemMlStatsBuilder) AnomalyDetectorsInBytes ¶

func (rb *MemMlStatsBuilder) AnomalyDetectorsInBytes(anomalydetectorsinbytes int) *MemMlStatsBuilder

func (*MemMlStatsBuilder) Build ¶

func (rb *MemMlStatsBuilder) Build() MemMlStats

Build finalize the chain and returns the MemMlStats struct

func (*MemMlStatsBuilder) DataFrameAnalytics ¶

func (rb *MemMlStatsBuilder) DataFrameAnalytics(dataframeanalytics *ByteSizeBuilder) *MemMlStatsBuilder

func (*MemMlStatsBuilder) DataFrameAnalyticsInBytes ¶

func (rb *MemMlStatsBuilder) DataFrameAnalyticsInBytes(dataframeanalyticsinbytes int) *MemMlStatsBuilder

func (*MemMlStatsBuilder) Max ¶

func (*MemMlStatsBuilder) MaxInBytes ¶

func (rb *MemMlStatsBuilder) MaxInBytes(maxinbytes int) *MemMlStatsBuilder

func (*MemMlStatsBuilder) NativeCodeOverhead ¶

func (rb *MemMlStatsBuilder) NativeCodeOverhead(nativecodeoverhead *ByteSizeBuilder) *MemMlStatsBuilder

func (*MemMlStatsBuilder) NativeCodeOverheadInBytes ¶

func (rb *MemMlStatsBuilder) NativeCodeOverheadInBytes(nativecodeoverheadinbytes int) *MemMlStatsBuilder

func (*MemMlStatsBuilder) NativeInference ¶

func (rb *MemMlStatsBuilder) NativeInference(nativeinference *ByteSizeBuilder) *MemMlStatsBuilder

func (*MemMlStatsBuilder) NativeInferenceInBytes ¶

func (rb *MemMlStatsBuilder) NativeInferenceInBytes(nativeinferenceinbytes int) *MemMlStatsBuilder

type MemStats ¶

type MemStats struct {
	// AdjustedTotal If the amount of physical memory has been overridden using the
	// es.total_memory_bytes system property
	// then this reports the overridden value. Otherwise it reports the same value
	// as total.
	AdjustedTotal *ByteSize `json:"adjusted_total,omitempty"`
	// AdjustedTotalInBytes If the amount of physical memory has been overridden using the
	// `es.total_memory_bytes` system property
	// then this reports the overridden value in bytes. Otherwise it reports the
	// same value as `total_in_bytes`.
	AdjustedTotalInBytes int `json:"adjusted_total_in_bytes"`
	// Ml Contains statistics about machine learning use of native memory on the node.
	Ml MemMlStats `json:"ml"`
	// Total Total amount of physical memory.
	Total *ByteSize `json:"total,omitempty"`
	// TotalInBytes Total amount of physical memory in bytes.
	TotalInBytes int `json:"total_in_bytes"`
}

MemStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/get_memory_stats/types.ts#L65-L88

type MemStatsBuilder ¶

type MemStatsBuilder struct {
	// contains filtered or unexported fields
}

MemStatsBuilder holds MemStats struct and provides a builder API.

func NewMemStatsBuilder ¶

func NewMemStatsBuilder() *MemStatsBuilder

NewMemStats provides a builder for the MemStats struct.

func (*MemStatsBuilder) AdjustedTotal ¶

func (rb *MemStatsBuilder) AdjustedTotal(adjustedtotal *ByteSizeBuilder) *MemStatsBuilder

func (*MemStatsBuilder) AdjustedTotalInBytes ¶

func (rb *MemStatsBuilder) AdjustedTotalInBytes(adjustedtotalinbytes int) *MemStatsBuilder

func (*MemStatsBuilder) Build ¶

func (rb *MemStatsBuilder) Build() MemStats

Build finalize the chain and returns the MemStats struct

func (*MemStatsBuilder) Ml ¶

func (*MemStatsBuilder) Total ¶

func (rb *MemStatsBuilder) Total(total *ByteSizeBuilder) *MemStatsBuilder

func (*MemStatsBuilder) TotalInBytes ¶

func (rb *MemStatsBuilder) TotalInBytes(totalinbytes int) *MemStatsBuilder

type Memory ¶

type Memory struct {
	Attributes  map[string]string `json:"attributes"`
	EphemeralId Id                `json:"ephemeral_id"`
	// Jvm Contains Java Virtual Machine (JVM) statistics for the node.
	Jvm JvmStats `json:"jvm"`
	// Mem Contains statistics about memory usage for the node.
	Mem MemStats `json:"mem"`
	// Name Human-readable identifier for the node. Based on the Node name setting
	// setting.
	Name Name `json:"name"`
	// Roles Roles assigned to the node.
	Roles []string `json:"roles"`
	// TransportAddress The host and port where transport HTTP connections are accepted.
	TransportAddress TransportAddress `json:"transport_address"`
}

Memory type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/get_memory_stats/types.ts#L25-L48

type MemoryBuilder ¶

type MemoryBuilder struct {
	// contains filtered or unexported fields
}

MemoryBuilder holds Memory struct and provides a builder API.

func NewMemoryBuilder ¶

func NewMemoryBuilder() *MemoryBuilder

NewMemory provides a builder for the Memory struct.

func (*MemoryBuilder) Attributes ¶

func (rb *MemoryBuilder) Attributes(value map[string]string) *MemoryBuilder

func (*MemoryBuilder) Build ¶

func (rb *MemoryBuilder) Build() Memory

Build finalize the chain and returns the Memory struct

func (*MemoryBuilder) EphemeralId ¶

func (rb *MemoryBuilder) EphemeralId(ephemeralid Id) *MemoryBuilder

func (*MemoryBuilder) Jvm ¶

func (*MemoryBuilder) Mem ¶

func (*MemoryBuilder) Name ¶

func (rb *MemoryBuilder) Name(name Name) *MemoryBuilder

func (*MemoryBuilder) Roles ¶

func (rb *MemoryBuilder) Roles(roles ...string) *MemoryBuilder

func (*MemoryBuilder) TransportAddress ¶

func (rb *MemoryBuilder) TransportAddress(transportaddress TransportAddress) *MemoryBuilder

type MemoryStats ¶

type MemoryStats struct {
	AdjustedTotalInBytes *int64  `json:"adjusted_total_in_bytes,omitempty"`
	FreeInBytes          *int64  `json:"free_in_bytes,omitempty"`
	Resident             *string `json:"resident,omitempty"`
	ResidentInBytes      *int64  `json:"resident_in_bytes,omitempty"`
	Share                *string `json:"share,omitempty"`
	ShareInBytes         *int64  `json:"share_in_bytes,omitempty"`
	TotalInBytes         *int64  `json:"total_in_bytes,omitempty"`
	TotalVirtual         *string `json:"total_virtual,omitempty"`
	TotalVirtualInBytes  *int64  `json:"total_virtual_in_bytes,omitempty"`
	UsedInBytes          *int64  `json:"used_in_bytes,omitempty"`
}

MemoryStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L242-L253

type MemoryStatsBuilder ¶

type MemoryStatsBuilder struct {
	// contains filtered or unexported fields
}

MemoryStatsBuilder holds MemoryStats struct and provides a builder API.

func NewMemoryStatsBuilder ¶

func NewMemoryStatsBuilder() *MemoryStatsBuilder

NewMemoryStats provides a builder for the MemoryStats struct.

func (*MemoryStatsBuilder) AdjustedTotalInBytes ¶

func (rb *MemoryStatsBuilder) AdjustedTotalInBytes(adjustedtotalinbytes int64) *MemoryStatsBuilder

func (*MemoryStatsBuilder) Build ¶

func (rb *MemoryStatsBuilder) Build() MemoryStats

Build finalize the chain and returns the MemoryStats struct

func (*MemoryStatsBuilder) FreeInBytes ¶

func (rb *MemoryStatsBuilder) FreeInBytes(freeinbytes int64) *MemoryStatsBuilder

func (*MemoryStatsBuilder) Resident ¶

func (rb *MemoryStatsBuilder) Resident(resident string) *MemoryStatsBuilder

func (*MemoryStatsBuilder) ResidentInBytes ¶

func (rb *MemoryStatsBuilder) ResidentInBytes(residentinbytes int64) *MemoryStatsBuilder

func (*MemoryStatsBuilder) Share ¶

func (rb *MemoryStatsBuilder) Share(share string) *MemoryStatsBuilder

func (*MemoryStatsBuilder) ShareInBytes ¶

func (rb *MemoryStatsBuilder) ShareInBytes(shareinbytes int64) *MemoryStatsBuilder

func (*MemoryStatsBuilder) TotalInBytes ¶

func (rb *MemoryStatsBuilder) TotalInBytes(totalinbytes int64) *MemoryStatsBuilder

func (*MemoryStatsBuilder) TotalVirtual ¶

func (rb *MemoryStatsBuilder) TotalVirtual(totalvirtual string) *MemoryStatsBuilder

func (*MemoryStatsBuilder) TotalVirtualInBytes ¶

func (rb *MemoryStatsBuilder) TotalVirtualInBytes(totalvirtualinbytes int64) *MemoryStatsBuilder

func (*MemoryStatsBuilder) UsedInBytes ¶

func (rb *MemoryStatsBuilder) UsedInBytes(usedinbytes int64) *MemoryStatsBuilder

type MergeBuilder ¶

type MergeBuilder struct {
	// contains filtered or unexported fields
}

MergeBuilder holds Merge struct and provides a builder API.

func NewMergeBuilder ¶

func NewMergeBuilder() *MergeBuilder

NewMerge provides a builder for the Merge struct.

func (*MergeBuilder) Build ¶

func (rb *MergeBuilder) Build() Merge

Build finalize the chain and returns the Merge struct

func (*MergeBuilder) Scheduler ¶

func (rb *MergeBuilder) Scheduler(scheduler *MergeSchedulerBuilder) *MergeBuilder

type MergeScheduler ¶

type MergeScheduler struct {
	MaxMergeCount  *int `json:"max_merge_count,omitempty"`
	MaxThreadCount *int `json:"max_thread_count,omitempty"`
}

MergeScheduler type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L327-L330

type MergeSchedulerBuilder ¶

type MergeSchedulerBuilder struct {
	// contains filtered or unexported fields
}

MergeSchedulerBuilder holds MergeScheduler struct and provides a builder API.

func NewMergeSchedulerBuilder ¶

func NewMergeSchedulerBuilder() *MergeSchedulerBuilder

NewMergeScheduler provides a builder for the MergeScheduler struct.

func (*MergeSchedulerBuilder) Build ¶

Build finalize the chain and returns the MergeScheduler struct

func (*MergeSchedulerBuilder) MaxMergeCount ¶

func (rb *MergeSchedulerBuilder) MaxMergeCount(maxmergecount int) *MergeSchedulerBuilder

func (*MergeSchedulerBuilder) MaxThreadCount ¶

func (rb *MergeSchedulerBuilder) MaxThreadCount(maxthreadcount int) *MergeSchedulerBuilder

type MergesStats ¶

type MergesStats struct {
	Current                    int64                   `json:"current"`
	CurrentDocs                int64                   `json:"current_docs"`
	CurrentSize                *string                 `json:"current_size,omitempty"`
	CurrentSizeInBytes         int64                   `json:"current_size_in_bytes"`
	Total                      int64                   `json:"total"`
	TotalAutoThrottle          *string                 `json:"total_auto_throttle,omitempty"`
	TotalAutoThrottleInBytes   int64                   `json:"total_auto_throttle_in_bytes"`
	TotalDocs                  int64                   `json:"total_docs"`
	TotalSize                  *string                 `json:"total_size,omitempty"`
	TotalSizeInBytes           int64                   `json:"total_size_in_bytes"`
	TotalStoppedTime           *Duration               `json:"total_stopped_time,omitempty"`
	TotalStoppedTimeInMillis   DurationValueUnitMillis `json:"total_stopped_time_in_millis"`
	TotalThrottledTime         *Duration               `json:"total_throttled_time,omitempty"`
	TotalThrottledTimeInMillis DurationValueUnitMillis `json:"total_throttled_time_in_millis"`
	TotalTime                  *Duration               `json:"total_time,omitempty"`
	TotalTimeInMillis          DurationValueUnitMillis `json:"total_time_in_millis"`
}

MergesStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L118-L135

type MergesStatsBuilder ¶

type MergesStatsBuilder struct {
	// contains filtered or unexported fields
}

MergesStatsBuilder holds MergesStats struct and provides a builder API.

func NewMergesStatsBuilder ¶

func NewMergesStatsBuilder() *MergesStatsBuilder

NewMergesStats provides a builder for the MergesStats struct.

func (*MergesStatsBuilder) Build ¶

func (rb *MergesStatsBuilder) Build() MergesStats

Build finalize the chain and returns the MergesStats struct

func (*MergesStatsBuilder) Current ¶

func (rb *MergesStatsBuilder) Current(current int64) *MergesStatsBuilder

func (*MergesStatsBuilder) CurrentDocs ¶

func (rb *MergesStatsBuilder) CurrentDocs(currentdocs int64) *MergesStatsBuilder

func (*MergesStatsBuilder) CurrentSize ¶

func (rb *MergesStatsBuilder) CurrentSize(currentsize string) *MergesStatsBuilder

func (*MergesStatsBuilder) CurrentSizeInBytes ¶

func (rb *MergesStatsBuilder) CurrentSizeInBytes(currentsizeinbytes int64) *MergesStatsBuilder

func (*MergesStatsBuilder) Total ¶

func (rb *MergesStatsBuilder) Total(total int64) *MergesStatsBuilder

func (*MergesStatsBuilder) TotalAutoThrottle ¶

func (rb *MergesStatsBuilder) TotalAutoThrottle(totalautothrottle string) *MergesStatsBuilder

func (*MergesStatsBuilder) TotalAutoThrottleInBytes ¶

func (rb *MergesStatsBuilder) TotalAutoThrottleInBytes(totalautothrottleinbytes int64) *MergesStatsBuilder

func (*MergesStatsBuilder) TotalDocs ¶

func (rb *MergesStatsBuilder) TotalDocs(totaldocs int64) *MergesStatsBuilder

func (*MergesStatsBuilder) TotalSize ¶

func (rb *MergesStatsBuilder) TotalSize(totalsize string) *MergesStatsBuilder

func (*MergesStatsBuilder) TotalSizeInBytes ¶

func (rb *MergesStatsBuilder) TotalSizeInBytes(totalsizeinbytes int64) *MergesStatsBuilder

func (*MergesStatsBuilder) TotalStoppedTime ¶

func (rb *MergesStatsBuilder) TotalStoppedTime(totalstoppedtime *DurationBuilder) *MergesStatsBuilder

func (*MergesStatsBuilder) TotalStoppedTimeInMillis ¶

func (rb *MergesStatsBuilder) TotalStoppedTimeInMillis(totalstoppedtimeinmillis *DurationValueUnitMillisBuilder) *MergesStatsBuilder

func (*MergesStatsBuilder) TotalThrottledTime ¶

func (rb *MergesStatsBuilder) TotalThrottledTime(totalthrottledtime *DurationBuilder) *MergesStatsBuilder

func (*MergesStatsBuilder) TotalThrottledTimeInMillis ¶

func (rb *MergesStatsBuilder) TotalThrottledTimeInMillis(totalthrottledtimeinmillis *DurationValueUnitMillisBuilder) *MergesStatsBuilder

func (*MergesStatsBuilder) TotalTime ¶

func (rb *MergesStatsBuilder) TotalTime(totaltime *DurationBuilder) *MergesStatsBuilder

func (*MergesStatsBuilder) TotalTimeInMillis ¶

func (rb *MergesStatsBuilder) TotalTimeInMillis(totaltimeinmillis *DurationValueUnitMillisBuilder) *MergesStatsBuilder

type MetadataBuilder ¶

type MetadataBuilder struct {
	// contains filtered or unexported fields
}

MetadataBuilder holds Metadata struct and provides a builder API.

func NewMetadataBuilder ¶

func NewMetadataBuilder() *MetadataBuilder

NewMetadata provides a builder for the Metadata struct.

func (*MetadataBuilder) Build ¶

func (b *MetadataBuilder) Build() Metadata

Build finalize the chain and returns the Metadata struct

func (*MetadataBuilder) Metadata ¶

func (b *MetadataBuilder) Metadata(value Metadata) *MetadataBuilder

type MetricAggregationBase ¶

type MetricAggregationBase struct {
	Field   *Field   `json:"field,omitempty"`
	Missing *Missing `json:"missing,omitempty"`
	Script  *Script  `json:"script,omitempty"`
}

MetricAggregationBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L34-L38

type MetricAggregationBaseBuilder ¶

type MetricAggregationBaseBuilder struct {
	// contains filtered or unexported fields
}

MetricAggregationBaseBuilder holds MetricAggregationBase struct and provides a builder API.

func NewMetricAggregationBaseBuilder ¶

func NewMetricAggregationBaseBuilder() *MetricAggregationBaseBuilder

NewMetricAggregationBase provides a builder for the MetricAggregationBase struct.

func (*MetricAggregationBaseBuilder) Build ¶

Build finalize the chain and returns the MetricAggregationBase struct

func (*MetricAggregationBaseBuilder) Field ¶

func (*MetricAggregationBaseBuilder) Missing ¶

func (*MetricAggregationBaseBuilder) Script ¶

type MetricsBuilder ¶

type MetricsBuilder struct {
	// contains filtered or unexported fields
}

MetricsBuilder holds Metrics struct and provides a builder API.

func NewMetricsBuilder ¶

func NewMetricsBuilder() *MetricsBuilder

NewMetrics provides a builder for the Metrics struct.

func (*MetricsBuilder) Build ¶

func (b *MetricsBuilder) Build() Metrics

Build finalize the chain and returns the Metrics struct

func (*MetricsBuilder) Metrics ¶

func (b *MetricsBuilder) Metrics(value Metrics) *MetricsBuilder

type MigrationFeatureBuilder ¶

type MigrationFeatureBuilder struct {
	// contains filtered or unexported fields
}

MigrationFeatureBuilder holds MigrationFeature struct and provides a builder API.

func NewMigrationFeatureBuilder ¶

func NewMigrationFeatureBuilder() *MigrationFeatureBuilder

NewMigrationFeature provides a builder for the MigrationFeature struct.

func (*MigrationFeatureBuilder) Build ¶

Build finalize the chain and returns the MigrationFeature struct

func (*MigrationFeatureBuilder) FeatureName ¶

func (rb *MigrationFeatureBuilder) FeatureName(featurename string) *MigrationFeatureBuilder

type MigrationFeatureIndexInfo ¶

type MigrationFeatureIndexInfo struct {
	FailureCause *ErrorCause   `json:"failure_cause,omitempty"`
	Index        IndexName     `json:"index"`
	Version      VersionString `json:"version"`
}

MigrationFeatureIndexInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/migration/get_feature_upgrade_status/GetFeatureUpgradeStatusResponse.ts#L44-L48

type MigrationFeatureIndexInfoBuilder ¶

type MigrationFeatureIndexInfoBuilder struct {
	// contains filtered or unexported fields
}

MigrationFeatureIndexInfoBuilder holds MigrationFeatureIndexInfo struct and provides a builder API.

func NewMigrationFeatureIndexInfoBuilder ¶

func NewMigrationFeatureIndexInfoBuilder() *MigrationFeatureIndexInfoBuilder

NewMigrationFeatureIndexInfo provides a builder for the MigrationFeatureIndexInfo struct.

func (*MigrationFeatureIndexInfoBuilder) Build ¶

Build finalize the chain and returns the MigrationFeatureIndexInfo struct

func (*MigrationFeatureIndexInfoBuilder) FailureCause ¶

func (*MigrationFeatureIndexInfoBuilder) Index ¶

func (*MigrationFeatureIndexInfoBuilder) Version ¶

type MinAggregate ¶

type MinAggregate struct {
	Meta *Metadata `json:"meta,omitempty"`
	// Value The metric value. A missing value generally means that there was no data to
	// aggregate,
	// unless specified otherwise.
	Value         float64 `json:"value,omitempty"`
	ValueAsString *string `json:"value_as_string,omitempty"`
}

MinAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L186-L187

type MinAggregateBuilder ¶

type MinAggregateBuilder struct {
	// contains filtered or unexported fields
}

MinAggregateBuilder holds MinAggregate struct and provides a builder API.

func NewMinAggregateBuilder ¶

func NewMinAggregateBuilder() *MinAggregateBuilder

NewMinAggregate provides a builder for the MinAggregate struct.

func (*MinAggregateBuilder) Build ¶

func (rb *MinAggregateBuilder) Build() MinAggregate

Build finalize the chain and returns the MinAggregate struct

func (*MinAggregateBuilder) Meta ¶

func (*MinAggregateBuilder) Value ¶

func (*MinAggregateBuilder) ValueAsString ¶

func (rb *MinAggregateBuilder) ValueAsString(valueasstring string) *MinAggregateBuilder

type MinAggregation ¶

type MinAggregation struct {
	Field   *Field   `json:"field,omitempty"`
	Format  *string  `json:"format,omitempty"`
	Missing *Missing `json:"missing,omitempty"`
	Script  *Script  `json:"script,omitempty"`
}

MinAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L94-L94

type MinAggregationBuilder ¶

type MinAggregationBuilder struct {
	// contains filtered or unexported fields
}

MinAggregationBuilder holds MinAggregation struct and provides a builder API.

func NewMinAggregationBuilder ¶

func NewMinAggregationBuilder() *MinAggregationBuilder

NewMinAggregation provides a builder for the MinAggregation struct.

func (*MinAggregationBuilder) Build ¶

Build finalize the chain and returns the MinAggregation struct

func (*MinAggregationBuilder) Field ¶

func (*MinAggregationBuilder) Format ¶

func (*MinAggregationBuilder) Missing ¶

func (*MinAggregationBuilder) Script ¶

type MinBucketAggregation ¶

type MinBucketAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
}

MinBucketAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L174-L174

type MinBucketAggregationBuilder ¶

type MinBucketAggregationBuilder struct {
	// contains filtered or unexported fields
}

MinBucketAggregationBuilder holds MinBucketAggregation struct and provides a builder API.

func NewMinBucketAggregationBuilder ¶

func NewMinBucketAggregationBuilder() *MinBucketAggregationBuilder

NewMinBucketAggregation provides a builder for the MinBucketAggregation struct.

func (*MinBucketAggregationBuilder) BucketsPath ¶

func (*MinBucketAggregationBuilder) Build ¶

Build finalize the chain and returns the MinBucketAggregation struct

func (*MinBucketAggregationBuilder) Format ¶

func (*MinBucketAggregationBuilder) GapPolicy ¶

func (*MinBucketAggregationBuilder) Meta ¶

func (*MinBucketAggregationBuilder) Name ¶

type MinimalLicenseInformation ¶

type MinimalLicenseInformation struct {
	ExpiryDateInMillis EpochTimeUnitMillis         `json:"expiry_date_in_millis"`
	Mode               licensetype.LicenseType     `json:"mode"`
	Status             licensestatus.LicenseStatus `json:"status"`
	Type               licensetype.LicenseType     `json:"type"`
	Uid                string                      `json:"uid"`
}

MinimalLicenseInformation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/info/types.ts#L34-L40

type MinimalLicenseInformationBuilder ¶

type MinimalLicenseInformationBuilder struct {
	// contains filtered or unexported fields
}

MinimalLicenseInformationBuilder holds MinimalLicenseInformation struct and provides a builder API.

func NewMinimalLicenseInformationBuilder ¶

func NewMinimalLicenseInformationBuilder() *MinimalLicenseInformationBuilder

NewMinimalLicenseInformation provides a builder for the MinimalLicenseInformation struct.

func (*MinimalLicenseInformationBuilder) Build ¶

Build finalize the chain and returns the MinimalLicenseInformation struct

func (*MinimalLicenseInformationBuilder) ExpiryDateInMillis ¶

func (*MinimalLicenseInformationBuilder) Mode ¶

func (*MinimalLicenseInformationBuilder) Status ¶

func (*MinimalLicenseInformationBuilder) Type_ ¶

func (*MinimalLicenseInformationBuilder) Uid ¶

type MinimumShouldMatch ¶

type MinimumShouldMatch interface{}

MinimumShouldMatch holds the union for the following types:

int
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L136-L140

type MinimumShouldMatchBuilder ¶

type MinimumShouldMatchBuilder struct {
	// contains filtered or unexported fields
}

MinimumShouldMatchBuilder holds MinimumShouldMatch struct and provides a builder API.

func NewMinimumShouldMatchBuilder ¶

func NewMinimumShouldMatchBuilder() *MinimumShouldMatchBuilder

NewMinimumShouldMatch provides a builder for the MinimumShouldMatch struct.

func (*MinimumShouldMatchBuilder) Build ¶

Build finalize the chain and returns the MinimumShouldMatch struct

func (*MinimumShouldMatchBuilder) Int ¶

func (*MinimumShouldMatchBuilder) String ¶

type MissingAggregate ¶

type MissingAggregate struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Meta         *Metadata                   `json:"meta,omitempty"`
}

MissingAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L470-L471

type MissingAggregateBuilder ¶

type MissingAggregateBuilder struct {
	// contains filtered or unexported fields
}

MissingAggregateBuilder holds MissingAggregate struct and provides a builder API.

func NewMissingAggregateBuilder ¶

func NewMissingAggregateBuilder() *MissingAggregateBuilder

NewMissingAggregate provides a builder for the MissingAggregate struct.

func (*MissingAggregateBuilder) Aggregations ¶

func (*MissingAggregateBuilder) Build ¶

Build finalize the chain and returns the MissingAggregate struct

func (*MissingAggregateBuilder) DocCount ¶

func (rb *MissingAggregateBuilder) DocCount(doccount int64) *MissingAggregateBuilder

func (*MissingAggregateBuilder) Meta ¶

type MissingAggregation ¶

type MissingAggregation struct {
	Field   *Field    `json:"field,omitempty"`
	Meta    *Metadata `json:"meta,omitempty"`
	Missing *Missing  `json:"missing,omitempty"`
	Name    *string   `json:"name,omitempty"`
}

MissingAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L257-L260

type MissingAggregationBuilder ¶

type MissingAggregationBuilder struct {
	// contains filtered or unexported fields
}

MissingAggregationBuilder holds MissingAggregation struct and provides a builder API.

func NewMissingAggregationBuilder ¶

func NewMissingAggregationBuilder() *MissingAggregationBuilder

NewMissingAggregation provides a builder for the MissingAggregation struct.

func (*MissingAggregationBuilder) Build ¶

Build finalize the chain and returns the MissingAggregation struct

func (*MissingAggregationBuilder) Field ¶

func (*MissingAggregationBuilder) Meta ¶

func (*MissingAggregationBuilder) Missing ¶

func (*MissingAggregationBuilder) Name ¶

type MissingBuilder ¶

type MissingBuilder struct {
	// contains filtered or unexported fields
}

MissingBuilder holds Missing struct and provides a builder API.

func NewMissingBuilder ¶

func NewMissingBuilder() *MissingBuilder

NewMissing provides a builder for the Missing struct.

func (*MissingBuilder) Bool ¶

func (u *MissingBuilder) Bool(bool bool) *MissingBuilder

func (*MissingBuilder) Build ¶

func (u *MissingBuilder) Build() Missing

Build finalize the chain and returns the Missing struct

func (*MissingBuilder) Float64 ¶

func (u *MissingBuilder) Float64(float64 float64) *MissingBuilder

func (*MissingBuilder) Int ¶

func (u *MissingBuilder) Int(int int) *MissingBuilder

func (*MissingBuilder) String ¶

func (u *MissingBuilder) String(string string) *MissingBuilder

type MlCounterBuilder ¶

type MlCounterBuilder struct {
	// contains filtered or unexported fields
}

MlCounterBuilder holds MlCounter struct and provides a builder API.

func NewMlCounterBuilder ¶

func NewMlCounterBuilder() *MlCounterBuilder

NewMlCounter provides a builder for the MlCounter struct.

func (*MlCounterBuilder) Build ¶

func (rb *MlCounterBuilder) Build() MlCounter

Build finalize the chain and returns the MlCounter struct

func (*MlCounterBuilder) Count ¶

func (rb *MlCounterBuilder) Count(count int64) *MlCounterBuilder

type MlDataFrameAnalyticsJobs ¶

type MlDataFrameAnalyticsJobs struct {
	All_           MlDataFrameAnalyticsJobsCount     `json:"_all"`
	AnalysisCounts *MlDataFrameAnalyticsJobsAnalysis `json:"analysis_counts,omitempty"`
	MemoryUsage    *MlDataFrameAnalyticsJobsMemory   `json:"memory_usage,omitempty"`
	Stopped        *MlDataFrameAnalyticsJobsCount    `json:"stopped,omitempty"`
}

MlDataFrameAnalyticsJobs type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L168-L173

type MlDataFrameAnalyticsJobsAnalysis ¶

type MlDataFrameAnalyticsJobsAnalysis struct {
	Classification   *int `json:"classification,omitempty"`
	OutlierDetection *int `json:"outlier_detection,omitempty"`
	Regression       *int `json:"regression,omitempty"`
}

MlDataFrameAnalyticsJobsAnalysis type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L175-L179

type MlDataFrameAnalyticsJobsAnalysisBuilder ¶

type MlDataFrameAnalyticsJobsAnalysisBuilder struct {
	// contains filtered or unexported fields
}

MlDataFrameAnalyticsJobsAnalysisBuilder holds MlDataFrameAnalyticsJobsAnalysis struct and provides a builder API.

func NewMlDataFrameAnalyticsJobsAnalysisBuilder ¶

func NewMlDataFrameAnalyticsJobsAnalysisBuilder() *MlDataFrameAnalyticsJobsAnalysisBuilder

NewMlDataFrameAnalyticsJobsAnalysis provides a builder for the MlDataFrameAnalyticsJobsAnalysis struct.

func (*MlDataFrameAnalyticsJobsAnalysisBuilder) Build ¶

Build finalize the chain and returns the MlDataFrameAnalyticsJobsAnalysis struct

func (*MlDataFrameAnalyticsJobsAnalysisBuilder) Classification ¶

func (*MlDataFrameAnalyticsJobsAnalysisBuilder) OutlierDetection ¶

func (*MlDataFrameAnalyticsJobsAnalysisBuilder) Regression ¶

type MlDataFrameAnalyticsJobsBuilder ¶

type MlDataFrameAnalyticsJobsBuilder struct {
	// contains filtered or unexported fields
}

MlDataFrameAnalyticsJobsBuilder holds MlDataFrameAnalyticsJobs struct and provides a builder API.

func NewMlDataFrameAnalyticsJobsBuilder ¶

func NewMlDataFrameAnalyticsJobsBuilder() *MlDataFrameAnalyticsJobsBuilder

NewMlDataFrameAnalyticsJobs provides a builder for the MlDataFrameAnalyticsJobs struct.

func (*MlDataFrameAnalyticsJobsBuilder) AnalysisCounts ¶

func (*MlDataFrameAnalyticsJobsBuilder) Build ¶

Build finalize the chain and returns the MlDataFrameAnalyticsJobs struct

func (*MlDataFrameAnalyticsJobsBuilder) MemoryUsage ¶

func (*MlDataFrameAnalyticsJobsBuilder) Stopped ¶

type MlDataFrameAnalyticsJobsCountBuilder ¶

type MlDataFrameAnalyticsJobsCountBuilder struct {
	// contains filtered or unexported fields
}

MlDataFrameAnalyticsJobsCountBuilder holds MlDataFrameAnalyticsJobsCount struct and provides a builder API.

func NewMlDataFrameAnalyticsJobsCountBuilder ¶

func NewMlDataFrameAnalyticsJobsCountBuilder() *MlDataFrameAnalyticsJobsCountBuilder

NewMlDataFrameAnalyticsJobsCount provides a builder for the MlDataFrameAnalyticsJobsCount struct.

func (*MlDataFrameAnalyticsJobsCountBuilder) Build ¶

Build finalize the chain and returns the MlDataFrameAnalyticsJobsCount struct

func (*MlDataFrameAnalyticsJobsCountBuilder) Count ¶

type MlDataFrameAnalyticsJobsMemory ¶

type MlDataFrameAnalyticsJobsMemory struct {
	PeakUsageBytes JobStatistics `json:"peak_usage_bytes"`
}

MlDataFrameAnalyticsJobsMemory type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L181-L183

type MlDataFrameAnalyticsJobsMemoryBuilder ¶

type MlDataFrameAnalyticsJobsMemoryBuilder struct {
	// contains filtered or unexported fields
}

MlDataFrameAnalyticsJobsMemoryBuilder holds MlDataFrameAnalyticsJobsMemory struct and provides a builder API.

func NewMlDataFrameAnalyticsJobsMemoryBuilder ¶

func NewMlDataFrameAnalyticsJobsMemoryBuilder() *MlDataFrameAnalyticsJobsMemoryBuilder

NewMlDataFrameAnalyticsJobsMemory provides a builder for the MlDataFrameAnalyticsJobsMemory struct.

func (*MlDataFrameAnalyticsJobsMemoryBuilder) Build ¶

Build finalize the chain and returns the MlDataFrameAnalyticsJobsMemory struct

func (*MlDataFrameAnalyticsJobsMemoryBuilder) PeakUsageBytes ¶

type MlInference ¶

type MlInference struct {
	Deployments      *MlInferenceDeployments               `json:"deployments,omitempty"`
	IngestProcessors map[string]MlInferenceIngestProcessor `json:"ingest_processors"`
	TrainedModels    MlInferenceTrainedModels              `json:"trained_models"`
}

MlInference type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L189-L194

type MlInferenceBuilder ¶

type MlInferenceBuilder struct {
	// contains filtered or unexported fields
}

MlInferenceBuilder holds MlInference struct and provides a builder API.

func NewMlInferenceBuilder ¶

func NewMlInferenceBuilder() *MlInferenceBuilder

NewMlInference provides a builder for the MlInference struct.

func (*MlInferenceBuilder) Build ¶

func (rb *MlInferenceBuilder) Build() MlInference

Build finalize the chain and returns the MlInference struct

func (*MlInferenceBuilder) Deployments ¶

func (*MlInferenceBuilder) IngestProcessors ¶

func (*MlInferenceBuilder) TrainedModels ¶

func (rb *MlInferenceBuilder) TrainedModels(trainedmodels *MlInferenceTrainedModelsBuilder) *MlInferenceBuilder

type MlInferenceDeployments ¶

type MlInferenceDeployments struct {
	Count           int                          `json:"count"`
	InferenceCounts JobStatistics                `json:"inference_counts"`
	ModelSizesBytes JobStatistics                `json:"model_sizes_bytes"`
	TimeMs          MlInferenceDeploymentsTimeMs `json:"time_ms"`
}

MlInferenceDeployments type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L212-L217

type MlInferenceDeploymentsBuilder ¶

type MlInferenceDeploymentsBuilder struct {
	// contains filtered or unexported fields
}

MlInferenceDeploymentsBuilder holds MlInferenceDeployments struct and provides a builder API.

func NewMlInferenceDeploymentsBuilder ¶

func NewMlInferenceDeploymentsBuilder() *MlInferenceDeploymentsBuilder

NewMlInferenceDeployments provides a builder for the MlInferenceDeployments struct.

func (*MlInferenceDeploymentsBuilder) Build ¶

Build finalize the chain and returns the MlInferenceDeployments struct

func (*MlInferenceDeploymentsBuilder) Count ¶

func (*MlInferenceDeploymentsBuilder) InferenceCounts ¶

func (*MlInferenceDeploymentsBuilder) ModelSizesBytes ¶

func (*MlInferenceDeploymentsBuilder) TimeMs ¶

type MlInferenceDeploymentsTimeMsBuilder ¶

type MlInferenceDeploymentsTimeMsBuilder struct {
	// contains filtered or unexported fields
}

MlInferenceDeploymentsTimeMsBuilder holds MlInferenceDeploymentsTimeMs struct and provides a builder API.

func NewMlInferenceDeploymentsTimeMsBuilder ¶

func NewMlInferenceDeploymentsTimeMsBuilder() *MlInferenceDeploymentsTimeMsBuilder

NewMlInferenceDeploymentsTimeMs provides a builder for the MlInferenceDeploymentsTimeMs struct.

func (*MlInferenceDeploymentsTimeMsBuilder) Avg ¶

func (*MlInferenceDeploymentsTimeMsBuilder) Build ¶

Build finalize the chain and returns the MlInferenceDeploymentsTimeMs struct

type MlInferenceIngestProcessor ¶

type MlInferenceIngestProcessor struct {
	NumDocsProcessed MlInferenceIngestProcessorCount `json:"num_docs_processed"`
	NumFailures      MlInferenceIngestProcessorCount `json:"num_failures"`
	Pipelines        MlCounter                       `json:"pipelines"`
	TimeMs           MlInferenceIngestProcessorCount `json:"time_ms"`
}

MlInferenceIngestProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L196-L201

type MlInferenceIngestProcessorBuilder ¶

type MlInferenceIngestProcessorBuilder struct {
	// contains filtered or unexported fields
}

MlInferenceIngestProcessorBuilder holds MlInferenceIngestProcessor struct and provides a builder API.

func NewMlInferenceIngestProcessorBuilder ¶

func NewMlInferenceIngestProcessorBuilder() *MlInferenceIngestProcessorBuilder

NewMlInferenceIngestProcessor provides a builder for the MlInferenceIngestProcessor struct.

func (*MlInferenceIngestProcessorBuilder) Build ¶

Build finalize the chain and returns the MlInferenceIngestProcessor struct

func (*MlInferenceIngestProcessorBuilder) NumDocsProcessed ¶

func (*MlInferenceIngestProcessorBuilder) NumFailures ¶

func (*MlInferenceIngestProcessorBuilder) Pipelines ¶

func (*MlInferenceIngestProcessorBuilder) TimeMs ¶

type MlInferenceIngestProcessorCount ¶

type MlInferenceIngestProcessorCount struct {
	Max int64 `json:"max"`
	Min int64 `json:"min"`
	Sum int64 `json:"sum"`
}

MlInferenceIngestProcessorCount type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L223-L227

type MlInferenceIngestProcessorCountBuilder ¶

type MlInferenceIngestProcessorCountBuilder struct {
	// contains filtered or unexported fields
}

MlInferenceIngestProcessorCountBuilder holds MlInferenceIngestProcessorCount struct and provides a builder API.

func NewMlInferenceIngestProcessorCountBuilder ¶

func NewMlInferenceIngestProcessorCountBuilder() *MlInferenceIngestProcessorCountBuilder

NewMlInferenceIngestProcessorCount provides a builder for the MlInferenceIngestProcessorCount struct.

func (*MlInferenceIngestProcessorCountBuilder) Build ¶

Build finalize the chain and returns the MlInferenceIngestProcessorCount struct

func (*MlInferenceIngestProcessorCountBuilder) Max ¶

func (*MlInferenceIngestProcessorCountBuilder) Min ¶

func (*MlInferenceIngestProcessorCountBuilder) Sum ¶

type MlInferenceTrainedModels ¶

type MlInferenceTrainedModels struct {
	All_                          MlCounter                      `json:"_all"`
	Count                         *MlInferenceTrainedModelsCount `json:"count,omitempty"`
	EstimatedHeapMemoryUsageBytes *JobStatistics                 `json:"estimated_heap_memory_usage_bytes,omitempty"`
	EstimatedOperations           *JobStatistics                 `json:"estimated_operations,omitempty"`
	ModelSizeBytes                *JobStatistics                 `json:"model_size_bytes,omitempty"`
}

MlInferenceTrainedModels type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L203-L210

type MlInferenceTrainedModelsBuilder ¶

type MlInferenceTrainedModelsBuilder struct {
	// contains filtered or unexported fields
}

MlInferenceTrainedModelsBuilder holds MlInferenceTrainedModels struct and provides a builder API.

func NewMlInferenceTrainedModelsBuilder ¶

func NewMlInferenceTrainedModelsBuilder() *MlInferenceTrainedModelsBuilder

NewMlInferenceTrainedModels provides a builder for the MlInferenceTrainedModels struct.

func (*MlInferenceTrainedModelsBuilder) All_ ¶

func (*MlInferenceTrainedModelsBuilder) Build ¶

Build finalize the chain and returns the MlInferenceTrainedModels struct

func (*MlInferenceTrainedModelsBuilder) Count ¶

func (*MlInferenceTrainedModelsBuilder) EstimatedHeapMemoryUsageBytes ¶

func (rb *MlInferenceTrainedModelsBuilder) EstimatedHeapMemoryUsageBytes(estimatedheapmemoryusagebytes *JobStatisticsBuilder) *MlInferenceTrainedModelsBuilder

func (*MlInferenceTrainedModelsBuilder) EstimatedOperations ¶

func (rb *MlInferenceTrainedModelsBuilder) EstimatedOperations(estimatedoperations *JobStatisticsBuilder) *MlInferenceTrainedModelsBuilder

func (*MlInferenceTrainedModelsBuilder) ModelSizeBytes ¶

type MlInferenceTrainedModelsCount ¶

type MlInferenceTrainedModelsCount struct {
	Classification *int64 `json:"classification,omitempty"`
	Ner            *int64 `json:"ner,omitempty"`
	Other          int64  `json:"other"`
	Prepackaged    int64  `json:"prepackaged"`
	Regression     *int64 `json:"regression,omitempty"`
	Total          int64  `json:"total"`
}

MlInferenceTrainedModelsCount type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L229-L236

type MlInferenceTrainedModelsCountBuilder ¶

type MlInferenceTrainedModelsCountBuilder struct {
	// contains filtered or unexported fields
}

MlInferenceTrainedModelsCountBuilder holds MlInferenceTrainedModelsCount struct and provides a builder API.

func NewMlInferenceTrainedModelsCountBuilder ¶

func NewMlInferenceTrainedModelsCountBuilder() *MlInferenceTrainedModelsCountBuilder

NewMlInferenceTrainedModelsCount provides a builder for the MlInferenceTrainedModelsCount struct.

func (*MlInferenceTrainedModelsCountBuilder) Build ¶

Build finalize the chain and returns the MlInferenceTrainedModelsCount struct

func (*MlInferenceTrainedModelsCountBuilder) Classification ¶

func (*MlInferenceTrainedModelsCountBuilder) Ner ¶

func (*MlInferenceTrainedModelsCountBuilder) Other ¶

func (*MlInferenceTrainedModelsCountBuilder) Prepackaged ¶

func (*MlInferenceTrainedModelsCountBuilder) Regression ¶

func (*MlInferenceTrainedModelsCountBuilder) Total ¶

type ModelPlotConfig ¶

type ModelPlotConfig struct {
	// AnnotationsEnabled If true, enables calculation and storage of the model change annotations for
	// each entity that is being analyzed.
	AnnotationsEnabled *bool `json:"annotations_enabled,omitempty"`
	// Enabled If true, enables calculation and storage of the model bounds for each entity
	// that is being analyzed.
	Enabled *bool `json:"enabled,omitempty"`
	// Terms Limits data collection to this comma separated list of partition or by field
	// values. If terms are not specified or it is an empty string, no filtering is
	// applied. Wildcards are not supported. Only the specified terms can be viewed
	// when using the Single Metric Viewer.
	Terms *Field `json:"terms,omitempty"`
}

ModelPlotConfig type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/ModelPlot.ts#L23-L41

type ModelPlotConfigBuilder ¶

type ModelPlotConfigBuilder struct {
	// contains filtered or unexported fields
}

ModelPlotConfigBuilder holds ModelPlotConfig struct and provides a builder API.

func NewModelPlotConfigBuilder ¶

func NewModelPlotConfigBuilder() *ModelPlotConfigBuilder

NewModelPlotConfig provides a builder for the ModelPlotConfig struct.

func (*ModelPlotConfigBuilder) AnnotationsEnabled ¶

func (rb *ModelPlotConfigBuilder) AnnotationsEnabled(annotationsenabled bool) *ModelPlotConfigBuilder

func (*ModelPlotConfigBuilder) Build ¶

Build finalize the chain and returns the ModelPlotConfig struct

func (*ModelPlotConfigBuilder) Enabled ¶

func (rb *ModelPlotConfigBuilder) Enabled(enabled bool) *ModelPlotConfigBuilder

func (*ModelPlotConfigBuilder) Terms ¶

type ModelSizeStats ¶

type ModelSizeStats struct {
	AssignmentMemoryBasis         *string                                   `json:"assignment_memory_basis,omitempty"`
	BucketAllocationFailuresCount int64                                     `json:"bucket_allocation_failures_count"`
	CategorizationStatus          categorizationstatus.CategorizationStatus `json:"categorization_status"`
	CategorizedDocCount           int                                       `json:"categorized_doc_count"`
	DeadCategoryCount             int                                       `json:"dead_category_count"`
	FailedCategoryCount           int                                       `json:"failed_category_count"`
	FrequentCategoryCount         int                                       `json:"frequent_category_count"`
	JobId                         Id                                        `json:"job_id"`
	LogTime                       DateTime                                  `json:"log_time"`
	MemoryStatus                  memorystatus.MemoryStatus                 `json:"memory_status"`
	ModelBytes                    ByteSize                                  `json:"model_bytes"`
	ModelBytesExceeded            *ByteSize                                 `json:"model_bytes_exceeded,omitempty"`
	ModelBytesMemoryLimit         *ByteSize                                 `json:"model_bytes_memory_limit,omitempty"`
	PeakModelBytes                *ByteSize                                 `json:"peak_model_bytes,omitempty"`
	RareCategoryCount             int                                       `json:"rare_category_count"`
	ResultType                    string                                    `json:"result_type"`
	Timestamp                     *int64                                    `json:"timestamp,omitempty"`
	TotalByFieldCount             int64                                     `json:"total_by_field_count"`
	TotalCategoryCount            int                                       `json:"total_category_count"`
	TotalOverFieldCount           int64                                     `json:"total_over_field_count"`
	TotalPartitionFieldCount      int64                                     `json:"total_partition_field_count"`
}

ModelSizeStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Model.ts#L56-L78

type ModelSizeStatsBuilder ¶

type ModelSizeStatsBuilder struct {
	// contains filtered or unexported fields
}

ModelSizeStatsBuilder holds ModelSizeStats struct and provides a builder API.

func NewModelSizeStatsBuilder ¶

func NewModelSizeStatsBuilder() *ModelSizeStatsBuilder

NewModelSizeStats provides a builder for the ModelSizeStats struct.

func (*ModelSizeStatsBuilder) AssignmentMemoryBasis ¶

func (rb *ModelSizeStatsBuilder) AssignmentMemoryBasis(assignmentmemorybasis string) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) BucketAllocationFailuresCount ¶

func (rb *ModelSizeStatsBuilder) BucketAllocationFailuresCount(bucketallocationfailurescount int64) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) Build ¶

Build finalize the chain and returns the ModelSizeStats struct

func (*ModelSizeStatsBuilder) CategorizationStatus ¶

func (rb *ModelSizeStatsBuilder) CategorizationStatus(categorizationstatus categorizationstatus.CategorizationStatus) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) CategorizedDocCount ¶

func (rb *ModelSizeStatsBuilder) CategorizedDocCount(categorizeddoccount int) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) DeadCategoryCount ¶

func (rb *ModelSizeStatsBuilder) DeadCategoryCount(deadcategorycount int) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) FailedCategoryCount ¶

func (rb *ModelSizeStatsBuilder) FailedCategoryCount(failedcategorycount int) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) FrequentCategoryCount ¶

func (rb *ModelSizeStatsBuilder) FrequentCategoryCount(frequentcategorycount int) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) JobId ¶

func (*ModelSizeStatsBuilder) LogTime ¶

func (*ModelSizeStatsBuilder) MemoryStatus ¶

func (rb *ModelSizeStatsBuilder) MemoryStatus(memorystatus memorystatus.MemoryStatus) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) ModelBytes ¶

func (rb *ModelSizeStatsBuilder) ModelBytes(modelbytes *ByteSizeBuilder) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) ModelBytesExceeded ¶

func (rb *ModelSizeStatsBuilder) ModelBytesExceeded(modelbytesexceeded *ByteSizeBuilder) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) ModelBytesMemoryLimit ¶

func (rb *ModelSizeStatsBuilder) ModelBytesMemoryLimit(modelbytesmemorylimit *ByteSizeBuilder) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) PeakModelBytes ¶

func (rb *ModelSizeStatsBuilder) PeakModelBytes(peakmodelbytes *ByteSizeBuilder) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) RareCategoryCount ¶

func (rb *ModelSizeStatsBuilder) RareCategoryCount(rarecategorycount int) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) ResultType ¶

func (rb *ModelSizeStatsBuilder) ResultType(resulttype string) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) Timestamp ¶

func (rb *ModelSizeStatsBuilder) Timestamp(timestamp int64) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) TotalByFieldCount ¶

func (rb *ModelSizeStatsBuilder) TotalByFieldCount(totalbyfieldcount int64) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) TotalCategoryCount ¶

func (rb *ModelSizeStatsBuilder) TotalCategoryCount(totalcategorycount int) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) TotalOverFieldCount ¶

func (rb *ModelSizeStatsBuilder) TotalOverFieldCount(totaloverfieldcount int64) *ModelSizeStatsBuilder

func (*ModelSizeStatsBuilder) TotalPartitionFieldCount ¶

func (rb *ModelSizeStatsBuilder) TotalPartitionFieldCount(totalpartitionfieldcount int64) *ModelSizeStatsBuilder

type ModelSnapshot ¶

type ModelSnapshot struct {
	// Description An optional description of the job.
	Description *string `json:"description,omitempty"`
	// JobId A numerical character string that uniquely identifies the job that the
	// snapshot was created for.
	JobId Id `json:"job_id"`
	// LatestRecordTimeStamp The timestamp of the latest processed record.
	LatestRecordTimeStamp *int `json:"latest_record_time_stamp,omitempty"`
	// LatestResultTimeStamp The timestamp of the latest bucket result.
	LatestResultTimeStamp *int `json:"latest_result_time_stamp,omitempty"`
	// MinVersion The minimum version required to be able to restore the model snapshot.
	MinVersion VersionString `json:"min_version"`
	// ModelSizeStats Summary information describing the model.
	ModelSizeStats *ModelSizeStats `json:"model_size_stats,omitempty"`
	// Retain If true, this snapshot will not be deleted during automatic cleanup of
	// snapshots older than model_snapshot_retention_days. However, this snapshot
	// will be deleted when the job is deleted. The default value is false.
	Retain bool `json:"retain"`
	// SnapshotDocCount For internal use only.
	SnapshotDocCount int64 `json:"snapshot_doc_count"`
	// SnapshotId A numerical character string that uniquely identifies the model snapshot.
	SnapshotId Id `json:"snapshot_id"`
	// Timestamp The creation timestamp for the snapshot.
	Timestamp int64 `json:"timestamp"`
}

ModelSnapshot type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Model.ts#L25-L46

type ModelSnapshotBuilder ¶

type ModelSnapshotBuilder struct {
	// contains filtered or unexported fields
}

ModelSnapshotBuilder holds ModelSnapshot struct and provides a builder API.

func NewModelSnapshotBuilder ¶

func NewModelSnapshotBuilder() *ModelSnapshotBuilder

NewModelSnapshot provides a builder for the ModelSnapshot struct.

func (*ModelSnapshotBuilder) Build ¶

func (rb *ModelSnapshotBuilder) Build() ModelSnapshot

Build finalize the chain and returns the ModelSnapshot struct

func (*ModelSnapshotBuilder) Description ¶

func (rb *ModelSnapshotBuilder) Description(description string) *ModelSnapshotBuilder

func (*ModelSnapshotBuilder) JobId ¶

func (rb *ModelSnapshotBuilder) JobId(jobid Id) *ModelSnapshotBuilder

func (*ModelSnapshotBuilder) LatestRecordTimeStamp ¶

func (rb *ModelSnapshotBuilder) LatestRecordTimeStamp(latestrecordtimestamp int) *ModelSnapshotBuilder

func (*ModelSnapshotBuilder) LatestResultTimeStamp ¶

func (rb *ModelSnapshotBuilder) LatestResultTimeStamp(latestresulttimestamp int) *ModelSnapshotBuilder

func (*ModelSnapshotBuilder) MinVersion ¶

func (rb *ModelSnapshotBuilder) MinVersion(minversion VersionString) *ModelSnapshotBuilder

func (*ModelSnapshotBuilder) ModelSizeStats ¶

func (rb *ModelSnapshotBuilder) ModelSizeStats(modelsizestats *ModelSizeStatsBuilder) *ModelSnapshotBuilder

func (*ModelSnapshotBuilder) Retain ¶

func (rb *ModelSnapshotBuilder) Retain(retain bool) *ModelSnapshotBuilder

func (*ModelSnapshotBuilder) SnapshotDocCount ¶

func (rb *ModelSnapshotBuilder) SnapshotDocCount(snapshotdoccount int64) *ModelSnapshotBuilder

func (*ModelSnapshotBuilder) SnapshotId ¶

func (rb *ModelSnapshotBuilder) SnapshotId(snapshotid Id) *ModelSnapshotBuilder

func (*ModelSnapshotBuilder) Timestamp ¶

func (rb *ModelSnapshotBuilder) Timestamp(timestamp int64) *ModelSnapshotBuilder

type ModelSnapshotUpgrade ¶

type ModelSnapshotUpgrade struct {
	AssignmentExplanation string                                    `json:"assignment_explanation"`
	JobId                 Id                                        `json:"job_id"`
	Node                  DiscoveryNode                             `json:"node"`
	SnapshotId            Id                                        `json:"snapshot_id"`
	State                 snapshotupgradestate.SnapshotUpgradeState `json:"state"`
}

ModelSnapshotUpgrade type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Model.ts#L48-L54

type ModelSnapshotUpgradeBuilder ¶

type ModelSnapshotUpgradeBuilder struct {
	// contains filtered or unexported fields
}

ModelSnapshotUpgradeBuilder holds ModelSnapshotUpgrade struct and provides a builder API.

func NewModelSnapshotUpgradeBuilder ¶

func NewModelSnapshotUpgradeBuilder() *ModelSnapshotUpgradeBuilder

NewModelSnapshotUpgrade provides a builder for the ModelSnapshotUpgrade struct.

func (*ModelSnapshotUpgradeBuilder) AssignmentExplanation ¶

func (rb *ModelSnapshotUpgradeBuilder) AssignmentExplanation(assignmentexplanation string) *ModelSnapshotUpgradeBuilder

func (*ModelSnapshotUpgradeBuilder) Build ¶

Build finalize the chain and returns the ModelSnapshotUpgrade struct

func (*ModelSnapshotUpgradeBuilder) JobId ¶

func (*ModelSnapshotUpgradeBuilder) Node ¶

func (*ModelSnapshotUpgradeBuilder) SnapshotId ¶

func (rb *ModelSnapshotUpgradeBuilder) SnapshotId(snapshotid Id) *ModelSnapshotUpgradeBuilder

type Monitoring ¶

type Monitoring struct {
	Available         bool             `json:"available"`
	CollectionEnabled bool             `json:"collection_enabled"`
	Enabled           bool             `json:"enabled"`
	EnabledExporters  map[string]int64 `json:"enabled_exporters"`
}

Monitoring type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L370-L373

type MonitoringBuilder ¶

type MonitoringBuilder struct {
	// contains filtered or unexported fields
}

MonitoringBuilder holds Monitoring struct and provides a builder API.

func NewMonitoringBuilder ¶

func NewMonitoringBuilder() *MonitoringBuilder

NewMonitoring provides a builder for the Monitoring struct.

func (*MonitoringBuilder) Available ¶

func (rb *MonitoringBuilder) Available(available bool) *MonitoringBuilder

func (*MonitoringBuilder) Build ¶

func (rb *MonitoringBuilder) Build() Monitoring

Build finalize the chain and returns the Monitoring struct

func (*MonitoringBuilder) CollectionEnabled ¶

func (rb *MonitoringBuilder) CollectionEnabled(collectionenabled bool) *MonitoringBuilder

func (*MonitoringBuilder) Enabled ¶

func (rb *MonitoringBuilder) Enabled(enabled bool) *MonitoringBuilder

func (*MonitoringBuilder) EnabledExporters ¶

func (rb *MonitoringBuilder) EnabledExporters(value map[string]int64) *MonitoringBuilder

type MoreLikeThisQuery ¶

type MoreLikeThisQuery struct {
	Analyzer               *string                  `json:"analyzer,omitempty"`
	Boost                  *float32                 `json:"boost,omitempty"`
	BoostTerms             *float64                 `json:"boost_terms,omitempty"`
	FailOnUnsupportedField *bool                    `json:"fail_on_unsupported_field,omitempty"`
	Fields                 []Field                  `json:"fields,omitempty"`
	Include                *bool                    `json:"include,omitempty"`
	Like                   []Like                   `json:"like"`
	MaxDocFreq             *int                     `json:"max_doc_freq,omitempty"`
	MaxQueryTerms          *int                     `json:"max_query_terms,omitempty"`
	MaxWordLength          *int                     `json:"max_word_length,omitempty"`
	MinDocFreq             *int                     `json:"min_doc_freq,omitempty"`
	MinTermFreq            *int                     `json:"min_term_freq,omitempty"`
	MinWordLength          *int                     `json:"min_word_length,omitempty"`
	MinimumShouldMatch     *MinimumShouldMatch      `json:"minimum_should_match,omitempty"`
	PerFieldAnalyzer       map[Field]string         `json:"per_field_analyzer,omitempty"`
	QueryName_             *string                  `json:"_name,omitempty"`
	Routing                *Routing                 `json:"routing,omitempty"`
	StopWords              *StopWords               `json:"stop_words,omitempty"`
	Unlike                 []Like                   `json:"unlike,omitempty"`
	Version                *VersionNumber           `json:"version,omitempty"`
	VersionType            *versiontype.VersionType `json:"version_type,omitempty"`
}

MoreLikeThisQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L62-L89

type MoreLikeThisQueryBuilder ¶

type MoreLikeThisQueryBuilder struct {
	// contains filtered or unexported fields
}

MoreLikeThisQueryBuilder holds MoreLikeThisQuery struct and provides a builder API.

func NewMoreLikeThisQueryBuilder ¶

func NewMoreLikeThisQueryBuilder() *MoreLikeThisQueryBuilder

NewMoreLikeThisQuery provides a builder for the MoreLikeThisQuery struct.

func (*MoreLikeThisQueryBuilder) Analyzer ¶

func (*MoreLikeThisQueryBuilder) Boost ¶

func (*MoreLikeThisQueryBuilder) BoostTerms ¶

func (rb *MoreLikeThisQueryBuilder) BoostTerms(boostterms float64) *MoreLikeThisQueryBuilder

func (*MoreLikeThisQueryBuilder) Build ¶

Build finalize the chain and returns the MoreLikeThisQuery struct

func (*MoreLikeThisQueryBuilder) FailOnUnsupportedField ¶

func (rb *MoreLikeThisQueryBuilder) FailOnUnsupportedField(failonunsupportedfield bool) *MoreLikeThisQueryBuilder

func (*MoreLikeThisQueryBuilder) Fields ¶

func (*MoreLikeThisQueryBuilder) Include ¶

func (*MoreLikeThisQueryBuilder) Like ¶

func (*MoreLikeThisQueryBuilder) MaxDocFreq ¶

func (rb *MoreLikeThisQueryBuilder) MaxDocFreq(maxdocfreq int) *MoreLikeThisQueryBuilder

func (*MoreLikeThisQueryBuilder) MaxQueryTerms ¶

func (rb *MoreLikeThisQueryBuilder) MaxQueryTerms(maxqueryterms int) *MoreLikeThisQueryBuilder

func (*MoreLikeThisQueryBuilder) MaxWordLength ¶

func (rb *MoreLikeThisQueryBuilder) MaxWordLength(maxwordlength int) *MoreLikeThisQueryBuilder

func (*MoreLikeThisQueryBuilder) MinDocFreq ¶

func (rb *MoreLikeThisQueryBuilder) MinDocFreq(mindocfreq int) *MoreLikeThisQueryBuilder

func (*MoreLikeThisQueryBuilder) MinTermFreq ¶

func (rb *MoreLikeThisQueryBuilder) MinTermFreq(mintermfreq int) *MoreLikeThisQueryBuilder

func (*MoreLikeThisQueryBuilder) MinWordLength ¶

func (rb *MoreLikeThisQueryBuilder) MinWordLength(minwordlength int) *MoreLikeThisQueryBuilder

func (*MoreLikeThisQueryBuilder) MinimumShouldMatch ¶

func (rb *MoreLikeThisQueryBuilder) MinimumShouldMatch(minimumshouldmatch *MinimumShouldMatchBuilder) *MoreLikeThisQueryBuilder

func (*MoreLikeThisQueryBuilder) PerFieldAnalyzer ¶

func (rb *MoreLikeThisQueryBuilder) PerFieldAnalyzer(value map[Field]string) *MoreLikeThisQueryBuilder

func (*MoreLikeThisQueryBuilder) QueryName_ ¶

func (rb *MoreLikeThisQueryBuilder) QueryName_(queryname_ string) *MoreLikeThisQueryBuilder

func (*MoreLikeThisQueryBuilder) Routing ¶

func (*MoreLikeThisQueryBuilder) StopWords ¶

func (*MoreLikeThisQueryBuilder) Unlike ¶

func (*MoreLikeThisQueryBuilder) Version ¶

func (*MoreLikeThisQueryBuilder) VersionType ¶

type MountedSnapshot ¶

type MountedSnapshot struct {
	Indices  Indices         `json:"indices"`
	Shards   ShardStatistics `json:"shards"`
	Snapshot Name            `json:"snapshot"`
}

MountedSnapshot type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/searchable_snapshots/mount/types.ts#L23-L27

type MountedSnapshotBuilder ¶

type MountedSnapshotBuilder struct {
	// contains filtered or unexported fields
}

MountedSnapshotBuilder holds MountedSnapshot struct and provides a builder API.

func NewMountedSnapshotBuilder ¶

func NewMountedSnapshotBuilder() *MountedSnapshotBuilder

NewMountedSnapshot provides a builder for the MountedSnapshot struct.

func (*MountedSnapshotBuilder) Build ¶

Build finalize the chain and returns the MountedSnapshot struct

func (*MountedSnapshotBuilder) Indices ¶

func (*MountedSnapshotBuilder) Shards ¶

func (*MountedSnapshotBuilder) Snapshot ¶

func (rb *MountedSnapshotBuilder) Snapshot(snapshot Name) *MountedSnapshotBuilder

type MovingAverageAggregation ¶

type MovingAverageAggregation interface{}

MovingAverageAggregation holds the union for the following types:

EwmaMovingAverageAggregation
HoltMovingAverageAggregation
HoltWintersMovingAverageAggregation
LinearMovingAverageAggregation
SimpleMovingAverageAggregation

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L176-L182

type MovingAverageAggregationBase ¶

type MovingAverageAggregationBase struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Minimize    *bool                `json:"minimize,omitempty"`
	Name        *string              `json:"name,omitempty"`
	Predict     *int                 `json:"predict,omitempty"`
	Window      *int                 `json:"window,omitempty"`
}

MovingAverageAggregationBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L184-L188

type MovingAverageAggregationBaseBuilder ¶

type MovingAverageAggregationBaseBuilder struct {
	// contains filtered or unexported fields
}

MovingAverageAggregationBaseBuilder holds MovingAverageAggregationBase struct and provides a builder API.

func NewMovingAverageAggregationBaseBuilder ¶

func NewMovingAverageAggregationBaseBuilder() *MovingAverageAggregationBaseBuilder

NewMovingAverageAggregationBase provides a builder for the MovingAverageAggregationBase struct.

func (*MovingAverageAggregationBaseBuilder) BucketsPath ¶

func (*MovingAverageAggregationBaseBuilder) Build ¶

Build finalize the chain and returns the MovingAverageAggregationBase struct

func (*MovingAverageAggregationBaseBuilder) Format ¶

func (*MovingAverageAggregationBaseBuilder) GapPolicy ¶

func (*MovingAverageAggregationBaseBuilder) Meta ¶

func (*MovingAverageAggregationBaseBuilder) Minimize ¶

func (*MovingAverageAggregationBaseBuilder) Name ¶

func (*MovingAverageAggregationBaseBuilder) Predict ¶

func (*MovingAverageAggregationBaseBuilder) Window ¶

type MovingAverageAggregationBuilder ¶

type MovingAverageAggregationBuilder struct {
	// contains filtered or unexported fields
}

MovingAverageAggregationBuilder holds MovingAverageAggregation struct and provides a builder API.

func NewMovingAverageAggregationBuilder ¶

func NewMovingAverageAggregationBuilder() *MovingAverageAggregationBuilder

NewMovingAverageAggregation provides a builder for the MovingAverageAggregation struct.

func (*MovingAverageAggregationBuilder) Build ¶

Build finalize the chain and returns the MovingAverageAggregation struct

func (*MovingAverageAggregationBuilder) EwmaMovingAverageAggregation ¶

func (u *MovingAverageAggregationBuilder) EwmaMovingAverageAggregation(ewmamovingaverageaggregation *EwmaMovingAverageAggregationBuilder) *MovingAverageAggregationBuilder

func (*MovingAverageAggregationBuilder) HoltMovingAverageAggregation ¶

func (u *MovingAverageAggregationBuilder) HoltMovingAverageAggregation(holtmovingaverageaggregation *HoltMovingAverageAggregationBuilder) *MovingAverageAggregationBuilder

func (*MovingAverageAggregationBuilder) HoltWintersMovingAverageAggregation ¶

func (u *MovingAverageAggregationBuilder) HoltWintersMovingAverageAggregation(holtwintersmovingaverageaggregation *HoltWintersMovingAverageAggregationBuilder) *MovingAverageAggregationBuilder

func (*MovingAverageAggregationBuilder) LinearMovingAverageAggregation ¶

func (u *MovingAverageAggregationBuilder) LinearMovingAverageAggregation(linearmovingaverageaggregation *LinearMovingAverageAggregationBuilder) *MovingAverageAggregationBuilder

func (*MovingAverageAggregationBuilder) SimpleMovingAverageAggregation ¶

func (u *MovingAverageAggregationBuilder) SimpleMovingAverageAggregation(simplemovingaverageaggregation *SimpleMovingAverageAggregationBuilder) *MovingAverageAggregationBuilder

type MovingFunctionAggregation ¶

type MovingFunctionAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
	Script      *string              `json:"script,omitempty"`
	Shift       *int                 `json:"shift,omitempty"`
	Window      *int                 `json:"window,omitempty"`
}

MovingFunctionAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L238-L242

type MovingFunctionAggregationBuilder ¶

type MovingFunctionAggregationBuilder struct {
	// contains filtered or unexported fields
}

MovingFunctionAggregationBuilder holds MovingFunctionAggregation struct and provides a builder API.

func NewMovingFunctionAggregationBuilder ¶

func NewMovingFunctionAggregationBuilder() *MovingFunctionAggregationBuilder

NewMovingFunctionAggregation provides a builder for the MovingFunctionAggregation struct.

func (*MovingFunctionAggregationBuilder) BucketsPath ¶

func (*MovingFunctionAggregationBuilder) Build ¶

Build finalize the chain and returns the MovingFunctionAggregation struct

func (*MovingFunctionAggregationBuilder) Format ¶

func (*MovingFunctionAggregationBuilder) GapPolicy ¶

func (*MovingFunctionAggregationBuilder) Meta ¶

func (*MovingFunctionAggregationBuilder) Name ¶

func (*MovingFunctionAggregationBuilder) Script ¶

func (*MovingFunctionAggregationBuilder) Shift ¶

func (*MovingFunctionAggregationBuilder) Window ¶

type MovingPercentilesAggregation ¶

type MovingPercentilesAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Keyed       *bool                `json:"keyed,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
	Shift       *int                 `json:"shift,omitempty"`
	Window      *int                 `json:"window,omitempty"`
}

MovingPercentilesAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L244-L248

type MovingPercentilesAggregationBuilder ¶

type MovingPercentilesAggregationBuilder struct {
	// contains filtered or unexported fields
}

MovingPercentilesAggregationBuilder holds MovingPercentilesAggregation struct and provides a builder API.

func NewMovingPercentilesAggregationBuilder ¶

func NewMovingPercentilesAggregationBuilder() *MovingPercentilesAggregationBuilder

NewMovingPercentilesAggregation provides a builder for the MovingPercentilesAggregation struct.

func (*MovingPercentilesAggregationBuilder) BucketsPath ¶

func (*MovingPercentilesAggregationBuilder) Build ¶

Build finalize the chain and returns the MovingPercentilesAggregation struct

func (*MovingPercentilesAggregationBuilder) Format ¶

func (*MovingPercentilesAggregationBuilder) GapPolicy ¶

func (*MovingPercentilesAggregationBuilder) Keyed ¶

func (*MovingPercentilesAggregationBuilder) Meta ¶

func (*MovingPercentilesAggregationBuilder) Name ¶

func (*MovingPercentilesAggregationBuilder) Shift ¶

func (*MovingPercentilesAggregationBuilder) Window ¶

type MultiBucketAggregateBaseAdjacencyMatrixBucket ¶

type MultiBucketAggregateBaseAdjacencyMatrixBucket struct {
	Buckets BucketsAdjacencyMatrixBucket `json:"buckets"`
	Meta    *Metadata                    `json:"meta,omitempty"`
}

MultiBucketAggregateBaseAdjacencyMatrixBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseAdjacencyMatrixBucketBuilder ¶

type MultiBucketAggregateBaseAdjacencyMatrixBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseAdjacencyMatrixBucketBuilder holds MultiBucketAggregateBaseAdjacencyMatrixBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseAdjacencyMatrixBucketBuilder ¶

func NewMultiBucketAggregateBaseAdjacencyMatrixBucketBuilder() *MultiBucketAggregateBaseAdjacencyMatrixBucketBuilder

NewMultiBucketAggregateBaseAdjacencyMatrixBucket provides a builder for the MultiBucketAggregateBaseAdjacencyMatrixBucket struct.

func (*MultiBucketAggregateBaseAdjacencyMatrixBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseAdjacencyMatrixBucket struct

func (*MultiBucketAggregateBaseAdjacencyMatrixBucketBuilder) Meta ¶

type MultiBucketAggregateBaseCompositeBucket ¶

type MultiBucketAggregateBaseCompositeBucket struct {
	Buckets BucketsCompositeBucket `json:"buckets"`
	Meta    *Metadata              `json:"meta,omitempty"`
}

MultiBucketAggregateBaseCompositeBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseCompositeBucketBuilder ¶

type MultiBucketAggregateBaseCompositeBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseCompositeBucketBuilder holds MultiBucketAggregateBaseCompositeBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseCompositeBucketBuilder ¶

func NewMultiBucketAggregateBaseCompositeBucketBuilder() *MultiBucketAggregateBaseCompositeBucketBuilder

NewMultiBucketAggregateBaseCompositeBucket provides a builder for the MultiBucketAggregateBaseCompositeBucket struct.

func (*MultiBucketAggregateBaseCompositeBucketBuilder) Buckets ¶

func (*MultiBucketAggregateBaseCompositeBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseCompositeBucket struct

func (*MultiBucketAggregateBaseCompositeBucketBuilder) Meta ¶

type MultiBucketAggregateBaseDateHistogramBucket ¶

type MultiBucketAggregateBaseDateHistogramBucket struct {
	Buckets BucketsDateHistogramBucket `json:"buckets"`
	Meta    *Metadata                  `json:"meta,omitempty"`
}

MultiBucketAggregateBaseDateHistogramBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseDateHistogramBucketBuilder ¶

type MultiBucketAggregateBaseDateHistogramBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseDateHistogramBucketBuilder holds MultiBucketAggregateBaseDateHistogramBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseDateHistogramBucketBuilder ¶

func NewMultiBucketAggregateBaseDateHistogramBucketBuilder() *MultiBucketAggregateBaseDateHistogramBucketBuilder

NewMultiBucketAggregateBaseDateHistogramBucket provides a builder for the MultiBucketAggregateBaseDateHistogramBucket struct.

func (*MultiBucketAggregateBaseDateHistogramBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseDateHistogramBucket struct

func (*MultiBucketAggregateBaseDateHistogramBucketBuilder) Meta ¶

type MultiBucketAggregateBaseDoubleTermsBucket ¶

type MultiBucketAggregateBaseDoubleTermsBucket struct {
	Buckets BucketsDoubleTermsBucket `json:"buckets"`
	Meta    *Metadata                `json:"meta,omitempty"`
}

MultiBucketAggregateBaseDoubleTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseDoubleTermsBucketBuilder ¶

type MultiBucketAggregateBaseDoubleTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseDoubleTermsBucketBuilder holds MultiBucketAggregateBaseDoubleTermsBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseDoubleTermsBucketBuilder ¶

func NewMultiBucketAggregateBaseDoubleTermsBucketBuilder() *MultiBucketAggregateBaseDoubleTermsBucketBuilder

NewMultiBucketAggregateBaseDoubleTermsBucket provides a builder for the MultiBucketAggregateBaseDoubleTermsBucket struct.

func (*MultiBucketAggregateBaseDoubleTermsBucketBuilder) Buckets ¶

func (*MultiBucketAggregateBaseDoubleTermsBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseDoubleTermsBucket struct

func (*MultiBucketAggregateBaseDoubleTermsBucketBuilder) Meta ¶

type MultiBucketAggregateBaseFiltersBucket ¶

type MultiBucketAggregateBaseFiltersBucket struct {
	Buckets BucketsFiltersBucket `json:"buckets"`
	Meta    *Metadata            `json:"meta,omitempty"`
}

MultiBucketAggregateBaseFiltersBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseFiltersBucketBuilder ¶

type MultiBucketAggregateBaseFiltersBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseFiltersBucketBuilder holds MultiBucketAggregateBaseFiltersBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseFiltersBucketBuilder ¶

func NewMultiBucketAggregateBaseFiltersBucketBuilder() *MultiBucketAggregateBaseFiltersBucketBuilder

NewMultiBucketAggregateBaseFiltersBucket provides a builder for the MultiBucketAggregateBaseFiltersBucket struct.

func (*MultiBucketAggregateBaseFiltersBucketBuilder) Buckets ¶

func (*MultiBucketAggregateBaseFiltersBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseFiltersBucket struct

func (*MultiBucketAggregateBaseFiltersBucketBuilder) Meta ¶

type MultiBucketAggregateBaseGeoHashGridBucket ¶

type MultiBucketAggregateBaseGeoHashGridBucket struct {
	Buckets BucketsGeoHashGridBucket `json:"buckets"`
	Meta    *Metadata                `json:"meta,omitempty"`
}

MultiBucketAggregateBaseGeoHashGridBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseGeoHashGridBucketBuilder ¶

type MultiBucketAggregateBaseGeoHashGridBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseGeoHashGridBucketBuilder holds MultiBucketAggregateBaseGeoHashGridBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseGeoHashGridBucketBuilder ¶

func NewMultiBucketAggregateBaseGeoHashGridBucketBuilder() *MultiBucketAggregateBaseGeoHashGridBucketBuilder

NewMultiBucketAggregateBaseGeoHashGridBucket provides a builder for the MultiBucketAggregateBaseGeoHashGridBucket struct.

func (*MultiBucketAggregateBaseGeoHashGridBucketBuilder) Buckets ¶

func (*MultiBucketAggregateBaseGeoHashGridBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseGeoHashGridBucket struct

func (*MultiBucketAggregateBaseGeoHashGridBucketBuilder) Meta ¶

type MultiBucketAggregateBaseGeoTileGridBucket ¶

type MultiBucketAggregateBaseGeoTileGridBucket struct {
	Buckets BucketsGeoTileGridBucket `json:"buckets"`
	Meta    *Metadata                `json:"meta,omitempty"`
}

MultiBucketAggregateBaseGeoTileGridBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseGeoTileGridBucketBuilder ¶

type MultiBucketAggregateBaseGeoTileGridBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseGeoTileGridBucketBuilder holds MultiBucketAggregateBaseGeoTileGridBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseGeoTileGridBucketBuilder ¶

func NewMultiBucketAggregateBaseGeoTileGridBucketBuilder() *MultiBucketAggregateBaseGeoTileGridBucketBuilder

NewMultiBucketAggregateBaseGeoTileGridBucket provides a builder for the MultiBucketAggregateBaseGeoTileGridBucket struct.

func (*MultiBucketAggregateBaseGeoTileGridBucketBuilder) Buckets ¶

func (*MultiBucketAggregateBaseGeoTileGridBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseGeoTileGridBucket struct

func (*MultiBucketAggregateBaseGeoTileGridBucketBuilder) Meta ¶

type MultiBucketAggregateBaseHistogramBucket ¶

type MultiBucketAggregateBaseHistogramBucket struct {
	Buckets BucketsHistogramBucket `json:"buckets"`
	Meta    *Metadata              `json:"meta,omitempty"`
}

MultiBucketAggregateBaseHistogramBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseHistogramBucketBuilder ¶

type MultiBucketAggregateBaseHistogramBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseHistogramBucketBuilder holds MultiBucketAggregateBaseHistogramBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseHistogramBucketBuilder ¶

func NewMultiBucketAggregateBaseHistogramBucketBuilder() *MultiBucketAggregateBaseHistogramBucketBuilder

NewMultiBucketAggregateBaseHistogramBucket provides a builder for the MultiBucketAggregateBaseHistogramBucket struct.

func (*MultiBucketAggregateBaseHistogramBucketBuilder) Buckets ¶

func (*MultiBucketAggregateBaseHistogramBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseHistogramBucket struct

func (*MultiBucketAggregateBaseHistogramBucketBuilder) Meta ¶

type MultiBucketAggregateBaseIpRangeBucket ¶

type MultiBucketAggregateBaseIpRangeBucket struct {
	Buckets BucketsIpRangeBucket `json:"buckets"`
	Meta    *Metadata            `json:"meta,omitempty"`
}

MultiBucketAggregateBaseIpRangeBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseIpRangeBucketBuilder ¶

type MultiBucketAggregateBaseIpRangeBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseIpRangeBucketBuilder holds MultiBucketAggregateBaseIpRangeBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseIpRangeBucketBuilder ¶

func NewMultiBucketAggregateBaseIpRangeBucketBuilder() *MultiBucketAggregateBaseIpRangeBucketBuilder

NewMultiBucketAggregateBaseIpRangeBucket provides a builder for the MultiBucketAggregateBaseIpRangeBucket struct.

func (*MultiBucketAggregateBaseIpRangeBucketBuilder) Buckets ¶

func (*MultiBucketAggregateBaseIpRangeBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseIpRangeBucket struct

func (*MultiBucketAggregateBaseIpRangeBucketBuilder) Meta ¶

type MultiBucketAggregateBaseLongRareTermsBucket ¶

type MultiBucketAggregateBaseLongRareTermsBucket struct {
	Buckets BucketsLongRareTermsBucket `json:"buckets"`
	Meta    *Metadata                  `json:"meta,omitempty"`
}

MultiBucketAggregateBaseLongRareTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseLongRareTermsBucketBuilder ¶

type MultiBucketAggregateBaseLongRareTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseLongRareTermsBucketBuilder holds MultiBucketAggregateBaseLongRareTermsBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseLongRareTermsBucketBuilder ¶

func NewMultiBucketAggregateBaseLongRareTermsBucketBuilder() *MultiBucketAggregateBaseLongRareTermsBucketBuilder

NewMultiBucketAggregateBaseLongRareTermsBucket provides a builder for the MultiBucketAggregateBaseLongRareTermsBucket struct.

func (*MultiBucketAggregateBaseLongRareTermsBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseLongRareTermsBucket struct

func (*MultiBucketAggregateBaseLongRareTermsBucketBuilder) Meta ¶

type MultiBucketAggregateBaseLongTermsBucket ¶

type MultiBucketAggregateBaseLongTermsBucket struct {
	Buckets BucketsLongTermsBucket `json:"buckets"`
	Meta    *Metadata              `json:"meta,omitempty"`
}

MultiBucketAggregateBaseLongTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseLongTermsBucketBuilder ¶

type MultiBucketAggregateBaseLongTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseLongTermsBucketBuilder holds MultiBucketAggregateBaseLongTermsBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseLongTermsBucketBuilder ¶

func NewMultiBucketAggregateBaseLongTermsBucketBuilder() *MultiBucketAggregateBaseLongTermsBucketBuilder

NewMultiBucketAggregateBaseLongTermsBucket provides a builder for the MultiBucketAggregateBaseLongTermsBucket struct.

func (*MultiBucketAggregateBaseLongTermsBucketBuilder) Buckets ¶

func (*MultiBucketAggregateBaseLongTermsBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseLongTermsBucket struct

func (*MultiBucketAggregateBaseLongTermsBucketBuilder) Meta ¶

type MultiBucketAggregateBaseMultiTermsBucket ¶

type MultiBucketAggregateBaseMultiTermsBucket struct {
	Buckets BucketsMultiTermsBucket `json:"buckets"`
	Meta    *Metadata               `json:"meta,omitempty"`
}

MultiBucketAggregateBaseMultiTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseMultiTermsBucketBuilder ¶

type MultiBucketAggregateBaseMultiTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseMultiTermsBucketBuilder holds MultiBucketAggregateBaseMultiTermsBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseMultiTermsBucketBuilder ¶

func NewMultiBucketAggregateBaseMultiTermsBucketBuilder() *MultiBucketAggregateBaseMultiTermsBucketBuilder

NewMultiBucketAggregateBaseMultiTermsBucket provides a builder for the MultiBucketAggregateBaseMultiTermsBucket struct.

func (*MultiBucketAggregateBaseMultiTermsBucketBuilder) Buckets ¶

func (*MultiBucketAggregateBaseMultiTermsBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseMultiTermsBucket struct

func (*MultiBucketAggregateBaseMultiTermsBucketBuilder) Meta ¶

type MultiBucketAggregateBaseRangeBucket ¶

type MultiBucketAggregateBaseRangeBucket struct {
	Buckets BucketsRangeBucket `json:"buckets"`
	Meta    *Metadata          `json:"meta,omitempty"`
}

MultiBucketAggregateBaseRangeBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseRangeBucketBuilder ¶

type MultiBucketAggregateBaseRangeBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseRangeBucketBuilder holds MultiBucketAggregateBaseRangeBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseRangeBucketBuilder ¶

func NewMultiBucketAggregateBaseRangeBucketBuilder() *MultiBucketAggregateBaseRangeBucketBuilder

NewMultiBucketAggregateBaseRangeBucket provides a builder for the MultiBucketAggregateBaseRangeBucket struct.

func (*MultiBucketAggregateBaseRangeBucketBuilder) Buckets ¶

func (*MultiBucketAggregateBaseRangeBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseRangeBucket struct

func (*MultiBucketAggregateBaseRangeBucketBuilder) Meta ¶

type MultiBucketAggregateBaseSignificantLongTermsBucket ¶

type MultiBucketAggregateBaseSignificantLongTermsBucket struct {
	Buckets BucketsSignificantLongTermsBucket `json:"buckets"`
	Meta    *Metadata                         `json:"meta,omitempty"`
}

MultiBucketAggregateBaseSignificantLongTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseSignificantLongTermsBucketBuilder ¶

type MultiBucketAggregateBaseSignificantLongTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseSignificantLongTermsBucketBuilder holds MultiBucketAggregateBaseSignificantLongTermsBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseSignificantLongTermsBucketBuilder ¶

func NewMultiBucketAggregateBaseSignificantLongTermsBucketBuilder() *MultiBucketAggregateBaseSignificantLongTermsBucketBuilder

NewMultiBucketAggregateBaseSignificantLongTermsBucket provides a builder for the MultiBucketAggregateBaseSignificantLongTermsBucket struct.

func (*MultiBucketAggregateBaseSignificantLongTermsBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseSignificantLongTermsBucket struct

func (*MultiBucketAggregateBaseSignificantLongTermsBucketBuilder) Meta ¶

type MultiBucketAggregateBaseSignificantStringTermsBucket ¶

type MultiBucketAggregateBaseSignificantStringTermsBucket struct {
	Buckets BucketsSignificantStringTermsBucket `json:"buckets"`
	Meta    *Metadata                           `json:"meta,omitempty"`
}

MultiBucketAggregateBaseSignificantStringTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseSignificantStringTermsBucketBuilder ¶

type MultiBucketAggregateBaseSignificantStringTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseSignificantStringTermsBucketBuilder holds MultiBucketAggregateBaseSignificantStringTermsBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseSignificantStringTermsBucketBuilder ¶

func NewMultiBucketAggregateBaseSignificantStringTermsBucketBuilder() *MultiBucketAggregateBaseSignificantStringTermsBucketBuilder

NewMultiBucketAggregateBaseSignificantStringTermsBucket provides a builder for the MultiBucketAggregateBaseSignificantStringTermsBucket struct.

func (*MultiBucketAggregateBaseSignificantStringTermsBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseSignificantStringTermsBucket struct

func (*MultiBucketAggregateBaseSignificantStringTermsBucketBuilder) Meta ¶

type MultiBucketAggregateBaseStringRareTermsBucket ¶

type MultiBucketAggregateBaseStringRareTermsBucket struct {
	Buckets BucketsStringRareTermsBucket `json:"buckets"`
	Meta    *Metadata                    `json:"meta,omitempty"`
}

MultiBucketAggregateBaseStringRareTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseStringRareTermsBucketBuilder ¶

type MultiBucketAggregateBaseStringRareTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseStringRareTermsBucketBuilder holds MultiBucketAggregateBaseStringRareTermsBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseStringRareTermsBucketBuilder ¶

func NewMultiBucketAggregateBaseStringRareTermsBucketBuilder() *MultiBucketAggregateBaseStringRareTermsBucketBuilder

NewMultiBucketAggregateBaseStringRareTermsBucket provides a builder for the MultiBucketAggregateBaseStringRareTermsBucket struct.

func (*MultiBucketAggregateBaseStringRareTermsBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseStringRareTermsBucket struct

func (*MultiBucketAggregateBaseStringRareTermsBucketBuilder) Meta ¶

type MultiBucketAggregateBaseStringTermsBucket ¶

type MultiBucketAggregateBaseStringTermsBucket struct {
	Buckets BucketsStringTermsBucket `json:"buckets"`
	Meta    *Metadata                `json:"meta,omitempty"`
}

MultiBucketAggregateBaseStringTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseStringTermsBucketBuilder ¶

type MultiBucketAggregateBaseStringTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseStringTermsBucketBuilder holds MultiBucketAggregateBaseStringTermsBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseStringTermsBucketBuilder ¶

func NewMultiBucketAggregateBaseStringTermsBucketBuilder() *MultiBucketAggregateBaseStringTermsBucketBuilder

NewMultiBucketAggregateBaseStringTermsBucket provides a builder for the MultiBucketAggregateBaseStringTermsBucket struct.

func (*MultiBucketAggregateBaseStringTermsBucketBuilder) Buckets ¶

func (*MultiBucketAggregateBaseStringTermsBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseStringTermsBucket struct

func (*MultiBucketAggregateBaseStringTermsBucketBuilder) Meta ¶

type MultiBucketAggregateBaseVariableWidthHistogramBucket ¶

type MultiBucketAggregateBaseVariableWidthHistogramBucket struct {
	Buckets BucketsVariableWidthHistogramBucket `json:"buckets"`
	Meta    *Metadata                           `json:"meta,omitempty"`
}

MultiBucketAggregateBaseVariableWidthHistogramBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseVariableWidthHistogramBucketBuilder ¶

type MultiBucketAggregateBaseVariableWidthHistogramBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseVariableWidthHistogramBucketBuilder holds MultiBucketAggregateBaseVariableWidthHistogramBucket struct and provides a builder API.

func NewMultiBucketAggregateBaseVariableWidthHistogramBucketBuilder ¶

func NewMultiBucketAggregateBaseVariableWidthHistogramBucketBuilder() *MultiBucketAggregateBaseVariableWidthHistogramBucketBuilder

NewMultiBucketAggregateBaseVariableWidthHistogramBucket provides a builder for the MultiBucketAggregateBaseVariableWidthHistogramBucket struct.

func (*MultiBucketAggregateBaseVariableWidthHistogramBucketBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseVariableWidthHistogramBucket struct

func (*MultiBucketAggregateBaseVariableWidthHistogramBucketBuilder) Meta ¶

type MultiBucketAggregateBaseVoid ¶

type MultiBucketAggregateBaseVoid struct {
	Buckets BucketsVoid `json:"buckets"`
	Meta    *Metadata   `json:"meta,omitempty"`
}

MultiBucketAggregateBaseVoid type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L314-L316

type MultiBucketAggregateBaseVoidBuilder ¶

type MultiBucketAggregateBaseVoidBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketAggregateBaseVoidBuilder holds MultiBucketAggregateBaseVoid struct and provides a builder API.

func NewMultiBucketAggregateBaseVoidBuilder ¶

func NewMultiBucketAggregateBaseVoidBuilder() *MultiBucketAggregateBaseVoidBuilder

NewMultiBucketAggregateBaseVoid provides a builder for the MultiBucketAggregateBaseVoid struct.

func (*MultiBucketAggregateBaseVoidBuilder) Buckets ¶

func (*MultiBucketAggregateBaseVoidBuilder) Build ¶

Build finalize the chain and returns the MultiBucketAggregateBaseVoid struct

func (*MultiBucketAggregateBaseVoidBuilder) Meta ¶

type MultiBucketBase ¶

type MultiBucketBase struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
}

MultiBucketBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L318-L325

type MultiBucketBaseBuilder ¶

type MultiBucketBaseBuilder struct {
	// contains filtered or unexported fields
}

MultiBucketBaseBuilder holds MultiBucketBase struct and provides a builder API.

func NewMultiBucketBaseBuilder ¶

func NewMultiBucketBaseBuilder() *MultiBucketBaseBuilder

NewMultiBucketBase provides a builder for the MultiBucketBase struct.

func (*MultiBucketBaseBuilder) Aggregations ¶

func (*MultiBucketBaseBuilder) Build ¶

Build finalize the chain and returns the MultiBucketBase struct

func (*MultiBucketBaseBuilder) DocCount ¶

func (rb *MultiBucketBaseBuilder) DocCount(doccount int64) *MultiBucketBaseBuilder

type MultiGetError ¶

type MultiGetError struct {
	Error  ErrorCause `json:"error"`
	Id_    Id         `json:"_id"`
	Index_ IndexName  `json:"_index"`
}

MultiGetError type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/mget/types.ts#L62-L66

type MultiGetErrorBuilder ¶

type MultiGetErrorBuilder struct {
	// contains filtered or unexported fields
}

MultiGetErrorBuilder holds MultiGetError struct and provides a builder API.

func NewMultiGetErrorBuilder ¶

func NewMultiGetErrorBuilder() *MultiGetErrorBuilder

NewMultiGetError provides a builder for the MultiGetError struct.

func (*MultiGetErrorBuilder) Build ¶

func (rb *MultiGetErrorBuilder) Build() MultiGetError

Build finalize the chain and returns the MultiGetError struct

func (*MultiGetErrorBuilder) Error ¶

func (*MultiGetErrorBuilder) Id_ ¶

func (*MultiGetErrorBuilder) Index_ ¶

type MultiMatchQuery ¶

type MultiMatchQuery struct {
	Analyzer                        *string                        `json:"analyzer,omitempty"`
	AutoGenerateSynonymsPhraseQuery *bool                          `json:"auto_generate_synonyms_phrase_query,omitempty"`
	Boost                           *float32                       `json:"boost,omitempty"`
	CutoffFrequency                 *float64                       `json:"cutoff_frequency,omitempty"`
	Fields                          *Fields                        `json:"fields,omitempty"`
	Fuzziness                       *Fuzziness                     `json:"fuzziness,omitempty"`
	FuzzyRewrite                    *MultiTermQueryRewrite         `json:"fuzzy_rewrite,omitempty"`
	FuzzyTranspositions             *bool                          `json:"fuzzy_transpositions,omitempty"`
	Lenient                         *bool                          `json:"lenient,omitempty"`
	MaxExpansions                   *int                           `json:"max_expansions,omitempty"`
	MinimumShouldMatch              *MinimumShouldMatch            `json:"minimum_should_match,omitempty"`
	Operator                        *operator.Operator             `json:"operator,omitempty"`
	PrefixLength                    *int                           `json:"prefix_length,omitempty"`
	Query                           string                         `json:"query"`
	QueryName_                      *string                        `json:"_name,omitempty"`
	Slop                            *int                           `json:"slop,omitempty"`
	TieBreaker                      *float64                       `json:"tie_breaker,omitempty"`
	Type                            *textquerytype.TextQueryType   `json:"type,omitempty"`
	ZeroTermsQuery                  *zerotermsquery.ZeroTermsQuery `json:"zero_terms_query,omitempty"`
}

MultiMatchQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L191-L217

type MultiMatchQueryBuilder ¶

type MultiMatchQueryBuilder struct {
	// contains filtered or unexported fields
}

MultiMatchQueryBuilder holds MultiMatchQuery struct and provides a builder API.

func NewMultiMatchQueryBuilder ¶

func NewMultiMatchQueryBuilder() *MultiMatchQueryBuilder

NewMultiMatchQuery provides a builder for the MultiMatchQuery struct.

func (*MultiMatchQueryBuilder) Analyzer ¶

func (rb *MultiMatchQueryBuilder) Analyzer(analyzer string) *MultiMatchQueryBuilder

func (*MultiMatchQueryBuilder) AutoGenerateSynonymsPhraseQuery ¶

func (rb *MultiMatchQueryBuilder) AutoGenerateSynonymsPhraseQuery(autogeneratesynonymsphrasequery bool) *MultiMatchQueryBuilder

func (*MultiMatchQueryBuilder) Boost ¶

func (*MultiMatchQueryBuilder) Build ¶

Build finalize the chain and returns the MultiMatchQuery struct

func (*MultiMatchQueryBuilder) CutoffFrequency ¶

func (rb *MultiMatchQueryBuilder) CutoffFrequency(cutofffrequency float64) *MultiMatchQueryBuilder

func (*MultiMatchQueryBuilder) Fields ¶

func (*MultiMatchQueryBuilder) Fuzziness ¶

func (*MultiMatchQueryBuilder) FuzzyRewrite ¶

func (*MultiMatchQueryBuilder) FuzzyTranspositions ¶

func (rb *MultiMatchQueryBuilder) FuzzyTranspositions(fuzzytranspositions bool) *MultiMatchQueryBuilder

func (*MultiMatchQueryBuilder) Lenient ¶

func (rb *MultiMatchQueryBuilder) Lenient(lenient bool) *MultiMatchQueryBuilder

func (*MultiMatchQueryBuilder) MaxExpansions ¶

func (rb *MultiMatchQueryBuilder) MaxExpansions(maxexpansions int) *MultiMatchQueryBuilder

func (*MultiMatchQueryBuilder) MinimumShouldMatch ¶

func (rb *MultiMatchQueryBuilder) MinimumShouldMatch(minimumshouldmatch *MinimumShouldMatchBuilder) *MultiMatchQueryBuilder

func (*MultiMatchQueryBuilder) Operator ¶

func (*MultiMatchQueryBuilder) PrefixLength ¶

func (rb *MultiMatchQueryBuilder) PrefixLength(prefixlength int) *MultiMatchQueryBuilder

func (*MultiMatchQueryBuilder) Query ¶

func (*MultiMatchQueryBuilder) QueryName_ ¶

func (rb *MultiMatchQueryBuilder) QueryName_(queryname_ string) *MultiMatchQueryBuilder

func (*MultiMatchQueryBuilder) Slop ¶

func (*MultiMatchQueryBuilder) TieBreaker ¶

func (rb *MultiMatchQueryBuilder) TieBreaker(tiebreaker float64) *MultiMatchQueryBuilder

func (*MultiMatchQueryBuilder) Type_ ¶

func (*MultiMatchQueryBuilder) ZeroTermsQuery ¶

func (rb *MultiMatchQueryBuilder) ZeroTermsQuery(zerotermsquery zerotermsquery.ZeroTermsQuery) *MultiMatchQueryBuilder

type MultiTermLookupBuilder ¶

type MultiTermLookupBuilder struct {
	// contains filtered or unexported fields
}

MultiTermLookupBuilder holds MultiTermLookup struct and provides a builder API.

func NewMultiTermLookupBuilder ¶

func NewMultiTermLookupBuilder() *MultiTermLookupBuilder

NewMultiTermLookup provides a builder for the MultiTermLookup struct.

func (*MultiTermLookupBuilder) Build ¶

Build finalize the chain and returns the MultiTermLookup struct

func (*MultiTermLookupBuilder) Field ¶

type MultiTermQueryRewriteBuilder ¶

type MultiTermQueryRewriteBuilder struct {
	// contains filtered or unexported fields
}

MultiTermQueryRewriteBuilder holds MultiTermQueryRewrite struct and provides a builder API.

func NewMultiTermQueryRewriteBuilder ¶

func NewMultiTermQueryRewriteBuilder() *MultiTermQueryRewriteBuilder

NewMultiTermQueryRewrite provides a builder for the MultiTermQueryRewrite struct.

func (*MultiTermQueryRewriteBuilder) Build ¶

Build finalize the chain and returns the MultiTermQueryRewrite struct

func (*MultiTermQueryRewriteBuilder) MultiTermQueryRewrite ¶

type MultiTermsAggregate ¶

type MultiTermsAggregate struct {
	Buckets                 BucketsMultiTermsBucket `json:"buckets"`
	DocCountErrorUpperBound *int64                  `json:"doc_count_error_upper_bound,omitempty"`
	Meta                    *Metadata               `json:"meta,omitempty"`
	SumOtherDocCount        int64                   `json:"sum_other_doc_count"`
}

MultiTermsAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L448-L450

type MultiTermsAggregateBuilder ¶

type MultiTermsAggregateBuilder struct {
	// contains filtered or unexported fields
}

MultiTermsAggregateBuilder holds MultiTermsAggregate struct and provides a builder API.

func NewMultiTermsAggregateBuilder ¶

func NewMultiTermsAggregateBuilder() *MultiTermsAggregateBuilder

NewMultiTermsAggregate provides a builder for the MultiTermsAggregate struct.

func (*MultiTermsAggregateBuilder) Buckets ¶

func (*MultiTermsAggregateBuilder) Build ¶

Build finalize the chain and returns the MultiTermsAggregate struct

func (*MultiTermsAggregateBuilder) DocCountErrorUpperBound ¶

func (rb *MultiTermsAggregateBuilder) DocCountErrorUpperBound(doccounterrorupperbound int64) *MultiTermsAggregateBuilder

func (*MultiTermsAggregateBuilder) Meta ¶

func (*MultiTermsAggregateBuilder) SumOtherDocCount ¶

func (rb *MultiTermsAggregateBuilder) SumOtherDocCount(sumotherdoccount int64) *MultiTermsAggregateBuilder

type MultiTermsAggregation ¶

type MultiTermsAggregation struct {
	CollectMode           *termsaggregationcollectmode.TermsAggregationCollectMode `json:"collect_mode,omitempty"`
	Meta                  *Metadata                                                `json:"meta,omitempty"`
	MinDocCount           *int64                                                   `json:"min_doc_count,omitempty"`
	Name                  *string                                                  `json:"name,omitempty"`
	Order                 *AggregateOrder                                          `json:"order,omitempty"`
	ShardMinDocCount      *int64                                                   `json:"shard_min_doc_count,omitempty"`
	ShardSize             *int                                                     `json:"shard_size,omitempty"`
	ShowTermDocCountError *bool                                                    `json:"show_term_doc_count_error,omitempty"`
	Size                  *int                                                     `json:"size,omitempty"`
	Terms                 []MultiTermLookup                                        `json:"terms"`
}

MultiTermsAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L262-L271

type MultiTermsAggregationBuilder ¶

type MultiTermsAggregationBuilder struct {
	// contains filtered or unexported fields
}

MultiTermsAggregationBuilder holds MultiTermsAggregation struct and provides a builder API.

func NewMultiTermsAggregationBuilder ¶

func NewMultiTermsAggregationBuilder() *MultiTermsAggregationBuilder

NewMultiTermsAggregation provides a builder for the MultiTermsAggregation struct.

func (*MultiTermsAggregationBuilder) Build ¶

Build finalize the chain and returns the MultiTermsAggregation struct

func (*MultiTermsAggregationBuilder) Meta ¶

func (*MultiTermsAggregationBuilder) MinDocCount ¶

func (rb *MultiTermsAggregationBuilder) MinDocCount(mindoccount int64) *MultiTermsAggregationBuilder

func (*MultiTermsAggregationBuilder) Name ¶

func (*MultiTermsAggregationBuilder) Order ¶

func (*MultiTermsAggregationBuilder) ShardMinDocCount ¶

func (rb *MultiTermsAggregationBuilder) ShardMinDocCount(shardmindoccount int64) *MultiTermsAggregationBuilder

func (*MultiTermsAggregationBuilder) ShardSize ¶

func (*MultiTermsAggregationBuilder) ShowTermDocCountError ¶

func (rb *MultiTermsAggregationBuilder) ShowTermDocCountError(showtermdoccounterror bool) *MultiTermsAggregationBuilder

func (*MultiTermsAggregationBuilder) Size ¶

func (*MultiTermsAggregationBuilder) Terms ¶

type MultiTermsBucket ¶

type MultiTermsBucket struct {
	Aggregations            map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount                int64                       `json:"doc_count"`
	DocCountErrorUpperBound *int64                      `json:"doc_count_error_upper_bound,omitempty"`
	Key                     []string                    `json:"key"`
	KeyAsString             *string                     `json:"key_as_string,omitempty"`
}

MultiTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L452-L456

type MultiTermsBucketBuilder ¶

type MultiTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

MultiTermsBucketBuilder holds MultiTermsBucket struct and provides a builder API.

func NewMultiTermsBucketBuilder ¶

func NewMultiTermsBucketBuilder() *MultiTermsBucketBuilder

NewMultiTermsBucket provides a builder for the MultiTermsBucket struct.

func (*MultiTermsBucketBuilder) Aggregations ¶

func (*MultiTermsBucketBuilder) Build ¶

Build finalize the chain and returns the MultiTermsBucket struct

func (*MultiTermsBucketBuilder) DocCount ¶

func (rb *MultiTermsBucketBuilder) DocCount(doccount int64) *MultiTermsBucketBuilder

func (*MultiTermsBucketBuilder) DocCountErrorUpperBound ¶

func (rb *MultiTermsBucketBuilder) DocCountErrorUpperBound(doccounterrorupperbound int64) *MultiTermsBucketBuilder

func (*MultiTermsBucketBuilder) Key ¶

func (*MultiTermsBucketBuilder) KeyAsString ¶

func (rb *MultiTermsBucketBuilder) KeyAsString(keyasstring string) *MultiTermsBucketBuilder

type MultiplexerTokenFilter ¶

type MultiplexerTokenFilter struct {
	Filters          []string       `json:"filters"`
	PreserveOriginal *bool          `json:"preserve_original,omitempty"`
	Type             string         `json:"type,omitempty"`
	Version          *VersionString `json:"version,omitempty"`
}

MultiplexerTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L259-L263

type MultiplexerTokenFilterBuilder ¶

type MultiplexerTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

MultiplexerTokenFilterBuilder holds MultiplexerTokenFilter struct and provides a builder API.

func NewMultiplexerTokenFilterBuilder ¶

func NewMultiplexerTokenFilterBuilder() *MultiplexerTokenFilterBuilder

NewMultiplexerTokenFilter provides a builder for the MultiplexerTokenFilter struct.

func (*MultiplexerTokenFilterBuilder) Build ¶

Build finalize the chain and returns the MultiplexerTokenFilter struct

func (*MultiplexerTokenFilterBuilder) Filters ¶

func (*MultiplexerTokenFilterBuilder) PreserveOriginal ¶

func (rb *MultiplexerTokenFilterBuilder) PreserveOriginal(preserveoriginal bool) *MultiplexerTokenFilterBuilder

func (*MultiplexerTokenFilterBuilder) Version ¶

type Murmur3HashProperty ¶

type Murmur3HashProperty struct {
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	DocValues     *bool                          `json:"doc_values,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

Murmur3HashProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/specialized.ts#L66-L68

type Murmur3HashPropertyBuilder ¶

type Murmur3HashPropertyBuilder struct {
	// contains filtered or unexported fields
}

Murmur3HashPropertyBuilder holds Murmur3HashProperty struct and provides a builder API.

func NewMurmur3HashPropertyBuilder ¶

func NewMurmur3HashPropertyBuilder() *Murmur3HashPropertyBuilder

NewMurmur3HashProperty provides a builder for the Murmur3HashProperty struct.

func (*Murmur3HashPropertyBuilder) Build ¶

Build finalize the chain and returns the Murmur3HashProperty struct

func (*Murmur3HashPropertyBuilder) CopyTo ¶

func (*Murmur3HashPropertyBuilder) DocValues ¶

func (*Murmur3HashPropertyBuilder) Dynamic ¶

func (*Murmur3HashPropertyBuilder) Fields ¶

func (*Murmur3HashPropertyBuilder) IgnoreAbove ¶

func (rb *Murmur3HashPropertyBuilder) IgnoreAbove(ignoreabove int) *Murmur3HashPropertyBuilder

func (*Murmur3HashPropertyBuilder) LocalMetadata ¶

func (rb *Murmur3HashPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *Murmur3HashPropertyBuilder

func (*Murmur3HashPropertyBuilder) Meta ¶

func (*Murmur3HashPropertyBuilder) Properties ¶

func (*Murmur3HashPropertyBuilder) Similarity ¶

func (rb *Murmur3HashPropertyBuilder) Similarity(similarity string) *Murmur3HashPropertyBuilder

func (*Murmur3HashPropertyBuilder) Store ¶

type MutualInformationHeuristic ¶

type MutualInformationHeuristic struct {
	BackgroundIsSuperset *bool `json:"background_is_superset,omitempty"`
	IncludeNegatives     *bool `json:"include_negatives,omitempty"`
}

MutualInformationHeuristic type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L327-L330

type MutualInformationHeuristicBuilder ¶

type MutualInformationHeuristicBuilder struct {
	// contains filtered or unexported fields
}

MutualInformationHeuristicBuilder holds MutualInformationHeuristic struct and provides a builder API.

func NewMutualInformationHeuristicBuilder ¶

func NewMutualInformationHeuristicBuilder() *MutualInformationHeuristicBuilder

NewMutualInformationHeuristic provides a builder for the MutualInformationHeuristic struct.

func (*MutualInformationHeuristicBuilder) BackgroundIsSuperset ¶

func (rb *MutualInformationHeuristicBuilder) BackgroundIsSuperset(backgroundissuperset bool) *MutualInformationHeuristicBuilder

func (*MutualInformationHeuristicBuilder) Build ¶

Build finalize the chain and returns the MutualInformationHeuristic struct

func (*MutualInformationHeuristicBuilder) IncludeNegatives ¶

func (rb *MutualInformationHeuristicBuilder) IncludeNegatives(includenegatives bool) *MutualInformationHeuristicBuilder

type NGramTokenFilter ¶

type NGramTokenFilter struct {
	MaxGram          *int           `json:"max_gram,omitempty"`
	MinGram          *int           `json:"min_gram,omitempty"`
	PreserveOriginal *bool          `json:"preserve_original,omitempty"`
	Type             string         `json:"type,omitempty"`
	Version          *VersionString `json:"version,omitempty"`
}

NGramTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L265-L270

type NGramTokenFilterBuilder ¶

type NGramTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

NGramTokenFilterBuilder holds NGramTokenFilter struct and provides a builder API.

func NewNGramTokenFilterBuilder ¶

func NewNGramTokenFilterBuilder() *NGramTokenFilterBuilder

NewNGramTokenFilter provides a builder for the NGramTokenFilter struct.

func (*NGramTokenFilterBuilder) Build ¶

Build finalize the chain and returns the NGramTokenFilter struct

func (*NGramTokenFilterBuilder) MaxGram ¶

func (rb *NGramTokenFilterBuilder) MaxGram(maxgram int) *NGramTokenFilterBuilder

func (*NGramTokenFilterBuilder) MinGram ¶

func (rb *NGramTokenFilterBuilder) MinGram(mingram int) *NGramTokenFilterBuilder

func (*NGramTokenFilterBuilder) PreserveOriginal ¶

func (rb *NGramTokenFilterBuilder) PreserveOriginal(preserveoriginal bool) *NGramTokenFilterBuilder

func (*NGramTokenFilterBuilder) Version ¶

type NGramTokenizer ¶

type NGramTokenizer struct {
	CustomTokenChars *string               `json:"custom_token_chars,omitempty"`
	MaxGram          int                   `json:"max_gram"`
	MinGram          int                   `json:"min_gram"`
	TokenChars       []tokenchar.TokenChar `json:"token_chars"`
	Type             string                `json:"type,omitempty"`
	Version          *VersionString        `json:"version,omitempty"`
}

NGramTokenizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L38-L44

type NGramTokenizerBuilder ¶

type NGramTokenizerBuilder struct {
	// contains filtered or unexported fields
}

NGramTokenizerBuilder holds NGramTokenizer struct and provides a builder API.

func NewNGramTokenizerBuilder ¶

func NewNGramTokenizerBuilder() *NGramTokenizerBuilder

NewNGramTokenizer provides a builder for the NGramTokenizer struct.

func (*NGramTokenizerBuilder) Build ¶

Build finalize the chain and returns the NGramTokenizer struct

func (*NGramTokenizerBuilder) CustomTokenChars ¶

func (rb *NGramTokenizerBuilder) CustomTokenChars(customtokenchars string) *NGramTokenizerBuilder

func (*NGramTokenizerBuilder) MaxGram ¶

func (rb *NGramTokenizerBuilder) MaxGram(maxgram int) *NGramTokenizerBuilder

func (*NGramTokenizerBuilder) MinGram ¶

func (rb *NGramTokenizerBuilder) MinGram(mingram int) *NGramTokenizerBuilder

func (*NGramTokenizerBuilder) TokenChars ¶

func (rb *NGramTokenizerBuilder) TokenChars(token_chars ...tokenchar.TokenChar) *NGramTokenizerBuilder

func (*NGramTokenizerBuilder) Version ¶

type NameBuilder ¶

type NameBuilder struct {
	// contains filtered or unexported fields
}

NameBuilder holds Name struct and provides a builder API.

func NewNameBuilder ¶

func NewNameBuilder() *NameBuilder

NewName provides a builder for the Name struct.

func (*NameBuilder) Build ¶

func (b *NameBuilder) Build() Name

Build finalize the chain and returns the Name struct

func (*NameBuilder) Name ¶

func (b *NameBuilder) Name(value Name) *NameBuilder

type NamesBuilder ¶

type NamesBuilder struct {
	// contains filtered or unexported fields
}

NamesBuilder holds Names struct and provides a builder API.

func NewNamesBuilder ¶

func NewNamesBuilder() *NamesBuilder

NewNames provides a builder for the Names struct.

func (*NamesBuilder) Build ¶

func (b *NamesBuilder) Build() Names

Build finalize the chain and returns the Names struct

func (*NamesBuilder) Names ¶

func (b *NamesBuilder) Names(value Names) *NamesBuilder

type NamespaceBuilder ¶

type NamespaceBuilder struct {
	// contains filtered or unexported fields
}

NamespaceBuilder holds Namespace struct and provides a builder API.

func NewNamespaceBuilder ¶

func NewNamespaceBuilder() *NamespaceBuilder

NewNamespace provides a builder for the Namespace struct.

func (*NamespaceBuilder) Build ¶

func (b *NamespaceBuilder) Build() Namespace

Build finalize the chain and returns the Namespace struct

func (*NamespaceBuilder) Namespace ¶

func (b *NamespaceBuilder) Namespace(value Namespace) *NamespaceBuilder

type NativeCodeBuilder ¶

type NativeCodeBuilder struct {
	// contains filtered or unexported fields
}

NativeCodeBuilder holds NativeCode struct and provides a builder API.

func NewNativeCodeBuilder ¶

func NewNativeCodeBuilder() *NativeCodeBuilder

NewNativeCode provides a builder for the NativeCode struct.

func (*NativeCodeBuilder) Build ¶

func (rb *NativeCodeBuilder) Build() NativeCode

Build finalize the chain and returns the NativeCode struct

func (*NativeCodeBuilder) BuildHash ¶

func (rb *NativeCodeBuilder) BuildHash(buildhash string) *NativeCodeBuilder

func (*NativeCodeBuilder) Version ¶

func (rb *NativeCodeBuilder) Version(version VersionString) *NativeCodeBuilder

type NativeCodeInformation ¶

type NativeCodeInformation struct {
	BuildHash string        `json:"build_hash"`
	Version   VersionString `json:"version"`
}

NativeCodeInformation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/info/types.ts#L29-L32

type NativeCodeInformationBuilder ¶

type NativeCodeInformationBuilder struct {
	// contains filtered or unexported fields
}

NativeCodeInformationBuilder holds NativeCodeInformation struct and provides a builder API.

func NewNativeCodeInformationBuilder ¶

func NewNativeCodeInformationBuilder() *NativeCodeInformationBuilder

NewNativeCodeInformation provides a builder for the NativeCodeInformation struct.

func (*NativeCodeInformationBuilder) Build ¶

Build finalize the chain and returns the NativeCodeInformation struct

func (*NativeCodeInformationBuilder) BuildHash ¶

func (*NativeCodeInformationBuilder) Version ¶

type NerInferenceOptions ¶

type NerInferenceOptions struct {
	// ClassificationLabels The token classification labels. Must be IOB formatted tags
	ClassificationLabels []string `json:"classification_labels,omitempty"`
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string `json:"results_field,omitempty"`
	// Tokenization The tokenization options
	Tokenization *TokenizationConfigContainer `json:"tokenization,omitempty"`
}

NerInferenceOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L225-L233

type NerInferenceOptionsBuilder ¶

type NerInferenceOptionsBuilder struct {
	// contains filtered or unexported fields
}

NerInferenceOptionsBuilder holds NerInferenceOptions struct and provides a builder API.

func NewNerInferenceOptionsBuilder ¶

func NewNerInferenceOptionsBuilder() *NerInferenceOptionsBuilder

NewNerInferenceOptions provides a builder for the NerInferenceOptions struct.

func (*NerInferenceOptionsBuilder) Build ¶

Build finalize the chain and returns the NerInferenceOptions struct

func (*NerInferenceOptionsBuilder) ClassificationLabels ¶

func (rb *NerInferenceOptionsBuilder) ClassificationLabels(classification_labels ...string) *NerInferenceOptionsBuilder

func (*NerInferenceOptionsBuilder) ResultsField ¶

func (rb *NerInferenceOptionsBuilder) ResultsField(resultsfield string) *NerInferenceOptionsBuilder

func (*NerInferenceOptionsBuilder) Tokenization ¶

type NerInferenceUpdateOptions ¶

type NerInferenceUpdateOptions struct {
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string `json:"results_field,omitempty"`
	// Tokenization The tokenization options to update when inferring
	Tokenization *NlpTokenizationUpdateOptions `json:"tokenization,omitempty"`
}

NerInferenceUpdateOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L357-L362

type NerInferenceUpdateOptionsBuilder ¶

type NerInferenceUpdateOptionsBuilder struct {
	// contains filtered or unexported fields
}

NerInferenceUpdateOptionsBuilder holds NerInferenceUpdateOptions struct and provides a builder API.

func NewNerInferenceUpdateOptionsBuilder ¶

func NewNerInferenceUpdateOptionsBuilder() *NerInferenceUpdateOptionsBuilder

NewNerInferenceUpdateOptions provides a builder for the NerInferenceUpdateOptions struct.

func (*NerInferenceUpdateOptionsBuilder) Build ¶

Build finalize the chain and returns the NerInferenceUpdateOptions struct

func (*NerInferenceUpdateOptionsBuilder) ResultsField ¶

func (*NerInferenceUpdateOptionsBuilder) Tokenization ¶

type NestedAggregate ¶

type NestedAggregate struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Meta         *Metadata                   `json:"meta,omitempty"`
}

NestedAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L473-L474

type NestedAggregateBuilder ¶

type NestedAggregateBuilder struct {
	// contains filtered or unexported fields
}

NestedAggregateBuilder holds NestedAggregate struct and provides a builder API.

func NewNestedAggregateBuilder ¶

func NewNestedAggregateBuilder() *NestedAggregateBuilder

NewNestedAggregate provides a builder for the NestedAggregate struct.

func (*NestedAggregateBuilder) Aggregations ¶

func (*NestedAggregateBuilder) Build ¶

Build finalize the chain and returns the NestedAggregate struct

func (*NestedAggregateBuilder) DocCount ¶

func (rb *NestedAggregateBuilder) DocCount(doccount int64) *NestedAggregateBuilder

func (*NestedAggregateBuilder) Meta ¶

type NestedAggregation ¶

type NestedAggregation struct {
	Meta *Metadata `json:"meta,omitempty"`
	Name *string   `json:"name,omitempty"`
	Path *Field    `json:"path,omitempty"`
}

NestedAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L277-L279

type NestedAggregationBuilder ¶

type NestedAggregationBuilder struct {
	// contains filtered or unexported fields
}

NestedAggregationBuilder holds NestedAggregation struct and provides a builder API.

func NewNestedAggregationBuilder ¶

func NewNestedAggregationBuilder() *NestedAggregationBuilder

NewNestedAggregation provides a builder for the NestedAggregation struct.

func (*NestedAggregationBuilder) Build ¶

Build finalize the chain and returns the NestedAggregation struct

func (*NestedAggregationBuilder) Meta ¶

func (*NestedAggregationBuilder) Name ¶

func (*NestedAggregationBuilder) Path ¶

type NestedIdentity ¶

type NestedIdentity struct {
	Field   Field           `json:"field"`
	Nested_ *NestedIdentity `json:"_nested,omitempty"`
	Offset  int             `json:"offset"`
}

NestedIdentity type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/hits.ts#L84-L88

type NestedIdentityBuilder ¶

type NestedIdentityBuilder struct {
	// contains filtered or unexported fields
}

NestedIdentityBuilder holds NestedIdentity struct and provides a builder API.

func NewNestedIdentityBuilder ¶

func NewNestedIdentityBuilder() *NestedIdentityBuilder

NewNestedIdentity provides a builder for the NestedIdentity struct.

func (*NestedIdentityBuilder) Build ¶

Build finalize the chain and returns the NestedIdentity struct

func (*NestedIdentityBuilder) Field ¶

func (*NestedIdentityBuilder) Nested_ ¶

func (*NestedIdentityBuilder) Offset ¶

func (rb *NestedIdentityBuilder) Offset(offset int) *NestedIdentityBuilder

type NestedProperty ¶

type NestedProperty struct {
	CopyTo          *Fields                        `json:"copy_to,omitempty"`
	Dynamic         *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Enabled         *bool                          `json:"enabled,omitempty"`
	Fields          map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove     *int                           `json:"ignore_above,omitempty"`
	IncludeInParent *bool                          `json:"include_in_parent,omitempty"`
	IncludeInRoot   *bool                          `json:"include_in_root,omitempty"`
	LocalMetadata   *Metadata                      `json:"local_metadata,omitempty"`
	Meta            map[string]string              `json:"meta,omitempty"`
	Properties      map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity      *string                        `json:"similarity,omitempty"`
	Store           *bool                          `json:"store,omitempty"`
	Type            string                         `json:"type,omitempty"`
}

NestedProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/complex.ts#L38-L43

type NestedPropertyBuilder ¶

type NestedPropertyBuilder struct {
	// contains filtered or unexported fields
}

NestedPropertyBuilder holds NestedProperty struct and provides a builder API.

func NewNestedPropertyBuilder ¶

func NewNestedPropertyBuilder() *NestedPropertyBuilder

NewNestedProperty provides a builder for the NestedProperty struct.

func (*NestedPropertyBuilder) Build ¶

Build finalize the chain and returns the NestedProperty struct

func (*NestedPropertyBuilder) CopyTo ¶

func (*NestedPropertyBuilder) Dynamic ¶

func (*NestedPropertyBuilder) Enabled ¶

func (rb *NestedPropertyBuilder) Enabled(enabled bool) *NestedPropertyBuilder

func (*NestedPropertyBuilder) Fields ¶

func (*NestedPropertyBuilder) IgnoreAbove ¶

func (rb *NestedPropertyBuilder) IgnoreAbove(ignoreabove int) *NestedPropertyBuilder

func (*NestedPropertyBuilder) IncludeInParent ¶

func (rb *NestedPropertyBuilder) IncludeInParent(includeinparent bool) *NestedPropertyBuilder

func (*NestedPropertyBuilder) IncludeInRoot ¶

func (rb *NestedPropertyBuilder) IncludeInRoot(includeinroot bool) *NestedPropertyBuilder

func (*NestedPropertyBuilder) LocalMetadata ¶

func (rb *NestedPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *NestedPropertyBuilder

func (*NestedPropertyBuilder) Meta ¶

func (*NestedPropertyBuilder) Properties ¶

func (*NestedPropertyBuilder) Similarity ¶

func (rb *NestedPropertyBuilder) Similarity(similarity string) *NestedPropertyBuilder

func (*NestedPropertyBuilder) Store ¶

type NestedQuery ¶

type NestedQuery struct {
	Boost          *float32                       `json:"boost,omitempty"`
	IgnoreUnmapped *bool                          `json:"ignore_unmapped,omitempty"`
	InnerHits      *InnerHits                     `json:"inner_hits,omitempty"`
	Path           Field                          `json:"path"`
	Query          *QueryContainer                `json:"query,omitempty"`
	QueryName_     *string                        `json:"_name,omitempty"`
	ScoreMode      *childscoremode.ChildScoreMode `json:"score_mode,omitempty"`
}

NestedQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/joining.ts#L63-L71

type NestedQueryBuilder ¶

type NestedQueryBuilder struct {
	// contains filtered or unexported fields
}

NestedQueryBuilder holds NestedQuery struct and provides a builder API.

func NewNestedQueryBuilder ¶

func NewNestedQueryBuilder() *NestedQueryBuilder

NewNestedQuery provides a builder for the NestedQuery struct.

func (*NestedQueryBuilder) Boost ¶

func (rb *NestedQueryBuilder) Boost(boost float32) *NestedQueryBuilder

func (*NestedQueryBuilder) Build ¶

func (rb *NestedQueryBuilder) Build() NestedQuery

Build finalize the chain and returns the NestedQuery struct

func (*NestedQueryBuilder) IgnoreUnmapped ¶

func (rb *NestedQueryBuilder) IgnoreUnmapped(ignoreunmapped bool) *NestedQueryBuilder

func (*NestedQueryBuilder) InnerHits ¶

func (rb *NestedQueryBuilder) InnerHits(innerhits *InnerHitsBuilder) *NestedQueryBuilder

func (*NestedQueryBuilder) Path ¶

func (*NestedQueryBuilder) Query ¶

func (*NestedQueryBuilder) QueryName_ ¶

func (rb *NestedQueryBuilder) QueryName_(queryname_ string) *NestedQueryBuilder

func (*NestedQueryBuilder) ScoreMode ¶

type NestedSortValue ¶

type NestedSortValue struct {
	Filter      *QueryContainer  `json:"filter,omitempty"`
	MaxChildren *int             `json:"max_children,omitempty"`
	Nested      *NestedSortValue `json:"nested,omitempty"`
	Path        Field            `json:"path"`
}

NestedSortValue type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/sort.ts#L29-L34

type NestedSortValueBuilder ¶

type NestedSortValueBuilder struct {
	// contains filtered or unexported fields
}

NestedSortValueBuilder holds NestedSortValue struct and provides a builder API.

func NewNestedSortValueBuilder ¶

func NewNestedSortValueBuilder() *NestedSortValueBuilder

NewNestedSortValue provides a builder for the NestedSortValue struct.

func (*NestedSortValueBuilder) Build ¶

Build finalize the chain and returns the NestedSortValue struct

func (*NestedSortValueBuilder) Filter ¶

func (*NestedSortValueBuilder) MaxChildren ¶

func (rb *NestedSortValueBuilder) MaxChildren(maxchildren int) *NestedSortValueBuilder

func (*NestedSortValueBuilder) Nested ¶

func (*NestedSortValueBuilder) Path ¶

type NeverConditionBuilder ¶

type NeverConditionBuilder struct {
	// contains filtered or unexported fields
}

NeverConditionBuilder holds NeverCondition struct and provides a builder API.

func NewNeverConditionBuilder ¶

func NewNeverConditionBuilder() *NeverConditionBuilder

NewNeverCondition provides a builder for the NeverCondition struct.

func (*NeverConditionBuilder) Build ¶

Build finalize the chain and returns the NeverCondition struct

type NlpBertTokenizationConfig ¶

type NlpBertTokenizationConfig struct {
	// DoLowerCase Should the tokenizer lower case the text
	DoLowerCase *bool `json:"do_lower_case,omitempty"`
	// MaxSequenceLength Maximum input sequence length for the model
	MaxSequenceLength *int `json:"max_sequence_length,omitempty"`
	// Span Tokenization spanning options. Special value of -1 indicates no spanning
	// takes place
	Span *int `json:"span,omitempty"`
	// Truncate Should tokenization input be automatically truncated before sending to the
	// model for inference
	Truncate *tokenizationtruncate.TokenizationTruncate `json:"truncate,omitempty"`
	// WithSpecialTokens Is tokenization completed with special tokens
	WithSpecialTokens *bool `json:"with_special_tokens,omitempty"`
}

NlpBertTokenizationConfig type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L116-L143

type NlpBertTokenizationConfigBuilder ¶

type NlpBertTokenizationConfigBuilder struct {
	// contains filtered or unexported fields
}

NlpBertTokenizationConfigBuilder holds NlpBertTokenizationConfig struct and provides a builder API.

func NewNlpBertTokenizationConfigBuilder ¶

func NewNlpBertTokenizationConfigBuilder() *NlpBertTokenizationConfigBuilder

NewNlpBertTokenizationConfig provides a builder for the NlpBertTokenizationConfig struct.

func (*NlpBertTokenizationConfigBuilder) Build ¶

Build finalize the chain and returns the NlpBertTokenizationConfig struct

func (*NlpBertTokenizationConfigBuilder) DoLowerCase ¶

func (*NlpBertTokenizationConfigBuilder) MaxSequenceLength ¶

func (rb *NlpBertTokenizationConfigBuilder) MaxSequenceLength(maxsequencelength int) *NlpBertTokenizationConfigBuilder

func (*NlpBertTokenizationConfigBuilder) Span ¶

func (*NlpBertTokenizationConfigBuilder) Truncate ¶

func (*NlpBertTokenizationConfigBuilder) WithSpecialTokens ¶

func (rb *NlpBertTokenizationConfigBuilder) WithSpecialTokens(withspecialtokens bool) *NlpBertTokenizationConfigBuilder

type NlpRobertaTokenizationConfig ¶

type NlpRobertaTokenizationConfig struct {
	// AddPrefixSpace Should the tokenizer prefix input with a space character
	AddPrefixSpace *bool `json:"add_prefix_space,omitempty"`
	// MaxSequenceLength Maximum input sequence length for the model
	MaxSequenceLength *int `json:"max_sequence_length,omitempty"`
	// Span Tokenization spanning options. Special value of -1 indicates no spanning
	// takes place
	Span *int `json:"span,omitempty"`
	// Truncate Should tokenization input be automatically truncated before sending to the
	// model for inference
	Truncate *tokenizationtruncate.TokenizationTruncate `json:"truncate,omitempty"`
	// WithSpecialTokens Is tokenization completed with special tokens
	WithSpecialTokens *bool `json:"with_special_tokens,omitempty"`
}

NlpRobertaTokenizationConfig type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L145-L172

type NlpRobertaTokenizationConfigBuilder ¶

type NlpRobertaTokenizationConfigBuilder struct {
	// contains filtered or unexported fields
}

NlpRobertaTokenizationConfigBuilder holds NlpRobertaTokenizationConfig struct and provides a builder API.

func NewNlpRobertaTokenizationConfigBuilder ¶

func NewNlpRobertaTokenizationConfigBuilder() *NlpRobertaTokenizationConfigBuilder

NewNlpRobertaTokenizationConfig provides a builder for the NlpRobertaTokenizationConfig struct.

func (*NlpRobertaTokenizationConfigBuilder) AddPrefixSpace ¶

func (*NlpRobertaTokenizationConfigBuilder) Build ¶

Build finalize the chain and returns the NlpRobertaTokenizationConfig struct

func (*NlpRobertaTokenizationConfigBuilder) MaxSequenceLength ¶

func (rb *NlpRobertaTokenizationConfigBuilder) MaxSequenceLength(maxsequencelength int) *NlpRobertaTokenizationConfigBuilder

func (*NlpRobertaTokenizationConfigBuilder) Span ¶

func (*NlpRobertaTokenizationConfigBuilder) Truncate ¶

func (*NlpRobertaTokenizationConfigBuilder) WithSpecialTokens ¶

func (rb *NlpRobertaTokenizationConfigBuilder) WithSpecialTokens(withspecialtokens bool) *NlpRobertaTokenizationConfigBuilder

type NlpTokenizationUpdateOptions ¶

type NlpTokenizationUpdateOptions struct {
	// Span Span options to apply
	Span *int `json:"span,omitempty"`
	// Truncate Truncate options to apply
	Truncate *tokenizationtruncate.TokenizationTruncate `json:"truncate,omitempty"`
}

NlpTokenizationUpdateOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L315-L320

type NlpTokenizationUpdateOptionsBuilder ¶

type NlpTokenizationUpdateOptionsBuilder struct {
	// contains filtered or unexported fields
}

NlpTokenizationUpdateOptionsBuilder holds NlpTokenizationUpdateOptions struct and provides a builder API.

func NewNlpTokenizationUpdateOptionsBuilder ¶

func NewNlpTokenizationUpdateOptionsBuilder() *NlpTokenizationUpdateOptionsBuilder

NewNlpTokenizationUpdateOptions provides a builder for the NlpTokenizationUpdateOptions struct.

func (*NlpTokenizationUpdateOptionsBuilder) Build ¶

Build finalize the chain and returns the NlpTokenizationUpdateOptions struct

func (*NlpTokenizationUpdateOptionsBuilder) Span ¶

func (*NlpTokenizationUpdateOptionsBuilder) Truncate ¶

type NodeAllocationExplanation ¶

type NodeAllocationExplanation struct {
	Deciders         []AllocationDecision `json:"deciders"`
	NodeAttributes   map[string]string    `json:"node_attributes"`
	NodeDecision     decision.Decision    `json:"node_decision"`
	NodeId           Id                   `json:"node_id"`
	NodeName         Name                 `json:"node_name"`
	Store            *AllocationStore     `json:"store,omitempty"`
	TransportAddress TransportAddress     `json:"transport_address"`
	WeightRanking    int                  `json:"weight_ranking"`
}

NodeAllocationExplanation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/allocation_explain/types.ts#L97-L106

type NodeAllocationExplanationBuilder ¶

type NodeAllocationExplanationBuilder struct {
	// contains filtered or unexported fields
}

NodeAllocationExplanationBuilder holds NodeAllocationExplanation struct and provides a builder API.

func NewNodeAllocationExplanationBuilder ¶

func NewNodeAllocationExplanationBuilder() *NodeAllocationExplanationBuilder

NewNodeAllocationExplanation provides a builder for the NodeAllocationExplanation struct.

func (*NodeAllocationExplanationBuilder) Build ¶

Build finalize the chain and returns the NodeAllocationExplanation struct

func (*NodeAllocationExplanationBuilder) Deciders ¶

func (*NodeAllocationExplanationBuilder) NodeAttributes ¶

func (*NodeAllocationExplanationBuilder) NodeDecision ¶

func (*NodeAllocationExplanationBuilder) NodeId ¶

func (*NodeAllocationExplanationBuilder) NodeName ¶

func (*NodeAllocationExplanationBuilder) Store ¶

func (*NodeAllocationExplanationBuilder) TransportAddress ¶

func (*NodeAllocationExplanationBuilder) WeightRanking ¶

func (rb *NodeAllocationExplanationBuilder) WeightRanking(weightranking int) *NodeAllocationExplanationBuilder

type NodeAttributes ¶

type NodeAttributes struct {
	// Attributes Lists node attributes.
	Attributes map[string]string `json:"attributes"`
	// EphemeralId The ephemeral ID of the node.
	EphemeralId Id `json:"ephemeral_id"`
	// Id The unique identifier of the node.
	Id *Id `json:"id,omitempty"`
	// Name The unique identifier of the node.
	Name  NodeName   `json:"name"`
	Roles *NodeRoles `json:"roles,omitempty"`
	// TransportAddress The host and port where transport HTTP connections are accepted.
	TransportAddress TransportAddress `json:"transport_address"`
}

NodeAttributes type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Node.ts#L41-L53

type NodeAttributesBuilder ¶

type NodeAttributesBuilder struct {
	// contains filtered or unexported fields
}

NodeAttributesBuilder holds NodeAttributes struct and provides a builder API.

func NewNodeAttributesBuilder ¶

func NewNodeAttributesBuilder() *NodeAttributesBuilder

NewNodeAttributes provides a builder for the NodeAttributes struct.

func (*NodeAttributesBuilder) Attributes ¶

func (rb *NodeAttributesBuilder) Attributes(value map[string]string) *NodeAttributesBuilder

func (*NodeAttributesBuilder) Build ¶

Build finalize the chain and returns the NodeAttributes struct

func (*NodeAttributesBuilder) EphemeralId ¶

func (rb *NodeAttributesBuilder) EphemeralId(ephemeralid Id) *NodeAttributesBuilder

func (*NodeAttributesBuilder) Id ¶

func (*NodeAttributesBuilder) Name ¶

func (*NodeAttributesBuilder) Roles ¶

func (*NodeAttributesBuilder) TransportAddress ¶

func (rb *NodeAttributesBuilder) TransportAddress(transportaddress TransportAddress) *NodeAttributesBuilder

type NodeAttributesRecord ¶

type NodeAttributesRecord struct {
	// Attr attribute description
	Attr *string `json:"attr,omitempty"`
	// Host host name
	Host *string `json:"host,omitempty"`
	// Id unique node id
	Id *string `json:"id,omitempty"`
	// Ip ip address
	Ip *string `json:"ip,omitempty"`
	// Node node name
	Node *string `json:"node,omitempty"`
	// Pid process id
	Pid *string `json:"pid,omitempty"`
	// Port bound transport port
	Port *string `json:"port,omitempty"`
	// Value attribute value
	Value *string `json:"value,omitempty"`
}

NodeAttributesRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/nodeattrs/types.ts#L20-L55

type NodeAttributesRecordBuilder ¶

type NodeAttributesRecordBuilder struct {
	// contains filtered or unexported fields
}

NodeAttributesRecordBuilder holds NodeAttributesRecord struct and provides a builder API.

func NewNodeAttributesRecordBuilder ¶

func NewNodeAttributesRecordBuilder() *NodeAttributesRecordBuilder

NewNodeAttributesRecord provides a builder for the NodeAttributesRecord struct.

func (*NodeAttributesRecordBuilder) Attr ¶

func (*NodeAttributesRecordBuilder) Build ¶

Build finalize the chain and returns the NodeAttributesRecord struct

func (*NodeAttributesRecordBuilder) Host ¶

func (*NodeAttributesRecordBuilder) Id ¶

func (*NodeAttributesRecordBuilder) Ip ¶

func (*NodeAttributesRecordBuilder) Node ¶

func (*NodeAttributesRecordBuilder) Pid ¶

func (*NodeAttributesRecordBuilder) Port ¶

func (*NodeAttributesRecordBuilder) Value ¶

type NodeBufferPool ¶

type NodeBufferPool struct {
	Count                *int64  `json:"count,omitempty"`
	TotalCapacity        *string `json:"total_capacity,omitempty"`
	TotalCapacityInBytes *int64  `json:"total_capacity_in_bytes,omitempty"`
	Used                 *string `json:"used,omitempty"`
	UsedInBytes          *int64  `json:"used_in_bytes,omitempty"`
}

NodeBufferPool type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L310-L316

type NodeBufferPoolBuilder ¶

type NodeBufferPoolBuilder struct {
	// contains filtered or unexported fields
}

NodeBufferPoolBuilder holds NodeBufferPool struct and provides a builder API.

func NewNodeBufferPoolBuilder ¶

func NewNodeBufferPoolBuilder() *NodeBufferPoolBuilder

NewNodeBufferPool provides a builder for the NodeBufferPool struct.

func (*NodeBufferPoolBuilder) Build ¶

Build finalize the chain and returns the NodeBufferPool struct

func (*NodeBufferPoolBuilder) Count ¶

func (*NodeBufferPoolBuilder) TotalCapacity ¶

func (rb *NodeBufferPoolBuilder) TotalCapacity(totalcapacity string) *NodeBufferPoolBuilder

func (*NodeBufferPoolBuilder) TotalCapacityInBytes ¶

func (rb *NodeBufferPoolBuilder) TotalCapacityInBytes(totalcapacityinbytes int64) *NodeBufferPoolBuilder

func (*NodeBufferPoolBuilder) Used ¶

func (*NodeBufferPoolBuilder) UsedInBytes ¶

func (rb *NodeBufferPoolBuilder) UsedInBytes(usedinbytes int64) *NodeBufferPoolBuilder

type NodeBuilder ¶

type NodeBuilder struct {
	// contains filtered or unexported fields
}

NodeBuilder holds Node struct and provides a builder API.

func NewNodeBuilder ¶

func NewNodeBuilder() *NodeBuilder

NewNode provides a builder for the Node struct.

func (*NodeBuilder) Build ¶

func (rb *NodeBuilder) Build() Node

Build finalize the chain and returns the Node struct

func (*NodeBuilder) SharedCache ¶

func (rb *NodeBuilder) SharedCache(sharedcache *SharedBuilder) *NodeBuilder

type NodeDiskUsage ¶

type NodeDiskUsage struct {
	LeastAvailable DiskUsage `json:"least_available"`
	MostAvailable  DiskUsage `json:"most_available"`
	NodeName       Name      `json:"node_name"`
}

NodeDiskUsage type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/allocation_explain/types.ts#L56-L60

type NodeDiskUsageBuilder ¶

type NodeDiskUsageBuilder struct {
	// contains filtered or unexported fields
}

NodeDiskUsageBuilder holds NodeDiskUsage struct and provides a builder API.

func NewNodeDiskUsageBuilder ¶

func NewNodeDiskUsageBuilder() *NodeDiskUsageBuilder

NewNodeDiskUsage provides a builder for the NodeDiskUsage struct.

func (*NodeDiskUsageBuilder) Build ¶

func (rb *NodeDiskUsageBuilder) Build() NodeDiskUsage

Build finalize the chain and returns the NodeDiskUsage struct

func (*NodeDiskUsageBuilder) LeastAvailable ¶

func (rb *NodeDiskUsageBuilder) LeastAvailable(leastavailable *DiskUsageBuilder) *NodeDiskUsageBuilder

func (*NodeDiskUsageBuilder) MostAvailable ¶

func (rb *NodeDiskUsageBuilder) MostAvailable(mostavailable *DiskUsageBuilder) *NodeDiskUsageBuilder

func (*NodeDiskUsageBuilder) NodeName ¶

func (rb *NodeDiskUsageBuilder) NodeName(nodename Name) *NodeDiskUsageBuilder

type NodeIdBuilder ¶

type NodeIdBuilder struct {
	// contains filtered or unexported fields
}

NodeIdBuilder holds NodeId struct and provides a builder API.

func NewNodeIdBuilder ¶

func NewNodeIdBuilder() *NodeIdBuilder

NewNodeId provides a builder for the NodeId struct.

func (*NodeIdBuilder) Build ¶

func (b *NodeIdBuilder) Build() NodeId

Build finalize the chain and returns the NodeId struct

func (*NodeIdBuilder) NodeId ¶

func (b *NodeIdBuilder) NodeId(value NodeId) *NodeIdBuilder

type NodeIdsBuilder ¶

type NodeIdsBuilder struct {
	// contains filtered or unexported fields
}

NodeIdsBuilder holds NodeIds struct and provides a builder API.

func NewNodeIdsBuilder ¶

func NewNodeIdsBuilder() *NodeIdsBuilder

NewNodeIds provides a builder for the NodeIds struct.

func (*NodeIdsBuilder) Build ¶

func (b *NodeIdsBuilder) Build() NodeIds

Build finalize the chain and returns the NodeIds struct

func (*NodeIdsBuilder) NodeIds ¶

func (b *NodeIdsBuilder) NodeIds(value NodeIds) *NodeIdsBuilder

type NodeInfo ¶

type NodeInfo struct {
	Aggregations map[string]NodeInfoAggregation `json:"aggregations,omitempty"`
	Attributes   map[string]string              `json:"attributes"`
	BuildFlavor  string                         `json:"build_flavor"`
	// BuildHash Short hash of the last git commit in this release.
	BuildHash string `json:"build_hash"`
	BuildType string `json:"build_type"`
	// Host The node’s host name.
	Host   Host            `json:"host"`
	Http   *NodeInfoHttp   `json:"http,omitempty"`
	Ingest *NodeInfoIngest `json:"ingest,omitempty"`
	// Ip The node’s IP address.
	Ip      Ip            `json:"ip"`
	Jvm     *NodeJvmInfo  `json:"jvm,omitempty"`
	Modules []PluginStats `json:"modules,omitempty"`
	// Name The node's name
	Name       Name                          `json:"name"`
	Network    *NodeInfoNetwork              `json:"network,omitempty"`
	Os         *NodeOperatingSystemInfo      `json:"os,omitempty"`
	Plugins    []PluginStats                 `json:"plugins,omitempty"`
	Process    *NodeProcessInfo              `json:"process,omitempty"`
	Roles      NodeRoles                     `json:"roles"`
	Settings   *NodeInfoSettings             `json:"settings,omitempty"`
	ThreadPool map[string]NodeThreadPoolInfo `json:"thread_pool,omitempty"`
	// TotalIndexingBuffer Total heap allowed to be used to hold recently indexed documents before they
	// must be written to disk. This size is a shared pool across all shards on this
	// node, and is controlled by Indexing Buffer settings.
	TotalIndexingBuffer *int64 `json:"total_indexing_buffer,omitempty"`
	// TotalIndexingBufferInBytes Same as total_indexing_buffer, but expressed in bytes.
	TotalIndexingBufferInBytes *ByteSize          `json:"total_indexing_buffer_in_bytes,omitempty"`
	Transport                  *NodeInfoTransport `json:"transport,omitempty"`
	// TransportAddress Host and port where transport HTTP connections are accepted.
	TransportAddress TransportAddress `json:"transport_address"`
	// Version Elasticsearch version running on this node.
	Version VersionString `json:"version"`
}

NodeInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L30-L66

type NodeInfoAction ¶

type NodeInfoAction struct {
	DestructiveRequiresName string `json:"destructive_requires_name"`
}

NodeInfoAction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L173-L175

type NodeInfoActionBuilder ¶

type NodeInfoActionBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoActionBuilder holds NodeInfoAction struct and provides a builder API.

func NewNodeInfoActionBuilder ¶

func NewNodeInfoActionBuilder() *NodeInfoActionBuilder

NewNodeInfoAction provides a builder for the NodeInfoAction struct.

func (*NodeInfoActionBuilder) Build ¶

Build finalize the chain and returns the NodeInfoAction struct

func (*NodeInfoActionBuilder) DestructiveRequiresName ¶

func (rb *NodeInfoActionBuilder) DestructiveRequiresName(destructiverequiresname string) *NodeInfoActionBuilder

type NodeInfoAggregationBuilder ¶

type NodeInfoAggregationBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoAggregationBuilder holds NodeInfoAggregation struct and provides a builder API.

func NewNodeInfoAggregationBuilder ¶

func NewNodeInfoAggregationBuilder() *NodeInfoAggregationBuilder

NewNodeInfoAggregation provides a builder for the NodeInfoAggregation struct.

func (*NodeInfoAggregationBuilder) Build ¶

Build finalize the chain and returns the NodeInfoAggregation struct

func (*NodeInfoAggregationBuilder) Types ¶

type NodeInfoBootstrapBuilder ¶

type NodeInfoBootstrapBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoBootstrapBuilder holds NodeInfoBootstrap struct and provides a builder API.

func NewNodeInfoBootstrapBuilder ¶

func NewNodeInfoBootstrapBuilder() *NodeInfoBootstrapBuilder

NewNodeInfoBootstrap provides a builder for the NodeInfoBootstrap struct.

func (*NodeInfoBootstrapBuilder) Build ¶

Build finalize the chain and returns the NodeInfoBootstrap struct

func (*NodeInfoBootstrapBuilder) MemoryLock ¶

func (rb *NodeInfoBootstrapBuilder) MemoryLock(memorylock string) *NodeInfoBootstrapBuilder

type NodeInfoBuilder ¶

type NodeInfoBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoBuilder holds NodeInfo struct and provides a builder API.

func NewNodeInfoBuilder ¶

func NewNodeInfoBuilder() *NodeInfoBuilder

NewNodeInfo provides a builder for the NodeInfo struct.

func (*NodeInfoBuilder) Aggregations ¶

func (rb *NodeInfoBuilder) Aggregations(values map[string]*NodeInfoAggregationBuilder) *NodeInfoBuilder

func (*NodeInfoBuilder) Attributes ¶

func (rb *NodeInfoBuilder) Attributes(value map[string]string) *NodeInfoBuilder

func (*NodeInfoBuilder) Build ¶

func (rb *NodeInfoBuilder) Build() NodeInfo

Build finalize the chain and returns the NodeInfo struct

func (*NodeInfoBuilder) BuildFlavor ¶

func (rb *NodeInfoBuilder) BuildFlavor(buildflavor string) *NodeInfoBuilder

func (*NodeInfoBuilder) BuildHash ¶

func (rb *NodeInfoBuilder) BuildHash(buildhash string) *NodeInfoBuilder

func (*NodeInfoBuilder) BuildType ¶

func (rb *NodeInfoBuilder) BuildType(buildtype string) *NodeInfoBuilder

func (*NodeInfoBuilder) Host ¶

func (rb *NodeInfoBuilder) Host(host Host) *NodeInfoBuilder

func (*NodeInfoBuilder) Http ¶

func (*NodeInfoBuilder) Ingest ¶

func (*NodeInfoBuilder) Ip ¶

func (rb *NodeInfoBuilder) Ip(ip Ip) *NodeInfoBuilder

func (*NodeInfoBuilder) Jvm ¶

func (*NodeInfoBuilder) Modules ¶

func (rb *NodeInfoBuilder) Modules(modules []PluginStatsBuilder) *NodeInfoBuilder

func (*NodeInfoBuilder) Name ¶

func (rb *NodeInfoBuilder) Name(name Name) *NodeInfoBuilder

func (*NodeInfoBuilder) Network ¶

func (*NodeInfoBuilder) Os ¶

func (*NodeInfoBuilder) Plugins ¶

func (rb *NodeInfoBuilder) Plugins(plugins []PluginStatsBuilder) *NodeInfoBuilder

func (*NodeInfoBuilder) Process ¶

func (*NodeInfoBuilder) Roles ¶

func (*NodeInfoBuilder) Settings ¶

func (rb *NodeInfoBuilder) Settings(settings *NodeInfoSettingsBuilder) *NodeInfoBuilder

func (*NodeInfoBuilder) ThreadPool ¶

func (rb *NodeInfoBuilder) ThreadPool(values map[string]*NodeThreadPoolInfoBuilder) *NodeInfoBuilder

func (*NodeInfoBuilder) TotalIndexingBuffer ¶

func (rb *NodeInfoBuilder) TotalIndexingBuffer(totalindexingbuffer int64) *NodeInfoBuilder

func (*NodeInfoBuilder) TotalIndexingBufferInBytes ¶

func (rb *NodeInfoBuilder) TotalIndexingBufferInBytes(totalindexingbufferinbytes *ByteSizeBuilder) *NodeInfoBuilder

func (*NodeInfoBuilder) Transport ¶

func (rb *NodeInfoBuilder) Transport(transport *NodeInfoTransportBuilder) *NodeInfoBuilder

func (*NodeInfoBuilder) TransportAddress ¶

func (rb *NodeInfoBuilder) TransportAddress(transportaddress TransportAddress) *NodeInfoBuilder

func (*NodeInfoBuilder) Version ¶

func (rb *NodeInfoBuilder) Version(version VersionString) *NodeInfoBuilder

type NodeInfoClientBuilder ¶

type NodeInfoClientBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoClientBuilder holds NodeInfoClient struct and provides a builder API.

func NewNodeInfoClientBuilder ¶

func NewNodeInfoClientBuilder() *NodeInfoClientBuilder

NewNodeInfoClient provides a builder for the NodeInfoClient struct.

func (*NodeInfoClientBuilder) Build ¶

Build finalize the chain and returns the NodeInfoClient struct

func (*NodeInfoClientBuilder) Type_ ¶

type NodeInfoDiscoverBuilder ¶

type NodeInfoDiscoverBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoDiscoverBuilder holds NodeInfoDiscover struct and provides a builder API.

func NewNodeInfoDiscoverBuilder ¶

func NewNodeInfoDiscoverBuilder() *NodeInfoDiscoverBuilder

NewNodeInfoDiscover provides a builder for the NodeInfoDiscover struct.

func (*NodeInfoDiscoverBuilder) Build ¶

Build finalize the chain and returns the NodeInfoDiscover struct

func (*NodeInfoDiscoverBuilder) SeedHosts ¶

func (rb *NodeInfoDiscoverBuilder) SeedHosts(seedhosts string) *NodeInfoDiscoverBuilder

type NodeInfoHttp ¶

type NodeInfoHttp struct {
	BoundAddress            []string  `json:"bound_address"`
	MaxContentLength        *ByteSize `json:"max_content_length,omitempty"`
	MaxContentLengthInBytes int64     `json:"max_content_length_in_bytes"`
	PublishAddress          string    `json:"publish_address"`
}

NodeInfoHttp type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L295-L300

type NodeInfoHttpBuilder ¶

type NodeInfoHttpBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoHttpBuilder holds NodeInfoHttp struct and provides a builder API.

func NewNodeInfoHttpBuilder ¶

func NewNodeInfoHttpBuilder() *NodeInfoHttpBuilder

NewNodeInfoHttp provides a builder for the NodeInfoHttp struct.

func (*NodeInfoHttpBuilder) BoundAddress ¶

func (rb *NodeInfoHttpBuilder) BoundAddress(bound_address ...string) *NodeInfoHttpBuilder

func (*NodeInfoHttpBuilder) Build ¶

func (rb *NodeInfoHttpBuilder) Build() NodeInfoHttp

Build finalize the chain and returns the NodeInfoHttp struct

func (*NodeInfoHttpBuilder) MaxContentLength ¶

func (rb *NodeInfoHttpBuilder) MaxContentLength(maxcontentlength *ByteSizeBuilder) *NodeInfoHttpBuilder

func (*NodeInfoHttpBuilder) MaxContentLengthInBytes ¶

func (rb *NodeInfoHttpBuilder) MaxContentLengthInBytes(maxcontentlengthinbytes int64) *NodeInfoHttpBuilder

func (*NodeInfoHttpBuilder) PublishAddress ¶

func (rb *NodeInfoHttpBuilder) PublishAddress(publishaddress string) *NodeInfoHttpBuilder

type NodeInfoIngestBuilder ¶

type NodeInfoIngestBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoIngestBuilder holds NodeInfoIngest struct and provides a builder API.

func NewNodeInfoIngestBuilder ¶

func NewNodeInfoIngestBuilder() *NodeInfoIngestBuilder

NewNodeInfoIngest provides a builder for the NodeInfoIngest struct.

func (*NodeInfoIngestBuilder) Build ¶

Build finalize the chain and returns the NodeInfoIngest struct

func (*NodeInfoIngestBuilder) Processors ¶

type NodeInfoIngestDownloaderBuilder ¶

type NodeInfoIngestDownloaderBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoIngestDownloaderBuilder holds NodeInfoIngestDownloader struct and provides a builder API.

func NewNodeInfoIngestDownloaderBuilder ¶

func NewNodeInfoIngestDownloaderBuilder() *NodeInfoIngestDownloaderBuilder

NewNodeInfoIngestDownloader provides a builder for the NodeInfoIngestDownloader struct.

func (*NodeInfoIngestDownloaderBuilder) Build ¶

Build finalize the chain and returns the NodeInfoIngestDownloader struct

func (*NodeInfoIngestDownloaderBuilder) Enabled ¶

type NodeInfoIngestInfoBuilder ¶

type NodeInfoIngestInfoBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoIngestInfoBuilder holds NodeInfoIngestInfo struct and provides a builder API.

func NewNodeInfoIngestInfoBuilder ¶

func NewNodeInfoIngestInfoBuilder() *NodeInfoIngestInfoBuilder

NewNodeInfoIngestInfo provides a builder for the NodeInfoIngestInfo struct.

func (*NodeInfoIngestInfoBuilder) Build ¶

Build finalize the chain and returns the NodeInfoIngestInfo struct

func (*NodeInfoIngestInfoBuilder) Downloader ¶

type NodeInfoIngestProcessorBuilder ¶

type NodeInfoIngestProcessorBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoIngestProcessorBuilder holds NodeInfoIngestProcessor struct and provides a builder API.

func NewNodeInfoIngestProcessorBuilder ¶

func NewNodeInfoIngestProcessorBuilder() *NodeInfoIngestProcessorBuilder

NewNodeInfoIngestProcessor provides a builder for the NodeInfoIngestProcessor struct.

func (*NodeInfoIngestProcessorBuilder) Build ¶

Build finalize the chain and returns the NodeInfoIngestProcessor struct

func (*NodeInfoIngestProcessorBuilder) Type_ ¶

type NodeInfoJvmMemory ¶

type NodeInfoJvmMemory struct {
	DirectMax          *ByteSize `json:"direct_max,omitempty"`
	DirectMaxInBytes   int64     `json:"direct_max_in_bytes"`
	HeapInit           *ByteSize `json:"heap_init,omitempty"`
	HeapInitInBytes    int64     `json:"heap_init_in_bytes"`
	HeapMax            *ByteSize `json:"heap_max,omitempty"`
	HeapMaxInBytes     int64     `json:"heap_max_in_bytes"`
	NonHeapInit        *ByteSize `json:"non_heap_init,omitempty"`
	NonHeapInitInBytes int64     `json:"non_heap_init_in_bytes"`
	NonHeapMax         *ByteSize `json:"non_heap_max,omitempty"`
	NonHeapMaxInBytes  int64     `json:"non_heap_max_in_bytes"`
}

NodeInfoJvmMemory type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L302-L313

type NodeInfoJvmMemoryBuilder ¶

type NodeInfoJvmMemoryBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoJvmMemoryBuilder holds NodeInfoJvmMemory struct and provides a builder API.

func NewNodeInfoJvmMemoryBuilder ¶

func NewNodeInfoJvmMemoryBuilder() *NodeInfoJvmMemoryBuilder

NewNodeInfoJvmMemory provides a builder for the NodeInfoJvmMemory struct.

func (*NodeInfoJvmMemoryBuilder) Build ¶

Build finalize the chain and returns the NodeInfoJvmMemory struct

func (*NodeInfoJvmMemoryBuilder) DirectMax ¶

func (*NodeInfoJvmMemoryBuilder) DirectMaxInBytes ¶

func (rb *NodeInfoJvmMemoryBuilder) DirectMaxInBytes(directmaxinbytes int64) *NodeInfoJvmMemoryBuilder

func (*NodeInfoJvmMemoryBuilder) HeapInit ¶

func (*NodeInfoJvmMemoryBuilder) HeapInitInBytes ¶

func (rb *NodeInfoJvmMemoryBuilder) HeapInitInBytes(heapinitinbytes int64) *NodeInfoJvmMemoryBuilder

func (*NodeInfoJvmMemoryBuilder) HeapMax ¶

func (*NodeInfoJvmMemoryBuilder) HeapMaxInBytes ¶

func (rb *NodeInfoJvmMemoryBuilder) HeapMaxInBytes(heapmaxinbytes int64) *NodeInfoJvmMemoryBuilder

func (*NodeInfoJvmMemoryBuilder) NonHeapInit ¶

func (rb *NodeInfoJvmMemoryBuilder) NonHeapInit(nonheapinit *ByteSizeBuilder) *NodeInfoJvmMemoryBuilder

func (*NodeInfoJvmMemoryBuilder) NonHeapInitInBytes ¶

func (rb *NodeInfoJvmMemoryBuilder) NonHeapInitInBytes(nonheapinitinbytes int64) *NodeInfoJvmMemoryBuilder

func (*NodeInfoJvmMemoryBuilder) NonHeapMax ¶

func (*NodeInfoJvmMemoryBuilder) NonHeapMaxInBytes ¶

func (rb *NodeInfoJvmMemoryBuilder) NonHeapMaxInBytes(nonheapmaxinbytes int64) *NodeInfoJvmMemoryBuilder

type NodeInfoMemory ¶

type NodeInfoMemory struct {
	Total        string `json:"total"`
	TotalInBytes int64  `json:"total_in_bytes"`
}

NodeInfoMemory type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L315-L318

type NodeInfoMemoryBuilder ¶

type NodeInfoMemoryBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoMemoryBuilder holds NodeInfoMemory struct and provides a builder API.

func NewNodeInfoMemoryBuilder ¶

func NewNodeInfoMemoryBuilder() *NodeInfoMemoryBuilder

NewNodeInfoMemory provides a builder for the NodeInfoMemory struct.

func (*NodeInfoMemoryBuilder) Build ¶

Build finalize the chain and returns the NodeInfoMemory struct

func (*NodeInfoMemoryBuilder) Total ¶

func (*NodeInfoMemoryBuilder) TotalInBytes ¶

func (rb *NodeInfoMemoryBuilder) TotalInBytes(totalinbytes int64) *NodeInfoMemoryBuilder

type NodeInfoNetwork ¶

type NodeInfoNetwork struct {
	PrimaryInterface NodeInfoNetworkInterface `json:"primary_interface"`
	RefreshInterval  int                      `json:"refresh_interval"`
}

NodeInfoNetwork type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L320-L323

type NodeInfoNetworkBuilder ¶

type NodeInfoNetworkBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoNetworkBuilder holds NodeInfoNetwork struct and provides a builder API.

func NewNodeInfoNetworkBuilder ¶

func NewNodeInfoNetworkBuilder() *NodeInfoNetworkBuilder

NewNodeInfoNetwork provides a builder for the NodeInfoNetwork struct.

func (*NodeInfoNetworkBuilder) Build ¶

Build finalize the chain and returns the NodeInfoNetwork struct

func (*NodeInfoNetworkBuilder) PrimaryInterface ¶

func (rb *NodeInfoNetworkBuilder) PrimaryInterface(primaryinterface *NodeInfoNetworkInterfaceBuilder) *NodeInfoNetworkBuilder

func (*NodeInfoNetworkBuilder) RefreshInterval ¶

func (rb *NodeInfoNetworkBuilder) RefreshInterval(refreshinterval int) *NodeInfoNetworkBuilder

type NodeInfoNetworkInterface ¶

type NodeInfoNetworkInterface struct {
	Address    string `json:"address"`
	MacAddress string `json:"mac_address"`
	Name       Name   `json:"name"`
}

NodeInfoNetworkInterface type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L325-L329

type NodeInfoNetworkInterfaceBuilder ¶

type NodeInfoNetworkInterfaceBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoNetworkInterfaceBuilder holds NodeInfoNetworkInterface struct and provides a builder API.

func NewNodeInfoNetworkInterfaceBuilder ¶

func NewNodeInfoNetworkInterfaceBuilder() *NodeInfoNetworkInterfaceBuilder

NewNodeInfoNetworkInterface provides a builder for the NodeInfoNetworkInterface struct.

func (*NodeInfoNetworkInterfaceBuilder) Address ¶

func (*NodeInfoNetworkInterfaceBuilder) Build ¶

Build finalize the chain and returns the NodeInfoNetworkInterface struct

func (*NodeInfoNetworkInterfaceBuilder) MacAddress ¶

func (*NodeInfoNetworkInterfaceBuilder) Name ¶

type NodeInfoOSCPU ¶

type NodeInfoOSCPU struct {
	CacheSize        string `json:"cache_size"`
	CacheSizeInBytes int    `json:"cache_size_in_bytes"`
	CoresPerSocket   int    `json:"cores_per_socket"`
	Mhz              int    `json:"mhz"`
	Model            string `json:"model"`
	TotalCores       int    `json:"total_cores"`
	TotalSockets     int    `json:"total_sockets"`
	Vendor           string `json:"vendor"`
}

NodeInfoOSCPU type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L331-L340

type NodeInfoOSCPUBuilder ¶

type NodeInfoOSCPUBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoOSCPUBuilder holds NodeInfoOSCPU struct and provides a builder API.

func NewNodeInfoOSCPUBuilder ¶

func NewNodeInfoOSCPUBuilder() *NodeInfoOSCPUBuilder

NewNodeInfoOSCPU provides a builder for the NodeInfoOSCPU struct.

func (*NodeInfoOSCPUBuilder) Build ¶

func (rb *NodeInfoOSCPUBuilder) Build() NodeInfoOSCPU

Build finalize the chain and returns the NodeInfoOSCPU struct

func (*NodeInfoOSCPUBuilder) CacheSize ¶

func (rb *NodeInfoOSCPUBuilder) CacheSize(cachesize string) *NodeInfoOSCPUBuilder

func (*NodeInfoOSCPUBuilder) CacheSizeInBytes ¶

func (rb *NodeInfoOSCPUBuilder) CacheSizeInBytes(cachesizeinbytes int) *NodeInfoOSCPUBuilder

func (*NodeInfoOSCPUBuilder) CoresPerSocket ¶

func (rb *NodeInfoOSCPUBuilder) CoresPerSocket(corespersocket int) *NodeInfoOSCPUBuilder

func (*NodeInfoOSCPUBuilder) Mhz ¶

func (*NodeInfoOSCPUBuilder) Model ¶

func (*NodeInfoOSCPUBuilder) TotalCores ¶

func (rb *NodeInfoOSCPUBuilder) TotalCores(totalcores int) *NodeInfoOSCPUBuilder

func (*NodeInfoOSCPUBuilder) TotalSockets ¶

func (rb *NodeInfoOSCPUBuilder) TotalSockets(totalsockets int) *NodeInfoOSCPUBuilder

func (*NodeInfoOSCPUBuilder) Vendor ¶

func (rb *NodeInfoOSCPUBuilder) Vendor(vendor string) *NodeInfoOSCPUBuilder

type NodeInfoPath ¶

type NodeInfoPath struct {
	Data []string `json:"data,omitempty"`
	Home string   `json:"home"`
	Logs string   `json:"logs"`
	Repo []string `json:"repo"`
}

NodeInfoPath type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L154-L159

type NodeInfoPathBuilder ¶

type NodeInfoPathBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoPathBuilder holds NodeInfoPath struct and provides a builder API.

func NewNodeInfoPathBuilder ¶

func NewNodeInfoPathBuilder() *NodeInfoPathBuilder

NewNodeInfoPath provides a builder for the NodeInfoPath struct.

func (*NodeInfoPathBuilder) Build ¶

func (rb *NodeInfoPathBuilder) Build() NodeInfoPath

Build finalize the chain and returns the NodeInfoPath struct

func (*NodeInfoPathBuilder) Data ¶

func (rb *NodeInfoPathBuilder) Data(data ...string) *NodeInfoPathBuilder

func (*NodeInfoPathBuilder) Home ¶

func (*NodeInfoPathBuilder) Logs ¶

func (*NodeInfoPathBuilder) Repo ¶

func (rb *NodeInfoPathBuilder) Repo(repo ...string) *NodeInfoPathBuilder

type NodeInfoRepositoriesBuilder ¶

type NodeInfoRepositoriesBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoRepositoriesBuilder holds NodeInfoRepositories struct and provides a builder API.

func NewNodeInfoRepositoriesBuilder ¶

func NewNodeInfoRepositoriesBuilder() *NodeInfoRepositoriesBuilder

NewNodeInfoRepositories provides a builder for the NodeInfoRepositories struct.

func (*NodeInfoRepositoriesBuilder) Build ¶

Build finalize the chain and returns the NodeInfoRepositories struct

func (*NodeInfoRepositoriesBuilder) Url ¶

type NodeInfoRepositoriesUrlBuilder ¶

type NodeInfoRepositoriesUrlBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoRepositoriesUrlBuilder holds NodeInfoRepositoriesUrl struct and provides a builder API.

func NewNodeInfoRepositoriesUrlBuilder ¶

func NewNodeInfoRepositoriesUrlBuilder() *NodeInfoRepositoriesUrlBuilder

NewNodeInfoRepositoriesUrl provides a builder for the NodeInfoRepositoriesUrl struct.

func (*NodeInfoRepositoriesUrlBuilder) AllowedUrls ¶

func (*NodeInfoRepositoriesUrlBuilder) Build ¶

Build finalize the chain and returns the NodeInfoRepositoriesUrl struct

type NodeInfoScript ¶

type NodeInfoScript struct {
	AllowedTypes               string `json:"allowed_types"`
	DisableMaxCompilationsRate string `json:"disable_max_compilations_rate"`
}

NodeInfoScript type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L273-L276

type NodeInfoScriptBuilder ¶

type NodeInfoScriptBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoScriptBuilder holds NodeInfoScript struct and provides a builder API.

func NewNodeInfoScriptBuilder ¶

func NewNodeInfoScriptBuilder() *NodeInfoScriptBuilder

NewNodeInfoScript provides a builder for the NodeInfoScript struct.

func (*NodeInfoScriptBuilder) AllowedTypes ¶

func (rb *NodeInfoScriptBuilder) AllowedTypes(allowedtypes string) *NodeInfoScriptBuilder

func (*NodeInfoScriptBuilder) Build ¶

Build finalize the chain and returns the NodeInfoScript struct

func (*NodeInfoScriptBuilder) DisableMaxCompilationsRate ¶

func (rb *NodeInfoScriptBuilder) DisableMaxCompilationsRate(disablemaxcompilationsrate string) *NodeInfoScriptBuilder

type NodeInfoSearchBuilder ¶

type NodeInfoSearchBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoSearchBuilder holds NodeInfoSearch struct and provides a builder API.

func NewNodeInfoSearchBuilder ¶

func NewNodeInfoSearchBuilder() *NodeInfoSearchBuilder

NewNodeInfoSearch provides a builder for the NodeInfoSearch struct.

func (*NodeInfoSearchBuilder) Build ¶

Build finalize the chain and returns the NodeInfoSearch struct

func (*NodeInfoSearchBuilder) Remote ¶

type NodeInfoSearchRemoteBuilder ¶

type NodeInfoSearchRemoteBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoSearchRemoteBuilder holds NodeInfoSearchRemote struct and provides a builder API.

func NewNodeInfoSearchRemoteBuilder ¶

func NewNodeInfoSearchRemoteBuilder() *NodeInfoSearchRemoteBuilder

NewNodeInfoSearchRemote provides a builder for the NodeInfoSearchRemote struct.

func (*NodeInfoSearchRemoteBuilder) Build ¶

Build finalize the chain and returns the NodeInfoSearchRemote struct

func (*NodeInfoSearchRemoteBuilder) Connect ¶

type NodeInfoSettings ¶

type NodeInfoSettings struct {
	Action       *NodeInfoAction           `json:"action,omitempty"`
	Bootstrap    *NodeInfoBootstrap        `json:"bootstrap,omitempty"`
	Client       NodeInfoClient            `json:"client"`
	Cluster      NodeInfoSettingsCluster   `json:"cluster"`
	Discovery    *NodeInfoDiscover         `json:"discovery,omitempty"`
	Http         NodeInfoSettingsHttp      `json:"http"`
	Ingest       *NodeInfoSettingsIngest   `json:"ingest,omitempty"`
	Network      *NodeInfoSettingsNetwork  `json:"network,omitempty"`
	Node         NodeInfoSettingsNode      `json:"node"`
	Path         NodeInfoPath              `json:"path"`
	Repositories *NodeInfoRepositories     `json:"repositories,omitempty"`
	Script       *NodeInfoScript           `json:"script,omitempty"`
	Search       *NodeInfoSearch           `json:"search,omitempty"`
	Transport    NodeInfoSettingsTransport `json:"transport"`
	Xpack        *NodeInfoXpack            `json:"xpack,omitempty"`
}

NodeInfoSettings type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L68-L84

type NodeInfoSettingsBuilder ¶

type NodeInfoSettingsBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoSettingsBuilder holds NodeInfoSettings struct and provides a builder API.

func NewNodeInfoSettingsBuilder ¶

func NewNodeInfoSettingsBuilder() *NodeInfoSettingsBuilder

NewNodeInfoSettings provides a builder for the NodeInfoSettings struct.

func (*NodeInfoSettingsBuilder) Action ¶

func (*NodeInfoSettingsBuilder) Bootstrap ¶

func (*NodeInfoSettingsBuilder) Build ¶

Build finalize the chain and returns the NodeInfoSettings struct

func (*NodeInfoSettingsBuilder) Client ¶

func (*NodeInfoSettingsBuilder) Cluster ¶

func (*NodeInfoSettingsBuilder) Discovery ¶

func (*NodeInfoSettingsBuilder) Http ¶

func (*NodeInfoSettingsBuilder) Ingest ¶

func (*NodeInfoSettingsBuilder) Network ¶

func (*NodeInfoSettingsBuilder) Node ¶

func (*NodeInfoSettingsBuilder) Path ¶

func (*NodeInfoSettingsBuilder) Repositories ¶

func (*NodeInfoSettingsBuilder) Script ¶

func (*NodeInfoSettingsBuilder) Search ¶

func (*NodeInfoSettingsBuilder) Transport ¶

func (*NodeInfoSettingsBuilder) Xpack ¶

type NodeInfoSettingsCluster ¶

type NodeInfoSettingsCluster struct {
	DeprecationIndexing *DeprecationIndexing            `json:"deprecation_indexing,omitempty"`
	Election            NodeInfoSettingsClusterElection `json:"election"`
	InitialMasterNodes  *string                         `json:"initial_master_nodes,omitempty"`
	Name                Name                            `json:"name"`
	Routing             *IndexRouting                   `json:"routing,omitempty"`
}

NodeInfoSettingsCluster type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L131-L138

type NodeInfoSettingsClusterBuilder ¶

type NodeInfoSettingsClusterBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoSettingsClusterBuilder holds NodeInfoSettingsCluster struct and provides a builder API.

func NewNodeInfoSettingsClusterBuilder ¶

func NewNodeInfoSettingsClusterBuilder() *NodeInfoSettingsClusterBuilder

NewNodeInfoSettingsCluster provides a builder for the NodeInfoSettingsCluster struct.

func (*NodeInfoSettingsClusterBuilder) Build ¶

Build finalize the chain and returns the NodeInfoSettingsCluster struct

func (*NodeInfoSettingsClusterBuilder) DeprecationIndexing ¶

func (rb *NodeInfoSettingsClusterBuilder) DeprecationIndexing(deprecationindexing *DeprecationIndexingBuilder) *NodeInfoSettingsClusterBuilder

func (*NodeInfoSettingsClusterBuilder) Election ¶

func (*NodeInfoSettingsClusterBuilder) InitialMasterNodes ¶

func (rb *NodeInfoSettingsClusterBuilder) InitialMasterNodes(initialmasternodes string) *NodeInfoSettingsClusterBuilder

func (*NodeInfoSettingsClusterBuilder) Name ¶

func (*NodeInfoSettingsClusterBuilder) Routing ¶

type NodeInfoSettingsClusterElection ¶

type NodeInfoSettingsClusterElection struct {
	Strategy Name `json:"strategy"`
}

NodeInfoSettingsClusterElection type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L144-L146

type NodeInfoSettingsClusterElectionBuilder ¶

type NodeInfoSettingsClusterElectionBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoSettingsClusterElectionBuilder holds NodeInfoSettingsClusterElection struct and provides a builder API.

func NewNodeInfoSettingsClusterElectionBuilder ¶

func NewNodeInfoSettingsClusterElectionBuilder() *NodeInfoSettingsClusterElectionBuilder

NewNodeInfoSettingsClusterElection provides a builder for the NodeInfoSettingsClusterElection struct.

func (*NodeInfoSettingsClusterElectionBuilder) Build ¶

Build finalize the chain and returns the NodeInfoSettingsClusterElection struct

func (*NodeInfoSettingsClusterElectionBuilder) Strategy ¶

type NodeInfoSettingsHttp ¶

type NodeInfoSettingsHttp struct {
	Compression string                   `json:"compression,omitempty"`
	Port        string                   `json:"port,omitempty"`
	Type        NodeInfoSettingsHttpType `json:"type"`
	TypeDefault *string                  `json:"type.default,omitempty"`
}

NodeInfoSettingsHttp type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L181-L186

type NodeInfoSettingsHttpBuilder ¶

type NodeInfoSettingsHttpBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoSettingsHttpBuilder holds NodeInfoSettingsHttp struct and provides a builder API.

func NewNodeInfoSettingsHttpBuilder ¶

func NewNodeInfoSettingsHttpBuilder() *NodeInfoSettingsHttpBuilder

NewNodeInfoSettingsHttp provides a builder for the NodeInfoSettingsHttp struct.

func (*NodeInfoSettingsHttpBuilder) Build ¶

Build finalize the chain and returns the NodeInfoSettingsHttp struct

func (*NodeInfoSettingsHttpBuilder) Compression ¶

func (*NodeInfoSettingsHttpBuilder) Port ¶

func (*NodeInfoSettingsHttpBuilder) TypeDefault ¶

func (rb *NodeInfoSettingsHttpBuilder) TypeDefault(typedefault string) *NodeInfoSettingsHttpBuilder

func (*NodeInfoSettingsHttpBuilder) Type_ ¶

type NodeInfoSettingsHttpTypeBuilder ¶

type NodeInfoSettingsHttpTypeBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoSettingsHttpTypeBuilder holds NodeInfoSettingsHttpType struct and provides a builder API.

func NewNodeInfoSettingsHttpTypeBuilder ¶

func NewNodeInfoSettingsHttpTypeBuilder() *NodeInfoSettingsHttpTypeBuilder

NewNodeInfoSettingsHttpType provides a builder for the NodeInfoSettingsHttpType struct.

func (*NodeInfoSettingsHttpTypeBuilder) Build ¶

Build finalize the chain and returns the NodeInfoSettingsHttpType struct

func (*NodeInfoSettingsHttpTypeBuilder) Default_ ¶

type NodeInfoSettingsIngest ¶

type NodeInfoSettingsIngest struct {
	Append          *NodeInfoIngestInfo `json:"append,omitempty"`
	Attachment      *NodeInfoIngestInfo `json:"attachment,omitempty"`
	Bytes           *NodeInfoIngestInfo `json:"bytes,omitempty"`
	Circle          *NodeInfoIngestInfo `json:"circle,omitempty"`
	Convert         *NodeInfoIngestInfo `json:"convert,omitempty"`
	Csv             *NodeInfoIngestInfo `json:"csv,omitempty"`
	Date            *NodeInfoIngestInfo `json:"date,omitempty"`
	DateIndexName   *NodeInfoIngestInfo `json:"date_index_name,omitempty"`
	Dissect         *NodeInfoIngestInfo `json:"dissect,omitempty"`
	DotExpander     *NodeInfoIngestInfo `json:"dot_expander,omitempty"`
	Drop            *NodeInfoIngestInfo `json:"drop,omitempty"`
	Enrich          *NodeInfoIngestInfo `json:"enrich,omitempty"`
	Fail            *NodeInfoIngestInfo `json:"fail,omitempty"`
	Foreach         *NodeInfoIngestInfo `json:"foreach,omitempty"`
	Geoip           *NodeInfoIngestInfo `json:"geoip,omitempty"`
	Grok            *NodeInfoIngestInfo `json:"grok,omitempty"`
	Gsub            *NodeInfoIngestInfo `json:"gsub,omitempty"`
	Inference       *NodeInfoIngestInfo `json:"inference,omitempty"`
	Join            *NodeInfoIngestInfo `json:"join,omitempty"`
	Json            *NodeInfoIngestInfo `json:"json,omitempty"`
	Kv              *NodeInfoIngestInfo `json:"kv,omitempty"`
	Lowercase       *NodeInfoIngestInfo `json:"lowercase,omitempty"`
	Pipeline        *NodeInfoIngestInfo `json:"pipeline,omitempty"`
	Remove          *NodeInfoIngestInfo `json:"remove,omitempty"`
	Rename          *NodeInfoIngestInfo `json:"rename,omitempty"`
	Script          *NodeInfoIngestInfo `json:"script,omitempty"`
	Set             *NodeInfoIngestInfo `json:"set,omitempty"`
	SetSecurityUser *NodeInfoIngestInfo `json:"set_security_user,omitempty"`
	Sort            *NodeInfoIngestInfo `json:"sort,omitempty"`
	Split           *NodeInfoIngestInfo `json:"split,omitempty"`
	Trim            *NodeInfoIngestInfo `json:"trim,omitempty"`
	Uppercase       *NodeInfoIngestInfo `json:"uppercase,omitempty"`
	Urldecode       *NodeInfoIngestInfo `json:"urldecode,omitempty"`
	UserAgent       *NodeInfoIngestInfo `json:"user_agent,omitempty"`
}

NodeInfoSettingsIngest type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L86-L121

type NodeInfoSettingsIngestBuilder ¶

type NodeInfoSettingsIngestBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoSettingsIngestBuilder holds NodeInfoSettingsIngest struct and provides a builder API.

func NewNodeInfoSettingsIngestBuilder ¶

func NewNodeInfoSettingsIngestBuilder() *NodeInfoSettingsIngestBuilder

NewNodeInfoSettingsIngest provides a builder for the NodeInfoSettingsIngest struct.

func (*NodeInfoSettingsIngestBuilder) Append ¶

func (*NodeInfoSettingsIngestBuilder) Attachment ¶

func (*NodeInfoSettingsIngestBuilder) Build ¶

Build finalize the chain and returns the NodeInfoSettingsIngest struct

func (*NodeInfoSettingsIngestBuilder) Bytes ¶

func (*NodeInfoSettingsIngestBuilder) Circle ¶

func (*NodeInfoSettingsIngestBuilder) Convert ¶

func (*NodeInfoSettingsIngestBuilder) Csv ¶

func (*NodeInfoSettingsIngestBuilder) Date ¶

func (*NodeInfoSettingsIngestBuilder) DateIndexName ¶

func (*NodeInfoSettingsIngestBuilder) Dissect ¶

func (*NodeInfoSettingsIngestBuilder) DotExpander ¶

func (*NodeInfoSettingsIngestBuilder) Drop ¶

func (*NodeInfoSettingsIngestBuilder) Enrich ¶

func (*NodeInfoSettingsIngestBuilder) Fail ¶

func (*NodeInfoSettingsIngestBuilder) Foreach ¶

func (*NodeInfoSettingsIngestBuilder) Geoip ¶

func (*NodeInfoSettingsIngestBuilder) Grok ¶

func (*NodeInfoSettingsIngestBuilder) Gsub ¶

func (*NodeInfoSettingsIngestBuilder) Inference ¶

func (*NodeInfoSettingsIngestBuilder) Join ¶

func (*NodeInfoSettingsIngestBuilder) Json ¶

func (*NodeInfoSettingsIngestBuilder) Kv ¶

func (*NodeInfoSettingsIngestBuilder) Lowercase ¶

func (*NodeInfoSettingsIngestBuilder) Pipeline ¶

func (*NodeInfoSettingsIngestBuilder) Remove ¶

func (*NodeInfoSettingsIngestBuilder) Rename ¶

func (*NodeInfoSettingsIngestBuilder) Script ¶

func (*NodeInfoSettingsIngestBuilder) Set ¶

func (*NodeInfoSettingsIngestBuilder) SetSecurityUser ¶

func (*NodeInfoSettingsIngestBuilder) Sort ¶

func (*NodeInfoSettingsIngestBuilder) Split ¶

func (*NodeInfoSettingsIngestBuilder) Trim ¶

func (*NodeInfoSettingsIngestBuilder) Uppercase ¶

func (*NodeInfoSettingsIngestBuilder) Urldecode ¶

func (*NodeInfoSettingsIngestBuilder) UserAgent ¶

type NodeInfoSettingsNetworkBuilder ¶

type NodeInfoSettingsNetworkBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoSettingsNetworkBuilder holds NodeInfoSettingsNetwork struct and provides a builder API.

func NewNodeInfoSettingsNetworkBuilder ¶

func NewNodeInfoSettingsNetworkBuilder() *NodeInfoSettingsNetworkBuilder

NewNodeInfoSettingsNetwork provides a builder for the NodeInfoSettingsNetwork struct.

func (*NodeInfoSettingsNetworkBuilder) Build ¶

Build finalize the chain and returns the NodeInfoSettingsNetwork struct

func (*NodeInfoSettingsNetworkBuilder) Host ¶

type NodeInfoSettingsNode ¶

type NodeInfoSettingsNode struct {
	Attr                 map[string]interface{} `json:"attr"`
	MaxLocalStorageNodes *string                `json:"max_local_storage_nodes,omitempty"`
	Name                 Name                   `json:"name"`
}

NodeInfoSettingsNode type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L148-L152

type NodeInfoSettingsNodeBuilder ¶

type NodeInfoSettingsNodeBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoSettingsNodeBuilder holds NodeInfoSettingsNode struct and provides a builder API.

func NewNodeInfoSettingsNodeBuilder ¶

func NewNodeInfoSettingsNodeBuilder() *NodeInfoSettingsNodeBuilder

NewNodeInfoSettingsNode provides a builder for the NodeInfoSettingsNode struct.

func (*NodeInfoSettingsNodeBuilder) Attr ¶

func (rb *NodeInfoSettingsNodeBuilder) Attr(value map[string]interface{}) *NodeInfoSettingsNodeBuilder

func (*NodeInfoSettingsNodeBuilder) Build ¶

Build finalize the chain and returns the NodeInfoSettingsNode struct

func (*NodeInfoSettingsNodeBuilder) MaxLocalStorageNodes ¶

func (rb *NodeInfoSettingsNodeBuilder) MaxLocalStorageNodes(maxlocalstoragenodes string) *NodeInfoSettingsNodeBuilder

func (*NodeInfoSettingsNodeBuilder) Name ¶

type NodeInfoSettingsTransport ¶

type NodeInfoSettingsTransport struct {
	Features    *NodeInfoSettingsTransportFeatures `json:"features,omitempty"`
	Type        NodeInfoSettingsTransportType      `json:"type"`
	TypeDefault *string                            `json:"type.default,omitempty"`
}

NodeInfoSettingsTransport type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L197-L201

type NodeInfoSettingsTransportBuilder ¶

type NodeInfoSettingsTransportBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoSettingsTransportBuilder holds NodeInfoSettingsTransport struct and provides a builder API.

func NewNodeInfoSettingsTransportBuilder ¶

func NewNodeInfoSettingsTransportBuilder() *NodeInfoSettingsTransportBuilder

NewNodeInfoSettingsTransport provides a builder for the NodeInfoSettingsTransport struct.

func (*NodeInfoSettingsTransportBuilder) Build ¶

Build finalize the chain and returns the NodeInfoSettingsTransport struct

func (*NodeInfoSettingsTransportBuilder) Features ¶

func (*NodeInfoSettingsTransportBuilder) TypeDefault ¶

func (*NodeInfoSettingsTransportBuilder) Type_ ¶

type NodeInfoSettingsTransportFeaturesBuilder ¶

type NodeInfoSettingsTransportFeaturesBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoSettingsTransportFeaturesBuilder holds NodeInfoSettingsTransportFeatures struct and provides a builder API.

func NewNodeInfoSettingsTransportFeaturesBuilder ¶

func NewNodeInfoSettingsTransportFeaturesBuilder() *NodeInfoSettingsTransportFeaturesBuilder

NewNodeInfoSettingsTransportFeatures provides a builder for the NodeInfoSettingsTransportFeatures struct.

func (*NodeInfoSettingsTransportFeaturesBuilder) Build ¶

Build finalize the chain and returns the NodeInfoSettingsTransportFeatures struct

func (*NodeInfoSettingsTransportFeaturesBuilder) XPack ¶

type NodeInfoSettingsTransportTypeBuilder ¶

type NodeInfoSettingsTransportTypeBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoSettingsTransportTypeBuilder holds NodeInfoSettingsTransportType struct and provides a builder API.

func NewNodeInfoSettingsTransportTypeBuilder ¶

func NewNodeInfoSettingsTransportTypeBuilder() *NodeInfoSettingsTransportTypeBuilder

NewNodeInfoSettingsTransportType provides a builder for the NodeInfoSettingsTransportType struct.

func (*NodeInfoSettingsTransportTypeBuilder) Build ¶

Build finalize the chain and returns the NodeInfoSettingsTransportType struct

func (*NodeInfoSettingsTransportTypeBuilder) Default_ ¶

type NodeInfoTransport ¶

type NodeInfoTransport struct {
	BoundAddress   []string          `json:"bound_address"`
	Profiles       map[string]string `json:"profiles"`
	PublishAddress string            `json:"publish_address"`
}

NodeInfoTransport type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L342-L346

type NodeInfoTransportBuilder ¶

type NodeInfoTransportBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoTransportBuilder holds NodeInfoTransport struct and provides a builder API.

func NewNodeInfoTransportBuilder ¶

func NewNodeInfoTransportBuilder() *NodeInfoTransportBuilder

NewNodeInfoTransport provides a builder for the NodeInfoTransport struct.

func (*NodeInfoTransportBuilder) BoundAddress ¶

func (rb *NodeInfoTransportBuilder) BoundAddress(bound_address ...string) *NodeInfoTransportBuilder

func (*NodeInfoTransportBuilder) Build ¶

Build finalize the chain and returns the NodeInfoTransport struct

func (*NodeInfoTransportBuilder) Profiles ¶

func (*NodeInfoTransportBuilder) PublishAddress ¶

func (rb *NodeInfoTransportBuilder) PublishAddress(publishaddress string) *NodeInfoTransportBuilder

type NodeInfoXpack ¶

type NodeInfoXpack struct {
	License      *NodeInfoXpackLicense  `json:"license,omitempty"`
	Notification map[string]interface{} `json:"notification,omitempty"`
	Security     NodeInfoXpackSecurity  `json:"security"`
}

NodeInfoXpack type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L228-L232

type NodeInfoXpackBuilder ¶

type NodeInfoXpackBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoXpackBuilder holds NodeInfoXpack struct and provides a builder API.

func NewNodeInfoXpackBuilder ¶

func NewNodeInfoXpackBuilder() *NodeInfoXpackBuilder

NewNodeInfoXpack provides a builder for the NodeInfoXpack struct.

func (*NodeInfoXpackBuilder) Build ¶

func (rb *NodeInfoXpackBuilder) Build() NodeInfoXpack

Build finalize the chain and returns the NodeInfoXpack struct

func (*NodeInfoXpackBuilder) License ¶

func (*NodeInfoXpackBuilder) Notification ¶

func (rb *NodeInfoXpackBuilder) Notification(value map[string]interface{}) *NodeInfoXpackBuilder

func (*NodeInfoXpackBuilder) Security ¶

type NodeInfoXpackLicenseBuilder ¶

type NodeInfoXpackLicenseBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoXpackLicenseBuilder holds NodeInfoXpackLicense struct and provides a builder API.

func NewNodeInfoXpackLicenseBuilder ¶

func NewNodeInfoXpackLicenseBuilder() *NodeInfoXpackLicenseBuilder

NewNodeInfoXpackLicense provides a builder for the NodeInfoXpackLicense struct.

func (*NodeInfoXpackLicenseBuilder) Build ¶

Build finalize the chain and returns the NodeInfoXpackLicense struct

func (*NodeInfoXpackLicenseBuilder) SelfGenerated ¶

type NodeInfoXpackLicenseTypeBuilder ¶

type NodeInfoXpackLicenseTypeBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoXpackLicenseTypeBuilder holds NodeInfoXpackLicenseType struct and provides a builder API.

func NewNodeInfoXpackLicenseTypeBuilder ¶

func NewNodeInfoXpackLicenseTypeBuilder() *NodeInfoXpackLicenseTypeBuilder

NewNodeInfoXpackLicenseType provides a builder for the NodeInfoXpackLicenseType struct.

func (*NodeInfoXpackLicenseTypeBuilder) Build ¶

Build finalize the chain and returns the NodeInfoXpackLicenseType struct

func (*NodeInfoXpackLicenseTypeBuilder) Type_ ¶

type NodeInfoXpackSecurity ¶

type NodeInfoXpackSecurity struct {
	Authc     *NodeInfoXpackSecurityAuthc `json:"authc,omitempty"`
	Enabled   string                      `json:"enabled"`
	Http      NodeInfoXpackSecuritySsl    `json:"http"`
	Transport *NodeInfoXpackSecuritySsl   `json:"transport,omitempty"`
}

NodeInfoXpackSecurity type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L234-L239

type NodeInfoXpackSecurityAuthcBuilder ¶

type NodeInfoXpackSecurityAuthcBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoXpackSecurityAuthcBuilder holds NodeInfoXpackSecurityAuthc struct and provides a builder API.

func NewNodeInfoXpackSecurityAuthcBuilder ¶

func NewNodeInfoXpackSecurityAuthcBuilder() *NodeInfoXpackSecurityAuthcBuilder

NewNodeInfoXpackSecurityAuthc provides a builder for the NodeInfoXpackSecurityAuthc struct.

func (*NodeInfoXpackSecurityAuthcBuilder) Build ¶

Build finalize the chain and returns the NodeInfoXpackSecurityAuthc struct

type NodeInfoXpackSecurityAuthcRealmsBuilder ¶

type NodeInfoXpackSecurityAuthcRealmsBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoXpackSecurityAuthcRealmsBuilder holds NodeInfoXpackSecurityAuthcRealms struct and provides a builder API.

func NewNodeInfoXpackSecurityAuthcRealmsBuilder ¶

func NewNodeInfoXpackSecurityAuthcRealmsBuilder() *NodeInfoXpackSecurityAuthcRealmsBuilder

NewNodeInfoXpackSecurityAuthcRealms provides a builder for the NodeInfoXpackSecurityAuthcRealms struct.

func (*NodeInfoXpackSecurityAuthcRealmsBuilder) Build ¶

Build finalize the chain and returns the NodeInfoXpackSecurityAuthcRealms struct

type NodeInfoXpackSecurityAuthcRealmsStatus ¶

type NodeInfoXpackSecurityAuthcRealmsStatus struct {
	Enabled *string `json:"enabled,omitempty"`
	Order   string  `json:"order"`
}

NodeInfoXpackSecurityAuthcRealmsStatus type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L260-L263

type NodeInfoXpackSecurityAuthcRealmsStatusBuilder ¶

type NodeInfoXpackSecurityAuthcRealmsStatusBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoXpackSecurityAuthcRealmsStatusBuilder holds NodeInfoXpackSecurityAuthcRealmsStatus struct and provides a builder API.

func NewNodeInfoXpackSecurityAuthcRealmsStatusBuilder ¶

func NewNodeInfoXpackSecurityAuthcRealmsStatusBuilder() *NodeInfoXpackSecurityAuthcRealmsStatusBuilder

NewNodeInfoXpackSecurityAuthcRealmsStatus provides a builder for the NodeInfoXpackSecurityAuthcRealmsStatus struct.

func (*NodeInfoXpackSecurityAuthcRealmsStatusBuilder) Build ¶

Build finalize the chain and returns the NodeInfoXpackSecurityAuthcRealmsStatus struct

func (*NodeInfoXpackSecurityAuthcRealmsStatusBuilder) Enabled ¶

func (*NodeInfoXpackSecurityAuthcRealmsStatusBuilder) Order ¶

type NodeInfoXpackSecurityAuthcTokenBuilder ¶

type NodeInfoXpackSecurityAuthcTokenBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoXpackSecurityAuthcTokenBuilder holds NodeInfoXpackSecurityAuthcToken struct and provides a builder API.

func NewNodeInfoXpackSecurityAuthcTokenBuilder ¶

func NewNodeInfoXpackSecurityAuthcTokenBuilder() *NodeInfoXpackSecurityAuthcTokenBuilder

NewNodeInfoXpackSecurityAuthcToken provides a builder for the NodeInfoXpackSecurityAuthcToken struct.

func (*NodeInfoXpackSecurityAuthcTokenBuilder) Build ¶

Build finalize the chain and returns the NodeInfoXpackSecurityAuthcToken struct

func (*NodeInfoXpackSecurityAuthcTokenBuilder) Enabled ¶

type NodeInfoXpackSecurityBuilder ¶

type NodeInfoXpackSecurityBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoXpackSecurityBuilder holds NodeInfoXpackSecurity struct and provides a builder API.

func NewNodeInfoXpackSecurityBuilder ¶

func NewNodeInfoXpackSecurityBuilder() *NodeInfoXpackSecurityBuilder

NewNodeInfoXpackSecurity provides a builder for the NodeInfoXpackSecurity struct.

func (*NodeInfoXpackSecurityBuilder) Authc ¶

func (*NodeInfoXpackSecurityBuilder) Build ¶

Build finalize the chain and returns the NodeInfoXpackSecurity struct

func (*NodeInfoXpackSecurityBuilder) Enabled ¶

func (*NodeInfoXpackSecurityBuilder) Http ¶

func (*NodeInfoXpackSecurityBuilder) Transport ¶

type NodeInfoXpackSecuritySslBuilder ¶

type NodeInfoXpackSecuritySslBuilder struct {
	// contains filtered or unexported fields
}

NodeInfoXpackSecuritySslBuilder holds NodeInfoXpackSecuritySsl struct and provides a builder API.

func NewNodeInfoXpackSecuritySslBuilder ¶

func NewNodeInfoXpackSecuritySslBuilder() *NodeInfoXpackSecuritySslBuilder

NewNodeInfoXpackSecuritySsl provides a builder for the NodeInfoXpackSecuritySsl struct.

func (*NodeInfoXpackSecuritySslBuilder) Build ¶

Build finalize the chain and returns the NodeInfoXpackSecuritySsl struct

func (*NodeInfoXpackSecuritySslBuilder) Ssl ¶

type NodeJvmInfo ¶

type NodeJvmInfo struct {
	BundledJdk                            bool                `json:"bundled_jdk"`
	GcCollectors                          []string            `json:"gc_collectors"`
	InputArguments                        []string            `json:"input_arguments"`
	Mem                                   NodeInfoJvmMemory   `json:"mem"`
	MemoryPools                           []string            `json:"memory_pools"`
	Pid                                   int                 `json:"pid"`
	StartTimeInMillis                     EpochTimeUnitMillis `json:"start_time_in_millis"`
	UsingBundledJdk                       bool                `json:"using_bundled_jdk"`
	UsingCompressedOrdinaryObjectPointers string              `json:"using_compressed_ordinary_object_pointers,omitempty"`
	Version                               VersionString       `json:"version"`
	VmName                                Name                `json:"vm_name"`
	VmVendor                              string              `json:"vm_vendor"`
	VmVersion                             VersionString       `json:"vm_version"`
}

NodeJvmInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L348-L362

type NodeJvmInfoBuilder ¶

type NodeJvmInfoBuilder struct {
	// contains filtered or unexported fields
}

NodeJvmInfoBuilder holds NodeJvmInfo struct and provides a builder API.

func NewNodeJvmInfoBuilder ¶

func NewNodeJvmInfoBuilder() *NodeJvmInfoBuilder

NewNodeJvmInfo provides a builder for the NodeJvmInfo struct.

func (*NodeJvmInfoBuilder) Build ¶

func (rb *NodeJvmInfoBuilder) Build() NodeJvmInfo

Build finalize the chain and returns the NodeJvmInfo struct

func (*NodeJvmInfoBuilder) BundledJdk ¶

func (rb *NodeJvmInfoBuilder) BundledJdk(bundledjdk bool) *NodeJvmInfoBuilder

func (*NodeJvmInfoBuilder) GcCollectors ¶

func (rb *NodeJvmInfoBuilder) GcCollectors(gc_collectors ...string) *NodeJvmInfoBuilder

func (*NodeJvmInfoBuilder) InputArguments ¶

func (rb *NodeJvmInfoBuilder) InputArguments(input_arguments ...string) *NodeJvmInfoBuilder

func (*NodeJvmInfoBuilder) Mem ¶

func (*NodeJvmInfoBuilder) MemoryPools ¶

func (rb *NodeJvmInfoBuilder) MemoryPools(memory_pools ...string) *NodeJvmInfoBuilder

func (*NodeJvmInfoBuilder) Pid ¶

func (*NodeJvmInfoBuilder) StartTimeInMillis ¶

func (rb *NodeJvmInfoBuilder) StartTimeInMillis(starttimeinmillis *EpochTimeUnitMillisBuilder) *NodeJvmInfoBuilder

func (*NodeJvmInfoBuilder) UsingBundledJdk ¶

func (rb *NodeJvmInfoBuilder) UsingBundledJdk(usingbundledjdk bool) *NodeJvmInfoBuilder

func (*NodeJvmInfoBuilder) UsingCompressedOrdinaryObjectPointers ¶

func (rb *NodeJvmInfoBuilder) UsingCompressedOrdinaryObjectPointers(arg string) *NodeJvmInfoBuilder

func (*NodeJvmInfoBuilder) Version ¶

func (rb *NodeJvmInfoBuilder) Version(version VersionString) *NodeJvmInfoBuilder

func (*NodeJvmInfoBuilder) VmName ¶

func (rb *NodeJvmInfoBuilder) VmName(vmname Name) *NodeJvmInfoBuilder

func (*NodeJvmInfoBuilder) VmVendor ¶

func (rb *NodeJvmInfoBuilder) VmVendor(vmvendor string) *NodeJvmInfoBuilder

func (*NodeJvmInfoBuilder) VmVersion ¶

func (rb *NodeJvmInfoBuilder) VmVersion(vmversion VersionString) *NodeJvmInfoBuilder

type NodeNameBuilder ¶

type NodeNameBuilder struct {
	// contains filtered or unexported fields
}

NodeNameBuilder holds NodeName struct and provides a builder API.

func NewNodeNameBuilder ¶

func NewNodeNameBuilder() *NodeNameBuilder

NewNodeName provides a builder for the NodeName struct.

func (*NodeNameBuilder) Build ¶

func (b *NodeNameBuilder) Build() NodeName

Build finalize the chain and returns the NodeName struct

func (*NodeNameBuilder) NodeName ¶

func (b *NodeNameBuilder) NodeName(value NodeName) *NodeNameBuilder

type NodeOperatingSystemInfo ¶

type NodeOperatingSystemInfo struct {
	// AllocatedProcessors The number of processors actually used to calculate thread pool size. This
	// number can be set with the node.processors setting of a node and defaults to
	// the number of processors reported by the OS.
	AllocatedProcessors *int `json:"allocated_processors,omitempty"`
	// Arch Name of the JVM architecture (ex: amd64, x86)
	Arch string `json:"arch"`
	// AvailableProcessors Number of processors available to the Java virtual machine
	AvailableProcessors int             `json:"available_processors"`
	Cpu                 *NodeInfoOSCPU  `json:"cpu,omitempty"`
	Mem                 *NodeInfoMemory `json:"mem,omitempty"`
	// Name Name of the operating system (ex: Linux, Windows, Mac OS X)
	Name       Name `json:"name"`
	PrettyName Name `json:"pretty_name"`
	// RefreshIntervalInMillis Refresh interval for the OS statistics
	RefreshIntervalInMillis DurationValueUnitMillis `json:"refresh_interval_in_millis"`
	Swap                    *NodeInfoMemory         `json:"swap,omitempty"`
	// Version Version of the operating system
	Version VersionString `json:"version"`
}

NodeOperatingSystemInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L364-L381

type NodeOperatingSystemInfoBuilder ¶

type NodeOperatingSystemInfoBuilder struct {
	// contains filtered or unexported fields
}

NodeOperatingSystemInfoBuilder holds NodeOperatingSystemInfo struct and provides a builder API.

func NewNodeOperatingSystemInfoBuilder ¶

func NewNodeOperatingSystemInfoBuilder() *NodeOperatingSystemInfoBuilder

NewNodeOperatingSystemInfo provides a builder for the NodeOperatingSystemInfo struct.

func (*NodeOperatingSystemInfoBuilder) AllocatedProcessors ¶

func (rb *NodeOperatingSystemInfoBuilder) AllocatedProcessors(allocatedprocessors int) *NodeOperatingSystemInfoBuilder

func (*NodeOperatingSystemInfoBuilder) Arch ¶

func (*NodeOperatingSystemInfoBuilder) AvailableProcessors ¶

func (rb *NodeOperatingSystemInfoBuilder) AvailableProcessors(availableprocessors int) *NodeOperatingSystemInfoBuilder

func (*NodeOperatingSystemInfoBuilder) Build ¶

Build finalize the chain and returns the NodeOperatingSystemInfo struct

func (*NodeOperatingSystemInfoBuilder) Cpu ¶

func (*NodeOperatingSystemInfoBuilder) Mem ¶

func (*NodeOperatingSystemInfoBuilder) Name ¶

func (*NodeOperatingSystemInfoBuilder) PrettyName ¶

func (*NodeOperatingSystemInfoBuilder) RefreshIntervalInMillis ¶

func (rb *NodeOperatingSystemInfoBuilder) RefreshIntervalInMillis(refreshintervalinmillis *DurationValueUnitMillisBuilder) *NodeOperatingSystemInfoBuilder

func (*NodeOperatingSystemInfoBuilder) Swap ¶

func (*NodeOperatingSystemInfoBuilder) Version ¶

type NodePackagingType ¶

type NodePackagingType struct {
	Count  int    `json:"count"`
	Flavor string `json:"flavor"`
	Type   string `json:"type"`
}

NodePackagingType type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L276-L280

type NodePackagingTypeBuilder ¶

type NodePackagingTypeBuilder struct {
	// contains filtered or unexported fields
}

NodePackagingTypeBuilder holds NodePackagingType struct and provides a builder API.

func NewNodePackagingTypeBuilder ¶

func NewNodePackagingTypeBuilder() *NodePackagingTypeBuilder

NewNodePackagingType provides a builder for the NodePackagingType struct.

func (*NodePackagingTypeBuilder) Build ¶

Build finalize the chain and returns the NodePackagingType struct

func (*NodePackagingTypeBuilder) Count ¶

func (*NodePackagingTypeBuilder) Flavor ¶

func (*NodePackagingTypeBuilder) Type_ ¶

type NodeProcessInfo ¶

type NodeProcessInfo struct {
	// Id Process identifier (PID)
	Id int64 `json:"id"`
	// Mlockall Indicates if the process address space has been successfully locked in memory
	Mlockall bool `json:"mlockall"`
	// RefreshIntervalInMillis Refresh interval for the process statistics
	RefreshIntervalInMillis DurationValueUnitMillis `json:"refresh_interval_in_millis"`
}

NodeProcessInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L383-L390

type NodeProcessInfoBuilder ¶

type NodeProcessInfoBuilder struct {
	// contains filtered or unexported fields
}

NodeProcessInfoBuilder holds NodeProcessInfo struct and provides a builder API.

func NewNodeProcessInfoBuilder ¶

func NewNodeProcessInfoBuilder() *NodeProcessInfoBuilder

NewNodeProcessInfo provides a builder for the NodeProcessInfo struct.

func (*NodeProcessInfoBuilder) Build ¶

Build finalize the chain and returns the NodeProcessInfo struct

func (*NodeProcessInfoBuilder) Id ¶

func (*NodeProcessInfoBuilder) Mlockall ¶

func (rb *NodeProcessInfoBuilder) Mlockall(mlockall bool) *NodeProcessInfoBuilder

func (*NodeProcessInfoBuilder) RefreshIntervalInMillis ¶

func (rb *NodeProcessInfoBuilder) RefreshIntervalInMillis(refreshintervalinmillis *DurationValueUnitMillisBuilder) *NodeProcessInfoBuilder

type NodeReloadError ¶

type NodeReloadError struct {
	Name            Name        `json:"name"`
	ReloadException *ErrorCause `json:"reload_exception,omitempty"`
}

NodeReloadError type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/NodeReloadResult.ts#L24-L27

type NodeReloadErrorBuilder ¶

type NodeReloadErrorBuilder struct {
	// contains filtered or unexported fields
}

NodeReloadErrorBuilder holds NodeReloadError struct and provides a builder API.

func NewNodeReloadErrorBuilder ¶

func NewNodeReloadErrorBuilder() *NodeReloadErrorBuilder

NewNodeReloadError provides a builder for the NodeReloadError struct.

func (*NodeReloadErrorBuilder) Build ¶

Build finalize the chain and returns the NodeReloadError struct

func (*NodeReloadErrorBuilder) Name ¶

func (*NodeReloadErrorBuilder) ReloadException ¶

func (rb *NodeReloadErrorBuilder) ReloadException(reloadexception *ErrorCauseBuilder) *NodeReloadErrorBuilder

type NodeReloadResult ¶

type NodeReloadResult interface{}

NodeReloadResult holds the union for the following types:

NodeReloadError
Stats

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/NodeReloadResult.ts#L29-L30

type NodeReloadResultBuilder ¶

type NodeReloadResultBuilder struct {
	// contains filtered or unexported fields
}

NodeReloadResultBuilder holds NodeReloadResult struct and provides a builder API.

func NewNodeReloadResultBuilder ¶

func NewNodeReloadResultBuilder() *NodeReloadResultBuilder

NewNodeReloadResult provides a builder for the NodeReloadResult struct.

func (*NodeReloadResultBuilder) Build ¶

Build finalize the chain and returns the NodeReloadResult struct

func (*NodeReloadResultBuilder) NodeReloadError ¶

func (u *NodeReloadResultBuilder) NodeReloadError(nodereloaderror *NodeReloadErrorBuilder) *NodeReloadResultBuilder

func (*NodeReloadResultBuilder) Stats ¶

type NodeRolesBuilder ¶

type NodeRolesBuilder struct {
	// contains filtered or unexported fields
}

NodeRolesBuilder holds NodeRoles struct and provides a builder API.

func NewNodeRolesBuilder ¶

func NewNodeRolesBuilder() *NodeRolesBuilder

NewNodeRoles provides a builder for the NodeRoles struct.

func (*NodeRolesBuilder) Build ¶

func (b *NodeRolesBuilder) Build() NodeRoles

Build finalize the chain and returns the NodeRoles struct

func (*NodeRolesBuilder) NodeRoles ¶

func (b *NodeRolesBuilder) NodeRoles(value NodeRoles) *NodeRolesBuilder

type NodeShard ¶

type NodeShard struct {
	AllocationId   map[string]Id                       `json:"allocation_id,omitempty"`
	Index          IndexName                           `json:"index"`
	Node           *NodeName                           `json:"node,omitempty"`
	Primary        bool                                `json:"primary"`
	RecoverySource map[string]Id                       `json:"recovery_source,omitempty"`
	RelocatingNode NodeId                              `json:"relocating_node,omitempty"`
	Shard          int                                 `json:"shard"`
	State          shardroutingstate.ShardRoutingState `json:"state"`
	UnassignedInfo *UnassignedInformation              `json:"unassigned_info,omitempty"`
}

NodeShard type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Node.ts#L55-L65

type NodeShardBuilder ¶

type NodeShardBuilder struct {
	// contains filtered or unexported fields
}

NodeShardBuilder holds NodeShard struct and provides a builder API.

func NewNodeShardBuilder ¶

func NewNodeShardBuilder() *NodeShardBuilder

NewNodeShard provides a builder for the NodeShard struct.

func (*NodeShardBuilder) AllocationId ¶

func (rb *NodeShardBuilder) AllocationId(value map[string]Id) *NodeShardBuilder

func (*NodeShardBuilder) Build ¶

func (rb *NodeShardBuilder) Build() NodeShard

Build finalize the chain and returns the NodeShard struct

func (*NodeShardBuilder) Index ¶

func (rb *NodeShardBuilder) Index(index IndexName) *NodeShardBuilder

func (*NodeShardBuilder) Node ¶

func (rb *NodeShardBuilder) Node(node NodeName) *NodeShardBuilder

func (*NodeShardBuilder) Primary ¶

func (rb *NodeShardBuilder) Primary(primary bool) *NodeShardBuilder

func (*NodeShardBuilder) RecoverySource ¶

func (rb *NodeShardBuilder) RecoverySource(value map[string]Id) *NodeShardBuilder

func (*NodeShardBuilder) RelocatingNode ¶

func (rb *NodeShardBuilder) RelocatingNode(relocatingnode NodeId) *NodeShardBuilder

func (*NodeShardBuilder) Shard ¶

func (rb *NodeShardBuilder) Shard(shard int) *NodeShardBuilder

func (*NodeShardBuilder) State ¶

func (*NodeShardBuilder) UnassignedInfo ¶

func (rb *NodeShardBuilder) UnassignedInfo(unassignedinfo *UnassignedInformationBuilder) *NodeShardBuilder

type NodeShutdownStatus ¶

type NodeShutdownStatus struct {
	NodeId                NodeId                        `json:"node_id"`
	PersistentTasks       PersistentTaskStatus          `json:"persistent_tasks"`
	Plugins               PluginsStatus                 `json:"plugins"`
	Reason                string                        `json:"reason"`
	ShardMigration        ShardMigrationStatus          `json:"shard_migration"`
	ShutdownStartedmillis EpochTimeUnitMillis           `json:"shutdown_startedmillis"`
	Status                shutdownstatus.ShutdownStatus `json:"status"`
	Type                  shutdowntype.ShutdownType     `json:"type"`
}

NodeShutdownStatus type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/shutdown/get_node/ShutdownGetNodeResponse.ts#L29-L38

type NodeShutdownStatusBuilder ¶

type NodeShutdownStatusBuilder struct {
	// contains filtered or unexported fields
}

NodeShutdownStatusBuilder holds NodeShutdownStatus struct and provides a builder API.

func NewNodeShutdownStatusBuilder ¶

func NewNodeShutdownStatusBuilder() *NodeShutdownStatusBuilder

NewNodeShutdownStatus provides a builder for the NodeShutdownStatus struct.

func (*NodeShutdownStatusBuilder) Build ¶

Build finalize the chain and returns the NodeShutdownStatus struct

func (*NodeShutdownStatusBuilder) NodeId ¶

func (*NodeShutdownStatusBuilder) PersistentTasks ¶

func (*NodeShutdownStatusBuilder) Plugins ¶

func (*NodeShutdownStatusBuilder) Reason ¶

func (*NodeShutdownStatusBuilder) ShardMigration ¶

func (*NodeShutdownStatusBuilder) ShutdownStartedmillis ¶

func (rb *NodeShutdownStatusBuilder) ShutdownStartedmillis(shutdownstartedmillis *EpochTimeUnitMillisBuilder) *NodeShutdownStatusBuilder

func (*NodeShutdownStatusBuilder) Status ¶

func (*NodeShutdownStatusBuilder) Type_ ¶

type NodeStatistics ¶

type NodeStatistics struct {
	// Failed Number of nodes that rejected the request or failed to respond. If this value
	// is not 0, a reason for the rejection or failure is included in the response.
	Failed   int          `json:"failed"`
	Failures []ErrorCause `json:"failures,omitempty"`
	// Successful Number of nodes that responded successfully to the request.
	Successful int `json:"successful"`
	// Total Total number of nodes selected by the request.
	Total int `json:"total"`
}

NodeStatistics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Node.ts#L28-L39

type NodeStatisticsBuilder ¶

type NodeStatisticsBuilder struct {
	// contains filtered or unexported fields
}

NodeStatisticsBuilder holds NodeStatistics struct and provides a builder API.

func NewNodeStatisticsBuilder ¶

func NewNodeStatisticsBuilder() *NodeStatisticsBuilder

NewNodeStatistics provides a builder for the NodeStatistics struct.

func (*NodeStatisticsBuilder) Build ¶

Build finalize the chain and returns the NodeStatistics struct

func (*NodeStatisticsBuilder) Failed ¶

func (rb *NodeStatisticsBuilder) Failed(failed int) *NodeStatisticsBuilder

func (*NodeStatisticsBuilder) Failures ¶

func (*NodeStatisticsBuilder) Successful ¶

func (rb *NodeStatisticsBuilder) Successful(successful int) *NodeStatisticsBuilder

func (*NodeStatisticsBuilder) Total ¶

type NodeTasks ¶

type NodeTasks struct {
	Attributes       map[string]string   `json:"attributes,omitempty"`
	Host             *Host               `json:"host,omitempty"`
	Ip               *Ip                 `json:"ip,omitempty"`
	Name             *NodeId             `json:"name,omitempty"`
	Roles            []string            `json:"roles,omitempty"`
	Tasks            map[TaskId]TaskInfo `json:"tasks"`
	TransportAddress *TransportAddress   `json:"transport_address,omitempty"`
}

NodeTasks type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/tasks/_types/TaskListResponseBase.ts#L49-L57

type NodeTasksBuilder ¶

type NodeTasksBuilder struct {
	// contains filtered or unexported fields
}

NodeTasksBuilder holds NodeTasks struct and provides a builder API.

func NewNodeTasksBuilder ¶

func NewNodeTasksBuilder() *NodeTasksBuilder

NewNodeTasks provides a builder for the NodeTasks struct.

func (*NodeTasksBuilder) Attributes ¶

func (rb *NodeTasksBuilder) Attributes(value map[string]string) *NodeTasksBuilder

func (*NodeTasksBuilder) Build ¶

func (rb *NodeTasksBuilder) Build() NodeTasks

Build finalize the chain and returns the NodeTasks struct

func (*NodeTasksBuilder) Host ¶

func (rb *NodeTasksBuilder) Host(host Host) *NodeTasksBuilder

func (*NodeTasksBuilder) Ip ¶

func (rb *NodeTasksBuilder) Ip(ip Ip) *NodeTasksBuilder

func (*NodeTasksBuilder) Name ¶

func (rb *NodeTasksBuilder) Name(name NodeId) *NodeTasksBuilder

func (*NodeTasksBuilder) Roles ¶

func (rb *NodeTasksBuilder) Roles(roles ...string) *NodeTasksBuilder

func (*NodeTasksBuilder) Tasks ¶

func (rb *NodeTasksBuilder) Tasks(values map[TaskId]*TaskInfoBuilder) *NodeTasksBuilder

func (*NodeTasksBuilder) TransportAddress ¶

func (rb *NodeTasksBuilder) TransportAddress(transportaddress TransportAddress) *NodeTasksBuilder

type NodeThreadPoolInfo ¶

type NodeThreadPoolInfo struct {
	Core      *int      `json:"core,omitempty"`
	KeepAlive *Duration `json:"keep_alive,omitempty"`
	Max       *int      `json:"max,omitempty"`
	QueueSize int       `json:"queue_size"`
	Size      *int      `json:"size,omitempty"`
	Type      string    `json:"type"`
}

NodeThreadPoolInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/info/types.ts#L286-L293

type NodeThreadPoolInfoBuilder ¶

type NodeThreadPoolInfoBuilder struct {
	// contains filtered or unexported fields
}

NodeThreadPoolInfoBuilder holds NodeThreadPoolInfo struct and provides a builder API.

func NewNodeThreadPoolInfoBuilder ¶

func NewNodeThreadPoolInfoBuilder() *NodeThreadPoolInfoBuilder

NewNodeThreadPoolInfo provides a builder for the NodeThreadPoolInfo struct.

func (*NodeThreadPoolInfoBuilder) Build ¶

Build finalize the chain and returns the NodeThreadPoolInfo struct

func (*NodeThreadPoolInfoBuilder) Core ¶

func (*NodeThreadPoolInfoBuilder) KeepAlive ¶

func (*NodeThreadPoolInfoBuilder) Max ¶

func (*NodeThreadPoolInfoBuilder) QueueSize ¶

func (rb *NodeThreadPoolInfoBuilder) QueueSize(queuesize int) *NodeThreadPoolInfoBuilder

func (*NodeThreadPoolInfoBuilder) Size ¶

func (*NodeThreadPoolInfoBuilder) Type_ ¶

type NodeUsage ¶

type NodeUsage struct {
	Aggregations map[string]interface{} `json:"aggregations"`
	RestActions  map[string]int         `json:"rest_actions"`
	Since        EpochTimeUnitMillis    `json:"since"`
	Timestamp    EpochTimeUnitMillis    `json:"timestamp"`
}

NodeUsage type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/usage/types.ts#L25-L30

type NodeUsageBuilder ¶

type NodeUsageBuilder struct {
	// contains filtered or unexported fields
}

NodeUsageBuilder holds NodeUsage struct and provides a builder API.

func NewNodeUsageBuilder ¶

func NewNodeUsageBuilder() *NodeUsageBuilder

NewNodeUsage provides a builder for the NodeUsage struct.

func (*NodeUsageBuilder) Aggregations ¶

func (rb *NodeUsageBuilder) Aggregations(value map[string]interface{}) *NodeUsageBuilder

func (*NodeUsageBuilder) Build ¶

func (rb *NodeUsageBuilder) Build() NodeUsage

Build finalize the chain and returns the NodeUsage struct

func (*NodeUsageBuilder) RestActions ¶

func (rb *NodeUsageBuilder) RestActions(value map[string]int) *NodeUsageBuilder

func (*NodeUsageBuilder) Since ¶

func (*NodeUsageBuilder) Timestamp ¶

type NodesCredentials ¶

type NodesCredentials struct {
	// FileTokens File-backed tokens collected from all nodes
	FileTokens map[string]NodesCredentialsFileToken `json:"file_tokens"`
	// NodeStats General status showing how nodes respond to the above collection request
	NodeStats NodeStatistics `json:"_nodes"`
}

NodesCredentials type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/get_service_credentials/types.ts#L23-L28

type NodesCredentialsBuilder ¶

type NodesCredentialsBuilder struct {
	// contains filtered or unexported fields
}

NodesCredentialsBuilder holds NodesCredentials struct and provides a builder API.

func NewNodesCredentialsBuilder ¶

func NewNodesCredentialsBuilder() *NodesCredentialsBuilder

NewNodesCredentials provides a builder for the NodesCredentials struct.

func (*NodesCredentialsBuilder) Build ¶

Build finalize the chain and returns the NodesCredentials struct

func (*NodesCredentialsBuilder) FileTokens ¶

func (*NodesCredentialsBuilder) NodeStats ¶

type NodesCredentialsFileTokenBuilder ¶

type NodesCredentialsFileTokenBuilder struct {
	// contains filtered or unexported fields
}

NodesCredentialsFileTokenBuilder holds NodesCredentialsFileToken struct and provides a builder API.

func NewNodesCredentialsFileTokenBuilder ¶

func NewNodesCredentialsFileTokenBuilder() *NodesCredentialsFileTokenBuilder

NewNodesCredentialsFileToken provides a builder for the NodesCredentialsFileToken struct.

func (*NodesCredentialsFileTokenBuilder) Build ¶

Build finalize the chain and returns the NodesCredentialsFileToken struct

func (*NodesCredentialsFileTokenBuilder) Nodes ¶

type NodesRecord ¶

type NodesRecord struct {
	// Build es build hash
	Build *string `json:"build,omitempty"`
	// BulkAvgSizeInBytes average size in bytes of shard bulk
	BulkAvgSizeInBytes *string `json:"bulk.avg_size_in_bytes,omitempty"`
	// BulkAvgTime average time spend in shard bulk
	BulkAvgTime *string `json:"bulk.avg_time,omitempty"`
	// BulkTotalOperations number of bulk shard ops
	BulkTotalOperations *string `json:"bulk.total_operations,omitempty"`
	// BulkTotalSizeInBytes total size in bytes of shard bulk
	BulkTotalSizeInBytes *string `json:"bulk.total_size_in_bytes,omitempty"`
	// BulkTotalTime time spend in shard bulk
	BulkTotalTime *string `json:"bulk.total_time,omitempty"`
	// CompletionSize size of completion
	CompletionSize *string `json:"completion.size,omitempty"`
	// Cpu recent cpu usage
	Cpu *string `json:"cpu,omitempty"`
	// DiskAvail available disk space
	DiskAvail *ByteSize `json:"disk.avail,omitempty"`
	// DiskTotal total disk space
	DiskTotal *ByteSize `json:"disk.total,omitempty"`
	// DiskUsed used disk space
	DiskUsed *ByteSize `json:"disk.used,omitempty"`
	// DiskUsedPercent used disk space percentage
	DiskUsedPercent *Percentage `json:"disk.used_percent,omitempty"`
	// FielddataEvictions fielddata evictions
	FielddataEvictions *string `json:"fielddata.evictions,omitempty"`
	// FielddataMemorySize used fielddata cache
	FielddataMemorySize *string `json:"fielddata.memory_size,omitempty"`
	// FileDescCurrent used file descriptors
	FileDescCurrent *string `json:"file_desc.current,omitempty"`
	// FileDescMax max file descriptors
	FileDescMax *string `json:"file_desc.max,omitempty"`
	// FileDescPercent used file descriptor ratio
	FileDescPercent *Percentage `json:"file_desc.percent,omitempty"`
	// Flavor es distribution flavor
	Flavor *string `json:"flavor,omitempty"`
	// FlushTotal number of flushes
	FlushTotal *string `json:"flush.total,omitempty"`
	// FlushTotalTime time spent in flush
	FlushTotalTime *string `json:"flush.total_time,omitempty"`
	// GetCurrent number of current get ops
	GetCurrent *string `json:"get.current,omitempty"`
	// GetExistsTime time spent in successful gets
	GetExistsTime *string `json:"get.exists_time,omitempty"`
	// GetExistsTotal number of successful gets
	GetExistsTotal *string `json:"get.exists_total,omitempty"`
	// GetMissingTime time spent in failed gets
	GetMissingTime *string `json:"get.missing_time,omitempty"`
	// GetMissingTotal number of failed gets
	GetMissingTotal *string `json:"get.missing_total,omitempty"`
	// GetTime time spent in get
	GetTime *string `json:"get.time,omitempty"`
	// GetTotal number of get ops
	GetTotal *string `json:"get.total,omitempty"`
	// HeapCurrent used heap
	HeapCurrent *string `json:"heap.current,omitempty"`
	// HeapMax max configured heap
	HeapMax *string `json:"heap.max,omitempty"`
	// HeapPercent used heap ratio
	HeapPercent *Percentage `json:"heap.percent,omitempty"`
	// HttpAddress bound http address
	HttpAddress *string `json:"http_address,omitempty"`
	// Id unique node id
	Id *Id `json:"id,omitempty"`
	// IndexingDeleteCurrent number of current deletions
	IndexingDeleteCurrent *string `json:"indexing.delete_current,omitempty"`
	// IndexingDeleteTime time spent in deletions
	IndexingDeleteTime *string `json:"indexing.delete_time,omitempty"`
	// IndexingDeleteTotal number of delete ops
	IndexingDeleteTotal *string `json:"indexing.delete_total,omitempty"`
	// IndexingIndexCurrent number of current indexing ops
	IndexingIndexCurrent *string `json:"indexing.index_current,omitempty"`
	// IndexingIndexFailed number of failed indexing ops
	IndexingIndexFailed *string `json:"indexing.index_failed,omitempty"`
	// IndexingIndexTime time spent in indexing
	IndexingIndexTime *string `json:"indexing.index_time,omitempty"`
	// IndexingIndexTotal number of indexing ops
	IndexingIndexTotal *string `json:"indexing.index_total,omitempty"`
	// Ip ip address
	Ip *string `json:"ip,omitempty"`
	// Jdk jdk version
	Jdk *string `json:"jdk,omitempty"`
	// Load15m 15m load avg
	Load15m *string `json:"load_15m,omitempty"`
	// Load1m 1m load avg
	Load1m *string `json:"load_1m,omitempty"`
	// Load5m 5m load avg
	Load5m *string `json:"load_5m,omitempty"`
	// Master *:current master
	Master *string `json:"master,omitempty"`
	// MergesCurrent number of current merges
	MergesCurrent *string `json:"merges.current,omitempty"`
	// MergesCurrentDocs number of current merging docs
	MergesCurrentDocs *string `json:"merges.current_docs,omitempty"`
	// MergesCurrentSize size of current merges
	MergesCurrentSize *string `json:"merges.current_size,omitempty"`
	// MergesTotal number of completed merge ops
	MergesTotal *string `json:"merges.total,omitempty"`
	// MergesTotalDocs docs merged
	MergesTotalDocs *string `json:"merges.total_docs,omitempty"`
	// MergesTotalSize size merged
	MergesTotalSize *string `json:"merges.total_size,omitempty"`
	// MergesTotalTime time spent in merges
	MergesTotalTime *string `json:"merges.total_time,omitempty"`
	// Name node name
	Name *Name `json:"name,omitempty"`
	// NodeRole m:master eligible node, d:data node, i:ingest node, -:coordinating node only
	NodeRole *string `json:"node.role,omitempty"`
	// Pid process id
	Pid *string `json:"pid,omitempty"`
	// Port bound transport port
	Port *string `json:"port,omitempty"`
	// QueryCacheEvictions query cache evictions
	QueryCacheEvictions *string `json:"query_cache.evictions,omitempty"`
	// QueryCacheHitCount query cache hit counts
	QueryCacheHitCount *string `json:"query_cache.hit_count,omitempty"`
	// QueryCacheMemorySize used query cache
	QueryCacheMemorySize *string `json:"query_cache.memory_size,omitempty"`
	// QueryCacheMissCount query cache miss counts
	QueryCacheMissCount *string `json:"query_cache.miss_count,omitempty"`
	// RamCurrent used machine memory
	RamCurrent *string `json:"ram.current,omitempty"`
	// RamMax total machine memory
	RamMax *string `json:"ram.max,omitempty"`
	// RamPercent used machine memory ratio
	RamPercent *Percentage `json:"ram.percent,omitempty"`
	// RefreshExternalTime time spent in external refreshes
	RefreshExternalTime *string `json:"refresh.external_time,omitempty"`
	// RefreshExternalTotal total external refreshes
	RefreshExternalTotal *string `json:"refresh.external_total,omitempty"`
	// RefreshListeners number of pending refresh listeners
	RefreshListeners *string `json:"refresh.listeners,omitempty"`
	// RefreshTime time spent in refreshes
	RefreshTime *string `json:"refresh.time,omitempty"`
	// RefreshTotal total refreshes
	RefreshTotal *string `json:"refresh.total,omitempty"`
	// RequestCacheEvictions request cache evictions
	RequestCacheEvictions *string `json:"request_cache.evictions,omitempty"`
	// RequestCacheHitCount request cache hit counts
	RequestCacheHitCount *string `json:"request_cache.hit_count,omitempty"`
	// RequestCacheMemorySize used request cache
	RequestCacheMemorySize *string `json:"request_cache.memory_size,omitempty"`
	// RequestCacheMissCount request cache miss counts
	RequestCacheMissCount *string `json:"request_cache.miss_count,omitempty"`
	// ScriptCacheEvictions script cache evictions
	ScriptCacheEvictions *string `json:"script.cache_evictions,omitempty"`
	// ScriptCompilationLimitTriggered script cache compilation limit triggered
	ScriptCompilationLimitTriggered *string `json:"script.compilation_limit_triggered,omitempty"`
	// ScriptCompilations script compilations
	ScriptCompilations *string `json:"script.compilations,omitempty"`
	// SearchFetchCurrent current fetch phase ops
	SearchFetchCurrent *string `json:"search.fetch_current,omitempty"`
	// SearchFetchTime time spent in fetch phase
	SearchFetchTime *string `json:"search.fetch_time,omitempty"`
	// SearchFetchTotal total fetch ops
	SearchFetchTotal *string `json:"search.fetch_total,omitempty"`
	// SearchOpenContexts open search contexts
	SearchOpenContexts *string `json:"search.open_contexts,omitempty"`
	// SearchQueryCurrent current query phase ops
	SearchQueryCurrent *string `json:"search.query_current,omitempty"`
	// SearchQueryTime time spent in query phase
	SearchQueryTime *string `json:"search.query_time,omitempty"`
	// SearchQueryTotal total query phase ops
	SearchQueryTotal *string `json:"search.query_total,omitempty"`
	// SearchScrollCurrent open scroll contexts
	SearchScrollCurrent *string `json:"search.scroll_current,omitempty"`
	// SearchScrollTime time scroll contexts held open
	SearchScrollTime *string `json:"search.scroll_time,omitempty"`
	// SearchScrollTotal completed scroll contexts
	SearchScrollTotal *string `json:"search.scroll_total,omitempty"`
	// SegmentsCount number of segments
	SegmentsCount *string `json:"segments.count,omitempty"`
	// SegmentsFixedBitsetMemory memory used by fixed bit sets for nested object field types  and export type
	// filters for types referred in _parent fields
	SegmentsFixedBitsetMemory *string `json:"segments.fixed_bitset_memory,omitempty"`
	// SegmentsIndexWriterMemory memory used by index writer
	SegmentsIndexWriterMemory *string `json:"segments.index_writer_memory,omitempty"`
	// SegmentsMemory memory used by segments
	SegmentsMemory *string `json:"segments.memory,omitempty"`
	// SegmentsVersionMapMemory memory used by version map
	SegmentsVersionMapMemory *string `json:"segments.version_map_memory,omitempty"`
	// SuggestCurrent number of current suggest ops
	SuggestCurrent *string `json:"suggest.current,omitempty"`
	// SuggestTime time spend in suggest
	SuggestTime *string `json:"suggest.time,omitempty"`
	// SuggestTotal number of suggest ops
	SuggestTotal *string `json:"suggest.total,omitempty"`
	// Type es distribution type
	Type *string `json:"type,omitempty"`
	// Uptime node uptime
	Uptime *string `json:"uptime,omitempty"`
	// Version es version
	Version *VersionString `json:"version,omitempty"`
}

NodesRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/nodes/types.ts#L23-L541

type NodesRecordBuilder ¶

type NodesRecordBuilder struct {
	// contains filtered or unexported fields
}

NodesRecordBuilder holds NodesRecord struct and provides a builder API.

func NewNodesRecordBuilder ¶

func NewNodesRecordBuilder() *NodesRecordBuilder

NewNodesRecord provides a builder for the NodesRecord struct.

func (*NodesRecordBuilder) Build ¶

func (rb *NodesRecordBuilder) Build() NodesRecord

Build finalize the chain and returns the NodesRecord struct

func (*NodesRecordBuilder) Build_ ¶

func (rb *NodesRecordBuilder) Build_(build_ string) *NodesRecordBuilder

func (*NodesRecordBuilder) BulkAvgSizeInBytes ¶

func (rb *NodesRecordBuilder) BulkAvgSizeInBytes(bulkavgsizeinbytes string) *NodesRecordBuilder

func (*NodesRecordBuilder) BulkAvgTime ¶

func (rb *NodesRecordBuilder) BulkAvgTime(bulkavgtime string) *NodesRecordBuilder

func (*NodesRecordBuilder) BulkTotalOperations ¶

func (rb *NodesRecordBuilder) BulkTotalOperations(bulktotaloperations string) *NodesRecordBuilder

func (*NodesRecordBuilder) BulkTotalSizeInBytes ¶

func (rb *NodesRecordBuilder) BulkTotalSizeInBytes(bulktotalsizeinbytes string) *NodesRecordBuilder

func (*NodesRecordBuilder) BulkTotalTime ¶

func (rb *NodesRecordBuilder) BulkTotalTime(bulktotaltime string) *NodesRecordBuilder

func (*NodesRecordBuilder) CompletionSize ¶

func (rb *NodesRecordBuilder) CompletionSize(completionsize string) *NodesRecordBuilder

func (*NodesRecordBuilder) Cpu ¶

func (*NodesRecordBuilder) DiskAvail ¶

func (rb *NodesRecordBuilder) DiskAvail(diskavail *ByteSizeBuilder) *NodesRecordBuilder

func (*NodesRecordBuilder) DiskTotal ¶

func (rb *NodesRecordBuilder) DiskTotal(disktotal *ByteSizeBuilder) *NodesRecordBuilder

func (*NodesRecordBuilder) DiskUsed ¶

func (rb *NodesRecordBuilder) DiskUsed(diskused *ByteSizeBuilder) *NodesRecordBuilder

func (*NodesRecordBuilder) DiskUsedPercent ¶

func (rb *NodesRecordBuilder) DiskUsedPercent(diskusedpercent *PercentageBuilder) *NodesRecordBuilder

func (*NodesRecordBuilder) FielddataEvictions ¶

func (rb *NodesRecordBuilder) FielddataEvictions(fielddataevictions string) *NodesRecordBuilder

func (*NodesRecordBuilder) FielddataMemorySize ¶

func (rb *NodesRecordBuilder) FielddataMemorySize(fielddatamemorysize string) *NodesRecordBuilder

func (*NodesRecordBuilder) FileDescCurrent ¶

func (rb *NodesRecordBuilder) FileDescCurrent(filedesccurrent string) *NodesRecordBuilder

func (*NodesRecordBuilder) FileDescMax ¶

func (rb *NodesRecordBuilder) FileDescMax(filedescmax string) *NodesRecordBuilder

func (*NodesRecordBuilder) FileDescPercent ¶

func (rb *NodesRecordBuilder) FileDescPercent(filedescpercent *PercentageBuilder) *NodesRecordBuilder

func (*NodesRecordBuilder) Flavor ¶

func (rb *NodesRecordBuilder) Flavor(flavor string) *NodesRecordBuilder

func (*NodesRecordBuilder) FlushTotal ¶

func (rb *NodesRecordBuilder) FlushTotal(flushtotal string) *NodesRecordBuilder

func (*NodesRecordBuilder) FlushTotalTime ¶

func (rb *NodesRecordBuilder) FlushTotalTime(flushtotaltime string) *NodesRecordBuilder

func (*NodesRecordBuilder) GetCurrent ¶

func (rb *NodesRecordBuilder) GetCurrent(getcurrent string) *NodesRecordBuilder

func (*NodesRecordBuilder) GetExistsTime ¶

func (rb *NodesRecordBuilder) GetExistsTime(getexiststime string) *NodesRecordBuilder

func (*NodesRecordBuilder) GetExistsTotal ¶

func (rb *NodesRecordBuilder) GetExistsTotal(getexiststotal string) *NodesRecordBuilder

func (*NodesRecordBuilder) GetMissingTime ¶

func (rb *NodesRecordBuilder) GetMissingTime(getmissingtime string) *NodesRecordBuilder

func (*NodesRecordBuilder) GetMissingTotal ¶

func (rb *NodesRecordBuilder) GetMissingTotal(getmissingtotal string) *NodesRecordBuilder

func (*NodesRecordBuilder) GetTime ¶

func (rb *NodesRecordBuilder) GetTime(gettime string) *NodesRecordBuilder

func (*NodesRecordBuilder) GetTotal ¶

func (rb *NodesRecordBuilder) GetTotal(gettotal string) *NodesRecordBuilder

func (*NodesRecordBuilder) HeapCurrent ¶

func (rb *NodesRecordBuilder) HeapCurrent(heapcurrent string) *NodesRecordBuilder

func (*NodesRecordBuilder) HeapMax ¶

func (rb *NodesRecordBuilder) HeapMax(heapmax string) *NodesRecordBuilder

func (*NodesRecordBuilder) HeapPercent ¶

func (rb *NodesRecordBuilder) HeapPercent(heappercent *PercentageBuilder) *NodesRecordBuilder

func (*NodesRecordBuilder) HttpAddress ¶

func (rb *NodesRecordBuilder) HttpAddress(httpaddress string) *NodesRecordBuilder

func (*NodesRecordBuilder) Id ¶

func (*NodesRecordBuilder) IndexingDeleteCurrent ¶

func (rb *NodesRecordBuilder) IndexingDeleteCurrent(indexingdeletecurrent string) *NodesRecordBuilder

func (*NodesRecordBuilder) IndexingDeleteTime ¶

func (rb *NodesRecordBuilder) IndexingDeleteTime(indexingdeletetime string) *NodesRecordBuilder

func (*NodesRecordBuilder) IndexingDeleteTotal ¶

func (rb *NodesRecordBuilder) IndexingDeleteTotal(indexingdeletetotal string) *NodesRecordBuilder

func (*NodesRecordBuilder) IndexingIndexCurrent ¶

func (rb *NodesRecordBuilder) IndexingIndexCurrent(indexingindexcurrent string) *NodesRecordBuilder

func (*NodesRecordBuilder) IndexingIndexFailed ¶

func (rb *NodesRecordBuilder) IndexingIndexFailed(indexingindexfailed string) *NodesRecordBuilder

func (*NodesRecordBuilder) IndexingIndexTime ¶

func (rb *NodesRecordBuilder) IndexingIndexTime(indexingindextime string) *NodesRecordBuilder

func (*NodesRecordBuilder) IndexingIndexTotal ¶

func (rb *NodesRecordBuilder) IndexingIndexTotal(indexingindextotal string) *NodesRecordBuilder

func (*NodesRecordBuilder) Ip ¶

func (*NodesRecordBuilder) Jdk ¶

func (*NodesRecordBuilder) Load15m ¶

func (rb *NodesRecordBuilder) Load15m(load15m string) *NodesRecordBuilder

func (*NodesRecordBuilder) Load1m ¶

func (rb *NodesRecordBuilder) Load1m(load1m string) *NodesRecordBuilder

func (*NodesRecordBuilder) Load5m ¶

func (rb *NodesRecordBuilder) Load5m(load5m string) *NodesRecordBuilder

func (*NodesRecordBuilder) Master ¶

func (rb *NodesRecordBuilder) Master(master string) *NodesRecordBuilder

func (*NodesRecordBuilder) MergesCurrent ¶

func (rb *NodesRecordBuilder) MergesCurrent(mergescurrent string) *NodesRecordBuilder

func (*NodesRecordBuilder) MergesCurrentDocs ¶

func (rb *NodesRecordBuilder) MergesCurrentDocs(mergescurrentdocs string) *NodesRecordBuilder

func (*NodesRecordBuilder) MergesCurrentSize ¶

func (rb *NodesRecordBuilder) MergesCurrentSize(mergescurrentsize string) *NodesRecordBuilder

func (*NodesRecordBuilder) MergesTotal ¶

func (rb *NodesRecordBuilder) MergesTotal(mergestotal string) *NodesRecordBuilder

func (*NodesRecordBuilder) MergesTotalDocs ¶

func (rb *NodesRecordBuilder) MergesTotalDocs(mergestotaldocs string) *NodesRecordBuilder

func (*NodesRecordBuilder) MergesTotalSize ¶

func (rb *NodesRecordBuilder) MergesTotalSize(mergestotalsize string) *NodesRecordBuilder

func (*NodesRecordBuilder) MergesTotalTime ¶

func (rb *NodesRecordBuilder) MergesTotalTime(mergestotaltime string) *NodesRecordBuilder

func (*NodesRecordBuilder) Name ¶

func (rb *NodesRecordBuilder) Name(name Name) *NodesRecordBuilder

func (*NodesRecordBuilder) NodeRole ¶

func (rb *NodesRecordBuilder) NodeRole(noderole string) *NodesRecordBuilder

func (*NodesRecordBuilder) Pid ¶

func (*NodesRecordBuilder) Port ¶

func (*NodesRecordBuilder) QueryCacheEvictions ¶

func (rb *NodesRecordBuilder) QueryCacheEvictions(querycacheevictions string) *NodesRecordBuilder

func (*NodesRecordBuilder) QueryCacheHitCount ¶

func (rb *NodesRecordBuilder) QueryCacheHitCount(querycachehitcount string) *NodesRecordBuilder

func (*NodesRecordBuilder) QueryCacheMemorySize ¶

func (rb *NodesRecordBuilder) QueryCacheMemorySize(querycachememorysize string) *NodesRecordBuilder

func (*NodesRecordBuilder) QueryCacheMissCount ¶

func (rb *NodesRecordBuilder) QueryCacheMissCount(querycachemisscount string) *NodesRecordBuilder

func (*NodesRecordBuilder) RamCurrent ¶

func (rb *NodesRecordBuilder) RamCurrent(ramcurrent string) *NodesRecordBuilder

func (*NodesRecordBuilder) RamMax ¶

func (rb *NodesRecordBuilder) RamMax(rammax string) *NodesRecordBuilder

func (*NodesRecordBuilder) RamPercent ¶

func (rb *NodesRecordBuilder) RamPercent(rampercent *PercentageBuilder) *NodesRecordBuilder

func (*NodesRecordBuilder) RefreshExternalTime ¶

func (rb *NodesRecordBuilder) RefreshExternalTime(refreshexternaltime string) *NodesRecordBuilder

func (*NodesRecordBuilder) RefreshExternalTotal ¶

func (rb *NodesRecordBuilder) RefreshExternalTotal(refreshexternaltotal string) *NodesRecordBuilder

func (*NodesRecordBuilder) RefreshListeners ¶

func (rb *NodesRecordBuilder) RefreshListeners(refreshlisteners string) *NodesRecordBuilder

func (*NodesRecordBuilder) RefreshTime ¶

func (rb *NodesRecordBuilder) RefreshTime(refreshtime string) *NodesRecordBuilder

func (*NodesRecordBuilder) RefreshTotal ¶

func (rb *NodesRecordBuilder) RefreshTotal(refreshtotal string) *NodesRecordBuilder

func (*NodesRecordBuilder) RequestCacheEvictions ¶

func (rb *NodesRecordBuilder) RequestCacheEvictions(requestcacheevictions string) *NodesRecordBuilder

func (*NodesRecordBuilder) RequestCacheHitCount ¶

func (rb *NodesRecordBuilder) RequestCacheHitCount(requestcachehitcount string) *NodesRecordBuilder

func (*NodesRecordBuilder) RequestCacheMemorySize ¶

func (rb *NodesRecordBuilder) RequestCacheMemorySize(requestcachememorysize string) *NodesRecordBuilder

func (*NodesRecordBuilder) RequestCacheMissCount ¶

func (rb *NodesRecordBuilder) RequestCacheMissCount(requestcachemisscount string) *NodesRecordBuilder

func (*NodesRecordBuilder) ScriptCacheEvictions ¶

func (rb *NodesRecordBuilder) ScriptCacheEvictions(scriptcacheevictions string) *NodesRecordBuilder

func (*NodesRecordBuilder) ScriptCompilationLimitTriggered ¶

func (rb *NodesRecordBuilder) ScriptCompilationLimitTriggered(scriptcompilationlimittriggered string) *NodesRecordBuilder

func (*NodesRecordBuilder) ScriptCompilations ¶

func (rb *NodesRecordBuilder) ScriptCompilations(scriptcompilations string) *NodesRecordBuilder

func (*NodesRecordBuilder) SearchFetchCurrent ¶

func (rb *NodesRecordBuilder) SearchFetchCurrent(searchfetchcurrent string) *NodesRecordBuilder

func (*NodesRecordBuilder) SearchFetchTime ¶

func (rb *NodesRecordBuilder) SearchFetchTime(searchfetchtime string) *NodesRecordBuilder

func (*NodesRecordBuilder) SearchFetchTotal ¶

func (rb *NodesRecordBuilder) SearchFetchTotal(searchfetchtotal string) *NodesRecordBuilder

func (*NodesRecordBuilder) SearchOpenContexts ¶

func (rb *NodesRecordBuilder) SearchOpenContexts(searchopencontexts string) *NodesRecordBuilder

func (*NodesRecordBuilder) SearchQueryCurrent ¶

func (rb *NodesRecordBuilder) SearchQueryCurrent(searchquerycurrent string) *NodesRecordBuilder

func (*NodesRecordBuilder) SearchQueryTime ¶

func (rb *NodesRecordBuilder) SearchQueryTime(searchquerytime string) *NodesRecordBuilder

func (*NodesRecordBuilder) SearchQueryTotal ¶

func (rb *NodesRecordBuilder) SearchQueryTotal(searchquerytotal string) *NodesRecordBuilder

func (*NodesRecordBuilder) SearchScrollCurrent ¶

func (rb *NodesRecordBuilder) SearchScrollCurrent(searchscrollcurrent string) *NodesRecordBuilder

func (*NodesRecordBuilder) SearchScrollTime ¶

func (rb *NodesRecordBuilder) SearchScrollTime(searchscrolltime string) *NodesRecordBuilder

func (*NodesRecordBuilder) SearchScrollTotal ¶

func (rb *NodesRecordBuilder) SearchScrollTotal(searchscrolltotal string) *NodesRecordBuilder

func (*NodesRecordBuilder) SegmentsCount ¶

func (rb *NodesRecordBuilder) SegmentsCount(segmentscount string) *NodesRecordBuilder

func (*NodesRecordBuilder) SegmentsFixedBitsetMemory ¶

func (rb *NodesRecordBuilder) SegmentsFixedBitsetMemory(segmentsfixedbitsetmemory string) *NodesRecordBuilder

func (*NodesRecordBuilder) SegmentsIndexWriterMemory ¶

func (rb *NodesRecordBuilder) SegmentsIndexWriterMemory(segmentsindexwritermemory string) *NodesRecordBuilder

func (*NodesRecordBuilder) SegmentsMemory ¶

func (rb *NodesRecordBuilder) SegmentsMemory(segmentsmemory string) *NodesRecordBuilder

func (*NodesRecordBuilder) SegmentsVersionMapMemory ¶

func (rb *NodesRecordBuilder) SegmentsVersionMapMemory(segmentsversionmapmemory string) *NodesRecordBuilder

func (*NodesRecordBuilder) SuggestCurrent ¶

func (rb *NodesRecordBuilder) SuggestCurrent(suggestcurrent string) *NodesRecordBuilder

func (*NodesRecordBuilder) SuggestTime ¶

func (rb *NodesRecordBuilder) SuggestTime(suggesttime string) *NodesRecordBuilder

func (*NodesRecordBuilder) SuggestTotal ¶

func (rb *NodesRecordBuilder) SuggestTotal(suggesttotal string) *NodesRecordBuilder

func (*NodesRecordBuilder) Type_ ¶

func (rb *NodesRecordBuilder) Type_(type_ string) *NodesRecordBuilder

func (*NodesRecordBuilder) Uptime ¶

func (rb *NodesRecordBuilder) Uptime(uptime string) *NodesRecordBuilder

func (*NodesRecordBuilder) Version ¶

func (rb *NodesRecordBuilder) Version(version VersionString) *NodesRecordBuilder

type NodesResponseBase ¶

type NodesResponseBase struct {
	// NodeStats Contains statistics about the number of nodes selected by the request’s node
	// filters.
	NodeStats *NodeStatistics `json:"_nodes,omitempty"`
}

NodesResponseBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/NodesResponseBase.ts#L22-L29

type NodesResponseBaseBuilder ¶

type NodesResponseBaseBuilder struct {
	// contains filtered or unexported fields
}

NodesResponseBaseBuilder holds NodesResponseBase struct and provides a builder API.

func NewNodesResponseBaseBuilder ¶

func NewNodesResponseBaseBuilder() *NodesResponseBaseBuilder

NewNodesResponseBase provides a builder for the NodesResponseBase struct.

func (*NodesResponseBaseBuilder) Build ¶

Build finalize the chain and returns the NodesResponseBase struct

func (*NodesResponseBaseBuilder) NodeStats ¶

type NoriAnalyzer ¶

type NoriAnalyzer struct {
	DecompoundMode *noridecompoundmode.NoriDecompoundMode `json:"decompound_mode,omitempty"`
	Stoptags       []string                               `json:"stoptags,omitempty"`
	Type           string                                 `json:"type,omitempty"`
	UserDictionary *string                                `json:"user_dictionary,omitempty"`
	Version        *VersionString                         `json:"version,omitempty"`
}

NoriAnalyzer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/analyzers.ts#L66-L72

type NoriAnalyzerBuilder ¶

type NoriAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

NoriAnalyzerBuilder holds NoriAnalyzer struct and provides a builder API.

func NewNoriAnalyzerBuilder ¶

func NewNoriAnalyzerBuilder() *NoriAnalyzerBuilder

NewNoriAnalyzer provides a builder for the NoriAnalyzer struct.

func (*NoriAnalyzerBuilder) Build ¶

func (rb *NoriAnalyzerBuilder) Build() NoriAnalyzer

Build finalize the chain and returns the NoriAnalyzer struct

func (*NoriAnalyzerBuilder) DecompoundMode ¶

func (*NoriAnalyzerBuilder) Stoptags ¶

func (rb *NoriAnalyzerBuilder) Stoptags(stoptags ...string) *NoriAnalyzerBuilder

func (*NoriAnalyzerBuilder) UserDictionary ¶

func (rb *NoriAnalyzerBuilder) UserDictionary(userdictionary string) *NoriAnalyzerBuilder

func (*NoriAnalyzerBuilder) Version ¶

type NoriPartOfSpeechTokenFilter ¶

type NoriPartOfSpeechTokenFilter struct {
	Stoptags []string       `json:"stoptags,omitempty"`
	Type     string         `json:"type,omitempty"`
	Version  *VersionString `json:"version,omitempty"`
}

NoriPartOfSpeechTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L272-L275

type NoriPartOfSpeechTokenFilterBuilder ¶

type NoriPartOfSpeechTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

NoriPartOfSpeechTokenFilterBuilder holds NoriPartOfSpeechTokenFilter struct and provides a builder API.

func NewNoriPartOfSpeechTokenFilterBuilder ¶

func NewNoriPartOfSpeechTokenFilterBuilder() *NoriPartOfSpeechTokenFilterBuilder

NewNoriPartOfSpeechTokenFilter provides a builder for the NoriPartOfSpeechTokenFilter struct.

func (*NoriPartOfSpeechTokenFilterBuilder) Build ¶

Build finalize the chain and returns the NoriPartOfSpeechTokenFilter struct

func (*NoriPartOfSpeechTokenFilterBuilder) Stoptags ¶

func (*NoriPartOfSpeechTokenFilterBuilder) Version ¶

type NoriTokenizer ¶

type NoriTokenizer struct {
	DecompoundMode      *noridecompoundmode.NoriDecompoundMode `json:"decompound_mode,omitempty"`
	DiscardPunctuation  *bool                                  `json:"discard_punctuation,omitempty"`
	Type                string                                 `json:"type,omitempty"`
	UserDictionary      *string                                `json:"user_dictionary,omitempty"`
	UserDictionaryRules []string                               `json:"user_dictionary_rules,omitempty"`
	Version             *VersionString                         `json:"version,omitempty"`
}

NoriTokenizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L80-L86

type NoriTokenizerBuilder ¶

type NoriTokenizerBuilder struct {
	// contains filtered or unexported fields
}

NoriTokenizerBuilder holds NoriTokenizer struct and provides a builder API.

func NewNoriTokenizerBuilder ¶

func NewNoriTokenizerBuilder() *NoriTokenizerBuilder

NewNoriTokenizer provides a builder for the NoriTokenizer struct.

func (*NoriTokenizerBuilder) Build ¶

func (rb *NoriTokenizerBuilder) Build() NoriTokenizer

Build finalize the chain and returns the NoriTokenizer struct

func (*NoriTokenizerBuilder) DecompoundMode ¶

func (*NoriTokenizerBuilder) DiscardPunctuation ¶

func (rb *NoriTokenizerBuilder) DiscardPunctuation(discardpunctuation bool) *NoriTokenizerBuilder

func (*NoriTokenizerBuilder) UserDictionary ¶

func (rb *NoriTokenizerBuilder) UserDictionary(userdictionary string) *NoriTokenizerBuilder

func (*NoriTokenizerBuilder) UserDictionaryRules ¶

func (rb *NoriTokenizerBuilder) UserDictionaryRules(user_dictionary_rules ...string) *NoriTokenizerBuilder

func (*NoriTokenizerBuilder) Version ¶

type NormalizeAggregation ¶

type NormalizeAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath                     `json:"buckets_path,omitempty"`
	Format      *string                          `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy             `json:"gap_policy,omitempty"`
	Meta        *Metadata                        `json:"meta,omitempty"`
	Method      *normalizemethod.NormalizeMethod `json:"method,omitempty"`
	Name        *string                          `json:"name,omitempty"`
}

NormalizeAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L250-L252

type NormalizeAggregationBuilder ¶

type NormalizeAggregationBuilder struct {
	// contains filtered or unexported fields
}

NormalizeAggregationBuilder holds NormalizeAggregation struct and provides a builder API.

func NewNormalizeAggregationBuilder ¶

func NewNormalizeAggregationBuilder() *NormalizeAggregationBuilder

NewNormalizeAggregation provides a builder for the NormalizeAggregation struct.

func (*NormalizeAggregationBuilder) BucketsPath ¶

func (*NormalizeAggregationBuilder) Build ¶

Build finalize the chain and returns the NormalizeAggregation struct

func (*NormalizeAggregationBuilder) Format ¶

func (*NormalizeAggregationBuilder) GapPolicy ¶

func (*NormalizeAggregationBuilder) Meta ¶

func (*NormalizeAggregationBuilder) Method ¶

func (*NormalizeAggregationBuilder) Name ¶

type Normalizer ¶

type Normalizer interface{}

Normalizer holds the union for the following types:

CustomNormalizer
LowercaseNormalizer

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/normalizers.ts#L20-L24

type NormalizerBuilder ¶

type NormalizerBuilder struct {
	// contains filtered or unexported fields
}

NormalizerBuilder holds Normalizer struct and provides a builder API.

func NewNormalizerBuilder ¶

func NewNormalizerBuilder() *NormalizerBuilder

NewNormalizer provides a builder for the Normalizer struct.

func (*NormalizerBuilder) Build ¶

func (u *NormalizerBuilder) Build() Normalizer

Build finalize the chain and returns the Normalizer struct

func (*NormalizerBuilder) CustomNormalizer ¶

func (u *NormalizerBuilder) CustomNormalizer(customnormalizer *CustomNormalizerBuilder) *NormalizerBuilder

func (*NormalizerBuilder) LowercaseNormalizer ¶

func (u *NormalizerBuilder) LowercaseNormalizer(lowercasenormalizer *LowercaseNormalizerBuilder) *NormalizerBuilder

type NumberPropertyBase ¶

type NumberPropertyBase struct {
	CopyTo           *Fields                                    `json:"copy_to,omitempty"`
	DocValues        *bool                                      `json:"doc_values,omitempty"`
	Dynamic          *dynamicmapping.DynamicMapping             `json:"dynamic,omitempty"`
	Fields           map[PropertyName]Property                  `json:"fields,omitempty"`
	IgnoreAbove      *int                                       `json:"ignore_above,omitempty"`
	IgnoreMalformed  *bool                                      `json:"ignore_malformed,omitempty"`
	Index            *bool                                      `json:"index,omitempty"`
	LocalMetadata    *Metadata                                  `json:"local_metadata,omitempty"`
	Meta             map[string]string                          `json:"meta,omitempty"`
	Properties       map[PropertyName]Property                  `json:"properties,omitempty"`
	Similarity       *string                                    `json:"similarity,omitempty"`
	Store            *bool                                      `json:"store,omitempty"`
	TimeSeriesMetric *timeseriesmetrictype.TimeSeriesMetricType `json:"time_series_metric,omitempty"`
}

NumberPropertyBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L102-L106

type NumberPropertyBaseBuilder ¶

type NumberPropertyBaseBuilder struct {
	// contains filtered or unexported fields
}

NumberPropertyBaseBuilder holds NumberPropertyBase struct and provides a builder API.

func NewNumberPropertyBaseBuilder ¶

func NewNumberPropertyBaseBuilder() *NumberPropertyBaseBuilder

NewNumberPropertyBase provides a builder for the NumberPropertyBase struct.

func (*NumberPropertyBaseBuilder) Build ¶

Build finalize the chain and returns the NumberPropertyBase struct

func (*NumberPropertyBaseBuilder) CopyTo ¶

func (*NumberPropertyBaseBuilder) DocValues ¶

func (rb *NumberPropertyBaseBuilder) DocValues(docvalues bool) *NumberPropertyBaseBuilder

func (*NumberPropertyBaseBuilder) Dynamic ¶

func (*NumberPropertyBaseBuilder) Fields ¶

func (*NumberPropertyBaseBuilder) IgnoreAbove ¶

func (rb *NumberPropertyBaseBuilder) IgnoreAbove(ignoreabove int) *NumberPropertyBaseBuilder

func (*NumberPropertyBaseBuilder) IgnoreMalformed ¶

func (rb *NumberPropertyBaseBuilder) IgnoreMalformed(ignoremalformed bool) *NumberPropertyBaseBuilder

func (*NumberPropertyBaseBuilder) Index ¶

func (*NumberPropertyBaseBuilder) LocalMetadata ¶

func (rb *NumberPropertyBaseBuilder) LocalMetadata(localmetadata *MetadataBuilder) *NumberPropertyBaseBuilder

func (*NumberPropertyBaseBuilder) Meta ¶

func (*NumberPropertyBaseBuilder) Properties ¶

func (*NumberPropertyBaseBuilder) Similarity ¶

func (rb *NumberPropertyBaseBuilder) Similarity(similarity string) *NumberPropertyBaseBuilder

func (*NumberPropertyBaseBuilder) Store ¶

func (*NumberPropertyBaseBuilder) TimeSeriesMetric ¶

type NumberRangeQuery ¶

type NumberRangeQuery struct {
	Boost      *float32                     `json:"boost,omitempty"`
	From       float64                      `json:"from,omitempty"`
	Gt         *float64                     `json:"gt,omitempty"`
	Gte        *float64                     `json:"gte,omitempty"`
	Lt         *float64                     `json:"lt,omitempty"`
	Lte        *float64                     `json:"lte,omitempty"`
	QueryName_ *string                      `json:"_name,omitempty"`
	Relation   *rangerelation.RangeRelation `json:"relation,omitempty"`
	To         float64                      `json:"to,omitempty"`
}

NumberRangeQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L92-L99

type NumberRangeQueryBuilder ¶

type NumberRangeQueryBuilder struct {
	// contains filtered or unexported fields
}

NumberRangeQueryBuilder holds NumberRangeQuery struct and provides a builder API.

func NewNumberRangeQueryBuilder ¶

func NewNumberRangeQueryBuilder() *NumberRangeQueryBuilder

NewNumberRangeQuery provides a builder for the NumberRangeQuery struct.

func (*NumberRangeQueryBuilder) Boost ¶

func (*NumberRangeQueryBuilder) Build ¶

Build finalize the chain and returns the NumberRangeQuery struct

func (*NumberRangeQueryBuilder) From ¶

func (*NumberRangeQueryBuilder) Gt ¶

func (*NumberRangeQueryBuilder) Gte ¶

func (*NumberRangeQueryBuilder) Lt ¶

func (*NumberRangeQueryBuilder) Lte ¶

func (*NumberRangeQueryBuilder) QueryName_ ¶

func (rb *NumberRangeQueryBuilder) QueryName_(queryname_ string) *NumberRangeQueryBuilder

func (*NumberRangeQueryBuilder) Relation ¶

func (*NumberRangeQueryBuilder) To ¶

type NumericDecayFunction ¶

type NumericDecayFunction struct {
	MultiValueMode       *multivaluemode.MultiValueMode       `json:"multi_value_mode,omitempty"`
	NumericDecayFunction map[Field]DecayPlacementdoubledouble `json:"NumericDecayFunction,omitempty"`
}

NumericDecayFunction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L88-L90

type NumericDecayFunctionBuilder ¶

type NumericDecayFunctionBuilder struct {
	// contains filtered or unexported fields
}

NumericDecayFunctionBuilder holds NumericDecayFunction struct and provides a builder API.

func NewNumericDecayFunctionBuilder ¶

func NewNumericDecayFunctionBuilder() *NumericDecayFunctionBuilder

NewNumericDecayFunction provides a builder for the NumericDecayFunction struct.

func (*NumericDecayFunctionBuilder) Build ¶

Build finalize the chain and returns the NumericDecayFunction struct

func (*NumericDecayFunctionBuilder) MultiValueMode ¶

func (*NumericDecayFunctionBuilder) NumericDecayFunction ¶

type NumericFielddataBuilder ¶

type NumericFielddataBuilder struct {
	// contains filtered or unexported fields
}

NumericFielddataBuilder holds NumericFielddata struct and provides a builder API.

func NewNumericFielddataBuilder ¶

func NewNumericFielddataBuilder() *NumericFielddataBuilder

NewNumericFielddata provides a builder for the NumericFielddata struct.

func (*NumericFielddataBuilder) Build ¶

Build finalize the chain and returns the NumericFielddata struct

type ObjectProperty ¶

type ObjectProperty struct {
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Enabled       *bool                          `json:"enabled,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

ObjectProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/complex.ts#L45-L48

type ObjectPropertyBuilder ¶

type ObjectPropertyBuilder struct {
	// contains filtered or unexported fields
}

ObjectPropertyBuilder holds ObjectProperty struct and provides a builder API.

func NewObjectPropertyBuilder ¶

func NewObjectPropertyBuilder() *ObjectPropertyBuilder

NewObjectProperty provides a builder for the ObjectProperty struct.

func (*ObjectPropertyBuilder) Build ¶

Build finalize the chain and returns the ObjectProperty struct

func (*ObjectPropertyBuilder) CopyTo ¶

func (*ObjectPropertyBuilder) Dynamic ¶

func (*ObjectPropertyBuilder) Enabled ¶

func (rb *ObjectPropertyBuilder) Enabled(enabled bool) *ObjectPropertyBuilder

func (*ObjectPropertyBuilder) Fields ¶

func (*ObjectPropertyBuilder) IgnoreAbove ¶

func (rb *ObjectPropertyBuilder) IgnoreAbove(ignoreabove int) *ObjectPropertyBuilder

func (*ObjectPropertyBuilder) LocalMetadata ¶

func (rb *ObjectPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *ObjectPropertyBuilder

func (*ObjectPropertyBuilder) Meta ¶

func (*ObjectPropertyBuilder) Properties ¶

func (*ObjectPropertyBuilder) Similarity ¶

func (rb *ObjectPropertyBuilder) Similarity(similarity string) *ObjectPropertyBuilder

func (*ObjectPropertyBuilder) Store ¶

type OneHotEncodingPreprocessor ¶

type OneHotEncodingPreprocessor struct {
	Field  string            `json:"field"`
	HotMap map[string]string `json:"hot_map"`
}

OneHotEncodingPreprocessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/put_trained_model/types.ts#L44-L47

type OneHotEncodingPreprocessorBuilder ¶

type OneHotEncodingPreprocessorBuilder struct {
	// contains filtered or unexported fields
}

OneHotEncodingPreprocessorBuilder holds OneHotEncodingPreprocessor struct and provides a builder API.

func NewOneHotEncodingPreprocessorBuilder ¶

func NewOneHotEncodingPreprocessorBuilder() *OneHotEncodingPreprocessorBuilder

NewOneHotEncodingPreprocessor provides a builder for the OneHotEncodingPreprocessor struct.

func (*OneHotEncodingPreprocessorBuilder) Build ¶

Build finalize the chain and returns the OneHotEncodingPreprocessor struct

func (*OneHotEncodingPreprocessorBuilder) Field ¶

func (*OneHotEncodingPreprocessorBuilder) HotMap ¶

type OperatingSystem ¶

type OperatingSystem struct {
	Cgroup    *Cgroup              `json:"cgroup,omitempty"`
	Cpu       *Cpu                 `json:"cpu,omitempty"`
	Mem       *ExtendedMemoryStats `json:"mem,omitempty"`
	Swap      *MemoryStats         `json:"swap,omitempty"`
	Timestamp *int64               `json:"timestamp,omitempty"`
}

OperatingSystem type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L367-L373

type OperatingSystemBuilder ¶

type OperatingSystemBuilder struct {
	// contains filtered or unexported fields
}

OperatingSystemBuilder holds OperatingSystem struct and provides a builder API.

func NewOperatingSystemBuilder ¶

func NewOperatingSystemBuilder() *OperatingSystemBuilder

NewOperatingSystem provides a builder for the OperatingSystem struct.

func (*OperatingSystemBuilder) Build ¶

Build finalize the chain and returns the OperatingSystem struct

func (*OperatingSystemBuilder) Cgroup ¶

func (*OperatingSystemBuilder) Cpu ¶

func (*OperatingSystemBuilder) Mem ¶

func (*OperatingSystemBuilder) Swap ¶

func (*OperatingSystemBuilder) Timestamp ¶

func (rb *OperatingSystemBuilder) Timestamp(timestamp int64) *OperatingSystemBuilder

type OperatingSystemMemoryInfo ¶

type OperatingSystemMemoryInfo struct {
	AdjustedTotalInBytes *int64 `json:"adjusted_total_in_bytes,omitempty"`
	FreeInBytes          int64  `json:"free_in_bytes"`
	FreePercent          int    `json:"free_percent"`
	TotalInBytes         int64  `json:"total_in_bytes"`
	UsedInBytes          int64  `json:"used_in_bytes"`
	UsedPercent          int    `json:"used_percent"`
}

OperatingSystemMemoryInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/types.ts#L282-L290

type OperatingSystemMemoryInfoBuilder ¶

type OperatingSystemMemoryInfoBuilder struct {
	// contains filtered or unexported fields
}

OperatingSystemMemoryInfoBuilder holds OperatingSystemMemoryInfo struct and provides a builder API.

func NewOperatingSystemMemoryInfoBuilder ¶

func NewOperatingSystemMemoryInfoBuilder() *OperatingSystemMemoryInfoBuilder

NewOperatingSystemMemoryInfo provides a builder for the OperatingSystemMemoryInfo struct.

func (*OperatingSystemMemoryInfoBuilder) AdjustedTotalInBytes ¶

func (rb *OperatingSystemMemoryInfoBuilder) AdjustedTotalInBytes(adjustedtotalinbytes int64) *OperatingSystemMemoryInfoBuilder

func (*OperatingSystemMemoryInfoBuilder) Build ¶

Build finalize the chain and returns the OperatingSystemMemoryInfo struct

func (*OperatingSystemMemoryInfoBuilder) FreeInBytes ¶

func (*OperatingSystemMemoryInfoBuilder) FreePercent ¶

func (*OperatingSystemMemoryInfoBuilder) TotalInBytes ¶

func (*OperatingSystemMemoryInfoBuilder) UsedInBytes ¶

func (*OperatingSystemMemoryInfoBuilder) UsedPercent ¶

type Operation ¶

type Operation struct {
	Doc             interface{}              `json:"doc,omitempty"`
	FieldStatistics *bool                    `json:"field_statistics,omitempty"`
	Fields          *Fields                  `json:"fields,omitempty"`
	Filter          *Filter                  `json:"filter,omitempty"`
	Id_             Id                       `json:"_id"`
	Index_          *IndexName               `json:"_index,omitempty"`
	Offsets         *bool                    `json:"offsets,omitempty"`
	Payloads        *bool                    `json:"payloads,omitempty"`
	Positions       *bool                    `json:"positions,omitempty"`
	Routing         *Routing                 `json:"routing,omitempty"`
	TermStatistics  *bool                    `json:"term_statistics,omitempty"`
	Version         *VersionNumber           `json:"version,omitempty"`
	VersionType     *versiontype.VersionType `json:"version_type,omitempty"`
}

Operation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/mtermvectors/types.ts#L35-L49

type OperationBuilder ¶

type OperationBuilder struct {
	// contains filtered or unexported fields
}

OperationBuilder holds Operation struct and provides a builder API.

func NewOperationBuilder ¶

func NewOperationBuilder() *OperationBuilder

NewOperation provides a builder for the Operation struct.

func (*OperationBuilder) Build ¶

func (rb *OperationBuilder) Build() Operation

Build finalize the chain and returns the Operation struct

func (*OperationBuilder) Doc ¶

func (rb *OperationBuilder) Doc(doc interface{}) *OperationBuilder

func (*OperationBuilder) FieldStatistics ¶

func (rb *OperationBuilder) FieldStatistics(fieldstatistics bool) *OperationBuilder

func (*OperationBuilder) Fields ¶

func (rb *OperationBuilder) Fields(fields *FieldsBuilder) *OperationBuilder

func (*OperationBuilder) Filter ¶

func (rb *OperationBuilder) Filter(filter *FilterBuilder) *OperationBuilder

func (*OperationBuilder) Id_ ¶

func (rb *OperationBuilder) Id_(id_ Id) *OperationBuilder

func (*OperationBuilder) Index_ ¶

func (rb *OperationBuilder) Index_(index_ IndexName) *OperationBuilder

func (*OperationBuilder) Offsets ¶

func (rb *OperationBuilder) Offsets(offsets bool) *OperationBuilder

func (*OperationBuilder) Payloads ¶

func (rb *OperationBuilder) Payloads(payloads bool) *OperationBuilder

func (*OperationBuilder) Positions ¶

func (rb *OperationBuilder) Positions(positions bool) *OperationBuilder

func (*OperationBuilder) Routing ¶

func (rb *OperationBuilder) Routing(routing Routing) *OperationBuilder

func (*OperationBuilder) TermStatistics ¶

func (rb *OperationBuilder) TermStatistics(termstatistics bool) *OperationBuilder

func (*OperationBuilder) Version ¶

func (rb *OperationBuilder) Version(version VersionNumber) *OperationBuilder

func (*OperationBuilder) VersionType ¶

func (rb *OperationBuilder) VersionType(versiontype versiontype.VersionType) *OperationBuilder

type OutlierDetectionParameters ¶

type OutlierDetectionParameters struct {
	ComputeFeatureInfluence   *bool    `json:"compute_feature_influence,omitempty"`
	FeatureInfluenceThreshold *float64 `json:"feature_influence_threshold,omitempty"`
	Method                    *string  `json:"method,omitempty"`
	NNeighbors                *int     `json:"n_neighbors,omitempty"`
	OutlierFraction           *float64 `json:"outlier_fraction,omitempty"`
	StandardizationEnabled    *bool    `json:"standardization_enabled,omitempty"`
}

OutlierDetectionParameters type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L412-L419

type OutlierDetectionParametersBuilder ¶

type OutlierDetectionParametersBuilder struct {
	// contains filtered or unexported fields
}

OutlierDetectionParametersBuilder holds OutlierDetectionParameters struct and provides a builder API.

func NewOutlierDetectionParametersBuilder ¶

func NewOutlierDetectionParametersBuilder() *OutlierDetectionParametersBuilder

NewOutlierDetectionParameters provides a builder for the OutlierDetectionParameters struct.

func (*OutlierDetectionParametersBuilder) Build ¶

Build finalize the chain and returns the OutlierDetectionParameters struct

func (*OutlierDetectionParametersBuilder) ComputeFeatureInfluence ¶

func (rb *OutlierDetectionParametersBuilder) ComputeFeatureInfluence(computefeatureinfluence bool) *OutlierDetectionParametersBuilder

func (*OutlierDetectionParametersBuilder) FeatureInfluenceThreshold ¶

func (rb *OutlierDetectionParametersBuilder) FeatureInfluenceThreshold(featureinfluencethreshold float64) *OutlierDetectionParametersBuilder

func (*OutlierDetectionParametersBuilder) Method ¶

func (*OutlierDetectionParametersBuilder) NNeighbors ¶

func (*OutlierDetectionParametersBuilder) OutlierFraction ¶

func (rb *OutlierDetectionParametersBuilder) OutlierFraction(outlierfraction float64) *OutlierDetectionParametersBuilder

func (*OutlierDetectionParametersBuilder) StandardizationEnabled ¶

func (rb *OutlierDetectionParametersBuilder) StandardizationEnabled(standardizationenabled bool) *OutlierDetectionParametersBuilder

type OverallBucket ¶

type OverallBucket struct {
	// BucketSpan The length of the bucket in seconds. Matches the job with the longest
	// bucket_span value.
	BucketSpan DurationValueUnitSeconds `json:"bucket_span"`
	// IsInterim If true, this is an interim result. In other words, the results are
	// calculated based on partial input data.
	IsInterim bool `json:"is_interim"`
	// Jobs An array of objects that contain the max_anomaly_score per job_id.
	Jobs []OverallBucketJob `json:"jobs"`
	// OverallScore The top_n average of the maximum bucket anomaly_score per job.
	OverallScore float64 `json:"overall_score"`
	// ResultType Internal. This is always set to overall_bucket.
	ResultType string `json:"result_type"`
	// Timestamp The start time of the bucket for which these results were calculated.
	Timestamp EpochTimeUnitMillis `json:"timestamp"`
	// TimestampString The start time of the bucket for which these results were calculated.
	TimestampString DateTime `json:"timestamp_string"`
}

OverallBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Bucket.ts#L130-L145

type OverallBucketBuilder ¶

type OverallBucketBuilder struct {
	// contains filtered or unexported fields
}

OverallBucketBuilder holds OverallBucket struct and provides a builder API.

func NewOverallBucketBuilder ¶

func NewOverallBucketBuilder() *OverallBucketBuilder

NewOverallBucket provides a builder for the OverallBucket struct.

func (*OverallBucketBuilder) BucketSpan ¶

func (*OverallBucketBuilder) Build ¶

func (rb *OverallBucketBuilder) Build() OverallBucket

Build finalize the chain and returns the OverallBucket struct

func (*OverallBucketBuilder) IsInterim ¶

func (rb *OverallBucketBuilder) IsInterim(isinterim bool) *OverallBucketBuilder

func (*OverallBucketBuilder) Jobs ¶

func (*OverallBucketBuilder) OverallScore ¶

func (rb *OverallBucketBuilder) OverallScore(overallscore float64) *OverallBucketBuilder

func (*OverallBucketBuilder) ResultType ¶

func (rb *OverallBucketBuilder) ResultType(resulttype string) *OverallBucketBuilder

func (*OverallBucketBuilder) Timestamp ¶

func (*OverallBucketBuilder) TimestampString ¶

func (rb *OverallBucketBuilder) TimestampString(timestampstring *DateTimeBuilder) *OverallBucketBuilder

type OverallBucketJob ¶

type OverallBucketJob struct {
	JobId           Id      `json:"job_id"`
	MaxAnomalyScore float64 `json:"max_anomaly_score"`
}

OverallBucketJob type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Bucket.ts#L146-L149

type OverallBucketJobBuilder ¶

type OverallBucketJobBuilder struct {
	// contains filtered or unexported fields
}

OverallBucketJobBuilder holds OverallBucketJob struct and provides a builder API.

func NewOverallBucketJobBuilder ¶

func NewOverallBucketJobBuilder() *OverallBucketJobBuilder

NewOverallBucketJob provides a builder for the OverallBucketJob struct.

func (*OverallBucketJobBuilder) Build ¶

Build finalize the chain and returns the OverallBucketJob struct

func (*OverallBucketJobBuilder) JobId ¶

func (*OverallBucketJobBuilder) MaxAnomalyScore ¶

func (rb *OverallBucketJobBuilder) MaxAnomalyScore(maxanomalyscore float64) *OverallBucketJobBuilder

type OverlappingBuilder ¶

type OverlappingBuilder struct {
	// contains filtered or unexported fields
}

OverlappingBuilder holds Overlapping struct and provides a builder API.

func NewOverlappingBuilder ¶

func NewOverlappingBuilder() *OverlappingBuilder

NewOverlapping provides a builder for the Overlapping struct.

func (*OverlappingBuilder) Build ¶

func (rb *OverlappingBuilder) Build() Overlapping

Build finalize the chain and returns the Overlapping struct

func (*OverlappingBuilder) IndexPatterns ¶

func (rb *OverlappingBuilder) IndexPatterns(index_patterns ...string) *OverlappingBuilder

func (*OverlappingBuilder) Name ¶

func (rb *OverlappingBuilder) Name(name Name) *OverlappingBuilder

type Page ¶

type Page struct {
	// From Skips the specified number of items.
	From *int `json:"from,omitempty"`
	// Size Specifies the maximum number of items to obtain.
	Size *int `json:"size,omitempty"`
}

Page type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Page.ts#L22-L33

type PageBuilder ¶

type PageBuilder struct {
	// contains filtered or unexported fields
}

PageBuilder holds Page struct and provides a builder API.

func NewPageBuilder ¶

func NewPageBuilder() *PageBuilder

NewPage provides a builder for the Page struct.

func (*PageBuilder) Build ¶

func (rb *PageBuilder) Build() Page

Build finalize the chain and returns the Page struct

func (*PageBuilder) From ¶

func (rb *PageBuilder) From(from int) *PageBuilder

func (*PageBuilder) Size ¶

func (rb *PageBuilder) Size(size int) *PageBuilder

type PagerDutyAction ¶

type PagerDutyAction struct {
	Account       *string                                `json:"account,omitempty"`
	AttachPayload bool                                   `json:"attach_payload"`
	Client        *string                                `json:"client,omitempty"`
	ClientUrl     *string                                `json:"client_url,omitempty"`
	Contexts      []PagerDutyContext                     `json:"contexts,omitempty"`
	Description   string                                 `json:"description"`
	EventType     *pagerdutyeventtype.PagerDutyEventType `json:"event_type,omitempty"`
	IncidentKey   string                                 `json:"incident_key"`
	Proxy         *PagerDutyEventProxy                   `json:"proxy,omitempty"`
}

PagerDutyAction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L54-L54

type PagerDutyActionBuilder ¶

type PagerDutyActionBuilder struct {
	// contains filtered or unexported fields
}

PagerDutyActionBuilder holds PagerDutyAction struct and provides a builder API.

func NewPagerDutyActionBuilder ¶

func NewPagerDutyActionBuilder() *PagerDutyActionBuilder

NewPagerDutyAction provides a builder for the PagerDutyAction struct.

func (*PagerDutyActionBuilder) Account ¶

func (*PagerDutyActionBuilder) AttachPayload ¶

func (rb *PagerDutyActionBuilder) AttachPayload(attachpayload bool) *PagerDutyActionBuilder

func (*PagerDutyActionBuilder) Build ¶

Build finalize the chain and returns the PagerDutyAction struct

func (*PagerDutyActionBuilder) Client ¶

func (*PagerDutyActionBuilder) ClientUrl ¶

func (rb *PagerDutyActionBuilder) ClientUrl(clienturl string) *PagerDutyActionBuilder

func (*PagerDutyActionBuilder) Contexts ¶

func (*PagerDutyActionBuilder) Description ¶

func (rb *PagerDutyActionBuilder) Description(description string) *PagerDutyActionBuilder

func (*PagerDutyActionBuilder) EventType ¶

func (*PagerDutyActionBuilder) IncidentKey ¶

func (rb *PagerDutyActionBuilder) IncidentKey(incidentkey string) *PagerDutyActionBuilder

func (*PagerDutyActionBuilder) Proxy ¶

type PagerDutyContextBuilder ¶

type PagerDutyContextBuilder struct {
	// contains filtered or unexported fields
}

PagerDutyContextBuilder holds PagerDutyContext struct and provides a builder API.

func NewPagerDutyContextBuilder ¶

func NewPagerDutyContextBuilder() *PagerDutyContextBuilder

NewPagerDutyContext provides a builder for the PagerDutyContext struct.

func (*PagerDutyContextBuilder) Build ¶

Build finalize the chain and returns the PagerDutyContext struct

func (*PagerDutyContextBuilder) Href ¶

func (*PagerDutyContextBuilder) Src ¶

func (*PagerDutyContextBuilder) Type_ ¶

type PagerDutyEvent ¶

type PagerDutyEvent struct {
	Account       *string                                `json:"account,omitempty"`
	AttachPayload bool                                   `json:"attach_payload"`
	Client        *string                                `json:"client,omitempty"`
	ClientUrl     *string                                `json:"client_url,omitempty"`
	Contexts      []PagerDutyContext                     `json:"contexts,omitempty"`
	Description   string                                 `json:"description"`
	EventType     *pagerdutyeventtype.PagerDutyEventType `json:"event_type,omitempty"`
	IncidentKey   string                                 `json:"incident_key"`
	Proxy         *PagerDutyEventProxy                   `json:"proxy,omitempty"`
}

PagerDutyEvent type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L40-L52

type PagerDutyEventBuilder ¶

type PagerDutyEventBuilder struct {
	// contains filtered or unexported fields
}

PagerDutyEventBuilder holds PagerDutyEvent struct and provides a builder API.

func NewPagerDutyEventBuilder ¶

func NewPagerDutyEventBuilder() *PagerDutyEventBuilder

NewPagerDutyEvent provides a builder for the PagerDutyEvent struct.

func (*PagerDutyEventBuilder) Account ¶

func (rb *PagerDutyEventBuilder) Account(account string) *PagerDutyEventBuilder

func (*PagerDutyEventBuilder) AttachPayload ¶

func (rb *PagerDutyEventBuilder) AttachPayload(attachpayload bool) *PagerDutyEventBuilder

func (*PagerDutyEventBuilder) Build ¶

Build finalize the chain and returns the PagerDutyEvent struct

func (*PagerDutyEventBuilder) Client ¶

func (*PagerDutyEventBuilder) ClientUrl ¶

func (rb *PagerDutyEventBuilder) ClientUrl(clienturl string) *PagerDutyEventBuilder

func (*PagerDutyEventBuilder) Contexts ¶

func (*PagerDutyEventBuilder) Description ¶

func (rb *PagerDutyEventBuilder) Description(description string) *PagerDutyEventBuilder

func (*PagerDutyEventBuilder) EventType ¶

func (*PagerDutyEventBuilder) IncidentKey ¶

func (rb *PagerDutyEventBuilder) IncidentKey(incidentkey string) *PagerDutyEventBuilder

func (*PagerDutyEventBuilder) Proxy ¶

type PagerDutyEventProxy ¶

type PagerDutyEventProxy struct {
	Host *Host `json:"host,omitempty"`
	Port *int  `json:"port,omitempty"`
}

PagerDutyEventProxy type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L56-L59

type PagerDutyEventProxyBuilder ¶

type PagerDutyEventProxyBuilder struct {
	// contains filtered or unexported fields
}

PagerDutyEventProxyBuilder holds PagerDutyEventProxy struct and provides a builder API.

func NewPagerDutyEventProxyBuilder ¶

func NewPagerDutyEventProxyBuilder() *PagerDutyEventProxyBuilder

NewPagerDutyEventProxy provides a builder for the PagerDutyEventProxy struct.

func (*PagerDutyEventProxyBuilder) Build ¶

Build finalize the chain and returns the PagerDutyEventProxy struct

func (*PagerDutyEventProxyBuilder) Host ¶

func (*PagerDutyEventProxyBuilder) Port ¶

type PagerDutyResult ¶

type PagerDutyResult struct {
	Event    PagerDutyEvent           `json:"event"`
	Reason   *string                  `json:"reason,omitempty"`
	Request  *HttpInputRequestResult  `json:"request,omitempty"`
	Response *HttpInputResponseResult `json:"response,omitempty"`
}

PagerDutyResult type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L78-L83

type PagerDutyResultBuilder ¶

type PagerDutyResultBuilder struct {
	// contains filtered or unexported fields
}

PagerDutyResultBuilder holds PagerDutyResult struct and provides a builder API.

func NewPagerDutyResultBuilder ¶

func NewPagerDutyResultBuilder() *PagerDutyResultBuilder

NewPagerDutyResult provides a builder for the PagerDutyResult struct.

func (*PagerDutyResultBuilder) Build ¶

Build finalize the chain and returns the PagerDutyResult struct

func (*PagerDutyResultBuilder) Event ¶

func (*PagerDutyResultBuilder) Reason ¶

func (*PagerDutyResultBuilder) Request ¶

func (*PagerDutyResultBuilder) Response ¶

type PainlessContextSetup ¶

type PainlessContextSetup struct {
	Document interface{}    `json:"document,omitempty"`
	Index    IndexName      `json:"index"`
	Query    QueryContainer `json:"query"`
}

PainlessContextSetup type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/scripts_painless_execute/types.ts#L25-L29

type PainlessContextSetupBuilder ¶

type PainlessContextSetupBuilder struct {
	// contains filtered or unexported fields
}

PainlessContextSetupBuilder holds PainlessContextSetup struct and provides a builder API.

func NewPainlessContextSetupBuilder ¶

func NewPainlessContextSetupBuilder() *PainlessContextSetupBuilder

NewPainlessContextSetup provides a builder for the PainlessContextSetup struct.

func (*PainlessContextSetupBuilder) Build ¶

Build finalize the chain and returns the PainlessContextSetup struct

func (*PainlessContextSetupBuilder) Document ¶

func (rb *PainlessContextSetupBuilder) Document(document interface{}) *PainlessContextSetupBuilder

func (*PainlessContextSetupBuilder) Index ¶

func (*PainlessContextSetupBuilder) Query ¶

type ParentAggregate ¶

type ParentAggregate struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Meta         *Metadata                   `json:"meta,omitempty"`
}

ParentAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L730-L731

type ParentAggregateBuilder ¶

type ParentAggregateBuilder struct {
	// contains filtered or unexported fields
}

ParentAggregateBuilder holds ParentAggregate struct and provides a builder API.

func NewParentAggregateBuilder ¶

func NewParentAggregateBuilder() *ParentAggregateBuilder

NewParentAggregate provides a builder for the ParentAggregate struct.

func (*ParentAggregateBuilder) Aggregations ¶

func (*ParentAggregateBuilder) Build ¶

Build finalize the chain and returns the ParentAggregate struct

func (*ParentAggregateBuilder) DocCount ¶

func (rb *ParentAggregateBuilder) DocCount(doccount int64) *ParentAggregateBuilder

func (*ParentAggregateBuilder) Meta ¶

type ParentAggregation ¶

type ParentAggregation struct {
	Meta *Metadata     `json:"meta,omitempty"`
	Name *string       `json:"name,omitempty"`
	Type *RelationName `json:"type,omitempty"`
}

ParentAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L281-L283

type ParentAggregationBuilder ¶

type ParentAggregationBuilder struct {
	// contains filtered or unexported fields
}

ParentAggregationBuilder holds ParentAggregation struct and provides a builder API.

func NewParentAggregationBuilder ¶

func NewParentAggregationBuilder() *ParentAggregationBuilder

NewParentAggregation provides a builder for the ParentAggregation struct.

func (*ParentAggregationBuilder) Build ¶

Build finalize the chain and returns the ParentAggregation struct

func (*ParentAggregationBuilder) Meta ¶

func (*ParentAggregationBuilder) Name ¶

func (*ParentAggregationBuilder) Type_ ¶

type ParentIdQuery ¶

type ParentIdQuery struct {
	Boost          *float32      `json:"boost,omitempty"`
	Id             *Id           `json:"id,omitempty"`
	IgnoreUnmapped *bool         `json:"ignore_unmapped,omitempty"`
	QueryName_     *string       `json:"_name,omitempty"`
	Type           *RelationName `json:"type,omitempty"`
}

ParentIdQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/joining.ts#L73-L78

type ParentIdQueryBuilder ¶

type ParentIdQueryBuilder struct {
	// contains filtered or unexported fields
}

ParentIdQueryBuilder holds ParentIdQuery struct and provides a builder API.

func NewParentIdQueryBuilder ¶

func NewParentIdQueryBuilder() *ParentIdQueryBuilder

NewParentIdQuery provides a builder for the ParentIdQuery struct.

func (*ParentIdQueryBuilder) Boost ¶

func (*ParentIdQueryBuilder) Build ¶

func (rb *ParentIdQueryBuilder) Build() ParentIdQuery

Build finalize the chain and returns the ParentIdQuery struct

func (*ParentIdQueryBuilder) Id ¶

func (*ParentIdQueryBuilder) IgnoreUnmapped ¶

func (rb *ParentIdQueryBuilder) IgnoreUnmapped(ignoreunmapped bool) *ParentIdQueryBuilder

func (*ParentIdQueryBuilder) QueryName_ ¶

func (rb *ParentIdQueryBuilder) QueryName_(queryname_ string) *ParentIdQueryBuilder

func (*ParentIdQueryBuilder) Type_ ¶

type ParentTaskInfo ¶

type ParentTaskInfo struct {
	Action             string                 `json:"action"`
	Cancellable        bool                   `json:"cancellable"`
	Children           []TaskInfo             `json:"children,omitempty"`
	Description        *string                `json:"description,omitempty"`
	Headers            map[string]string      `json:"headers"`
	Id                 int64                  `json:"id"`
	Node               NodeId                 `json:"node"`
	ParentTaskId       *TaskId                `json:"parent_task_id,omitempty"`
	RunningTime        *Duration              `json:"running_time,omitempty"`
	RunningTimeInNanos DurationValueUnitNanos `json:"running_time_in_nanos"`
	StartTimeInMillis  EpochTimeUnitMillis    `json:"start_time_in_millis"`
	Status             *TaskStatus            `json:"status,omitempty"`
	Type               string                 `json:"type"`
}

ParentTaskInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/tasks/_types/TaskListResponseBase.ts#L45-L47

type ParentTaskInfoBuilder ¶

type ParentTaskInfoBuilder struct {
	// contains filtered or unexported fields
}

ParentTaskInfoBuilder holds ParentTaskInfo struct and provides a builder API.

func NewParentTaskInfoBuilder ¶

func NewParentTaskInfoBuilder() *ParentTaskInfoBuilder

NewParentTaskInfo provides a builder for the ParentTaskInfo struct.

func (*ParentTaskInfoBuilder) Action ¶

func (*ParentTaskInfoBuilder) Build ¶

Build finalize the chain and returns the ParentTaskInfo struct

func (*ParentTaskInfoBuilder) Cancellable ¶

func (rb *ParentTaskInfoBuilder) Cancellable(cancellable bool) *ParentTaskInfoBuilder

func (*ParentTaskInfoBuilder) Children ¶

func (*ParentTaskInfoBuilder) Description ¶

func (rb *ParentTaskInfoBuilder) Description(description string) *ParentTaskInfoBuilder

func (*ParentTaskInfoBuilder) Headers ¶

func (rb *ParentTaskInfoBuilder) Headers(value map[string]string) *ParentTaskInfoBuilder

func (*ParentTaskInfoBuilder) Id ¶

func (*ParentTaskInfoBuilder) Node ¶

func (*ParentTaskInfoBuilder) ParentTaskId ¶

func (rb *ParentTaskInfoBuilder) ParentTaskId(parenttaskid *TaskIdBuilder) *ParentTaskInfoBuilder

func (*ParentTaskInfoBuilder) RunningTime ¶

func (rb *ParentTaskInfoBuilder) RunningTime(runningtime *DurationBuilder) *ParentTaskInfoBuilder

func (*ParentTaskInfoBuilder) RunningTimeInNanos ¶

func (rb *ParentTaskInfoBuilder) RunningTimeInNanos(runningtimeinnanos *DurationValueUnitNanosBuilder) *ParentTaskInfoBuilder

func (*ParentTaskInfoBuilder) StartTimeInMillis ¶

func (rb *ParentTaskInfoBuilder) StartTimeInMillis(starttimeinmillis *EpochTimeUnitMillisBuilder) *ParentTaskInfoBuilder

func (*ParentTaskInfoBuilder) Status ¶

func (*ParentTaskInfoBuilder) Type_ ¶

type PassThroughInferenceOptions ¶

type PassThroughInferenceOptions struct {
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string `json:"results_field,omitempty"`
	// Tokenization The tokenization options
	Tokenization *TokenizationConfigContainer `json:"tokenization,omitempty"`
}

PassThroughInferenceOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L209-L215

type PassThroughInferenceOptionsBuilder ¶

type PassThroughInferenceOptionsBuilder struct {
	// contains filtered or unexported fields
}

PassThroughInferenceOptionsBuilder holds PassThroughInferenceOptions struct and provides a builder API.

func NewPassThroughInferenceOptionsBuilder ¶

func NewPassThroughInferenceOptionsBuilder() *PassThroughInferenceOptionsBuilder

NewPassThroughInferenceOptions provides a builder for the PassThroughInferenceOptions struct.

func (*PassThroughInferenceOptionsBuilder) Build ¶

Build finalize the chain and returns the PassThroughInferenceOptions struct

func (*PassThroughInferenceOptionsBuilder) ResultsField ¶

func (*PassThroughInferenceOptionsBuilder) Tokenization ¶

type PassThroughInferenceUpdateOptions ¶

type PassThroughInferenceUpdateOptions struct {
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string `json:"results_field,omitempty"`
	// Tokenization The tokenization options to update when inferring
	Tokenization *NlpTokenizationUpdateOptions `json:"tokenization,omitempty"`
}

PassThroughInferenceUpdateOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L344-L349

type PassThroughInferenceUpdateOptionsBuilder ¶

type PassThroughInferenceUpdateOptionsBuilder struct {
	// contains filtered or unexported fields
}

PassThroughInferenceUpdateOptionsBuilder holds PassThroughInferenceUpdateOptions struct and provides a builder API.

func NewPassThroughInferenceUpdateOptionsBuilder ¶

func NewPassThroughInferenceUpdateOptionsBuilder() *PassThroughInferenceUpdateOptionsBuilder

NewPassThroughInferenceUpdateOptions provides a builder for the PassThroughInferenceUpdateOptions struct.

func (*PassThroughInferenceUpdateOptionsBuilder) Build ¶

Build finalize the chain and returns the PassThroughInferenceUpdateOptions struct

func (*PassThroughInferenceUpdateOptionsBuilder) ResultsField ¶

func (*PassThroughInferenceUpdateOptionsBuilder) Tokenization ¶

type PasswordBuilder ¶

type PasswordBuilder struct {
	// contains filtered or unexported fields
}

PasswordBuilder holds Password struct and provides a builder API.

func NewPasswordBuilder ¶

func NewPasswordBuilder() *PasswordBuilder

NewPassword provides a builder for the Password struct.

func (*PasswordBuilder) Build ¶

func (b *PasswordBuilder) Build() Password

Build finalize the chain and returns the Password struct

func (*PasswordBuilder) Password ¶

func (b *PasswordBuilder) Password(value Password) *PasswordBuilder

type PathHierarchyTokenizer ¶

type PathHierarchyTokenizer struct {
	BufferSize  int            `json:"buffer_size"`
	Delimiter   string         `json:"delimiter"`
	Replacement string         `json:"replacement"`
	Reverse     bool           `json:"reverse"`
	Skip        int            `json:"skip"`
	Type        string         `json:"type,omitempty"`
	Version     *VersionString `json:"version,omitempty"`
}

PathHierarchyTokenizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L88-L95

type PathHierarchyTokenizerBuilder ¶

type PathHierarchyTokenizerBuilder struct {
	// contains filtered or unexported fields
}

PathHierarchyTokenizerBuilder holds PathHierarchyTokenizer struct and provides a builder API.

func NewPathHierarchyTokenizerBuilder ¶

func NewPathHierarchyTokenizerBuilder() *PathHierarchyTokenizerBuilder

NewPathHierarchyTokenizer provides a builder for the PathHierarchyTokenizer struct.

func (*PathHierarchyTokenizerBuilder) BufferSize ¶

func (*PathHierarchyTokenizerBuilder) Build ¶

Build finalize the chain and returns the PathHierarchyTokenizer struct

func (*PathHierarchyTokenizerBuilder) Delimiter ¶

func (*PathHierarchyTokenizerBuilder) Replacement ¶

func (*PathHierarchyTokenizerBuilder) Reverse ¶

func (*PathHierarchyTokenizerBuilder) Skip ¶

func (*PathHierarchyTokenizerBuilder) Version ¶

type PatternAnalyzer ¶

type PatternAnalyzer struct {
	Flags     *string        `json:"flags,omitempty"`
	Lowercase *bool          `json:"lowercase,omitempty"`
	Pattern   string         `json:"pattern"`
	Stopwords *StopWords     `json:"stopwords,omitempty"`
	Type      string         `json:"type,omitempty"`
	Version   *VersionString `json:"version,omitempty"`
}

PatternAnalyzer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/analyzers.ts#L74-L81

type PatternAnalyzerBuilder ¶

type PatternAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

PatternAnalyzerBuilder holds PatternAnalyzer struct and provides a builder API.

func NewPatternAnalyzerBuilder ¶

func NewPatternAnalyzerBuilder() *PatternAnalyzerBuilder

NewPatternAnalyzer provides a builder for the PatternAnalyzer struct.

func (*PatternAnalyzerBuilder) Build ¶

Build finalize the chain and returns the PatternAnalyzer struct

func (*PatternAnalyzerBuilder) Flags ¶

func (*PatternAnalyzerBuilder) Lowercase ¶

func (rb *PatternAnalyzerBuilder) Lowercase(lowercase bool) *PatternAnalyzerBuilder

func (*PatternAnalyzerBuilder) Pattern ¶

func (*PatternAnalyzerBuilder) Stopwords ¶

func (*PatternAnalyzerBuilder) Version ¶

type PatternCaptureTokenFilter ¶

type PatternCaptureTokenFilter struct {
	Patterns         []string       `json:"patterns"`
	PreserveOriginal *bool          `json:"preserve_original,omitempty"`
	Type             string         `json:"type,omitempty"`
	Version          *VersionString `json:"version,omitempty"`
}

PatternCaptureTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L277-L281

type PatternCaptureTokenFilterBuilder ¶

type PatternCaptureTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

PatternCaptureTokenFilterBuilder holds PatternCaptureTokenFilter struct and provides a builder API.

func NewPatternCaptureTokenFilterBuilder ¶

func NewPatternCaptureTokenFilterBuilder() *PatternCaptureTokenFilterBuilder

NewPatternCaptureTokenFilter provides a builder for the PatternCaptureTokenFilter struct.

func (*PatternCaptureTokenFilterBuilder) Build ¶

Build finalize the chain and returns the PatternCaptureTokenFilter struct

func (*PatternCaptureTokenFilterBuilder) Patterns ¶

func (*PatternCaptureTokenFilterBuilder) PreserveOriginal ¶

func (rb *PatternCaptureTokenFilterBuilder) PreserveOriginal(preserveoriginal bool) *PatternCaptureTokenFilterBuilder

func (*PatternCaptureTokenFilterBuilder) Version ¶

type PatternReplaceCharFilter ¶

type PatternReplaceCharFilter struct {
	Flags       *string        `json:"flags,omitempty"`
	Pattern     string         `json:"pattern"`
	Replacement *string        `json:"replacement,omitempty"`
	Type        string         `json:"type,omitempty"`
	Version     *VersionString `json:"version,omitempty"`
}

PatternReplaceCharFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/char_filters.ts#L53-L58

type PatternReplaceCharFilterBuilder ¶

type PatternReplaceCharFilterBuilder struct {
	// contains filtered or unexported fields
}

PatternReplaceCharFilterBuilder holds PatternReplaceCharFilter struct and provides a builder API.

func NewPatternReplaceCharFilterBuilder ¶

func NewPatternReplaceCharFilterBuilder() *PatternReplaceCharFilterBuilder

NewPatternReplaceCharFilter provides a builder for the PatternReplaceCharFilter struct.

func (*PatternReplaceCharFilterBuilder) Build ¶

Build finalize the chain and returns the PatternReplaceCharFilter struct

func (*PatternReplaceCharFilterBuilder) Flags ¶

func (*PatternReplaceCharFilterBuilder) Pattern ¶

func (*PatternReplaceCharFilterBuilder) Replacement ¶

func (*PatternReplaceCharFilterBuilder) Version ¶

type PatternReplaceTokenFilter ¶

type PatternReplaceTokenFilter struct {
	All         *bool          `json:"all,omitempty"`
	Flags       *string        `json:"flags,omitempty"`
	Pattern     string         `json:"pattern"`
	Replacement *string        `json:"replacement,omitempty"`
	Type        string         `json:"type,omitempty"`
	Version     *VersionString `json:"version,omitempty"`
}

PatternReplaceTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L283-L289

type PatternReplaceTokenFilterBuilder ¶

type PatternReplaceTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

PatternReplaceTokenFilterBuilder holds PatternReplaceTokenFilter struct and provides a builder API.

func NewPatternReplaceTokenFilterBuilder ¶

func NewPatternReplaceTokenFilterBuilder() *PatternReplaceTokenFilterBuilder

NewPatternReplaceTokenFilter provides a builder for the PatternReplaceTokenFilter struct.

func (*PatternReplaceTokenFilterBuilder) All ¶

func (*PatternReplaceTokenFilterBuilder) Build ¶

Build finalize the chain and returns the PatternReplaceTokenFilter struct

func (*PatternReplaceTokenFilterBuilder) Flags ¶

func (*PatternReplaceTokenFilterBuilder) Pattern ¶

func (*PatternReplaceTokenFilterBuilder) Replacement ¶

func (*PatternReplaceTokenFilterBuilder) Version ¶

type PatternTokenizer ¶

type PatternTokenizer struct {
	Flags   string         `json:"flags"`
	Group   int            `json:"group"`
	Pattern string         `json:"pattern"`
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

PatternTokenizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L97-L102

type PatternTokenizerBuilder ¶

type PatternTokenizerBuilder struct {
	// contains filtered or unexported fields
}

PatternTokenizerBuilder holds PatternTokenizer struct and provides a builder API.

func NewPatternTokenizerBuilder ¶

func NewPatternTokenizerBuilder() *PatternTokenizerBuilder

NewPatternTokenizer provides a builder for the PatternTokenizer struct.

func (*PatternTokenizerBuilder) Build ¶

Build finalize the chain and returns the PatternTokenizer struct

func (*PatternTokenizerBuilder) Flags ¶

func (*PatternTokenizerBuilder) Group ¶

func (*PatternTokenizerBuilder) Pattern ¶

func (*PatternTokenizerBuilder) Version ¶

type PendingTask ¶

type PendingTask struct {
	Executing         bool                    `json:"executing"`
	InsertOrder       int                     `json:"insert_order"`
	Priority          string                  `json:"priority"`
	Source            string                  `json:"source"`
	TimeInQueue       *Duration               `json:"time_in_queue,omitempty"`
	TimeInQueueMillis DurationValueUnitMillis `json:"time_in_queue_millis"`
}

PendingTask type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/pending_tasks/types.ts#L23-L30

type PendingTaskBuilder ¶

type PendingTaskBuilder struct {
	// contains filtered or unexported fields
}

PendingTaskBuilder holds PendingTask struct and provides a builder API.

func NewPendingTaskBuilder ¶

func NewPendingTaskBuilder() *PendingTaskBuilder

NewPendingTask provides a builder for the PendingTask struct.

func (*PendingTaskBuilder) Build ¶

func (rb *PendingTaskBuilder) Build() PendingTask

Build finalize the chain and returns the PendingTask struct

func (*PendingTaskBuilder) Executing ¶

func (rb *PendingTaskBuilder) Executing(executing bool) *PendingTaskBuilder

func (*PendingTaskBuilder) InsertOrder ¶

func (rb *PendingTaskBuilder) InsertOrder(insertorder int) *PendingTaskBuilder

func (*PendingTaskBuilder) Priority ¶

func (rb *PendingTaskBuilder) Priority(priority string) *PendingTaskBuilder

func (*PendingTaskBuilder) Source ¶

func (rb *PendingTaskBuilder) Source(source string) *PendingTaskBuilder

func (*PendingTaskBuilder) TimeInQueue ¶

func (rb *PendingTaskBuilder) TimeInQueue(timeinqueue *DurationBuilder) *PendingTaskBuilder

func (*PendingTaskBuilder) TimeInQueueMillis ¶

func (rb *PendingTaskBuilder) TimeInQueueMillis(timeinqueuemillis *DurationValueUnitMillisBuilder) *PendingTaskBuilder

type PendingTasksRecord ¶

type PendingTasksRecord struct {
	// InsertOrder task insertion order
	InsertOrder *string `json:"insertOrder,omitempty"`
	// Priority task priority
	Priority *string `json:"priority,omitempty"`
	// Source task source
	Source *string `json:"source,omitempty"`
	// TimeInQueue how long task has been in queue
	TimeInQueue *string `json:"timeInQueue,omitempty"`
}

PendingTasksRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/pending_tasks/types.ts#L20-L41

type PendingTasksRecordBuilder ¶

type PendingTasksRecordBuilder struct {
	// contains filtered or unexported fields
}

PendingTasksRecordBuilder holds PendingTasksRecord struct and provides a builder API.

func NewPendingTasksRecordBuilder ¶

func NewPendingTasksRecordBuilder() *PendingTasksRecordBuilder

NewPendingTasksRecord provides a builder for the PendingTasksRecord struct.

func (*PendingTasksRecordBuilder) Build ¶

Build finalize the chain and returns the PendingTasksRecord struct

func (*PendingTasksRecordBuilder) InsertOrder ¶

func (rb *PendingTasksRecordBuilder) InsertOrder(insertorder string) *PendingTasksRecordBuilder

func (*PendingTasksRecordBuilder) Priority ¶

func (*PendingTasksRecordBuilder) Source ¶

func (*PendingTasksRecordBuilder) TimeInQueue ¶

func (rb *PendingTasksRecordBuilder) TimeInQueue(timeinqueue string) *PendingTasksRecordBuilder

type PerPartitionCategorization ¶

type PerPartitionCategorization struct {
	// Enabled To enable this setting, you must also set the `partition_field_name` property
	// to the same value in every detector that uses the keyword `mlcategory`.
	// Otherwise, job creation fails.
	Enabled *bool `json:"enabled,omitempty"`
	// StopOnWarn This setting can be set to true only if per-partition categorization is
	// enabled. If true, both categorization and subsequent anomaly detection stops
	// for partitions where the categorization status changes to warn. This setting
	// makes it viable to have a job where it is expected that categorization works
	// well for some partitions but not others; you do not pay the cost of bad
	// categorization forever in the partitions where it works badly.
	StopOnWarn *bool `json:"stop_on_warn,omitempty"`
}

PerPartitionCategorization type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Analysis.ts#L93-L102

type PerPartitionCategorizationBuilder ¶

type PerPartitionCategorizationBuilder struct {
	// contains filtered or unexported fields
}

PerPartitionCategorizationBuilder holds PerPartitionCategorization struct and provides a builder API.

func NewPerPartitionCategorizationBuilder ¶

func NewPerPartitionCategorizationBuilder() *PerPartitionCategorizationBuilder

NewPerPartitionCategorization provides a builder for the PerPartitionCategorization struct.

func (*PerPartitionCategorizationBuilder) Build ¶

Build finalize the chain and returns the PerPartitionCategorization struct

func (*PerPartitionCategorizationBuilder) Enabled ¶

func (*PerPartitionCategorizationBuilder) StopOnWarn ¶

type Percentage ¶

type Percentage interface{}

Percentage holds the union for the following types:

float32
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Numeric.ts#L28-L28

type PercentageBuilder ¶

type PercentageBuilder struct {
	// contains filtered or unexported fields
}

PercentageBuilder holds Percentage struct and provides a builder API.

func NewPercentageBuilder ¶

func NewPercentageBuilder() *PercentageBuilder

NewPercentage provides a builder for the Percentage struct.

func (*PercentageBuilder) Build ¶

func (u *PercentageBuilder) Build() Percentage

Build finalize the chain and returns the Percentage struct

func (*PercentageBuilder) Float32 ¶

func (u *PercentageBuilder) Float32(float32 float32) *PercentageBuilder

func (*PercentageBuilder) String ¶

func (u *PercentageBuilder) String(string string) *PercentageBuilder

type PercentageScoreHeuristicBuilder ¶

type PercentageScoreHeuristicBuilder struct {
	// contains filtered or unexported fields
}

PercentageScoreHeuristicBuilder holds PercentageScoreHeuristic struct and provides a builder API.

func NewPercentageScoreHeuristicBuilder ¶

func NewPercentageScoreHeuristicBuilder() *PercentageScoreHeuristicBuilder

NewPercentageScoreHeuristic provides a builder for the PercentageScoreHeuristic struct.

func (*PercentageScoreHeuristicBuilder) Build ¶

Build finalize the chain and returns the PercentageScoreHeuristic struct

type PercentileRanksAggregation ¶

type PercentileRanksAggregation struct {
	Field   *Field     `json:"field,omitempty"`
	Format  *string    `json:"format,omitempty"`
	Hdr     *HdrMethod `json:"hdr,omitempty"`
	Keyed   *bool      `json:"keyed,omitempty"`
	Missing *Missing   `json:"missing,omitempty"`
	Script  *Script    `json:"script,omitempty"`
	Tdigest *TDigest   `json:"tdigest,omitempty"`
	Values  []float64  `json:"values,omitempty"`
}

PercentileRanksAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L96-L101

type PercentileRanksAggregationBuilder ¶

type PercentileRanksAggregationBuilder struct {
	// contains filtered or unexported fields
}

PercentileRanksAggregationBuilder holds PercentileRanksAggregation struct and provides a builder API.

func NewPercentileRanksAggregationBuilder ¶

func NewPercentileRanksAggregationBuilder() *PercentileRanksAggregationBuilder

NewPercentileRanksAggregation provides a builder for the PercentileRanksAggregation struct.

func (*PercentileRanksAggregationBuilder) Build ¶

Build finalize the chain and returns the PercentileRanksAggregation struct

func (*PercentileRanksAggregationBuilder) Field ¶

func (*PercentileRanksAggregationBuilder) Format ¶

func (*PercentileRanksAggregationBuilder) Hdr ¶

func (*PercentileRanksAggregationBuilder) Keyed ¶

func (*PercentileRanksAggregationBuilder) Missing ¶

func (*PercentileRanksAggregationBuilder) Script ¶

func (*PercentileRanksAggregationBuilder) Tdigest ¶

func (*PercentileRanksAggregationBuilder) Values ¶

type Percentiles ¶

type Percentiles interface{}

Percentiles holds the union for the following types:

[]ArrayPercentilesItem
KeyedPercentiles

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L139-L140

type PercentilesAggregateBase ¶

type PercentilesAggregateBase struct {
	Meta   *Metadata   `json:"meta,omitempty"`
	Values Percentiles `json:"values"`
}

PercentilesAggregateBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L135-L137

type PercentilesAggregateBaseBuilder ¶

type PercentilesAggregateBaseBuilder struct {
	// contains filtered or unexported fields
}

PercentilesAggregateBaseBuilder holds PercentilesAggregateBase struct and provides a builder API.

func NewPercentilesAggregateBaseBuilder ¶

func NewPercentilesAggregateBaseBuilder() *PercentilesAggregateBaseBuilder

NewPercentilesAggregateBase provides a builder for the PercentilesAggregateBase struct.

func (*PercentilesAggregateBaseBuilder) Build ¶

Build finalize the chain and returns the PercentilesAggregateBase struct

func (*PercentilesAggregateBaseBuilder) Meta ¶

func (*PercentilesAggregateBaseBuilder) Values ¶

type PercentilesAggregation ¶

type PercentilesAggregation struct {
	Field    *Field     `json:"field,omitempty"`
	Format   *string    `json:"format,omitempty"`
	Hdr      *HdrMethod `json:"hdr,omitempty"`
	Keyed    *bool      `json:"keyed,omitempty"`
	Missing  *Missing   `json:"missing,omitempty"`
	Percents []float64  `json:"percents,omitempty"`
	Script   *Script    `json:"script,omitempty"`
	Tdigest  *TDigest   `json:"tdigest,omitempty"`
}

PercentilesAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L103-L108

type PercentilesAggregationBuilder ¶

type PercentilesAggregationBuilder struct {
	// contains filtered or unexported fields
}

PercentilesAggregationBuilder holds PercentilesAggregation struct and provides a builder API.

func NewPercentilesAggregationBuilder ¶

func NewPercentilesAggregationBuilder() *PercentilesAggregationBuilder

NewPercentilesAggregation provides a builder for the PercentilesAggregation struct.

func (*PercentilesAggregationBuilder) Build ¶

Build finalize the chain and returns the PercentilesAggregation struct

func (*PercentilesAggregationBuilder) Field ¶

func (*PercentilesAggregationBuilder) Format ¶

func (*PercentilesAggregationBuilder) Hdr ¶

func (*PercentilesAggregationBuilder) Keyed ¶

func (*PercentilesAggregationBuilder) Missing ¶

func (*PercentilesAggregationBuilder) Percents ¶

func (*PercentilesAggregationBuilder) Script ¶

func (*PercentilesAggregationBuilder) Tdigest ¶

type PercentilesBucketAggregate ¶

type PercentilesBucketAggregate struct {
	Meta   *Metadata   `json:"meta,omitempty"`
	Values Percentiles `json:"values"`
}

PercentilesBucketAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L167-L168

type PercentilesBucketAggregateBuilder ¶

type PercentilesBucketAggregateBuilder struct {
	// contains filtered or unexported fields
}

PercentilesBucketAggregateBuilder holds PercentilesBucketAggregate struct and provides a builder API.

func NewPercentilesBucketAggregateBuilder ¶

func NewPercentilesBucketAggregateBuilder() *PercentilesBucketAggregateBuilder

NewPercentilesBucketAggregate provides a builder for the PercentilesBucketAggregate struct.

func (*PercentilesBucketAggregateBuilder) Build ¶

Build finalize the chain and returns the PercentilesBucketAggregate struct

func (*PercentilesBucketAggregateBuilder) Meta ¶

func (*PercentilesBucketAggregateBuilder) Values ¶

type PercentilesBucketAggregation ¶

type PercentilesBucketAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
	Percents    []float64            `json:"percents,omitempty"`
}

PercentilesBucketAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L264-L266

type PercentilesBucketAggregationBuilder ¶

type PercentilesBucketAggregationBuilder struct {
	// contains filtered or unexported fields
}

PercentilesBucketAggregationBuilder holds PercentilesBucketAggregation struct and provides a builder API.

func NewPercentilesBucketAggregationBuilder ¶

func NewPercentilesBucketAggregationBuilder() *PercentilesBucketAggregationBuilder

NewPercentilesBucketAggregation provides a builder for the PercentilesBucketAggregation struct.

func (*PercentilesBucketAggregationBuilder) BucketsPath ¶

func (*PercentilesBucketAggregationBuilder) Build ¶

Build finalize the chain and returns the PercentilesBucketAggregation struct

func (*PercentilesBucketAggregationBuilder) Format ¶

func (*PercentilesBucketAggregationBuilder) GapPolicy ¶

func (*PercentilesBucketAggregationBuilder) Meta ¶

func (*PercentilesBucketAggregationBuilder) Name ¶

func (*PercentilesBucketAggregationBuilder) Percents ¶

type PercentilesBuilder ¶

type PercentilesBuilder struct {
	// contains filtered or unexported fields
}

PercentilesBuilder holds Percentiles struct and provides a builder API.

func NewPercentilesBuilder ¶

func NewPercentilesBuilder() *PercentilesBuilder

NewPercentiles provides a builder for the Percentiles struct.

func (*PercentilesBuilder) ArrayPercentilesItems ¶

func (u *PercentilesBuilder) ArrayPercentilesItems(arraypercentilesitems []ArrayPercentilesItemBuilder) *PercentilesBuilder

func (*PercentilesBuilder) Build ¶

func (u *PercentilesBuilder) Build() Percentiles

Build finalize the chain and returns the Percentiles struct

func (*PercentilesBuilder) KeyedPercentiles ¶

func (u *PercentilesBuilder) KeyedPercentiles(keyedpercentiles *KeyedPercentilesBuilder) *PercentilesBuilder

type PercolateQuery ¶

type PercolateQuery struct {
	Boost      *float32       `json:"boost,omitempty"`
	Document   interface{}    `json:"document,omitempty"`
	Documents  []interface{}  `json:"documents,omitempty"`
	Field      Field          `json:"field"`
	Id         *Id            `json:"id,omitempty"`
	Index      *IndexName     `json:"index,omitempty"`
	Name       *string        `json:"name,omitempty"`
	Preference *string        `json:"preference,omitempty"`
	QueryName_ *string        `json:"_name,omitempty"`
	Routing    *Routing       `json:"routing,omitempty"`
	Version    *VersionNumber `json:"version,omitempty"`
}

PercolateQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L110-L120

type PercolateQueryBuilder ¶

type PercolateQueryBuilder struct {
	// contains filtered or unexported fields
}

PercolateQueryBuilder holds PercolateQuery struct and provides a builder API.

func NewPercolateQueryBuilder ¶

func NewPercolateQueryBuilder() *PercolateQueryBuilder

NewPercolateQuery provides a builder for the PercolateQuery struct.

func (*PercolateQueryBuilder) Boost ¶

func (*PercolateQueryBuilder) Build ¶

Build finalize the chain and returns the PercolateQuery struct

func (*PercolateQueryBuilder) Document ¶

func (rb *PercolateQueryBuilder) Document(document interface{}) *PercolateQueryBuilder

func (*PercolateQueryBuilder) Documents ¶

func (rb *PercolateQueryBuilder) Documents(documents ...interface{}) *PercolateQueryBuilder

func (*PercolateQueryBuilder) Field ¶

func (*PercolateQueryBuilder) Id ¶

func (*PercolateQueryBuilder) Index ¶

func (*PercolateQueryBuilder) Name ¶

func (*PercolateQueryBuilder) Preference ¶

func (rb *PercolateQueryBuilder) Preference(preference string) *PercolateQueryBuilder

func (*PercolateQueryBuilder) QueryName_ ¶

func (rb *PercolateQueryBuilder) QueryName_(queryname_ string) *PercolateQueryBuilder

func (*PercolateQueryBuilder) Routing ¶

func (rb *PercolateQueryBuilder) Routing(routing Routing) *PercolateQueryBuilder

func (*PercolateQueryBuilder) Version ¶

type PercolatorProperty ¶

type PercolatorProperty struct {
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

PercolatorProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L166-L168

type PercolatorPropertyBuilder ¶

type PercolatorPropertyBuilder struct {
	// contains filtered or unexported fields
}

PercolatorPropertyBuilder holds PercolatorProperty struct and provides a builder API.

func NewPercolatorPropertyBuilder ¶

func NewPercolatorPropertyBuilder() *PercolatorPropertyBuilder

NewPercolatorProperty provides a builder for the PercolatorProperty struct.

func (*PercolatorPropertyBuilder) Build ¶

Build finalize the chain and returns the PercolatorProperty struct

func (*PercolatorPropertyBuilder) Dynamic ¶

func (*PercolatorPropertyBuilder) Fields ¶

func (*PercolatorPropertyBuilder) IgnoreAbove ¶

func (rb *PercolatorPropertyBuilder) IgnoreAbove(ignoreabove int) *PercolatorPropertyBuilder

func (*PercolatorPropertyBuilder) LocalMetadata ¶

func (rb *PercolatorPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *PercolatorPropertyBuilder

func (*PercolatorPropertyBuilder) Meta ¶

func (*PercolatorPropertyBuilder) Properties ¶

type PersistentTaskStatusBuilder ¶

type PersistentTaskStatusBuilder struct {
	// contains filtered or unexported fields
}

PersistentTaskStatusBuilder holds PersistentTaskStatus struct and provides a builder API.

func NewPersistentTaskStatusBuilder ¶

func NewPersistentTaskStatusBuilder() *PersistentTaskStatusBuilder

NewPersistentTaskStatus provides a builder for the PersistentTaskStatus struct.

func (*PersistentTaskStatusBuilder) Build ¶

Build finalize the chain and returns the PersistentTaskStatus struct

func (*PersistentTaskStatusBuilder) Status ¶

type Phase ¶

type Phase struct {
	Actions        *Actions        `json:"actions,omitempty"`
	Configurations *Configurations `json:"configurations,omitempty"`
	MinAge         int64           `json:"min_age,omitempty"`
}

Phase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ilm/_types/Phase.ts#L25-L33

type PhaseBuilder ¶

type PhaseBuilder struct {
	// contains filtered or unexported fields
}

PhaseBuilder holds Phase struct and provides a builder API.

func NewPhaseBuilder ¶

func NewPhaseBuilder() *PhaseBuilder

NewPhase provides a builder for the Phase struct.

func (*PhaseBuilder) Actions ¶

func (rb *PhaseBuilder) Actions(actions *ActionsBuilder) *PhaseBuilder

func (*PhaseBuilder) Build ¶

func (rb *PhaseBuilder) Build() Phase

Build finalize the chain and returns the Phase struct

func (*PhaseBuilder) Configurations ¶

func (rb *PhaseBuilder) Configurations(configurations *ConfigurationsBuilder) *PhaseBuilder

func (*PhaseBuilder) MinAge ¶

func (rb *PhaseBuilder) MinAge(arg int64) *PhaseBuilder

type Phases ¶

type Phases struct {
	Cold   *Phase `json:"cold,omitempty"`
	Delete *Phase `json:"delete,omitempty"`
	Hot    *Phase `json:"hot,omitempty"`
	Warm   *Phase `json:"warm,omitempty"`
}

Phases type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ilm/_types/Phase.ts#L35-L40

type PhasesBuilder ¶

type PhasesBuilder struct {
	// contains filtered or unexported fields
}

PhasesBuilder holds Phases struct and provides a builder API.

func NewPhasesBuilder ¶

func NewPhasesBuilder() *PhasesBuilder

NewPhases provides a builder for the Phases struct.

func (*PhasesBuilder) Build ¶

func (rb *PhasesBuilder) Build() Phases

Build finalize the chain and returns the Phases struct

func (*PhasesBuilder) Cold ¶

func (rb *PhasesBuilder) Cold(cold *PhaseBuilder) *PhasesBuilder

func (*PhasesBuilder) Delete ¶

func (rb *PhasesBuilder) Delete(delete *PhaseBuilder) *PhasesBuilder

func (*PhasesBuilder) Hot ¶

func (rb *PhasesBuilder) Hot(hot *PhaseBuilder) *PhasesBuilder

func (*PhasesBuilder) Warm ¶

func (rb *PhasesBuilder) Warm(warm *PhaseBuilder) *PhasesBuilder

type PhoneticTokenFilter ¶

type PhoneticTokenFilter struct {
	Encoder     phoneticencoder.PhoneticEncoder     `json:"encoder"`
	Languageset []phoneticlanguage.PhoneticLanguage `json:"languageset"`
	MaxCodeLen  *int                                `json:"max_code_len,omitempty"`
	NameType    phoneticnametype.PhoneticNameType   `json:"name_type"`
	Replace     *bool                               `json:"replace,omitempty"`
	RuleType    phoneticruletype.PhoneticRuleType   `json:"rule_type"`
	Type        string                              `json:"type,omitempty"`
	Version     *VersionString                      `json:"version,omitempty"`
}

PhoneticTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/phonetic-plugin.ts#L64-L72

type PhoneticTokenFilterBuilder ¶

type PhoneticTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

PhoneticTokenFilterBuilder holds PhoneticTokenFilter struct and provides a builder API.

func NewPhoneticTokenFilterBuilder ¶

func NewPhoneticTokenFilterBuilder() *PhoneticTokenFilterBuilder

NewPhoneticTokenFilter provides a builder for the PhoneticTokenFilter struct.

func (*PhoneticTokenFilterBuilder) Build ¶

Build finalize the chain and returns the PhoneticTokenFilter struct

func (*PhoneticTokenFilterBuilder) Encoder ¶

func (*PhoneticTokenFilterBuilder) Languageset ¶

func (*PhoneticTokenFilterBuilder) MaxCodeLen ¶

func (rb *PhoneticTokenFilterBuilder) MaxCodeLen(maxcodelen int) *PhoneticTokenFilterBuilder

func (*PhoneticTokenFilterBuilder) NameType ¶

func (*PhoneticTokenFilterBuilder) Replace ¶

func (*PhoneticTokenFilterBuilder) RuleType ¶

func (*PhoneticTokenFilterBuilder) Version ¶

type PhraseSuggest ¶

type PhraseSuggest struct {
	Length  int                 `json:"length"`
	Offset  int                 `json:"offset"`
	Options PhraseSuggestOption `json:"options"`
	Text    string              `json:"text"`
}

PhraseSuggest type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L55-L60

type PhraseSuggestBuilder ¶

type PhraseSuggestBuilder struct {
	// contains filtered or unexported fields
}

PhraseSuggestBuilder holds PhraseSuggest struct and provides a builder API.

func NewPhraseSuggestBuilder ¶

func NewPhraseSuggestBuilder() *PhraseSuggestBuilder

NewPhraseSuggest provides a builder for the PhraseSuggest struct.

func (*PhraseSuggestBuilder) Build ¶

func (rb *PhraseSuggestBuilder) Build() PhraseSuggest

Build finalize the chain and returns the PhraseSuggest struct

func (*PhraseSuggestBuilder) Length ¶

func (rb *PhraseSuggestBuilder) Length(length int) *PhraseSuggestBuilder

func (*PhraseSuggestBuilder) Offset ¶

func (rb *PhraseSuggestBuilder) Offset(offset int) *PhraseSuggestBuilder

func (*PhraseSuggestBuilder) Options ¶

func (*PhraseSuggestBuilder) Text ¶

type PhraseSuggestCollate ¶

type PhraseSuggestCollate struct {
	Params map[string]interface{}    `json:"params,omitempty"`
	Prune  *bool                     `json:"prune,omitempty"`
	Query  PhraseSuggestCollateQuery `json:"query"`
}

PhraseSuggestCollate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L175-L179

type PhraseSuggestCollateBuilder ¶

type PhraseSuggestCollateBuilder struct {
	// contains filtered or unexported fields
}

PhraseSuggestCollateBuilder holds PhraseSuggestCollate struct and provides a builder API.

func NewPhraseSuggestCollateBuilder ¶

func NewPhraseSuggestCollateBuilder() *PhraseSuggestCollateBuilder

NewPhraseSuggestCollate provides a builder for the PhraseSuggestCollate struct.

func (*PhraseSuggestCollateBuilder) Build ¶

Build finalize the chain and returns the PhraseSuggestCollate struct

func (*PhraseSuggestCollateBuilder) Params ¶

func (rb *PhraseSuggestCollateBuilder) Params(value map[string]interface{}) *PhraseSuggestCollateBuilder

func (*PhraseSuggestCollateBuilder) Prune ¶

func (*PhraseSuggestCollateBuilder) Query ¶

type PhraseSuggestCollateQuery ¶

type PhraseSuggestCollateQuery struct {
	Id     *Id     `json:"id,omitempty"`
	Source *string `json:"source,omitempty"`
}

PhraseSuggestCollateQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L181-L184

type PhraseSuggestCollateQueryBuilder ¶

type PhraseSuggestCollateQueryBuilder struct {
	// contains filtered or unexported fields
}

PhraseSuggestCollateQueryBuilder holds PhraseSuggestCollateQuery struct and provides a builder API.

func NewPhraseSuggestCollateQueryBuilder ¶

func NewPhraseSuggestCollateQueryBuilder() *PhraseSuggestCollateQueryBuilder

NewPhraseSuggestCollateQuery provides a builder for the PhraseSuggestCollateQuery struct.

func (*PhraseSuggestCollateQueryBuilder) Build ¶

Build finalize the chain and returns the PhraseSuggestCollateQuery struct

func (*PhraseSuggestCollateQueryBuilder) Id ¶

func (*PhraseSuggestCollateQueryBuilder) Source ¶

type PhraseSuggestHighlightBuilder ¶

type PhraseSuggestHighlightBuilder struct {
	// contains filtered or unexported fields
}

PhraseSuggestHighlightBuilder holds PhraseSuggestHighlight struct and provides a builder API.

func NewPhraseSuggestHighlightBuilder ¶

func NewPhraseSuggestHighlightBuilder() *PhraseSuggestHighlightBuilder

NewPhraseSuggestHighlight provides a builder for the PhraseSuggestHighlight struct.

func (*PhraseSuggestHighlightBuilder) Build ¶

Build finalize the chain and returns the PhraseSuggestHighlight struct

func (*PhraseSuggestHighlightBuilder) PostTag ¶

func (*PhraseSuggestHighlightBuilder) PreTag ¶

type PhraseSuggestOption ¶

type PhraseSuggestOption struct {
	Highlighted string  `json:"highlighted"`
	Score       float64 `json:"score"`
	Text        string  `json:"text"`
}

PhraseSuggestOption type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L84-L88

type PhraseSuggestOptionBuilder ¶

type PhraseSuggestOptionBuilder struct {
	// contains filtered or unexported fields
}

PhraseSuggestOptionBuilder holds PhraseSuggestOption struct and provides a builder API.

func NewPhraseSuggestOptionBuilder ¶

func NewPhraseSuggestOptionBuilder() *PhraseSuggestOptionBuilder

NewPhraseSuggestOption provides a builder for the PhraseSuggestOption struct.

func (*PhraseSuggestOptionBuilder) Build ¶

Build finalize the chain and returns the PhraseSuggestOption struct

func (*PhraseSuggestOptionBuilder) Highlighted ¶

func (rb *PhraseSuggestOptionBuilder) Highlighted(highlighted string) *PhraseSuggestOptionBuilder

func (*PhraseSuggestOptionBuilder) Score ¶

func (*PhraseSuggestOptionBuilder) Text ¶

type PhraseSuggester ¶

type PhraseSuggester struct {
	Analyzer                *string                  `json:"analyzer,omitempty"`
	Collate                 *PhraseSuggestCollate    `json:"collate,omitempty"`
	Confidence              *float64                 `json:"confidence,omitempty"`
	DirectGenerator         []DirectGenerator        `json:"direct_generator,omitempty"`
	Field                   Field                    `json:"field"`
	ForceUnigrams           *bool                    `json:"force_unigrams,omitempty"`
	GramSize                *int                     `json:"gram_size,omitempty"`
	Highlight               *PhraseSuggestHighlight  `json:"highlight,omitempty"`
	MaxErrors               *float64                 `json:"max_errors,omitempty"`
	RealWordErrorLikelihood *float64                 `json:"real_word_error_likelihood,omitempty"`
	Separator               *string                  `json:"separator,omitempty"`
	ShardSize               *int                     `json:"shard_size,omitempty"`
	Size                    *int                     `json:"size,omitempty"`
	Smoothing               *SmoothingModelContainer `json:"smoothing,omitempty"`
	Text                    *string                  `json:"text,omitempty"`
	TokenLimit              *int                     `json:"token_limit,omitempty"`
}

PhraseSuggester type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L186-L200

type PhraseSuggesterBuilder ¶

type PhraseSuggesterBuilder struct {
	// contains filtered or unexported fields
}

PhraseSuggesterBuilder holds PhraseSuggester struct and provides a builder API.

func NewPhraseSuggesterBuilder ¶

func NewPhraseSuggesterBuilder() *PhraseSuggesterBuilder

NewPhraseSuggester provides a builder for the PhraseSuggester struct.

func (*PhraseSuggesterBuilder) Analyzer ¶

func (rb *PhraseSuggesterBuilder) Analyzer(analyzer string) *PhraseSuggesterBuilder

func (*PhraseSuggesterBuilder) Build ¶

Build finalize the chain and returns the PhraseSuggester struct

func (*PhraseSuggesterBuilder) Collate ¶

func (*PhraseSuggesterBuilder) Confidence ¶

func (rb *PhraseSuggesterBuilder) Confidence(confidence float64) *PhraseSuggesterBuilder

func (*PhraseSuggesterBuilder) DirectGenerator ¶

func (rb *PhraseSuggesterBuilder) DirectGenerator(direct_generator []DirectGeneratorBuilder) *PhraseSuggesterBuilder

func (*PhraseSuggesterBuilder) Field ¶

func (*PhraseSuggesterBuilder) ForceUnigrams ¶

func (rb *PhraseSuggesterBuilder) ForceUnigrams(forceunigrams bool) *PhraseSuggesterBuilder

func (*PhraseSuggesterBuilder) GramSize ¶

func (rb *PhraseSuggesterBuilder) GramSize(gramsize int) *PhraseSuggesterBuilder

func (*PhraseSuggesterBuilder) Highlight ¶

func (*PhraseSuggesterBuilder) MaxErrors ¶

func (rb *PhraseSuggesterBuilder) MaxErrors(maxerrors float64) *PhraseSuggesterBuilder

func (*PhraseSuggesterBuilder) RealWordErrorLikelihood ¶

func (rb *PhraseSuggesterBuilder) RealWordErrorLikelihood(realworderrorlikelihood float64) *PhraseSuggesterBuilder

func (*PhraseSuggesterBuilder) Separator ¶

func (rb *PhraseSuggesterBuilder) Separator(separator string) *PhraseSuggesterBuilder

func (*PhraseSuggesterBuilder) ShardSize ¶

func (rb *PhraseSuggesterBuilder) ShardSize(shardsize int) *PhraseSuggesterBuilder

func (*PhraseSuggesterBuilder) Size ¶

func (*PhraseSuggesterBuilder) Smoothing ¶

func (*PhraseSuggesterBuilder) Text ¶

func (*PhraseSuggesterBuilder) TokenLimit ¶

func (rb *PhraseSuggesterBuilder) TokenLimit(tokenlimit int) *PhraseSuggesterBuilder

type PinnedDocBuilder ¶

type PinnedDocBuilder struct {
	// contains filtered or unexported fields
}

PinnedDocBuilder holds PinnedDoc struct and provides a builder API.

func NewPinnedDocBuilder ¶

func NewPinnedDocBuilder() *PinnedDocBuilder

NewPinnedDoc provides a builder for the PinnedDoc struct.

func (*PinnedDocBuilder) Build ¶

func (rb *PinnedDocBuilder) Build() PinnedDoc

Build finalize the chain and returns the PinnedDoc struct

func (*PinnedDocBuilder) Id_ ¶

func (rb *PinnedDocBuilder) Id_(id_ Id) *PinnedDocBuilder

func (*PinnedDocBuilder) Index_ ¶

func (rb *PinnedDocBuilder) Index_(index_ IndexName) *PinnedDocBuilder

type PinnedQuery ¶

type PinnedQuery struct {
	Boost      *float32        `json:"boost,omitempty"`
	Docs       []PinnedDoc     `json:"docs,omitempty"`
	Ids        []Id            `json:"ids,omitempty"`
	Organic    *QueryContainer `json:"organic,omitempty"`
	QueryName_ *string         `json:"_name,omitempty"`
}

PinnedQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L122-L130

type PinnedQueryBuilder ¶

type PinnedQueryBuilder struct {
	// contains filtered or unexported fields
}

PinnedQueryBuilder holds PinnedQuery struct and provides a builder API.

func NewPinnedQueryBuilder ¶

func NewPinnedQueryBuilder() *PinnedQueryBuilder

NewPinnedQuery provides a builder for the PinnedQuery struct.

func (*PinnedQueryBuilder) Boost ¶

func (rb *PinnedQueryBuilder) Boost(boost float32) *PinnedQueryBuilder

func (*PinnedQueryBuilder) Build ¶

func (rb *PinnedQueryBuilder) Build() PinnedQuery

Build finalize the chain and returns the PinnedQuery struct

func (*PinnedQueryBuilder) Docs ¶

func (*PinnedQueryBuilder) Ids ¶

func (rb *PinnedQueryBuilder) Ids(ids ...Id) *PinnedQueryBuilder

func (*PinnedQueryBuilder) Organic ¶

func (*PinnedQueryBuilder) QueryName_ ¶

func (rb *PinnedQueryBuilder) QueryName_(queryname_ string) *PinnedQueryBuilder

type Pipeline ¶

type Pipeline struct {
	Description      string           `json:"description"`
	LastModified     DateTime         `json:"last_modified"`
	Pipeline         string           `json:"pipeline"`
	PipelineMetadata PipelineMetadata `json:"pipeline_metadata"`
	PipelineSettings PipelineSettings `json:"pipeline_settings"`
	Username         string           `json:"username"`
}

Pipeline type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/logstash/_types/Pipeline.ts#L37-L44

type PipelineAggregationBase ¶

type PipelineAggregationBase struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
}

PipelineAggregationBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L39-L42

type PipelineAggregationBaseBuilder ¶

type PipelineAggregationBaseBuilder struct {
	// contains filtered or unexported fields
}

PipelineAggregationBaseBuilder holds PipelineAggregationBase struct and provides a builder API.

func NewPipelineAggregationBaseBuilder ¶

func NewPipelineAggregationBaseBuilder() *PipelineAggregationBaseBuilder

NewPipelineAggregationBase provides a builder for the PipelineAggregationBase struct.

func (*PipelineAggregationBaseBuilder) BucketsPath ¶

func (*PipelineAggregationBaseBuilder) Build ¶

Build finalize the chain and returns the PipelineAggregationBase struct

func (*PipelineAggregationBaseBuilder) Format ¶

func (*PipelineAggregationBaseBuilder) GapPolicy ¶

func (*PipelineAggregationBaseBuilder) Meta ¶

func (*PipelineAggregationBaseBuilder) Name ¶

type PipelineBuilder ¶

type PipelineBuilder struct {
	// contains filtered or unexported fields
}

PipelineBuilder holds Pipeline struct and provides a builder API.

func NewPipelineBuilder ¶

func NewPipelineBuilder() *PipelineBuilder

NewPipeline provides a builder for the Pipeline struct.

func (*PipelineBuilder) Build ¶

func (rb *PipelineBuilder) Build() Pipeline

Build finalize the chain and returns the Pipeline struct

func (*PipelineBuilder) Description ¶

func (rb *PipelineBuilder) Description(description string) *PipelineBuilder

func (*PipelineBuilder) LastModified ¶

func (rb *PipelineBuilder) LastModified(lastmodified *DateTimeBuilder) *PipelineBuilder

func (*PipelineBuilder) Pipeline ¶

func (rb *PipelineBuilder) Pipeline(pipeline string) *PipelineBuilder

func (*PipelineBuilder) PipelineMetadata ¶

func (rb *PipelineBuilder) PipelineMetadata(pipelinemetadata *PipelineMetadataBuilder) *PipelineBuilder

func (*PipelineBuilder) PipelineSettings ¶

func (rb *PipelineBuilder) PipelineSettings(pipelinesettings *PipelineSettingsBuilder) *PipelineBuilder

func (*PipelineBuilder) Username ¶

func (rb *PipelineBuilder) Username(username string) *PipelineBuilder

type PipelineConfig ¶

type PipelineConfig struct {
	Description *string              `json:"description,omitempty"`
	Processors  []ProcessorContainer `json:"processors"`
	Version     *VersionNumber       `json:"version,omitempty"`
}

PipelineConfig type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Pipeline.ts#L44-L48

type PipelineConfigBuilder ¶

type PipelineConfigBuilder struct {
	// contains filtered or unexported fields
}

PipelineConfigBuilder holds PipelineConfig struct and provides a builder API.

func NewPipelineConfigBuilder ¶

func NewPipelineConfigBuilder() *PipelineConfigBuilder

NewPipelineConfig provides a builder for the PipelineConfig struct.

func (*PipelineConfigBuilder) Build ¶

Build finalize the chain and returns the PipelineConfig struct

func (*PipelineConfigBuilder) Description ¶

func (rb *PipelineConfigBuilder) Description(description string) *PipelineConfigBuilder

func (*PipelineConfigBuilder) Processors ¶

func (*PipelineConfigBuilder) Version ¶

type PipelineMetadataBuilder ¶

type PipelineMetadataBuilder struct {
	// contains filtered or unexported fields
}

PipelineMetadataBuilder holds PipelineMetadata struct and provides a builder API.

func NewPipelineMetadataBuilder ¶

func NewPipelineMetadataBuilder() *PipelineMetadataBuilder

NewPipelineMetadata provides a builder for the PipelineMetadata struct.

func (*PipelineMetadataBuilder) Build ¶

Build finalize the chain and returns the PipelineMetadata struct

func (*PipelineMetadataBuilder) Type_ ¶

func (*PipelineMetadataBuilder) Version ¶

type PipelineNameBuilder ¶

type PipelineNameBuilder struct {
	// contains filtered or unexported fields
}

PipelineNameBuilder holds PipelineName struct and provides a builder API.

func NewPipelineNameBuilder ¶

func NewPipelineNameBuilder() *PipelineNameBuilder

NewPipelineName provides a builder for the PipelineName struct.

func (*PipelineNameBuilder) Build ¶

func (b *PipelineNameBuilder) Build() PipelineName

Build finalize the chain and returns the PipelineName struct

func (*PipelineNameBuilder) PipelineName ¶

func (b *PipelineNameBuilder) PipelineName(value PipelineName) *PipelineNameBuilder

type PipelineProcessor ¶

type PipelineProcessor struct {
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	Name          Name                 `json:"name"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
}

PipelineProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L297-L299

type PipelineProcessorBuilder ¶

type PipelineProcessorBuilder struct {
	// contains filtered or unexported fields
}

PipelineProcessorBuilder holds PipelineProcessor struct and provides a builder API.

func NewPipelineProcessorBuilder ¶

func NewPipelineProcessorBuilder() *PipelineProcessorBuilder

NewPipelineProcessor provides a builder for the PipelineProcessor struct.

func (*PipelineProcessorBuilder) Build ¶

Build finalize the chain and returns the PipelineProcessor struct

func (*PipelineProcessorBuilder) If_ ¶

func (*PipelineProcessorBuilder) IgnoreFailure ¶

func (rb *PipelineProcessorBuilder) IgnoreFailure(ignorefailure bool) *PipelineProcessorBuilder

func (*PipelineProcessorBuilder) Name ¶

func (*PipelineProcessorBuilder) OnFailure ¶

func (*PipelineProcessorBuilder) Tag ¶

type PipelineSettings ¶

type PipelineSettings struct {
	PipelineBatchDelay    int    `json:"pipeline.batch.delay"`
	PipelineBatchSize     int    `json:"pipeline.batch.size"`
	PipelineWorkers       int    `json:"pipeline.workers"`
	QueueCheckpointWrites int    `json:"queue.checkpoint.writes"`
	QueueMaxBytesNumber   int    `json:"queue.max_bytes.number"`
	QueueMaxBytesUnits    string `json:"queue.max_bytes.units"`
	QueueType             string `json:"queue.type"`
}

PipelineSettings type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/logstash/_types/Pipeline.ts#L28-L36

type PipelineSettingsBuilder ¶

type PipelineSettingsBuilder struct {
	// contains filtered or unexported fields
}

PipelineSettingsBuilder holds PipelineSettings struct and provides a builder API.

func NewPipelineSettingsBuilder ¶

func NewPipelineSettingsBuilder() *PipelineSettingsBuilder

NewPipelineSettings provides a builder for the PipelineSettings struct.

func (*PipelineSettingsBuilder) Build ¶

Build finalize the chain and returns the PipelineSettings struct

func (*PipelineSettingsBuilder) PipelineBatchDelay ¶

func (rb *PipelineSettingsBuilder) PipelineBatchDelay(pipelinebatchdelay int) *PipelineSettingsBuilder

func (*PipelineSettingsBuilder) PipelineBatchSize ¶

func (rb *PipelineSettingsBuilder) PipelineBatchSize(pipelinebatchsize int) *PipelineSettingsBuilder

func (*PipelineSettingsBuilder) PipelineWorkers ¶

func (rb *PipelineSettingsBuilder) PipelineWorkers(pipelineworkers int) *PipelineSettingsBuilder

func (*PipelineSettingsBuilder) QueueCheckpointWrites ¶

func (rb *PipelineSettingsBuilder) QueueCheckpointWrites(queuecheckpointwrites int) *PipelineSettingsBuilder

func (*PipelineSettingsBuilder) QueueMaxBytesNumber ¶

func (rb *PipelineSettingsBuilder) QueueMaxBytesNumber(queuemaxbytesnumber int) *PipelineSettingsBuilder

func (*PipelineSettingsBuilder) QueueMaxBytesUnits ¶

func (rb *PipelineSettingsBuilder) QueueMaxBytesUnits(queuemaxbytesunits string) *PipelineSettingsBuilder

func (*PipelineSettingsBuilder) QueueType ¶

func (rb *PipelineSettingsBuilder) QueueType(queuetype string) *PipelineSettingsBuilder

type PipelineSimulation ¶

type PipelineSimulation struct {
	Doc              *DocumentSimulation                      `json:"doc,omitempty"`
	ProcessorResults []PipelineSimulation                     `json:"processor_results,omitempty"`
	ProcessorType    *string                                  `json:"processor_type,omitempty"`
	Status           *actionstatusoptions.ActionStatusOptions `json:"status,omitempty"`
	Tag              *string                                  `json:"tag,omitempty"`
}

PipelineSimulation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/simulate/types.ts#L31-L37

type PipelineSimulationBuilder ¶

type PipelineSimulationBuilder struct {
	// contains filtered or unexported fields
}

PipelineSimulationBuilder holds PipelineSimulation struct and provides a builder API.

func NewPipelineSimulationBuilder ¶

func NewPipelineSimulationBuilder() *PipelineSimulationBuilder

NewPipelineSimulation provides a builder for the PipelineSimulation struct.

func (*PipelineSimulationBuilder) Build ¶

Build finalize the chain and returns the PipelineSimulation struct

func (*PipelineSimulationBuilder) Doc ¶

func (*PipelineSimulationBuilder) ProcessorResults ¶

func (rb *PipelineSimulationBuilder) ProcessorResults(processor_results []PipelineSimulationBuilder) *PipelineSimulationBuilder

func (*PipelineSimulationBuilder) ProcessorType ¶

func (rb *PipelineSimulationBuilder) ProcessorType(processortype string) *PipelineSimulationBuilder

func (*PipelineSimulationBuilder) Status ¶

func (*PipelineSimulationBuilder) Tag ¶

type Pivot ¶

type Pivot struct {
	// Aggregations Defines how to aggregate the grouped data. The following aggregations are
	// currently supported: average, bucket
	// script, bucket selector, cardinality, filter, geo bounds, geo centroid, geo
	// line, max, median absolute deviation,
	// min, missing, percentiles, rare terms, scripted metric, stats, sum, terms,
	// top metrics, value count, weighted
	// average.
	Aggregations map[string]AggregationContainer `json:"aggregations,omitempty"`
	// GroupBy Defines how to group the data. More than one grouping can be defined per
	// pivot. The following groupings are
	// currently supported: date histogram, geotile grid, histogram, terms.
	GroupBy map[string]PivotGroupByContainer `json:"group_by,omitempty"`
}

Pivot type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/_types/Transform.ts#L54-L68

type PivotBuilder ¶

type PivotBuilder struct {
	// contains filtered or unexported fields
}

PivotBuilder holds Pivot struct and provides a builder API.

func NewPivotBuilder ¶

func NewPivotBuilder() *PivotBuilder

NewPivot provides a builder for the Pivot struct.

func (*PivotBuilder) Aggregations ¶

func (rb *PivotBuilder) Aggregations(values map[string]*AggregationContainerBuilder) *PivotBuilder

func (*PivotBuilder) Build ¶

func (rb *PivotBuilder) Build() Pivot

Build finalize the chain and returns the Pivot struct

func (*PivotBuilder) GroupBy ¶

type PivotGroupByContainer ¶

type PivotGroupByContainer struct {
	DateHistogram *DateHistogramAggregation `json:"date_histogram,omitempty"`
	GeotileGrid   *GeoTileGridAggregation   `json:"geotile_grid,omitempty"`
	Histogram     *HistogramAggregation     `json:"histogram,omitempty"`
	Terms         *TermsAggregation         `json:"terms,omitempty"`
}

PivotGroupByContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/_types/Transform.ts#L70-L78

type PivotGroupByContainerBuilder ¶

type PivotGroupByContainerBuilder struct {
	// contains filtered or unexported fields
}

PivotGroupByContainerBuilder holds PivotGroupByContainer struct and provides a builder API.

func NewPivotGroupByContainerBuilder ¶

func NewPivotGroupByContainerBuilder() *PivotGroupByContainerBuilder

NewPivotGroupByContainer provides a builder for the PivotGroupByContainer struct.

func (*PivotGroupByContainerBuilder) Build ¶

Build finalize the chain and returns the PivotGroupByContainer struct

func (*PivotGroupByContainerBuilder) DateHistogram ¶

func (*PivotGroupByContainerBuilder) GeotileGrid ¶

func (*PivotGroupByContainerBuilder) Histogram ¶

func (*PivotGroupByContainerBuilder) Terms ¶

type PluginStats ¶

type PluginStats struct {
	Classname            string        `json:"classname"`
	Description          string        `json:"description"`
	ElasticsearchVersion VersionString `json:"elasticsearch_version"`
	ExtendedPlugins      []string      `json:"extended_plugins"`
	HasNativeController  bool          `json:"has_native_controller"`
	JavaVersion          VersionString `json:"java_version"`
	Licensed             bool          `json:"licensed"`
	Name                 Name          `json:"name"`
	Type                 string        `json:"type"`
	Version              VersionString `json:"version"`
}

PluginStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L137-L148

type PluginStatsBuilder ¶

type PluginStatsBuilder struct {
	// contains filtered or unexported fields
}

PluginStatsBuilder holds PluginStats struct and provides a builder API.

func NewPluginStatsBuilder ¶

func NewPluginStatsBuilder() *PluginStatsBuilder

NewPluginStats provides a builder for the PluginStats struct.

func (*PluginStatsBuilder) Build ¶

func (rb *PluginStatsBuilder) Build() PluginStats

Build finalize the chain and returns the PluginStats struct

func (*PluginStatsBuilder) Classname ¶

func (rb *PluginStatsBuilder) Classname(classname string) *PluginStatsBuilder

func (*PluginStatsBuilder) Description ¶

func (rb *PluginStatsBuilder) Description(description string) *PluginStatsBuilder

func (*PluginStatsBuilder) ElasticsearchVersion ¶

func (rb *PluginStatsBuilder) ElasticsearchVersion(elasticsearchversion VersionString) *PluginStatsBuilder

func (*PluginStatsBuilder) ExtendedPlugins ¶

func (rb *PluginStatsBuilder) ExtendedPlugins(extended_plugins ...string) *PluginStatsBuilder

func (*PluginStatsBuilder) HasNativeController ¶

func (rb *PluginStatsBuilder) HasNativeController(hasnativecontroller bool) *PluginStatsBuilder

func (*PluginStatsBuilder) JavaVersion ¶

func (rb *PluginStatsBuilder) JavaVersion(javaversion VersionString) *PluginStatsBuilder

func (*PluginStatsBuilder) Licensed ¶

func (rb *PluginStatsBuilder) Licensed(licensed bool) *PluginStatsBuilder

func (*PluginStatsBuilder) Name ¶

func (rb *PluginStatsBuilder) Name(name Name) *PluginStatsBuilder

func (*PluginStatsBuilder) Type_ ¶

func (rb *PluginStatsBuilder) Type_(type_ string) *PluginStatsBuilder

func (*PluginStatsBuilder) Version ¶

func (rb *PluginStatsBuilder) Version(version VersionString) *PluginStatsBuilder

type PluginsRecord ¶

type PluginsRecord struct {
	// Component component
	Component *string `json:"component,omitempty"`
	// Description plugin details
	Description *string `json:"description,omitempty"`
	// Id unique node id
	Id *NodeId `json:"id,omitempty"`
	// Name node name
	Name *Name `json:"name,omitempty"`
	// Type plugin type
	Type *string `json:"type,omitempty"`
	// Version component version
	Version *VersionString `json:"version,omitempty"`
}

PluginsRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/plugins/types.ts#L22-L52

type PluginsRecordBuilder ¶

type PluginsRecordBuilder struct {
	// contains filtered or unexported fields
}

PluginsRecordBuilder holds PluginsRecord struct and provides a builder API.

func NewPluginsRecordBuilder ¶

func NewPluginsRecordBuilder() *PluginsRecordBuilder

NewPluginsRecord provides a builder for the PluginsRecord struct.

func (*PluginsRecordBuilder) Build ¶

func (rb *PluginsRecordBuilder) Build() PluginsRecord

Build finalize the chain and returns the PluginsRecord struct

func (*PluginsRecordBuilder) Component ¶

func (rb *PluginsRecordBuilder) Component(component string) *PluginsRecordBuilder

func (*PluginsRecordBuilder) Description ¶

func (rb *PluginsRecordBuilder) Description(description string) *PluginsRecordBuilder

func (*PluginsRecordBuilder) Id ¶

func (*PluginsRecordBuilder) Name ¶

func (*PluginsRecordBuilder) Type_ ¶

func (*PluginsRecordBuilder) Version ¶

type PluginsStatusBuilder ¶

type PluginsStatusBuilder struct {
	// contains filtered or unexported fields
}

PluginsStatusBuilder holds PluginsStatus struct and provides a builder API.

func NewPluginsStatusBuilder ¶

func NewPluginsStatusBuilder() *PluginsStatusBuilder

NewPluginsStatus provides a builder for the PluginsStatus struct.

func (*PluginsStatusBuilder) Build ¶

func (rb *PluginsStatusBuilder) Build() PluginsStatus

Build finalize the chain and returns the PluginsStatus struct

func (*PluginsStatusBuilder) Status ¶

type PointInTimeReferenceBuilder ¶

type PointInTimeReferenceBuilder struct {
	// contains filtered or unexported fields
}

PointInTimeReferenceBuilder holds PointInTimeReference struct and provides a builder API.

func NewPointInTimeReferenceBuilder ¶

func NewPointInTimeReferenceBuilder() *PointInTimeReferenceBuilder

NewPointInTimeReference provides a builder for the PointInTimeReference struct.

func (*PointInTimeReferenceBuilder) Build ¶

Build finalize the chain and returns the PointInTimeReference struct

func (*PointInTimeReferenceBuilder) Id ¶

func (*PointInTimeReferenceBuilder) KeepAlive ¶

type PointProperty ¶

type PointProperty struct {
	CopyTo          *Fields                        `json:"copy_to,omitempty"`
	DocValues       *bool                          `json:"doc_values,omitempty"`
	Dynamic         *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields          map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove     *int                           `json:"ignore_above,omitempty"`
	IgnoreMalformed *bool                          `json:"ignore_malformed,omitempty"`
	IgnoreZValue    *bool                          `json:"ignore_z_value,omitempty"`
	LocalMetadata   *Metadata                      `json:"local_metadata,omitempty"`
	Meta            map[string]string              `json:"meta,omitempty"`
	NullValue       *string                        `json:"null_value,omitempty"`
	Properties      map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity      *string                        `json:"similarity,omitempty"`
	Store           *bool                          `json:"store,omitempty"`
	Type            string                         `json:"type,omitempty"`
}

PointProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/geo.ts#L62-L67

type PointPropertyBuilder ¶

type PointPropertyBuilder struct {
	// contains filtered or unexported fields
}

PointPropertyBuilder holds PointProperty struct and provides a builder API.

func NewPointPropertyBuilder ¶

func NewPointPropertyBuilder() *PointPropertyBuilder

NewPointProperty provides a builder for the PointProperty struct.

func (*PointPropertyBuilder) Build ¶

func (rb *PointPropertyBuilder) Build() PointProperty

Build finalize the chain and returns the PointProperty struct

func (*PointPropertyBuilder) CopyTo ¶

func (*PointPropertyBuilder) DocValues ¶

func (rb *PointPropertyBuilder) DocValues(docvalues bool) *PointPropertyBuilder

func (*PointPropertyBuilder) Dynamic ¶

func (*PointPropertyBuilder) Fields ¶

func (*PointPropertyBuilder) IgnoreAbove ¶

func (rb *PointPropertyBuilder) IgnoreAbove(ignoreabove int) *PointPropertyBuilder

func (*PointPropertyBuilder) IgnoreMalformed ¶

func (rb *PointPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *PointPropertyBuilder

func (*PointPropertyBuilder) IgnoreZValue ¶

func (rb *PointPropertyBuilder) IgnoreZValue(ignorezvalue bool) *PointPropertyBuilder

func (*PointPropertyBuilder) LocalMetadata ¶

func (rb *PointPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *PointPropertyBuilder

func (*PointPropertyBuilder) Meta ¶

func (*PointPropertyBuilder) NullValue ¶

func (rb *PointPropertyBuilder) NullValue(nullvalue string) *PointPropertyBuilder

func (*PointPropertyBuilder) Properties ¶

func (*PointPropertyBuilder) Similarity ¶

func (rb *PointPropertyBuilder) Similarity(similarity string) *PointPropertyBuilder

func (*PointPropertyBuilder) Store ¶

type Policy ¶

type Policy struct {
	Config     Configuration  `json:"config"`
	Name       Name           `json:"name"`
	Repository string         `json:"repository"`
	Retention  Retention      `json:"retention"`
	Schedule   CronExpression `json:"schedule"`
}

Policy type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/slm/_types/SnapshotLifecycle.ts#L76-L82

type PolicyBuilder ¶

type PolicyBuilder struct {
	// contains filtered or unexported fields
}

PolicyBuilder holds Policy struct and provides a builder API.

func NewPolicyBuilder ¶

func NewPolicyBuilder() *PolicyBuilder

NewPolicy provides a builder for the Policy struct.

func (*PolicyBuilder) Build ¶

func (rb *PolicyBuilder) Build() Policy

Build finalize the chain and returns the Policy struct

func (*PolicyBuilder) Config ¶

func (rb *PolicyBuilder) Config(config *ConfigurationBuilder) *PolicyBuilder

func (*PolicyBuilder) Name ¶

func (rb *PolicyBuilder) Name(name Name) *PolicyBuilder

func (*PolicyBuilder) Repository ¶

func (rb *PolicyBuilder) Repository(repository string) *PolicyBuilder

func (*PolicyBuilder) Retention ¶

func (rb *PolicyBuilder) Retention(retention *RetentionBuilder) *PolicyBuilder

func (*PolicyBuilder) Schedule ¶

func (rb *PolicyBuilder) Schedule(schedule CronExpression) *PolicyBuilder

type Pool ¶

type Pool struct {
	MaxInBytes      *int64 `json:"max_in_bytes,omitempty"`
	PeakMaxInBytes  *int64 `json:"peak_max_in_bytes,omitempty"`
	PeakUsedInBytes *int64 `json:"peak_used_in_bytes,omitempty"`
	UsedInBytes     *int64 `json:"used_in_bytes,omitempty"`
}

Pool type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L339-L344

type PoolBuilder ¶

type PoolBuilder struct {
	// contains filtered or unexported fields
}

PoolBuilder holds Pool struct and provides a builder API.

func NewPoolBuilder ¶

func NewPoolBuilder() *PoolBuilder

NewPool provides a builder for the Pool struct.

func (*PoolBuilder) Build ¶

func (rb *PoolBuilder) Build() Pool

Build finalize the chain and returns the Pool struct

func (*PoolBuilder) MaxInBytes ¶

func (rb *PoolBuilder) MaxInBytes(maxinbytes int64) *PoolBuilder

func (*PoolBuilder) PeakMaxInBytes ¶

func (rb *PoolBuilder) PeakMaxInBytes(peakmaxinbytes int64) *PoolBuilder

func (*PoolBuilder) PeakUsedInBytes ¶

func (rb *PoolBuilder) PeakUsedInBytes(peakusedinbytes int64) *PoolBuilder

func (*PoolBuilder) UsedInBytes ¶

func (rb *PoolBuilder) UsedInBytes(usedinbytes int64) *PoolBuilder

type PorterStemTokenFilter ¶

type PorterStemTokenFilter struct {
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

PorterStemTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L291-L293

type PorterStemTokenFilterBuilder ¶

type PorterStemTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

PorterStemTokenFilterBuilder holds PorterStemTokenFilter struct and provides a builder API.

func NewPorterStemTokenFilterBuilder ¶

func NewPorterStemTokenFilterBuilder() *PorterStemTokenFilterBuilder

NewPorterStemTokenFilter provides a builder for the PorterStemTokenFilter struct.

func (*PorterStemTokenFilterBuilder) Build ¶

Build finalize the chain and returns the PorterStemTokenFilter struct

func (*PorterStemTokenFilterBuilder) Version ¶

type PredicateTokenFilter ¶

type PredicateTokenFilter struct {
	Script  Script         `json:"script"`
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

PredicateTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L295-L298

type PredicateTokenFilterBuilder ¶

type PredicateTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

PredicateTokenFilterBuilder holds PredicateTokenFilter struct and provides a builder API.

func NewPredicateTokenFilterBuilder ¶

func NewPredicateTokenFilterBuilder() *PredicateTokenFilterBuilder

NewPredicateTokenFilter provides a builder for the PredicateTokenFilter struct.

func (*PredicateTokenFilterBuilder) Build ¶

Build finalize the chain and returns the PredicateTokenFilter struct

func (*PredicateTokenFilterBuilder) Script ¶

func (*PredicateTokenFilterBuilder) Version ¶

type PredictedValue ¶

type PredictedValue interface{}

PredictedValue holds the union for the following types:

bool
float64
int
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L410-L410

type PredictedValueBuilder ¶

type PredictedValueBuilder struct {
	// contains filtered or unexported fields
}

PredictedValueBuilder holds PredictedValue struct and provides a builder API.

func NewPredictedValueBuilder ¶

func NewPredictedValueBuilder() *PredictedValueBuilder

NewPredictedValue provides a builder for the PredictedValue struct.

func (*PredictedValueBuilder) Bool ¶

func (*PredictedValueBuilder) Build ¶

Build finalize the chain and returns the PredictedValue struct

func (*PredictedValueBuilder) Float64 ¶

func (*PredictedValueBuilder) Int ¶

func (*PredictedValueBuilder) String ¶

type PrefixQuery ¶

type PrefixQuery struct {
	Boost           *float32               `json:"boost,omitempty"`
	CaseInsensitive *bool                  `json:"case_insensitive,omitempty"`
	QueryName_      *string                `json:"_name,omitempty"`
	Rewrite         *MultiTermQueryRewrite `json:"rewrite,omitempty"`
	Value           string                 `json:"value"`
}

PrefixQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L66-L75

type PrefixQueryBuilder ¶

type PrefixQueryBuilder struct {
	// contains filtered or unexported fields
}

PrefixQueryBuilder holds PrefixQuery struct and provides a builder API.

func NewPrefixQueryBuilder ¶

func NewPrefixQueryBuilder() *PrefixQueryBuilder

NewPrefixQuery provides a builder for the PrefixQuery struct.

func (*PrefixQueryBuilder) Boost ¶

func (rb *PrefixQueryBuilder) Boost(boost float32) *PrefixQueryBuilder

func (*PrefixQueryBuilder) Build ¶

func (rb *PrefixQueryBuilder) Build() PrefixQuery

Build finalize the chain and returns the PrefixQuery struct

func (*PrefixQueryBuilder) CaseInsensitive ¶

func (rb *PrefixQueryBuilder) CaseInsensitive(caseinsensitive bool) *PrefixQueryBuilder

func (*PrefixQueryBuilder) QueryName_ ¶

func (rb *PrefixQueryBuilder) QueryName_(queryname_ string) *PrefixQueryBuilder

func (*PrefixQueryBuilder) Rewrite ¶

func (*PrefixQueryBuilder) Value ¶

func (rb *PrefixQueryBuilder) Value(value string) *PrefixQueryBuilder

type Preprocessor ¶

type Preprocessor struct {
	FrequencyEncoding  *FrequencyEncodingPreprocessor  `json:"frequency_encoding,omitempty"`
	OneHotEncoding     *OneHotEncodingPreprocessor     `json:"one_hot_encoding,omitempty"`
	TargetMeanEncoding *TargetMeanEncodingPreprocessor `json:"target_mean_encoding,omitempty"`
}

Preprocessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/put_trained_model/types.ts#L31-L36

type PreprocessorBuilder ¶

type PreprocessorBuilder struct {
	// contains filtered or unexported fields
}

PreprocessorBuilder holds Preprocessor struct and provides a builder API.

func NewPreprocessorBuilder ¶

func NewPreprocessorBuilder() *PreprocessorBuilder

NewPreprocessor provides a builder for the Preprocessor struct.

func (*PreprocessorBuilder) Build ¶

func (rb *PreprocessorBuilder) Build() Preprocessor

Build finalize the chain and returns the Preprocessor struct

func (*PreprocessorBuilder) FrequencyEncoding ¶

func (rb *PreprocessorBuilder) FrequencyEncoding(frequencyencoding *FrequencyEncodingPreprocessorBuilder) *PreprocessorBuilder

func (*PreprocessorBuilder) OneHotEncoding ¶

func (rb *PreprocessorBuilder) OneHotEncoding(onehotencoding *OneHotEncodingPreprocessorBuilder) *PreprocessorBuilder

func (*PreprocessorBuilder) TargetMeanEncoding ¶

func (rb *PreprocessorBuilder) TargetMeanEncoding(targetmeanencoding *TargetMeanEncodingPreprocessorBuilder) *PreprocessorBuilder

type PressureMemory ¶

type PressureMemory struct {
	AllInBytes                            *int64 `json:"all_in_bytes,omitempty"`
	CombinedCoordinatingAndPrimaryInBytes *int64 `json:"combined_coordinating_and_primary_in_bytes,omitempty"`
	CoordinatingInBytes                   *int64 `json:"coordinating_in_bytes,omitempty"`
	CoordinatingRejections                *int64 `json:"coordinating_rejections,omitempty"`
	PrimaryInBytes                        *int64 `json:"primary_in_bytes,omitempty"`
	PrimaryRejections                     *int64 `json:"primary_rejections,omitempty"`
	ReplicaInBytes                        *int64 `json:"replica_in_bytes,omitempty"`
	ReplicaRejections                     *int64 `json:"replica_rejections,omitempty"`
}

PressureMemory type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L65-L74

type PressureMemoryBuilder ¶

type PressureMemoryBuilder struct {
	// contains filtered or unexported fields
}

PressureMemoryBuilder holds PressureMemory struct and provides a builder API.

func NewPressureMemoryBuilder ¶

func NewPressureMemoryBuilder() *PressureMemoryBuilder

NewPressureMemory provides a builder for the PressureMemory struct.

func (*PressureMemoryBuilder) AllInBytes ¶

func (rb *PressureMemoryBuilder) AllInBytes(allinbytes int64) *PressureMemoryBuilder

func (*PressureMemoryBuilder) Build ¶

Build finalize the chain and returns the PressureMemory struct

func (*PressureMemoryBuilder) CombinedCoordinatingAndPrimaryInBytes ¶

func (rb *PressureMemoryBuilder) CombinedCoordinatingAndPrimaryInBytes(combinedcoordinatingandprimaryinbytes int64) *PressureMemoryBuilder

func (*PressureMemoryBuilder) CoordinatingInBytes ¶

func (rb *PressureMemoryBuilder) CoordinatingInBytes(coordinatinginbytes int64) *PressureMemoryBuilder

func (*PressureMemoryBuilder) CoordinatingRejections ¶

func (rb *PressureMemoryBuilder) CoordinatingRejections(coordinatingrejections int64) *PressureMemoryBuilder

func (*PressureMemoryBuilder) PrimaryInBytes ¶

func (rb *PressureMemoryBuilder) PrimaryInBytes(primaryinbytes int64) *PressureMemoryBuilder

func (*PressureMemoryBuilder) PrimaryRejections ¶

func (rb *PressureMemoryBuilder) PrimaryRejections(primaryrejections int64) *PressureMemoryBuilder

func (*PressureMemoryBuilder) ReplicaInBytes ¶

func (rb *PressureMemoryBuilder) ReplicaInBytes(replicainbytes int64) *PressureMemoryBuilder

func (*PressureMemoryBuilder) ReplicaRejections ¶

func (rb *PressureMemoryBuilder) ReplicaRejections(replicarejections int64) *PressureMemoryBuilder

type PrivilegesBuilder ¶

type PrivilegesBuilder struct {
	// contains filtered or unexported fields
}

PrivilegesBuilder holds Privileges struct and provides a builder API.

func NewPrivilegesBuilder ¶

func NewPrivilegesBuilder() *PrivilegesBuilder

NewPrivileges provides a builder for the Privileges struct.

func (*PrivilegesBuilder) Build ¶

func (b *PrivilegesBuilder) Build() Privileges

Build finalize the chain and returns the Privileges struct

func (*PrivilegesBuilder) Privileges ¶

func (b *PrivilegesBuilder) Privileges(value Privileges) *PrivilegesBuilder

type PrivilegesCheck ¶

type PrivilegesCheck struct {
	Application []ApplicationPrivilegesCheck `json:"application,omitempty"`
	// Cluster A list of the cluster privileges that you want to check.
	Cluster []clusterprivilege.ClusterPrivilege `json:"cluster,omitempty"`
	Index   []IndexPrivilegesCheck              `json:"index,omitempty"`
}

PrivilegesCheck type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/has_privileges_user_profile/types.ts#L26-L33

type PrivilegesCheckBuilder ¶

type PrivilegesCheckBuilder struct {
	// contains filtered or unexported fields
}

PrivilegesCheckBuilder holds PrivilegesCheck struct and provides a builder API.

func NewPrivilegesCheckBuilder ¶

func NewPrivilegesCheckBuilder() *PrivilegesCheckBuilder

NewPrivilegesCheck provides a builder for the PrivilegesCheck struct.

func (*PrivilegesCheckBuilder) Application ¶

func (*PrivilegesCheckBuilder) Build ¶

Build finalize the chain and returns the PrivilegesCheck struct

func (*PrivilegesCheckBuilder) Cluster ¶

func (*PrivilegesCheckBuilder) Index ¶

type Process ¶

type Process struct {
	Cpu                 *Cpu         `json:"cpu,omitempty"`
	MaxFileDescriptors  *int         `json:"max_file_descriptors,omitempty"`
	Mem                 *MemoryStats `json:"mem,omitempty"`
	OpenFileDescriptors *int         `json:"open_file_descriptors,omitempty"`
	Timestamp           *int64       `json:"timestamp,omitempty"`
}

Process type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L375-L381

type ProcessBuilder ¶

type ProcessBuilder struct {
	// contains filtered or unexported fields
}

ProcessBuilder holds Process struct and provides a builder API.

func NewProcessBuilder ¶

func NewProcessBuilder() *ProcessBuilder

NewProcess provides a builder for the Process struct.

func (*ProcessBuilder) Build ¶

func (rb *ProcessBuilder) Build() Process

Build finalize the chain and returns the Process struct

func (*ProcessBuilder) Cpu ¶

func (rb *ProcessBuilder) Cpu(cpu *CpuBuilder) *ProcessBuilder

func (*ProcessBuilder) MaxFileDescriptors ¶

func (rb *ProcessBuilder) MaxFileDescriptors(maxfiledescriptors int) *ProcessBuilder

func (*ProcessBuilder) Mem ¶

func (*ProcessBuilder) OpenFileDescriptors ¶

func (rb *ProcessBuilder) OpenFileDescriptors(openfiledescriptors int) *ProcessBuilder

func (*ProcessBuilder) Timestamp ¶

func (rb *ProcessBuilder) Timestamp(timestamp int64) *ProcessBuilder

type Processor ¶

type Processor struct {
	Count        *int64                   `json:"count,omitempty"`
	Current      *int64                   `json:"current,omitempty"`
	Failed       *int64                   `json:"failed,omitempty"`
	TimeInMillis *DurationValueUnitMillis `json:"time_in_millis,omitempty"`
}

Processor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L156-L161

type ProcessorBase ¶

type ProcessorBase struct {
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
}

ProcessorBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L69-L74

type ProcessorBaseBuilder ¶

type ProcessorBaseBuilder struct {
	// contains filtered or unexported fields
}

ProcessorBaseBuilder holds ProcessorBase struct and provides a builder API.

func NewProcessorBaseBuilder ¶

func NewProcessorBaseBuilder() *ProcessorBaseBuilder

NewProcessorBase provides a builder for the ProcessorBase struct.

func (*ProcessorBaseBuilder) Build ¶

func (rb *ProcessorBaseBuilder) Build() ProcessorBase

Build finalize the chain and returns the ProcessorBase struct

func (*ProcessorBaseBuilder) If_ ¶

func (*ProcessorBaseBuilder) IgnoreFailure ¶

func (rb *ProcessorBaseBuilder) IgnoreFailure(ignorefailure bool) *ProcessorBaseBuilder

func (*ProcessorBaseBuilder) OnFailure ¶

func (*ProcessorBaseBuilder) Tag ¶

type ProcessorBuilder ¶

type ProcessorBuilder struct {
	// contains filtered or unexported fields
}

ProcessorBuilder holds Processor struct and provides a builder API.

func NewProcessorBuilder ¶

func NewProcessorBuilder() *ProcessorBuilder

NewProcessor provides a builder for the Processor struct.

func (*ProcessorBuilder) Build ¶

func (rb *ProcessorBuilder) Build() Processor

Build finalize the chain and returns the Processor struct

func (*ProcessorBuilder) Count ¶

func (rb *ProcessorBuilder) Count(count int64) *ProcessorBuilder

func (*ProcessorBuilder) Current ¶

func (rb *ProcessorBuilder) Current(current int64) *ProcessorBuilder

func (*ProcessorBuilder) Failed ¶

func (rb *ProcessorBuilder) Failed(failed int64) *ProcessorBuilder

func (*ProcessorBuilder) TimeInMillis ¶

func (rb *ProcessorBuilder) TimeInMillis(timeinmillis *DurationValueUnitMillisBuilder) *ProcessorBuilder

type ProcessorContainer ¶

type ProcessorContainer struct {
	Append          *AppendProcessor          `json:"append,omitempty"`
	Attachment      *AttachmentProcessor      `json:"attachment,omitempty"`
	Bytes           *BytesProcessor           `json:"bytes,omitempty"`
	Circle          *CircleProcessor          `json:"circle,omitempty"`
	Convert         *ConvertProcessor         `json:"convert,omitempty"`
	Csv             *CsvProcessor             `json:"csv,omitempty"`
	Date            *DateProcessor            `json:"date,omitempty"`
	DateIndexName   *DateIndexNameProcessor   `json:"date_index_name,omitempty"`
	Dissect         *DissectProcessor         `json:"dissect,omitempty"`
	DotExpander     *DotExpanderProcessor     `json:"dot_expander,omitempty"`
	Drop            *DropProcessor            `json:"drop,omitempty"`
	Enrich          *EnrichProcessor          `json:"enrich,omitempty"`
	Fail            *FailProcessor            `json:"fail,omitempty"`
	Foreach         *ForeachProcessor         `json:"foreach,omitempty"`
	Geoip           *GeoIpProcessor           `json:"geoip,omitempty"`
	Grok            *GrokProcessor            `json:"grok,omitempty"`
	Gsub            *GsubProcessor            `json:"gsub,omitempty"`
	Inference       *InferenceProcessor       `json:"inference,omitempty"`
	Join            *JoinProcessor            `json:"join,omitempty"`
	Json            *JsonProcessor            `json:"json,omitempty"`
	Kv              *KeyValueProcessor        `json:"kv,omitempty"`
	Lowercase       *LowercaseProcessor       `json:"lowercase,omitempty"`
	Pipeline        *PipelineProcessor        `json:"pipeline,omitempty"`
	Remove          *RemoveProcessor          `json:"remove,omitempty"`
	Rename          *RenameProcessor          `json:"rename,omitempty"`
	Script          *Script                   `json:"script,omitempty"`
	Set             *SetProcessor             `json:"set,omitempty"`
	SetSecurityUser *SetSecurityUserProcessor `json:"set_security_user,omitempty"`
	Sort            *SortProcessor            `json:"sort,omitempty"`
	Split           *SplitProcessor           `json:"split,omitempty"`
	Trim            *TrimProcessor            `json:"trim,omitempty"`
	Uppercase       *UppercaseProcessor       `json:"uppercase,omitempty"`
	Urldecode       *UrlDecodeProcessor       `json:"urldecode,omitempty"`
	UserAgent       *UserAgentProcessor       `json:"user_agent,omitempty"`
}

ProcessorContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L28-L67

type ProcessorContainerBuilder ¶

type ProcessorContainerBuilder struct {
	// contains filtered or unexported fields
}

ProcessorContainerBuilder holds ProcessorContainer struct and provides a builder API.

func NewProcessorContainerBuilder ¶

func NewProcessorContainerBuilder() *ProcessorContainerBuilder

NewProcessorContainer provides a builder for the ProcessorContainer struct.

func (*ProcessorContainerBuilder) Append ¶

func (*ProcessorContainerBuilder) Attachment ¶

func (*ProcessorContainerBuilder) Build ¶

Build finalize the chain and returns the ProcessorContainer struct

func (*ProcessorContainerBuilder) Bytes ¶

func (*ProcessorContainerBuilder) Circle ¶

func (*ProcessorContainerBuilder) Convert ¶

func (*ProcessorContainerBuilder) Csv ¶

func (*ProcessorContainerBuilder) Date ¶

func (*ProcessorContainerBuilder) DateIndexName ¶

func (*ProcessorContainerBuilder) Dissect ¶

func (*ProcessorContainerBuilder) DotExpander ¶

func (*ProcessorContainerBuilder) Drop ¶

func (*ProcessorContainerBuilder) Enrich ¶

func (*ProcessorContainerBuilder) Fail ¶

func (*ProcessorContainerBuilder) Foreach ¶

func (*ProcessorContainerBuilder) Geoip ¶

func (*ProcessorContainerBuilder) Grok ¶

func (*ProcessorContainerBuilder) Gsub ¶

func (*ProcessorContainerBuilder) Inference ¶

func (*ProcessorContainerBuilder) Join ¶

func (*ProcessorContainerBuilder) Json ¶

func (*ProcessorContainerBuilder) Kv ¶

func (*ProcessorContainerBuilder) Lowercase ¶

func (*ProcessorContainerBuilder) Pipeline ¶

func (*ProcessorContainerBuilder) Remove ¶

func (*ProcessorContainerBuilder) Rename ¶

func (*ProcessorContainerBuilder) Script ¶

func (*ProcessorContainerBuilder) Set ¶

func (*ProcessorContainerBuilder) SetSecurityUser ¶

func (*ProcessorContainerBuilder) Sort ¶

func (*ProcessorContainerBuilder) Split ¶

func (*ProcessorContainerBuilder) Trim ¶

func (*ProcessorContainerBuilder) Uppercase ¶

func (*ProcessorContainerBuilder) Urldecode ¶

func (*ProcessorContainerBuilder) UserAgent ¶

type ProfileBuilder ¶

type ProfileBuilder struct {
	// contains filtered or unexported fields
}

ProfileBuilder holds Profile struct and provides a builder API.

func NewProfileBuilder ¶

func NewProfileBuilder() *ProfileBuilder

NewProfile provides a builder for the Profile struct.

func (*ProfileBuilder) Build ¶

func (rb *ProfileBuilder) Build() Profile

Build finalize the chain and returns the Profile struct

func (*ProfileBuilder) Shards ¶

func (rb *ProfileBuilder) Shards(shards []ShardProfileBuilder) *ProfileBuilder

type Property ¶

type Property interface{}

Property holds the union for the following types:

AggregateMetricDoubleProperty
BinaryProperty
BooleanProperty
ByteNumberProperty
CompletionProperty
ConstantKeywordProperty
DateNanosProperty
DateProperty
DateRangeProperty
DenseVectorProperty
DoubleNumberProperty
DoubleRangeProperty
DynamicProperty
FieldAliasProperty
FlattenedProperty
FloatNumberProperty
FloatRangeProperty
GeoPointProperty
GeoShapeProperty
HalfFloatNumberProperty
HistogramProperty
IntegerNumberProperty
IntegerRangeProperty
IpProperty
IpRangeProperty
JoinProperty
KeywordProperty
LongNumberProperty
LongRangeProperty
MatchOnlyTextProperty
Murmur3HashProperty
NestedProperty
ObjectProperty
PercolatorProperty
PointProperty
RankFeatureProperty
RankFeaturesProperty
ScaledFloatNumberProperty
SearchAsYouTypeProperty
ShapeProperty
ShortNumberProperty
TextProperty
TokenCountProperty
UnsignedLongNumberProperty
VersionProperty
WildcardProperty

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/Property.ts#L91-L154

type PropertyBase ¶

type PropertyBase struct {
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
}

PropertyBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/Property.ts#L81-L89

type PropertyBaseBuilder ¶

type PropertyBaseBuilder struct {
	// contains filtered or unexported fields
}

PropertyBaseBuilder holds PropertyBase struct and provides a builder API.

func NewPropertyBaseBuilder ¶

func NewPropertyBaseBuilder() *PropertyBaseBuilder

NewPropertyBase provides a builder for the PropertyBase struct.

func (*PropertyBaseBuilder) Build ¶

func (rb *PropertyBaseBuilder) Build() PropertyBase

Build finalize the chain and returns the PropertyBase struct

func (*PropertyBaseBuilder) Dynamic ¶

func (*PropertyBaseBuilder) Fields ¶

func (*PropertyBaseBuilder) IgnoreAbove ¶

func (rb *PropertyBaseBuilder) IgnoreAbove(ignoreabove int) *PropertyBaseBuilder

func (*PropertyBaseBuilder) LocalMetadata ¶

func (rb *PropertyBaseBuilder) LocalMetadata(localmetadata *MetadataBuilder) *PropertyBaseBuilder

func (*PropertyBaseBuilder) Meta ¶

func (*PropertyBaseBuilder) Properties ¶

type PropertyBuilder ¶

type PropertyBuilder struct {
	// contains filtered or unexported fields
}

PropertyBuilder holds Property struct and provides a builder API.

func NewPropertyBuilder ¶

func NewPropertyBuilder() *PropertyBuilder

NewProperty provides a builder for the Property struct.

func (*PropertyBuilder) AggregateMetricDoubleProperty ¶

func (u *PropertyBuilder) AggregateMetricDoubleProperty(aggregatemetricdoubleproperty *AggregateMetricDoublePropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) BinaryProperty ¶

func (u *PropertyBuilder) BinaryProperty(binaryproperty *BinaryPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) BooleanProperty ¶

func (u *PropertyBuilder) BooleanProperty(booleanproperty *BooleanPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) Build ¶

func (u *PropertyBuilder) Build() Property

Build finalize the chain and returns the Property struct

func (*PropertyBuilder) ByteNumberProperty ¶

func (u *PropertyBuilder) ByteNumberProperty(bytenumberproperty *ByteNumberPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) CompletionProperty ¶

func (u *PropertyBuilder) CompletionProperty(completionproperty *CompletionPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) ConstantKeywordProperty ¶

func (u *PropertyBuilder) ConstantKeywordProperty(constantkeywordproperty *ConstantKeywordPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) DateNanosProperty ¶

func (u *PropertyBuilder) DateNanosProperty(datenanosproperty *DateNanosPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) DateProperty ¶

func (u *PropertyBuilder) DateProperty(dateproperty *DatePropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) DateRangeProperty ¶

func (u *PropertyBuilder) DateRangeProperty(daterangeproperty *DateRangePropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) DenseVectorProperty ¶

func (u *PropertyBuilder) DenseVectorProperty(densevectorproperty *DenseVectorPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) DoubleNumberProperty ¶

func (u *PropertyBuilder) DoubleNumberProperty(doublenumberproperty *DoubleNumberPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) DoubleRangeProperty ¶

func (u *PropertyBuilder) DoubleRangeProperty(doublerangeproperty *DoubleRangePropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) DynamicProperty ¶

func (u *PropertyBuilder) DynamicProperty(dynamicproperty *DynamicPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) FieldAliasProperty ¶

func (u *PropertyBuilder) FieldAliasProperty(fieldaliasproperty *FieldAliasPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) FlattenedProperty ¶

func (u *PropertyBuilder) FlattenedProperty(flattenedproperty *FlattenedPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) FloatNumberProperty ¶

func (u *PropertyBuilder) FloatNumberProperty(floatnumberproperty *FloatNumberPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) FloatRangeProperty ¶

func (u *PropertyBuilder) FloatRangeProperty(floatrangeproperty *FloatRangePropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) GeoPointProperty ¶

func (u *PropertyBuilder) GeoPointProperty(geopointproperty *GeoPointPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) GeoShapeProperty ¶

func (u *PropertyBuilder) GeoShapeProperty(geoshapeproperty *GeoShapePropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) HalfFloatNumberProperty ¶

func (u *PropertyBuilder) HalfFloatNumberProperty(halffloatnumberproperty *HalfFloatNumberPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) HistogramProperty ¶

func (u *PropertyBuilder) HistogramProperty(histogramproperty *HistogramPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) IntegerNumberProperty ¶

func (u *PropertyBuilder) IntegerNumberProperty(integernumberproperty *IntegerNumberPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) IntegerRangeProperty ¶

func (u *PropertyBuilder) IntegerRangeProperty(integerrangeproperty *IntegerRangePropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) IpProperty ¶

func (u *PropertyBuilder) IpProperty(ipproperty *IpPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) IpRangeProperty ¶

func (u *PropertyBuilder) IpRangeProperty(iprangeproperty *IpRangePropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) JoinProperty ¶

func (u *PropertyBuilder) JoinProperty(joinproperty *JoinPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) KeywordProperty ¶

func (u *PropertyBuilder) KeywordProperty(keywordproperty *KeywordPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) LongNumberProperty ¶

func (u *PropertyBuilder) LongNumberProperty(longnumberproperty *LongNumberPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) LongRangeProperty ¶

func (u *PropertyBuilder) LongRangeProperty(longrangeproperty *LongRangePropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) MatchOnlyTextProperty ¶

func (u *PropertyBuilder) MatchOnlyTextProperty(matchonlytextproperty *MatchOnlyTextPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) Murmur3HashProperty ¶

func (u *PropertyBuilder) Murmur3HashProperty(murmur3hashproperty *Murmur3HashPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) NestedProperty ¶

func (u *PropertyBuilder) NestedProperty(nestedproperty *NestedPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) ObjectProperty ¶

func (u *PropertyBuilder) ObjectProperty(objectproperty *ObjectPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) PercolatorProperty ¶

func (u *PropertyBuilder) PercolatorProperty(percolatorproperty *PercolatorPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) PointProperty ¶

func (u *PropertyBuilder) PointProperty(pointproperty *PointPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) RankFeatureProperty ¶

func (u *PropertyBuilder) RankFeatureProperty(rankfeatureproperty *RankFeaturePropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) RankFeaturesProperty ¶

func (u *PropertyBuilder) RankFeaturesProperty(rankfeaturesproperty *RankFeaturesPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) ScaledFloatNumberProperty ¶

func (u *PropertyBuilder) ScaledFloatNumberProperty(scaledfloatnumberproperty *ScaledFloatNumberPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) SearchAsYouTypeProperty ¶

func (u *PropertyBuilder) SearchAsYouTypeProperty(searchasyoutypeproperty *SearchAsYouTypePropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) ShapeProperty ¶

func (u *PropertyBuilder) ShapeProperty(shapeproperty *ShapePropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) ShortNumberProperty ¶

func (u *PropertyBuilder) ShortNumberProperty(shortnumberproperty *ShortNumberPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) TextProperty ¶

func (u *PropertyBuilder) TextProperty(textproperty *TextPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) TokenCountProperty ¶

func (u *PropertyBuilder) TokenCountProperty(tokencountproperty *TokenCountPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) UnsignedLongNumberProperty ¶

func (u *PropertyBuilder) UnsignedLongNumberProperty(unsignedlongnumberproperty *UnsignedLongNumberPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) VersionProperty ¶

func (u *PropertyBuilder) VersionProperty(versionproperty *VersionPropertyBuilder) *PropertyBuilder

func (*PropertyBuilder) WildcardProperty ¶

func (u *PropertyBuilder) WildcardProperty(wildcardproperty *WildcardPropertyBuilder) *PropertyBuilder

type PropertyNameBuilder ¶

type PropertyNameBuilder struct {
	// contains filtered or unexported fields
}

PropertyNameBuilder holds PropertyName struct and provides a builder API.

func NewPropertyNameBuilder ¶

func NewPropertyNameBuilder() *PropertyNameBuilder

NewPropertyName provides a builder for the PropertyName struct.

func (*PropertyNameBuilder) Build ¶

func (b *PropertyNameBuilder) Build() PropertyName

Build finalize the chain and returns the PropertyName struct

func (*PropertyNameBuilder) PropertyName ¶

func (b *PropertyNameBuilder) PropertyName(value PropertyName) *PropertyNameBuilder

type PublishedClusterStates ¶

type PublishedClusterStates struct {
	CompatibleDiffs   *int64 `json:"compatible_diffs,omitempty"`
	FullStates        *int64 `json:"full_states,omitempty"`
	IncompatibleDiffs *int64 `json:"incompatible_diffs,omitempty"`
}

PublishedClusterStates type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L114-L118

type PublishedClusterStatesBuilder ¶

type PublishedClusterStatesBuilder struct {
	// contains filtered or unexported fields
}

PublishedClusterStatesBuilder holds PublishedClusterStates struct and provides a builder API.

func NewPublishedClusterStatesBuilder ¶

func NewPublishedClusterStatesBuilder() *PublishedClusterStatesBuilder

NewPublishedClusterStates provides a builder for the PublishedClusterStates struct.

func (*PublishedClusterStatesBuilder) Build ¶

Build finalize the chain and returns the PublishedClusterStates struct

func (*PublishedClusterStatesBuilder) CompatibleDiffs ¶

func (rb *PublishedClusterStatesBuilder) CompatibleDiffs(compatiblediffs int64) *PublishedClusterStatesBuilder

func (*PublishedClusterStatesBuilder) FullStates ¶

func (*PublishedClusterStatesBuilder) IncompatibleDiffs ¶

func (rb *PublishedClusterStatesBuilder) IncompatibleDiffs(incompatiblediffs int64) *PublishedClusterStatesBuilder

type QueriesBuilder ¶

type QueriesBuilder struct {
	// contains filtered or unexported fields
}

QueriesBuilder holds Queries struct and provides a builder API.

func NewQueriesBuilder ¶

func NewQueriesBuilder() *QueriesBuilder

NewQueries provides a builder for the Queries struct.

func (*QueriesBuilder) Build ¶

func (rb *QueriesBuilder) Build() Queries

Build finalize the chain and returns the Queries struct

func (*QueriesBuilder) Cache ¶

type Query ¶

type Query struct {
	Count  *int `json:"count,omitempty"`
	Failed *int `json:"failed,omitempty"`
	Paging *int `json:"paging,omitempty"`
	Total  *int `json:"total,omitempty"`
}

Query type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L242-L247

type QueryBase ¶

type QueryBase struct {
	Boost      *float32 `json:"boost,omitempty"`
	QueryName_ *string  `json:"_name,omitempty"`
}

QueryBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/abstractions.ts#L177-L181

type QueryBaseBuilder ¶

type QueryBaseBuilder struct {
	// contains filtered or unexported fields
}

QueryBaseBuilder holds QueryBase struct and provides a builder API.

func NewQueryBaseBuilder ¶

func NewQueryBaseBuilder() *QueryBaseBuilder

NewQueryBase provides a builder for the QueryBase struct.

func (*QueryBaseBuilder) Boost ¶

func (rb *QueryBaseBuilder) Boost(boost float32) *QueryBaseBuilder

func (*QueryBaseBuilder) Build ¶

func (rb *QueryBaseBuilder) Build() QueryBase

Build finalize the chain and returns the QueryBase struct

func (*QueryBaseBuilder) QueryName_ ¶

func (rb *QueryBaseBuilder) QueryName_(queryname_ string) *QueryBaseBuilder

type QueryBreakdown ¶

type QueryBreakdown struct {
	Advance                     int64 `json:"advance"`
	AdvanceCount                int64 `json:"advance_count"`
	BuildScorer                 int64 `json:"build_scorer"`
	BuildScorerCount            int64 `json:"build_scorer_count"`
	ComputeMaxScore             int64 `json:"compute_max_score"`
	ComputeMaxScoreCount        int64 `json:"compute_max_score_count"`
	CreateWeight                int64 `json:"create_weight"`
	CreateWeightCount           int64 `json:"create_weight_count"`
	Match                       int64 `json:"match"`
	MatchCount                  int64 `json:"match_count"`
	NextDoc                     int64 `json:"next_doc"`
	NextDocCount                int64 `json:"next_doc_count"`
	Score                       int64 `json:"score"`
	ScoreCount                  int64 `json:"score_count"`
	SetMinCompetitiveScore      int64 `json:"set_min_competitive_score"`
	SetMinCompetitiveScoreCount int64 `json:"set_min_competitive_score_count"`
	ShallowAdvance              int64 `json:"shallow_advance"`
	ShallowAdvanceCount         int64 `json:"shallow_advance_count"`
}

QueryBreakdown type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/profile.ts#L95-L114

type QueryBreakdownBuilder ¶

type QueryBreakdownBuilder struct {
	// contains filtered or unexported fields
}

QueryBreakdownBuilder holds QueryBreakdown struct and provides a builder API.

func NewQueryBreakdownBuilder ¶

func NewQueryBreakdownBuilder() *QueryBreakdownBuilder

NewQueryBreakdown provides a builder for the QueryBreakdown struct.

func (*QueryBreakdownBuilder) Advance ¶

func (rb *QueryBreakdownBuilder) Advance(advance int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) AdvanceCount ¶

func (rb *QueryBreakdownBuilder) AdvanceCount(advancecount int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) Build ¶

Build finalize the chain and returns the QueryBreakdown struct

func (*QueryBreakdownBuilder) BuildScorer ¶

func (rb *QueryBreakdownBuilder) BuildScorer(buildscorer int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) BuildScorerCount ¶

func (rb *QueryBreakdownBuilder) BuildScorerCount(buildscorercount int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) ComputeMaxScore ¶

func (rb *QueryBreakdownBuilder) ComputeMaxScore(computemaxscore int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) ComputeMaxScoreCount ¶

func (rb *QueryBreakdownBuilder) ComputeMaxScoreCount(computemaxscorecount int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) CreateWeight ¶

func (rb *QueryBreakdownBuilder) CreateWeight(createweight int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) CreateWeightCount ¶

func (rb *QueryBreakdownBuilder) CreateWeightCount(createweightcount int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) Match ¶

func (*QueryBreakdownBuilder) MatchCount ¶

func (rb *QueryBreakdownBuilder) MatchCount(matchcount int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) NextDoc ¶

func (rb *QueryBreakdownBuilder) NextDoc(nextdoc int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) NextDocCount ¶

func (rb *QueryBreakdownBuilder) NextDocCount(nextdoccount int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) Score ¶

func (*QueryBreakdownBuilder) ScoreCount ¶

func (rb *QueryBreakdownBuilder) ScoreCount(scorecount int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) SetMinCompetitiveScore ¶

func (rb *QueryBreakdownBuilder) SetMinCompetitiveScore(setmincompetitivescore int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) SetMinCompetitiveScoreCount ¶

func (rb *QueryBreakdownBuilder) SetMinCompetitiveScoreCount(setmincompetitivescorecount int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) ShallowAdvance ¶

func (rb *QueryBreakdownBuilder) ShallowAdvance(shallowadvance int64) *QueryBreakdownBuilder

func (*QueryBreakdownBuilder) ShallowAdvanceCount ¶

func (rb *QueryBreakdownBuilder) ShallowAdvanceCount(shallowadvancecount int64) *QueryBreakdownBuilder

type QueryBuilder ¶

type QueryBuilder struct {
	// contains filtered or unexported fields
}

QueryBuilder holds Query struct and provides a builder API.

func NewQueryBuilder ¶

func NewQueryBuilder() *QueryBuilder

NewQuery provides a builder for the Query struct.

func (*QueryBuilder) Build ¶

func (rb *QueryBuilder) Build() Query

Build finalize the chain and returns the Query struct

func (*QueryBuilder) Count ¶

func (rb *QueryBuilder) Count(count int) *QueryBuilder

func (*QueryBuilder) Failed ¶

func (rb *QueryBuilder) Failed(failed int) *QueryBuilder

func (*QueryBuilder) Paging ¶

func (rb *QueryBuilder) Paging(paging int) *QueryBuilder

func (*QueryBuilder) Total ¶

func (rb *QueryBuilder) Total(total int) *QueryBuilder

type QueryCacheStats ¶

type QueryCacheStats struct {
	CacheCount        int       `json:"cache_count"`
	CacheSize         int       `json:"cache_size"`
	Evictions         int       `json:"evictions"`
	HitCount          int       `json:"hit_count"`
	MemorySize        *ByteSize `json:"memory_size,omitempty"`
	MemorySizeInBytes int       `json:"memory_size_in_bytes"`
	MissCount         int       `json:"miss_count"`
	TotalCount        int       `json:"total_count"`
}

QueryCacheStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L150-L159

type QueryCacheStatsBuilder ¶

type QueryCacheStatsBuilder struct {
	// contains filtered or unexported fields
}

QueryCacheStatsBuilder holds QueryCacheStats struct and provides a builder API.

func NewQueryCacheStatsBuilder ¶

func NewQueryCacheStatsBuilder() *QueryCacheStatsBuilder

NewQueryCacheStats provides a builder for the QueryCacheStats struct.

func (*QueryCacheStatsBuilder) Build ¶

Build finalize the chain and returns the QueryCacheStats struct

func (*QueryCacheStatsBuilder) CacheCount ¶

func (rb *QueryCacheStatsBuilder) CacheCount(cachecount int) *QueryCacheStatsBuilder

func (*QueryCacheStatsBuilder) CacheSize ¶

func (rb *QueryCacheStatsBuilder) CacheSize(cachesize int) *QueryCacheStatsBuilder

func (*QueryCacheStatsBuilder) Evictions ¶

func (rb *QueryCacheStatsBuilder) Evictions(evictions int) *QueryCacheStatsBuilder

func (*QueryCacheStatsBuilder) HitCount ¶

func (rb *QueryCacheStatsBuilder) HitCount(hitcount int) *QueryCacheStatsBuilder

func (*QueryCacheStatsBuilder) MemorySize ¶

func (rb *QueryCacheStatsBuilder) MemorySize(memorysize *ByteSizeBuilder) *QueryCacheStatsBuilder

func (*QueryCacheStatsBuilder) MemorySizeInBytes ¶

func (rb *QueryCacheStatsBuilder) MemorySizeInBytes(memorysizeinbytes int) *QueryCacheStatsBuilder

func (*QueryCacheStatsBuilder) MissCount ¶

func (rb *QueryCacheStatsBuilder) MissCount(misscount int) *QueryCacheStatsBuilder

func (*QueryCacheStatsBuilder) TotalCount ¶

func (rb *QueryCacheStatsBuilder) TotalCount(totalcount int) *QueryCacheStatsBuilder

type QueryContainer ¶

type QueryContainer struct {
	Bool              *BoolQuery                       `json:"bool,omitempty"`
	Boosting          *BoostingQuery                   `json:"boosting,omitempty"`
	CombinedFields    *CombinedFieldsQuery             `json:"combined_fields,omitempty"`
	Common            map[Field]CommonTermsQuery       `json:"common,omitempty"`
	ConstantScore     *ConstantScoreQuery              `json:"constant_score,omitempty"`
	DisMax            *DisMaxQuery                     `json:"dis_max,omitempty"`
	DistanceFeature   *DistanceFeatureQuery            `json:"distance_feature,omitempty"`
	Exists            *ExistsQuery                     `json:"exists,omitempty"`
	FieldMaskingSpan  *SpanFieldMaskingQuery           `json:"field_masking_span,omitempty"`
	FunctionScore     *FunctionScoreQuery              `json:"function_score,omitempty"`
	Fuzzy             map[Field]FuzzyQuery             `json:"fuzzy,omitempty"`
	GeoBoundingBox    *GeoBoundingBoxQuery             `json:"geo_bounding_box,omitempty"`
	GeoDistance       *GeoDistanceQuery                `json:"geo_distance,omitempty"`
	GeoPolygon        *GeoPolygonQuery                 `json:"geo_polygon,omitempty"`
	GeoShape          *GeoShapeQuery                   `json:"geo_shape,omitempty"`
	HasChild          *HasChildQuery                   `json:"has_child,omitempty"`
	HasParent         *HasParentQuery                  `json:"has_parent,omitempty"`
	Ids               *IdsQuery                        `json:"ids,omitempty"`
	Intervals         map[Field]IntervalsQuery         `json:"intervals,omitempty"`
	Knn               *KnnQuery                        `json:"knn,omitempty"`
	Match             map[Field]MatchQuery             `json:"match,omitempty"`
	MatchAll          *MatchAllQuery                   `json:"match_all,omitempty"`
	MatchBoolPrefix   map[Field]MatchBoolPrefixQuery   `json:"match_bool_prefix,omitempty"`
	MatchNone         *MatchNoneQuery                  `json:"match_none,omitempty"`
	MatchPhrase       map[Field]MatchPhraseQuery       `json:"match_phrase,omitempty"`
	MatchPhrasePrefix map[Field]MatchPhrasePrefixQuery `json:"match_phrase_prefix,omitempty"`
	MoreLikeThis      *MoreLikeThisQuery               `json:"more_like_this,omitempty"`
	MultiMatch        *MultiMatchQuery                 `json:"multi_match,omitempty"`
	Nested            *NestedQuery                     `json:"nested,omitempty"`
	ParentId          *ParentIdQuery                   `json:"parent_id,omitempty"`
	Percolate         *PercolateQuery                  `json:"percolate,omitempty"`
	Pinned            *PinnedQuery                     `json:"pinned,omitempty"`
	Prefix            map[Field]PrefixQuery            `json:"prefix,omitempty"`
	QueryString       *QueryStringQuery                `json:"query_string,omitempty"`
	Range             map[Field]RangeQuery             `json:"range,omitempty"`
	RankFeature       *RankFeatureQuery                `json:"rank_feature,omitempty"`
	Regexp            map[Field]RegexpQuery            `json:"regexp,omitempty"`
	Script            *ScriptQuery                     `json:"script,omitempty"`
	ScriptScore       *ScriptScoreQuery                `json:"script_score,omitempty"`
	Shape             *ShapeQuery                      `json:"shape,omitempty"`
	SimpleQueryString *SimpleQueryStringQuery          `json:"simple_query_string,omitempty"`
	SpanContaining    *SpanContainingQuery             `json:"span_containing,omitempty"`
	SpanFirst         *SpanFirstQuery                  `json:"span_first,omitempty"`
	SpanMulti         *SpanMultiTermQuery              `json:"span_multi,omitempty"`
	SpanNear          *SpanNearQuery                   `json:"span_near,omitempty"`
	SpanNot           *SpanNotQuery                    `json:"span_not,omitempty"`
	SpanOr            *SpanOrQuery                     `json:"span_or,omitempty"`
	SpanTerm          map[Field]SpanTermQuery          `json:"span_term,omitempty"`
	SpanWithin        *SpanWithinQuery                 `json:"span_within,omitempty"`
	Term              map[Field]TermQuery              `json:"term,omitempty"`
	Terms             *TermsQuery                      `json:"terms,omitempty"`
	TermsSet          map[Field]TermsSetQuery          `json:"terms_set,omitempty"`
	Type              *TypeQuery                       `json:"type,omitempty"`
	Wildcard          map[Field]WildcardQuery          `json:"wildcard,omitempty"`
	Wrapper           *WrapperQuery                    `json:"wrapper,omitempty"`
}

QueryContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/abstractions.ts#L97-L164

type QueryContainerBuilder ¶

type QueryContainerBuilder struct {
	// contains filtered or unexported fields
}

QueryContainerBuilder holds QueryContainer struct and provides a builder API.

func NewQueryContainerBuilder ¶

func NewQueryContainerBuilder() *QueryContainerBuilder

NewQueryContainer provides a builder for the QueryContainer struct.

func (*QueryContainerBuilder) Bool ¶

func (*QueryContainerBuilder) Boosting ¶

func (*QueryContainerBuilder) Build ¶

Build finalize the chain and returns the QueryContainer struct

func (*QueryContainerBuilder) CombinedFields ¶

func (rb *QueryContainerBuilder) CombinedFields(combinedfields *CombinedFieldsQueryBuilder) *QueryContainerBuilder

func (*QueryContainerBuilder) Common ¶

func (*QueryContainerBuilder) ConstantScore ¶

func (rb *QueryContainerBuilder) ConstantScore(constantscore *ConstantScoreQueryBuilder) *QueryContainerBuilder

func (*QueryContainerBuilder) DisMax ¶

func (*QueryContainerBuilder) DistanceFeature ¶

func (rb *QueryContainerBuilder) DistanceFeature(distancefeature *DistanceFeatureQueryBuilder) *QueryContainerBuilder

func (*QueryContainerBuilder) Exists ¶

func (*QueryContainerBuilder) FieldMaskingSpan ¶

func (rb *QueryContainerBuilder) FieldMaskingSpan(fieldmaskingspan *SpanFieldMaskingQueryBuilder) *QueryContainerBuilder

func (*QueryContainerBuilder) FunctionScore ¶

func (rb *QueryContainerBuilder) FunctionScore(functionscore *FunctionScoreQueryBuilder) *QueryContainerBuilder

func (*QueryContainerBuilder) Fuzzy ¶

func (*QueryContainerBuilder) GeoBoundingBox ¶

func (rb *QueryContainerBuilder) GeoBoundingBox(geoboundingbox *GeoBoundingBoxQueryBuilder) *QueryContainerBuilder

func (*QueryContainerBuilder) GeoDistance ¶

func (*QueryContainerBuilder) GeoPolygon ¶

func (*QueryContainerBuilder) GeoShape ¶

func (*QueryContainerBuilder) HasChild ¶

func (*QueryContainerBuilder) HasParent ¶

func (*QueryContainerBuilder) Ids ¶

func (*QueryContainerBuilder) Intervals ¶

func (*QueryContainerBuilder) Knn ¶

func (*QueryContainerBuilder) Match ¶

func (*QueryContainerBuilder) MatchAll ¶

func (*QueryContainerBuilder) MatchBoolPrefix ¶

func (*QueryContainerBuilder) MatchNone ¶

func (*QueryContainerBuilder) MatchPhrase ¶

func (*QueryContainerBuilder) MatchPhrasePrefix ¶

func (*QueryContainerBuilder) MoreLikeThis ¶

func (rb *QueryContainerBuilder) MoreLikeThis(morelikethis *MoreLikeThisQueryBuilder) *QueryContainerBuilder

func (*QueryContainerBuilder) MultiMatch ¶

func (*QueryContainerBuilder) Nested ¶

func (*QueryContainerBuilder) ParentId ¶

func (*QueryContainerBuilder) Percolate ¶

func (*QueryContainerBuilder) Pinned ¶

func (*QueryContainerBuilder) Prefix ¶

func (*QueryContainerBuilder) QueryString ¶

func (*QueryContainerBuilder) Range ¶

func (*QueryContainerBuilder) RankFeature ¶

func (*QueryContainerBuilder) Regexp ¶

func (*QueryContainerBuilder) Script ¶

func (*QueryContainerBuilder) ScriptScore ¶

func (*QueryContainerBuilder) Shape ¶

func (*QueryContainerBuilder) SimpleQueryString ¶

func (rb *QueryContainerBuilder) SimpleQueryString(simplequerystring *SimpleQueryStringQueryBuilder) *QueryContainerBuilder

func (*QueryContainerBuilder) SpanContaining ¶

func (rb *QueryContainerBuilder) SpanContaining(spancontaining *SpanContainingQueryBuilder) *QueryContainerBuilder

func (*QueryContainerBuilder) SpanFirst ¶

func (*QueryContainerBuilder) SpanMulti ¶

func (*QueryContainerBuilder) SpanNear ¶

func (*QueryContainerBuilder) SpanNot ¶

func (*QueryContainerBuilder) SpanOr ¶

func (*QueryContainerBuilder) SpanTerm ¶

func (*QueryContainerBuilder) SpanWithin ¶

func (*QueryContainerBuilder) Term ¶

func (*QueryContainerBuilder) Terms ¶

func (*QueryContainerBuilder) TermsSet ¶

func (*QueryContainerBuilder) Type_ ¶

func (*QueryContainerBuilder) Wildcard ¶

func (*QueryContainerBuilder) Wrapper ¶

type QueryProfile ¶

type QueryProfile struct {
	Breakdown   QueryBreakdown         `json:"breakdown"`
	Children    []QueryProfile         `json:"children,omitempty"`
	Description string                 `json:"description"`
	TimeInNanos DurationValueUnitNanos `json:"time_in_nanos"`
	Type        string                 `json:"type"`
}

QueryProfile type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/profile.ts#L116-L122

type QueryProfileBuilder ¶

type QueryProfileBuilder struct {
	// contains filtered or unexported fields
}

QueryProfileBuilder holds QueryProfile struct and provides a builder API.

func NewQueryProfileBuilder ¶

func NewQueryProfileBuilder() *QueryProfileBuilder

NewQueryProfile provides a builder for the QueryProfile struct.

func (*QueryProfileBuilder) Breakdown ¶

func (*QueryProfileBuilder) Build ¶

func (rb *QueryProfileBuilder) Build() QueryProfile

Build finalize the chain and returns the QueryProfile struct

func (*QueryProfileBuilder) Children ¶

func (*QueryProfileBuilder) Description ¶

func (rb *QueryProfileBuilder) Description(description string) *QueryProfileBuilder

func (*QueryProfileBuilder) TimeInNanos ¶

func (*QueryProfileBuilder) Type_ ¶

type QueryStringQuery ¶

type QueryStringQuery struct {
	AllowLeadingWildcard            *bool                        `json:"allow_leading_wildcard,omitempty"`
	AnalyzeWildcard                 *bool                        `json:"analyze_wildcard,omitempty"`
	Analyzer                        *string                      `json:"analyzer,omitempty"`
	AutoGenerateSynonymsPhraseQuery *bool                        `json:"auto_generate_synonyms_phrase_query,omitempty"`
	Boost                           *float32                     `json:"boost,omitempty"`
	DefaultField                    *Field                       `json:"default_field,omitempty"`
	DefaultOperator                 *operator.Operator           `json:"default_operator,omitempty"`
	EnablePositionIncrements        *bool                        `json:"enable_position_increments,omitempty"`
	Escape                          *bool                        `json:"escape,omitempty"`
	Fields                          []Field                      `json:"fields,omitempty"`
	Fuzziness                       *Fuzziness                   `json:"fuzziness,omitempty"`
	FuzzyMaxExpansions              *int                         `json:"fuzzy_max_expansions,omitempty"`
	FuzzyPrefixLength               *int                         `json:"fuzzy_prefix_length,omitempty"`
	FuzzyRewrite                    *MultiTermQueryRewrite       `json:"fuzzy_rewrite,omitempty"`
	FuzzyTranspositions             *bool                        `json:"fuzzy_transpositions,omitempty"`
	Lenient                         *bool                        `json:"lenient,omitempty"`
	MaxDeterminizedStates           *int                         `json:"max_determinized_states,omitempty"`
	MinimumShouldMatch              *MinimumShouldMatch          `json:"minimum_should_match,omitempty"`
	PhraseSlop                      *float64                     `json:"phrase_slop,omitempty"`
	Query                           string                       `json:"query"`
	QueryName_                      *string                      `json:"_name,omitempty"`
	QuoteAnalyzer                   *string                      `json:"quote_analyzer,omitempty"`
	QuoteFieldSuffix                *string                      `json:"quote_field_suffix,omitempty"`
	Rewrite                         *MultiTermQueryRewrite       `json:"rewrite,omitempty"`
	TieBreaker                      *float64                     `json:"tie_breaker,omitempty"`
	TimeZone                        *TimeZone                    `json:"time_zone,omitempty"`
	Type                            *textquerytype.TextQueryType `json:"type,omitempty"`
}

QueryStringQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L233-L269

type QueryStringQueryBuilder ¶

type QueryStringQueryBuilder struct {
	// contains filtered or unexported fields
}

QueryStringQueryBuilder holds QueryStringQuery struct and provides a builder API.

func NewQueryStringQueryBuilder ¶

func NewQueryStringQueryBuilder() *QueryStringQueryBuilder

NewQueryStringQuery provides a builder for the QueryStringQuery struct.

func (*QueryStringQueryBuilder) AllowLeadingWildcard ¶

func (rb *QueryStringQueryBuilder) AllowLeadingWildcard(allowleadingwildcard bool) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) AnalyzeWildcard ¶

func (rb *QueryStringQueryBuilder) AnalyzeWildcard(analyzewildcard bool) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) Analyzer ¶

func (rb *QueryStringQueryBuilder) Analyzer(analyzer string) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) AutoGenerateSynonymsPhraseQuery ¶

func (rb *QueryStringQueryBuilder) AutoGenerateSynonymsPhraseQuery(autogeneratesynonymsphrasequery bool) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) Boost ¶

func (*QueryStringQueryBuilder) Build ¶

Build finalize the chain and returns the QueryStringQuery struct

func (*QueryStringQueryBuilder) DefaultField ¶

func (rb *QueryStringQueryBuilder) DefaultField(defaultfield Field) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) DefaultOperator ¶

func (rb *QueryStringQueryBuilder) DefaultOperator(defaultoperator operator.Operator) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) EnablePositionIncrements ¶

func (rb *QueryStringQueryBuilder) EnablePositionIncrements(enablepositionincrements bool) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) Escape ¶

func (*QueryStringQueryBuilder) Fields ¶

func (rb *QueryStringQueryBuilder) Fields(fields ...Field) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) Fuzziness ¶

func (*QueryStringQueryBuilder) FuzzyMaxExpansions ¶

func (rb *QueryStringQueryBuilder) FuzzyMaxExpansions(fuzzymaxexpansions int) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) FuzzyPrefixLength ¶

func (rb *QueryStringQueryBuilder) FuzzyPrefixLength(fuzzyprefixlength int) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) FuzzyRewrite ¶

func (*QueryStringQueryBuilder) FuzzyTranspositions ¶

func (rb *QueryStringQueryBuilder) FuzzyTranspositions(fuzzytranspositions bool) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) Lenient ¶

func (*QueryStringQueryBuilder) MaxDeterminizedStates ¶

func (rb *QueryStringQueryBuilder) MaxDeterminizedStates(maxdeterminizedstates int) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) MinimumShouldMatch ¶

func (rb *QueryStringQueryBuilder) MinimumShouldMatch(minimumshouldmatch *MinimumShouldMatchBuilder) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) PhraseSlop ¶

func (rb *QueryStringQueryBuilder) PhraseSlop(phraseslop float64) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) Query ¶

func (*QueryStringQueryBuilder) QueryName_ ¶

func (rb *QueryStringQueryBuilder) QueryName_(queryname_ string) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) QuoteAnalyzer ¶

func (rb *QueryStringQueryBuilder) QuoteAnalyzer(quoteanalyzer string) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) QuoteFieldSuffix ¶

func (rb *QueryStringQueryBuilder) QuoteFieldSuffix(quotefieldsuffix string) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) Rewrite ¶

func (*QueryStringQueryBuilder) TieBreaker ¶

func (rb *QueryStringQueryBuilder) TieBreaker(tiebreaker float64) *QueryStringQueryBuilder

func (*QueryStringQueryBuilder) TimeZone ¶

func (*QueryStringQueryBuilder) Type_ ¶

type QueryVectorBuilder ¶

type QueryVectorBuilder struct {
	// contains filtered or unexported fields
}

QueryVectorBuilder holds QueryVector struct and provides a builder API.

func NewQueryVectorBuilder ¶

func NewQueryVectorBuilder() *QueryVectorBuilder

NewQueryVector provides a builder for the QueryVector struct.

func (*QueryVectorBuilder) Build ¶

func (b *QueryVectorBuilder) Build() QueryVector

Build finalize the chain and returns the QueryVector struct

func (*QueryVectorBuilder) QueryVector ¶

func (b *QueryVectorBuilder) QueryVector(value QueryVector) *QueryVectorBuilder

type QueryWatch ¶

type QueryWatch struct {
	Id_          Id              `json:"_id"`
	PrimaryTerm_ *int            `json:"_primary_term,omitempty"`
	SeqNo_       *SequenceNumber `json:"_seq_no,omitempty"`
	Status       *WatchStatus    `json:"status,omitempty"`
	Watch        *Watch          `json:"watch,omitempty"`
}

QueryWatch type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Watch.ts#L58-L64

type QueryWatchBuilder ¶

type QueryWatchBuilder struct {
	// contains filtered or unexported fields
}

QueryWatchBuilder holds QueryWatch struct and provides a builder API.

func NewQueryWatchBuilder ¶

func NewQueryWatchBuilder() *QueryWatchBuilder

NewQueryWatch provides a builder for the QueryWatch struct.

func (*QueryWatchBuilder) Build ¶

func (rb *QueryWatchBuilder) Build() QueryWatch

Build finalize the chain and returns the QueryWatch struct

func (*QueryWatchBuilder) Id_ ¶

func (rb *QueryWatchBuilder) Id_(id_ Id) *QueryWatchBuilder

func (*QueryWatchBuilder) PrimaryTerm_ ¶

func (rb *QueryWatchBuilder) PrimaryTerm_(primaryterm_ int) *QueryWatchBuilder

func (*QueryWatchBuilder) SeqNo_ ¶

func (*QueryWatchBuilder) Status ¶

func (*QueryWatchBuilder) Watch ¶

type QuestionAnsweringInferenceOptions ¶

type QuestionAnsweringInferenceOptions struct {
	// MaxAnswerLength The maximum answer length to consider
	MaxAnswerLength *int `json:"max_answer_length,omitempty"`
	// NumTopClasses Specifies the number of top class predictions to return. Defaults to 0.
	NumTopClasses *int `json:"num_top_classes,omitempty"`
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string `json:"results_field,omitempty"`
	// Tokenization The tokenization options to update when inferring
	Tokenization *TokenizationConfigContainer `json:"tokenization,omitempty"`
}

QuestionAnsweringInferenceOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L245-L255

type QuestionAnsweringInferenceOptionsBuilder ¶

type QuestionAnsweringInferenceOptionsBuilder struct {
	// contains filtered or unexported fields
}

QuestionAnsweringInferenceOptionsBuilder holds QuestionAnsweringInferenceOptions struct and provides a builder API.

func NewQuestionAnsweringInferenceOptionsBuilder ¶

func NewQuestionAnsweringInferenceOptionsBuilder() *QuestionAnsweringInferenceOptionsBuilder

NewQuestionAnsweringInferenceOptions provides a builder for the QuestionAnsweringInferenceOptions struct.

func (*QuestionAnsweringInferenceOptionsBuilder) Build ¶

Build finalize the chain and returns the QuestionAnsweringInferenceOptions struct

func (*QuestionAnsweringInferenceOptionsBuilder) MaxAnswerLength ¶

func (*QuestionAnsweringInferenceOptionsBuilder) NumTopClasses ¶

func (*QuestionAnsweringInferenceOptionsBuilder) ResultsField ¶

func (*QuestionAnsweringInferenceOptionsBuilder) Tokenization ¶

type QuestionAnsweringInferenceUpdateOptions ¶

type QuestionAnsweringInferenceUpdateOptions struct {
	// MaxAnswerLength The maximum answer length to consider for extraction
	MaxAnswerLength *int `json:"max_answer_length,omitempty"`
	// NumTopClasses Specifies the number of top class predictions to return. Defaults to 0.
	NumTopClasses *int `json:"num_top_classes,omitempty"`
	// Question The question to answer given the inference context
	Question string `json:"question"`
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string `json:"results_field,omitempty"`
	// Tokenization The tokenization options to update when inferring
	Tokenization *NlpTokenizationUpdateOptions `json:"tokenization,omitempty"`
}

QuestionAnsweringInferenceUpdateOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L373-L384

type QuestionAnsweringInferenceUpdateOptionsBuilder ¶

type QuestionAnsweringInferenceUpdateOptionsBuilder struct {
	// contains filtered or unexported fields
}

QuestionAnsweringInferenceUpdateOptionsBuilder holds QuestionAnsweringInferenceUpdateOptions struct and provides a builder API.

func NewQuestionAnsweringInferenceUpdateOptionsBuilder ¶

func NewQuestionAnsweringInferenceUpdateOptionsBuilder() *QuestionAnsweringInferenceUpdateOptionsBuilder

NewQuestionAnsweringInferenceUpdateOptions provides a builder for the QuestionAnsweringInferenceUpdateOptions struct.

func (*QuestionAnsweringInferenceUpdateOptionsBuilder) Build ¶

Build finalize the chain and returns the QuestionAnsweringInferenceUpdateOptions struct

func (*QuestionAnsweringInferenceUpdateOptionsBuilder) MaxAnswerLength ¶

func (*QuestionAnsweringInferenceUpdateOptionsBuilder) NumTopClasses ¶

func (*QuestionAnsweringInferenceUpdateOptionsBuilder) Question ¶

func (*QuestionAnsweringInferenceUpdateOptionsBuilder) ResultsField ¶

func (*QuestionAnsweringInferenceUpdateOptionsBuilder) Tokenization ¶

type RandomScoreFunction ¶

type RandomScoreFunction struct {
	Field *Field `json:"field,omitempty"`
	Seed  string `json:"seed,omitempty"`
}

RandomScoreFunction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L65-L68

type RandomScoreFunctionBuilder ¶

type RandomScoreFunctionBuilder struct {
	// contains filtered or unexported fields
}

RandomScoreFunctionBuilder holds RandomScoreFunction struct and provides a builder API.

func NewRandomScoreFunctionBuilder ¶

func NewRandomScoreFunctionBuilder() *RandomScoreFunctionBuilder

NewRandomScoreFunction provides a builder for the RandomScoreFunction struct.

func (*RandomScoreFunctionBuilder) Build ¶

Build finalize the chain and returns the RandomScoreFunction struct

func (*RandomScoreFunctionBuilder) Field ¶

func (*RandomScoreFunctionBuilder) Seed ¶

type RangeAggregateBuilder ¶

type RangeAggregateBuilder struct {
	// contains filtered or unexported fields
}

RangeAggregateBuilder holds RangeAggregate struct and provides a builder API.

func NewRangeAggregateBuilder ¶

func NewRangeAggregateBuilder() *RangeAggregateBuilder

NewRangeAggregate provides a builder for the RangeAggregate struct.

func (*RangeAggregateBuilder) Buckets ¶

func (*RangeAggregateBuilder) Build ¶

Build finalize the chain and returns the RangeAggregate struct

func (*RangeAggregateBuilder) Meta ¶

type RangeAggregation ¶

type RangeAggregation struct {
	Field   *Field             `json:"field,omitempty"`
	Format  *string            `json:"format,omitempty"`
	Keyed   *bool              `json:"keyed,omitempty"`
	Meta    *Metadata          `json:"meta,omitempty"`
	Missing *int               `json:"missing,omitempty"`
	Name    *string            `json:"name,omitempty"`
	Ranges  []AggregationRange `json:"ranges,omitempty"`
	Script  *Script            `json:"script,omitempty"`
}

RangeAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L285-L292

type RangeAggregationBuilder ¶

type RangeAggregationBuilder struct {
	// contains filtered or unexported fields
}

RangeAggregationBuilder holds RangeAggregation struct and provides a builder API.

func NewRangeAggregationBuilder ¶

func NewRangeAggregationBuilder() *RangeAggregationBuilder

NewRangeAggregation provides a builder for the RangeAggregation struct.

func (*RangeAggregationBuilder) Build ¶

Build finalize the chain and returns the RangeAggregation struct

func (*RangeAggregationBuilder) Field ¶

func (*RangeAggregationBuilder) Format ¶

func (*RangeAggregationBuilder) Keyed ¶

func (*RangeAggregationBuilder) Meta ¶

func (*RangeAggregationBuilder) Missing ¶

func (rb *RangeAggregationBuilder) Missing(missing int) *RangeAggregationBuilder

func (*RangeAggregationBuilder) Name ¶

func (*RangeAggregationBuilder) Ranges ¶

func (*RangeAggregationBuilder) Script ¶

type RangeBucket ¶

type RangeBucket struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	From         *float64                    `json:"from,omitempty"`
	FromAsString *string                     `json:"from_as_string,omitempty"`
	// Key The bucket key. Present if the aggregation is _not_ keyed
	Key        *string  `json:"key,omitempty"`
	To         *float64 `json:"to,omitempty"`
	ToAsString *string  `json:"to_as_string,omitempty"`
}

RangeBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L514-L521

type RangeBucketBuilder ¶

type RangeBucketBuilder struct {
	// contains filtered or unexported fields
}

RangeBucketBuilder holds RangeBucket struct and provides a builder API.

func NewRangeBucketBuilder ¶

func NewRangeBucketBuilder() *RangeBucketBuilder

NewRangeBucket provides a builder for the RangeBucket struct.

func (*RangeBucketBuilder) Aggregations ¶

func (*RangeBucketBuilder) Build ¶

func (rb *RangeBucketBuilder) Build() RangeBucket

Build finalize the chain and returns the RangeBucket struct

func (*RangeBucketBuilder) DocCount ¶

func (rb *RangeBucketBuilder) DocCount(doccount int64) *RangeBucketBuilder

func (*RangeBucketBuilder) From ¶

func (*RangeBucketBuilder) FromAsString ¶

func (rb *RangeBucketBuilder) FromAsString(fromasstring string) *RangeBucketBuilder

func (*RangeBucketBuilder) Key ¶

func (*RangeBucketBuilder) To ¶

func (*RangeBucketBuilder) ToAsString ¶

func (rb *RangeBucketBuilder) ToAsString(toasstring string) *RangeBucketBuilder

type RangePropertyBase ¶

type RangePropertyBase struct {
	Boost         *float64                       `json:"boost,omitempty"`
	Coerce        *bool                          `json:"coerce,omitempty"`
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	DocValues     *bool                          `json:"doc_values,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	Index         *bool                          `json:"index,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
}

RangePropertyBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/range.ts#L23-L27

type RangePropertyBaseBuilder ¶

type RangePropertyBaseBuilder struct {
	// contains filtered or unexported fields
}

RangePropertyBaseBuilder holds RangePropertyBase struct and provides a builder API.

func NewRangePropertyBaseBuilder ¶

func NewRangePropertyBaseBuilder() *RangePropertyBaseBuilder

NewRangePropertyBase provides a builder for the RangePropertyBase struct.

func (*RangePropertyBaseBuilder) Boost ¶

func (*RangePropertyBaseBuilder) Build ¶

Build finalize the chain and returns the RangePropertyBase struct

func (*RangePropertyBaseBuilder) Coerce ¶

func (*RangePropertyBaseBuilder) CopyTo ¶

func (*RangePropertyBaseBuilder) DocValues ¶

func (rb *RangePropertyBaseBuilder) DocValues(docvalues bool) *RangePropertyBaseBuilder

func (*RangePropertyBaseBuilder) Dynamic ¶

func (*RangePropertyBaseBuilder) Fields ¶

func (*RangePropertyBaseBuilder) IgnoreAbove ¶

func (rb *RangePropertyBaseBuilder) IgnoreAbove(ignoreabove int) *RangePropertyBaseBuilder

func (*RangePropertyBaseBuilder) Index ¶

func (*RangePropertyBaseBuilder) LocalMetadata ¶

func (rb *RangePropertyBaseBuilder) LocalMetadata(localmetadata *MetadataBuilder) *RangePropertyBaseBuilder

func (*RangePropertyBaseBuilder) Meta ¶

func (*RangePropertyBaseBuilder) Properties ¶

func (*RangePropertyBaseBuilder) Similarity ¶

func (rb *RangePropertyBaseBuilder) Similarity(similarity string) *RangePropertyBaseBuilder

func (*RangePropertyBaseBuilder) Store ¶

type RangeQuery ¶

type RangeQuery interface{}

RangeQuery holds the union for the following types:

DateRangeQuery
NumberRangeQuery

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L101-L103

type RangeQueryBase ¶

type RangeQueryBase struct {
	Boost      *float32                     `json:"boost,omitempty"`
	QueryName_ *string                      `json:"_name,omitempty"`
	Relation   *rangerelation.RangeRelation `json:"relation,omitempty"`
}

RangeQueryBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L77-L79

type RangeQueryBaseBuilder ¶

type RangeQueryBaseBuilder struct {
	// contains filtered or unexported fields
}

RangeQueryBaseBuilder holds RangeQueryBase struct and provides a builder API.

func NewRangeQueryBaseBuilder ¶

func NewRangeQueryBaseBuilder() *RangeQueryBaseBuilder

NewRangeQueryBase provides a builder for the RangeQueryBase struct.

func (*RangeQueryBaseBuilder) Boost ¶

func (*RangeQueryBaseBuilder) Build ¶

Build finalize the chain and returns the RangeQueryBase struct

func (*RangeQueryBaseBuilder) QueryName_ ¶

func (rb *RangeQueryBaseBuilder) QueryName_(queryname_ string) *RangeQueryBaseBuilder

func (*RangeQueryBaseBuilder) Relation ¶

type RangeQueryBuilder ¶

type RangeQueryBuilder struct {
	// contains filtered or unexported fields
}

RangeQueryBuilder holds RangeQuery struct and provides a builder API.

func NewRangeQueryBuilder ¶

func NewRangeQueryBuilder() *RangeQueryBuilder

NewRangeQuery provides a builder for the RangeQuery struct.

func (*RangeQueryBuilder) Build ¶

func (u *RangeQueryBuilder) Build() RangeQuery

Build finalize the chain and returns the RangeQuery struct

func (*RangeQueryBuilder) DateRangeQuery ¶

func (u *RangeQueryBuilder) DateRangeQuery(daterangequery *DateRangeQueryBuilder) *RangeQueryBuilder

func (*RangeQueryBuilder) NumberRangeQuery ¶

func (u *RangeQueryBuilder) NumberRangeQuery(numberrangequery *NumberRangeQueryBuilder) *RangeQueryBuilder

type RankEvalHitBuilder ¶

type RankEvalHitBuilder struct {
	// contains filtered or unexported fields
}

RankEvalHitBuilder holds RankEvalHit struct and provides a builder API.

func NewRankEvalHitBuilder ¶

func NewRankEvalHitBuilder() *RankEvalHitBuilder

NewRankEvalHit provides a builder for the RankEvalHit struct.

func (*RankEvalHitBuilder) Build ¶

func (rb *RankEvalHitBuilder) Build() RankEvalHit

Build finalize the chain and returns the RankEvalHit struct

func (*RankEvalHitBuilder) Id_ ¶

func (*RankEvalHitBuilder) Index_ ¶

func (rb *RankEvalHitBuilder) Index_(index_ IndexName) *RankEvalHitBuilder

func (*RankEvalHitBuilder) Score_ ¶

func (rb *RankEvalHitBuilder) Score_(score_ float64) *RankEvalHitBuilder

type RankEvalHitItemBuilder ¶

type RankEvalHitItemBuilder struct {
	// contains filtered or unexported fields
}

RankEvalHitItemBuilder holds RankEvalHitItem struct and provides a builder API.

func NewRankEvalHitItemBuilder ¶

func NewRankEvalHitItemBuilder() *RankEvalHitItemBuilder

NewRankEvalHitItem provides a builder for the RankEvalHitItem struct.

func (*RankEvalHitItemBuilder) Build ¶

Build finalize the chain and returns the RankEvalHitItem struct

func (*RankEvalHitItemBuilder) Hit ¶

func (*RankEvalHitItemBuilder) Rating ¶

type RankEvalMetric ¶

type RankEvalMetric struct {
	Dcg                    *RankEvalMetricDiscountedCumulativeGain `json:"dcg,omitempty"`
	ExpectedReciprocalRank *RankEvalMetricExpectedReciprocalRank   `json:"expected_reciprocal_rank,omitempty"`
	MeanReciprocalRank     *RankEvalMetricMeanReciprocalRank       `json:"mean_reciprocal_rank,omitempty"`
	Precision              *RankEvalMetricPrecision                `json:"precision,omitempty"`
	Recall                 *RankEvalMetricRecall                   `json:"recall,omitempty"`
}

RankEvalMetric type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/rank_eval/types.ts#L90-L96

type RankEvalMetricBase ¶

type RankEvalMetricBase struct {
	// K Sets the maximum number of documents retrieved per query. This value will act
	// in place of the usual size parameter in the query.
	K *int `json:"k,omitempty"`
}

RankEvalMetricBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/rank_eval/types.ts#L26-L32

type RankEvalMetricBaseBuilder ¶

type RankEvalMetricBaseBuilder struct {
	// contains filtered or unexported fields
}

RankEvalMetricBaseBuilder holds RankEvalMetricBase struct and provides a builder API.

func NewRankEvalMetricBaseBuilder ¶

func NewRankEvalMetricBaseBuilder() *RankEvalMetricBaseBuilder

NewRankEvalMetricBase provides a builder for the RankEvalMetricBase struct.

func (*RankEvalMetricBaseBuilder) Build ¶

Build finalize the chain and returns the RankEvalMetricBase struct

func (*RankEvalMetricBaseBuilder) K ¶

type RankEvalMetricBuilder ¶

type RankEvalMetricBuilder struct {
	// contains filtered or unexported fields
}

RankEvalMetricBuilder holds RankEvalMetric struct and provides a builder API.

func NewRankEvalMetricBuilder ¶

func NewRankEvalMetricBuilder() *RankEvalMetricBuilder

NewRankEvalMetric provides a builder for the RankEvalMetric struct.

func (*RankEvalMetricBuilder) Build ¶

Build finalize the chain and returns the RankEvalMetric struct

func (*RankEvalMetricBuilder) ExpectedReciprocalRank ¶

func (rb *RankEvalMetricBuilder) ExpectedReciprocalRank(expectedreciprocalrank *RankEvalMetricExpectedReciprocalRankBuilder) *RankEvalMetricBuilder

func (*RankEvalMetricBuilder) MeanReciprocalRank ¶

func (rb *RankEvalMetricBuilder) MeanReciprocalRank(meanreciprocalrank *RankEvalMetricMeanReciprocalRankBuilder) *RankEvalMetricBuilder

func (*RankEvalMetricBuilder) Precision ¶

func (*RankEvalMetricBuilder) Recall ¶

type RankEvalMetricDetail ¶

type RankEvalMetricDetail struct {
	// Hits The hits section shows a grouping of the search results with their supplied
	// ratings
	Hits []RankEvalHitItem `json:"hits"`
	// MetricDetails The metric_details give additional information about the calculated quality
	// metric (e.g. how many of the retrieved documents were relevant). The content
	// varies for each metric but allows for better interpretation of the results
	MetricDetails map[string]map[string]interface{} `json:"metric_details"`
	// MetricScore The metric_score in the details section shows the contribution of this query
	// to the global quality metric score
	MetricScore float64 `json:"metric_score"`
	// UnratedDocs The unrated_docs section contains an _index and _id entry for each document
	// in the search result for this query that didn’t have a ratings value. This
	// can be used to ask the user to supply ratings for these documents
	UnratedDocs []UnratedDocument `json:"unrated_docs"`
}

RankEvalMetricDetail type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/rank_eval/types.ts#L125-L134

type RankEvalMetricDetailBuilder ¶

type RankEvalMetricDetailBuilder struct {
	// contains filtered or unexported fields
}

RankEvalMetricDetailBuilder holds RankEvalMetricDetail struct and provides a builder API.

func NewRankEvalMetricDetailBuilder ¶

func NewRankEvalMetricDetailBuilder() *RankEvalMetricDetailBuilder

NewRankEvalMetricDetail provides a builder for the RankEvalMetricDetail struct.

func (*RankEvalMetricDetailBuilder) Build ¶

Build finalize the chain and returns the RankEvalMetricDetail struct

func (*RankEvalMetricDetailBuilder) Hits ¶

func (*RankEvalMetricDetailBuilder) MetricDetails ¶

func (rb *RankEvalMetricDetailBuilder) MetricDetails(value map[string]map[string]interface{}) *RankEvalMetricDetailBuilder

func (*RankEvalMetricDetailBuilder) MetricScore ¶

func (rb *RankEvalMetricDetailBuilder) MetricScore(metricscore float64) *RankEvalMetricDetailBuilder

func (*RankEvalMetricDetailBuilder) UnratedDocs ¶

type RankEvalMetricDiscountedCumulativeGain ¶

type RankEvalMetricDiscountedCumulativeGain struct {
	// K Sets the maximum number of documents retrieved per query. This value will act
	// in place of the usual size parameter in the query.
	K *int `json:"k,omitempty"`
	// Normalize If set to true, this metric will calculate the Normalized DCG.
	Normalize *bool `json:"normalize,omitempty"`
}

RankEvalMetricDiscountedCumulativeGain type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/rank_eval/types.ts#L66-L77

type RankEvalMetricDiscountedCumulativeGainBuilder ¶

type RankEvalMetricDiscountedCumulativeGainBuilder struct {
	// contains filtered or unexported fields
}

RankEvalMetricDiscountedCumulativeGainBuilder holds RankEvalMetricDiscountedCumulativeGain struct and provides a builder API.

func NewRankEvalMetricDiscountedCumulativeGainBuilder ¶

func NewRankEvalMetricDiscountedCumulativeGainBuilder() *RankEvalMetricDiscountedCumulativeGainBuilder

NewRankEvalMetricDiscountedCumulativeGain provides a builder for the RankEvalMetricDiscountedCumulativeGain struct.

func (*RankEvalMetricDiscountedCumulativeGainBuilder) Build ¶

Build finalize the chain and returns the RankEvalMetricDiscountedCumulativeGain struct

func (*RankEvalMetricDiscountedCumulativeGainBuilder) K ¶

func (*RankEvalMetricDiscountedCumulativeGainBuilder) Normalize ¶

type RankEvalMetricExpectedReciprocalRank ¶

type RankEvalMetricExpectedReciprocalRank struct {
	// K Sets the maximum number of documents retrieved per query. This value will act
	// in place of the usual size parameter in the query.
	K *int `json:"k,omitempty"`
	// MaximumRelevance The highest relevance grade used in the user-supplied relevance judgments.
	MaximumRelevance int `json:"maximum_relevance"`
}

RankEvalMetricExpectedReciprocalRank type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/rank_eval/types.ts#L79-L88

type RankEvalMetricExpectedReciprocalRankBuilder ¶

type RankEvalMetricExpectedReciprocalRankBuilder struct {
	// contains filtered or unexported fields
}

RankEvalMetricExpectedReciprocalRankBuilder holds RankEvalMetricExpectedReciprocalRank struct and provides a builder API.

func NewRankEvalMetricExpectedReciprocalRankBuilder ¶

func NewRankEvalMetricExpectedReciprocalRankBuilder() *RankEvalMetricExpectedReciprocalRankBuilder

NewRankEvalMetricExpectedReciprocalRank provides a builder for the RankEvalMetricExpectedReciprocalRank struct.

func (*RankEvalMetricExpectedReciprocalRankBuilder) Build ¶

Build finalize the chain and returns the RankEvalMetricExpectedReciprocalRank struct

func (*RankEvalMetricExpectedReciprocalRankBuilder) K ¶

func (*RankEvalMetricExpectedReciprocalRankBuilder) MaximumRelevance ¶

type RankEvalMetricMeanReciprocalRank ¶

type RankEvalMetricMeanReciprocalRank struct {
	// K Sets the maximum number of documents retrieved per query. This value will act
	// in place of the usual size parameter in the query.
	K *int `json:"k,omitempty"`
	// RelevantRatingThreshold Sets the rating threshold above which documents are considered to be
	// "relevant".
	RelevantRatingThreshold *int `json:"relevant_rating_threshold,omitempty"`
}

RankEvalMetricMeanReciprocalRank type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/rank_eval/types.ts#L60-L64

type RankEvalMetricMeanReciprocalRankBuilder ¶

type RankEvalMetricMeanReciprocalRankBuilder struct {
	// contains filtered or unexported fields
}

RankEvalMetricMeanReciprocalRankBuilder holds RankEvalMetricMeanReciprocalRank struct and provides a builder API.

func NewRankEvalMetricMeanReciprocalRankBuilder ¶

func NewRankEvalMetricMeanReciprocalRankBuilder() *RankEvalMetricMeanReciprocalRankBuilder

NewRankEvalMetricMeanReciprocalRank provides a builder for the RankEvalMetricMeanReciprocalRank struct.

func (*RankEvalMetricMeanReciprocalRankBuilder) Build ¶

Build finalize the chain and returns the RankEvalMetricMeanReciprocalRank struct

func (*RankEvalMetricMeanReciprocalRankBuilder) K ¶

func (*RankEvalMetricMeanReciprocalRankBuilder) RelevantRatingThreshold ¶

func (rb *RankEvalMetricMeanReciprocalRankBuilder) RelevantRatingThreshold(relevantratingthreshold int) *RankEvalMetricMeanReciprocalRankBuilder

type RankEvalMetricPrecision ¶

type RankEvalMetricPrecision struct {
	// IgnoreUnlabeled Controls how unlabeled documents in the search results are counted. If set to
	// true, unlabeled documents are ignored and neither count as relevant or
	// irrelevant. Set to false (the default), they are treated as irrelevant.
	IgnoreUnlabeled *bool `json:"ignore_unlabeled,omitempty"`
	// K Sets the maximum number of documents retrieved per query. This value will act
	// in place of the usual size parameter in the query.
	K *int `json:"k,omitempty"`
	// RelevantRatingThreshold Sets the rating threshold above which documents are considered to be
	// "relevant".
	RelevantRatingThreshold *int `json:"relevant_rating_threshold,omitempty"`
}

RankEvalMetricPrecision type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/rank_eval/types.ts#L42-L52

type RankEvalMetricPrecisionBuilder ¶

type RankEvalMetricPrecisionBuilder struct {
	// contains filtered or unexported fields
}

RankEvalMetricPrecisionBuilder holds RankEvalMetricPrecision struct and provides a builder API.

func NewRankEvalMetricPrecisionBuilder ¶

func NewRankEvalMetricPrecisionBuilder() *RankEvalMetricPrecisionBuilder

NewRankEvalMetricPrecision provides a builder for the RankEvalMetricPrecision struct.

func (*RankEvalMetricPrecisionBuilder) Build ¶

Build finalize the chain and returns the RankEvalMetricPrecision struct

func (*RankEvalMetricPrecisionBuilder) IgnoreUnlabeled ¶

func (rb *RankEvalMetricPrecisionBuilder) IgnoreUnlabeled(ignoreunlabeled bool) *RankEvalMetricPrecisionBuilder

func (*RankEvalMetricPrecisionBuilder) K ¶

func (*RankEvalMetricPrecisionBuilder) RelevantRatingThreshold ¶

func (rb *RankEvalMetricPrecisionBuilder) RelevantRatingThreshold(relevantratingthreshold int) *RankEvalMetricPrecisionBuilder

type RankEvalMetricRatingTreshold ¶

type RankEvalMetricRatingTreshold struct {
	// K Sets the maximum number of documents retrieved per query. This value will act
	// in place of the usual size parameter in the query.
	K *int `json:"k,omitempty"`
	// RelevantRatingThreshold Sets the rating threshold above which documents are considered to be
	// "relevant".
	RelevantRatingThreshold *int `json:"relevant_rating_threshold,omitempty"`
}

RankEvalMetricRatingTreshold type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/rank_eval/types.ts#L34-L40

type RankEvalMetricRatingTresholdBuilder ¶

type RankEvalMetricRatingTresholdBuilder struct {
	// contains filtered or unexported fields
}

RankEvalMetricRatingTresholdBuilder holds RankEvalMetricRatingTreshold struct and provides a builder API.

func NewRankEvalMetricRatingTresholdBuilder ¶

func NewRankEvalMetricRatingTresholdBuilder() *RankEvalMetricRatingTresholdBuilder

NewRankEvalMetricRatingTreshold provides a builder for the RankEvalMetricRatingTreshold struct.

func (*RankEvalMetricRatingTresholdBuilder) Build ¶

Build finalize the chain and returns the RankEvalMetricRatingTreshold struct

func (*RankEvalMetricRatingTresholdBuilder) K ¶

func (*RankEvalMetricRatingTresholdBuilder) RelevantRatingThreshold ¶

func (rb *RankEvalMetricRatingTresholdBuilder) RelevantRatingThreshold(relevantratingthreshold int) *RankEvalMetricRatingTresholdBuilder

type RankEvalMetricRecall ¶

type RankEvalMetricRecall struct {
	// K Sets the maximum number of documents retrieved per query. This value will act
	// in place of the usual size parameter in the query.
	K *int `json:"k,omitempty"`
	// RelevantRatingThreshold Sets the rating threshold above which documents are considered to be
	// "relevant".
	RelevantRatingThreshold *int `json:"relevant_rating_threshold,omitempty"`
}

RankEvalMetricRecall type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/rank_eval/types.ts#L54-L58

type RankEvalMetricRecallBuilder ¶

type RankEvalMetricRecallBuilder struct {
	// contains filtered or unexported fields
}

RankEvalMetricRecallBuilder holds RankEvalMetricRecall struct and provides a builder API.

func NewRankEvalMetricRecallBuilder ¶

func NewRankEvalMetricRecallBuilder() *RankEvalMetricRecallBuilder

NewRankEvalMetricRecall provides a builder for the RankEvalMetricRecall struct.

func (*RankEvalMetricRecallBuilder) Build ¶

Build finalize the chain and returns the RankEvalMetricRecall struct

func (*RankEvalMetricRecallBuilder) K ¶

func (*RankEvalMetricRecallBuilder) RelevantRatingThreshold ¶

func (rb *RankEvalMetricRecallBuilder) RelevantRatingThreshold(relevantratingthreshold int) *RankEvalMetricRecallBuilder

type RankEvalQueryBuilder ¶

type RankEvalQueryBuilder struct {
	// contains filtered or unexported fields
}

RankEvalQueryBuilder holds RankEvalQuery struct and provides a builder API.

func NewRankEvalQueryBuilder ¶

func NewRankEvalQueryBuilder() *RankEvalQueryBuilder

NewRankEvalQuery provides a builder for the RankEvalQuery struct.

func (*RankEvalQueryBuilder) Build ¶

func (rb *RankEvalQueryBuilder) Build() RankEvalQuery

Build finalize the chain and returns the RankEvalQuery struct

func (*RankEvalQueryBuilder) Query ¶

func (*RankEvalQueryBuilder) Size ¶

type RankEvalRequestItem ¶

type RankEvalRequestItem struct {
	// Id The search request’s ID, used to group result details later.
	Id Id `json:"id"`
	// Params The search template parameters.
	Params map[string]interface{} `json:"params,omitempty"`
	// Ratings List of document ratings
	Ratings []DocumentRating `json:"ratings"`
	// Request The query being evaluated.
	Request *RankEvalQuery `json:"request,omitempty"`
	// TemplateId The search template Id
	TemplateId *Id `json:"template_id,omitempty"`
}

RankEvalRequestItem type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/rank_eval/types.ts#L98-L109

type RankEvalRequestItemBuilder ¶

type RankEvalRequestItemBuilder struct {
	// contains filtered or unexported fields
}

RankEvalRequestItemBuilder holds RankEvalRequestItem struct and provides a builder API.

func NewRankEvalRequestItemBuilder ¶

func NewRankEvalRequestItemBuilder() *RankEvalRequestItemBuilder

NewRankEvalRequestItem provides a builder for the RankEvalRequestItem struct.

func (*RankEvalRequestItemBuilder) Build ¶

Build finalize the chain and returns the RankEvalRequestItem struct

func (*RankEvalRequestItemBuilder) Id ¶

func (*RankEvalRequestItemBuilder) Params ¶

func (rb *RankEvalRequestItemBuilder) Params(value map[string]interface{}) *RankEvalRequestItemBuilder

func (*RankEvalRequestItemBuilder) Ratings ¶

func (*RankEvalRequestItemBuilder) Request ¶

func (*RankEvalRequestItemBuilder) TemplateId ¶

func (rb *RankEvalRequestItemBuilder) TemplateId(templateid Id) *RankEvalRequestItemBuilder

type RankFeatureFunctionBuilder ¶

type RankFeatureFunctionBuilder struct {
	// contains filtered or unexported fields
}

RankFeatureFunctionBuilder holds RankFeatureFunction struct and provides a builder API.

func NewRankFeatureFunctionBuilder ¶

func NewRankFeatureFunctionBuilder() *RankFeatureFunctionBuilder

NewRankFeatureFunction provides a builder for the RankFeatureFunction struct.

func (*RankFeatureFunctionBuilder) Build ¶

Build finalize the chain and returns the RankFeatureFunction struct

type RankFeatureFunctionLinearBuilder ¶

type RankFeatureFunctionLinearBuilder struct {
	// contains filtered or unexported fields
}

RankFeatureFunctionLinearBuilder holds RankFeatureFunctionLinear struct and provides a builder API.

func NewRankFeatureFunctionLinearBuilder ¶

func NewRankFeatureFunctionLinearBuilder() *RankFeatureFunctionLinearBuilder

NewRankFeatureFunctionLinear provides a builder for the RankFeatureFunctionLinear struct.

func (*RankFeatureFunctionLinearBuilder) Build ¶

Build finalize the chain and returns the RankFeatureFunctionLinear struct

type RankFeatureFunctionLogarithmBuilder ¶

type RankFeatureFunctionLogarithmBuilder struct {
	// contains filtered or unexported fields
}

RankFeatureFunctionLogarithmBuilder holds RankFeatureFunctionLogarithm struct and provides a builder API.

func NewRankFeatureFunctionLogarithmBuilder ¶

func NewRankFeatureFunctionLogarithmBuilder() *RankFeatureFunctionLogarithmBuilder

NewRankFeatureFunctionLogarithm provides a builder for the RankFeatureFunctionLogarithm struct.

func (*RankFeatureFunctionLogarithmBuilder) Build ¶

Build finalize the chain and returns the RankFeatureFunctionLogarithm struct

func (*RankFeatureFunctionLogarithmBuilder) ScalingFactor ¶

type RankFeatureFunctionSaturationBuilder ¶

type RankFeatureFunctionSaturationBuilder struct {
	// contains filtered or unexported fields
}

RankFeatureFunctionSaturationBuilder holds RankFeatureFunctionSaturation struct and provides a builder API.

func NewRankFeatureFunctionSaturationBuilder ¶

func NewRankFeatureFunctionSaturationBuilder() *RankFeatureFunctionSaturationBuilder

NewRankFeatureFunctionSaturation provides a builder for the RankFeatureFunctionSaturation struct.

func (*RankFeatureFunctionSaturationBuilder) Build ¶

Build finalize the chain and returns the RankFeatureFunctionSaturation struct

func (*RankFeatureFunctionSaturationBuilder) Pivot ¶

type RankFeatureFunctionSigmoid ¶

type RankFeatureFunctionSigmoid struct {
	Exponent float32 `json:"exponent"`
	Pivot    float32 `json:"pivot"`
}

RankFeatureFunctionSigmoid type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L149-L152

type RankFeatureFunctionSigmoidBuilder ¶

type RankFeatureFunctionSigmoidBuilder struct {
	// contains filtered or unexported fields
}

RankFeatureFunctionSigmoidBuilder holds RankFeatureFunctionSigmoid struct and provides a builder API.

func NewRankFeatureFunctionSigmoidBuilder ¶

func NewRankFeatureFunctionSigmoidBuilder() *RankFeatureFunctionSigmoidBuilder

NewRankFeatureFunctionSigmoid provides a builder for the RankFeatureFunctionSigmoid struct.

func (*RankFeatureFunctionSigmoidBuilder) Build ¶

Build finalize the chain and returns the RankFeatureFunctionSigmoid struct

func (*RankFeatureFunctionSigmoidBuilder) Exponent ¶

func (*RankFeatureFunctionSigmoidBuilder) Pivot ¶

type RankFeatureProperty ¶

type RankFeatureProperty struct {
	Dynamic             *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields              map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove         *int                           `json:"ignore_above,omitempty"`
	LocalMetadata       *Metadata                      `json:"local_metadata,omitempty"`
	Meta                map[string]string              `json:"meta,omitempty"`
	PositiveScoreImpact *bool                          `json:"positive_score_impact,omitempty"`
	Properties          map[PropertyName]Property      `json:"properties,omitempty"`
	Type                string                         `json:"type,omitempty"`
}

RankFeatureProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L170-L173

type RankFeaturePropertyBuilder ¶

type RankFeaturePropertyBuilder struct {
	// contains filtered or unexported fields
}

RankFeaturePropertyBuilder holds RankFeatureProperty struct and provides a builder API.

func NewRankFeaturePropertyBuilder ¶

func NewRankFeaturePropertyBuilder() *RankFeaturePropertyBuilder

NewRankFeatureProperty provides a builder for the RankFeatureProperty struct.

func (*RankFeaturePropertyBuilder) Build ¶

Build finalize the chain and returns the RankFeatureProperty struct

func (*RankFeaturePropertyBuilder) Dynamic ¶

func (*RankFeaturePropertyBuilder) Fields ¶

func (*RankFeaturePropertyBuilder) IgnoreAbove ¶

func (rb *RankFeaturePropertyBuilder) IgnoreAbove(ignoreabove int) *RankFeaturePropertyBuilder

func (*RankFeaturePropertyBuilder) LocalMetadata ¶

func (rb *RankFeaturePropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *RankFeaturePropertyBuilder

func (*RankFeaturePropertyBuilder) Meta ¶

func (*RankFeaturePropertyBuilder) PositiveScoreImpact ¶

func (rb *RankFeaturePropertyBuilder) PositiveScoreImpact(positivescoreimpact bool) *RankFeaturePropertyBuilder

func (*RankFeaturePropertyBuilder) Properties ¶

type RankFeatureQuery ¶

type RankFeatureQuery struct {
	Boost      *float32                       `json:"boost,omitempty"`
	Field      Field                          `json:"field"`
	Linear     *RankFeatureFunctionLinear     `json:"linear,omitempty"`
	Log        *RankFeatureFunctionLogarithm  `json:"log,omitempty"`
	QueryName_ *string                        `json:"_name,omitempty"`
	Saturation *RankFeatureFunctionSaturation `json:"saturation,omitempty"`
	Sigmoid    *RankFeatureFunctionSigmoid    `json:"sigmoid,omitempty"`
}

RankFeatureQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L154-L162

type RankFeatureQueryBuilder ¶

type RankFeatureQueryBuilder struct {
	// contains filtered or unexported fields
}

RankFeatureQueryBuilder holds RankFeatureQuery struct and provides a builder API.

func NewRankFeatureQueryBuilder ¶

func NewRankFeatureQueryBuilder() *RankFeatureQueryBuilder

NewRankFeatureQuery provides a builder for the RankFeatureQuery struct.

func (*RankFeatureQueryBuilder) Boost ¶

func (*RankFeatureQueryBuilder) Build ¶

Build finalize the chain and returns the RankFeatureQuery struct

func (*RankFeatureQueryBuilder) Field ¶

func (*RankFeatureQueryBuilder) Linear ¶

func (*RankFeatureQueryBuilder) Log ¶

func (*RankFeatureQueryBuilder) QueryName_ ¶

func (rb *RankFeatureQueryBuilder) QueryName_(queryname_ string) *RankFeatureQueryBuilder

func (*RankFeatureQueryBuilder) Saturation ¶

func (*RankFeatureQueryBuilder) Sigmoid ¶

type RankFeaturesProperty ¶

type RankFeaturesProperty struct {
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

RankFeaturesProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L175-L177

type RankFeaturesPropertyBuilder ¶

type RankFeaturesPropertyBuilder struct {
	// contains filtered or unexported fields
}

RankFeaturesPropertyBuilder holds RankFeaturesProperty struct and provides a builder API.

func NewRankFeaturesPropertyBuilder ¶

func NewRankFeaturesPropertyBuilder() *RankFeaturesPropertyBuilder

NewRankFeaturesProperty provides a builder for the RankFeaturesProperty struct.

func (*RankFeaturesPropertyBuilder) Build ¶

Build finalize the chain and returns the RankFeaturesProperty struct

func (*RankFeaturesPropertyBuilder) Dynamic ¶

func (*RankFeaturesPropertyBuilder) Fields ¶

func (*RankFeaturesPropertyBuilder) IgnoreAbove ¶

func (rb *RankFeaturesPropertyBuilder) IgnoreAbove(ignoreabove int) *RankFeaturesPropertyBuilder

func (*RankFeaturesPropertyBuilder) LocalMetadata ¶

func (rb *RankFeaturesPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *RankFeaturesPropertyBuilder

func (*RankFeaturesPropertyBuilder) Meta ¶

func (*RankFeaturesPropertyBuilder) Properties ¶

type RareTermsAggregation ¶

type RareTermsAggregation struct {
	Exclude     *TermsExclude `json:"exclude,omitempty"`
	Field       *Field        `json:"field,omitempty"`
	Include     *TermsInclude `json:"include,omitempty"`
	MaxDocCount *int64        `json:"max_doc_count,omitempty"`
	Meta        *Metadata     `json:"meta,omitempty"`
	Missing     *Missing      `json:"missing,omitempty"`
	Name        *string       `json:"name,omitempty"`
	Precision   *float64      `json:"precision,omitempty"`
	ValueType   *string       `json:"value_type,omitempty"`
}

RareTermsAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L300-L308

type RareTermsAggregationBuilder ¶

type RareTermsAggregationBuilder struct {
	// contains filtered or unexported fields
}

RareTermsAggregationBuilder holds RareTermsAggregation struct and provides a builder API.

func NewRareTermsAggregationBuilder ¶

func NewRareTermsAggregationBuilder() *RareTermsAggregationBuilder

NewRareTermsAggregation provides a builder for the RareTermsAggregation struct.

func (*RareTermsAggregationBuilder) Build ¶

Build finalize the chain and returns the RareTermsAggregation struct

func (*RareTermsAggregationBuilder) Exclude ¶

func (*RareTermsAggregationBuilder) Field ¶

func (*RareTermsAggregationBuilder) Include ¶

func (*RareTermsAggregationBuilder) MaxDocCount ¶

func (rb *RareTermsAggregationBuilder) MaxDocCount(maxdoccount int64) *RareTermsAggregationBuilder

func (*RareTermsAggregationBuilder) Meta ¶

func (*RareTermsAggregationBuilder) Missing ¶

func (*RareTermsAggregationBuilder) Name ¶

func (*RareTermsAggregationBuilder) Precision ¶

func (*RareTermsAggregationBuilder) ValueType ¶

type RateAggregate ¶

type RateAggregate struct {
	Meta          *Metadata `json:"meta,omitempty"`
	Value         float64   `json:"value"`
	ValueAsString *string   `json:"value_as_string,omitempty"`
}

RateAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L692-L696

type RateAggregateBuilder ¶

type RateAggregateBuilder struct {
	// contains filtered or unexported fields
}

RateAggregateBuilder holds RateAggregate struct and provides a builder API.

func NewRateAggregateBuilder ¶

func NewRateAggregateBuilder() *RateAggregateBuilder

NewRateAggregate provides a builder for the RateAggregate struct.

func (*RateAggregateBuilder) Build ¶

func (rb *RateAggregateBuilder) Build() RateAggregate

Build finalize the chain and returns the RateAggregate struct

func (*RateAggregateBuilder) Meta ¶

func (*RateAggregateBuilder) Value ¶

func (*RateAggregateBuilder) ValueAsString ¶

func (rb *RateAggregateBuilder) ValueAsString(valueasstring string) *RateAggregateBuilder

type RateAggregation ¶

type RateAggregation struct {
	Field   *Field                             `json:"field,omitempty"`
	Format  *string                            `json:"format,omitempty"`
	Missing *Missing                           `json:"missing,omitempty"`
	Mode    *ratemode.RateMode                 `json:"mode,omitempty"`
	Script  *Script                            `json:"script,omitempty"`
	Unit    *calendarinterval.CalendarInterval `json:"unit,omitempty"`
}

RateAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L118-L121

type RateAggregationBuilder ¶

type RateAggregationBuilder struct {
	// contains filtered or unexported fields
}

RateAggregationBuilder holds RateAggregation struct and provides a builder API.

func NewRateAggregationBuilder ¶

func NewRateAggregationBuilder() *RateAggregationBuilder

NewRateAggregation provides a builder for the RateAggregation struct.

func (*RateAggregationBuilder) Build ¶

Build finalize the chain and returns the RateAggregation struct

func (*RateAggregationBuilder) Field ¶

func (*RateAggregationBuilder) Format ¶

func (*RateAggregationBuilder) Missing ¶

func (*RateAggregationBuilder) Mode ¶

func (*RateAggregationBuilder) Script ¶

func (*RateAggregationBuilder) Unit ¶

type ReadException ¶

type ReadException struct {
	Exception ErrorCause     `json:"exception"`
	FromSeqNo SequenceNumber `json:"from_seq_no"`
	Retries   int            `json:"retries"`
}

ReadException type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ccr/_types/FollowIndexStats.ts#L71-L75

type ReadExceptionBuilder ¶

type ReadExceptionBuilder struct {
	// contains filtered or unexported fields
}

ReadExceptionBuilder holds ReadException struct and provides a builder API.

func NewReadExceptionBuilder ¶

func NewReadExceptionBuilder() *ReadExceptionBuilder

NewReadException provides a builder for the ReadException struct.

func (*ReadExceptionBuilder) Build ¶

func (rb *ReadExceptionBuilder) Build() ReadException

Build finalize the chain and returns the ReadException struct

func (*ReadExceptionBuilder) Exception ¶

func (rb *ReadExceptionBuilder) Exception(exception *ErrorCauseBuilder) *ReadExceptionBuilder

func (*ReadExceptionBuilder) FromSeqNo ¶

func (rb *ReadExceptionBuilder) FromSeqNo(fromseqno SequenceNumber) *ReadExceptionBuilder

func (*ReadExceptionBuilder) Retries ¶

func (rb *ReadExceptionBuilder) Retries(retries int) *ReadExceptionBuilder

type Realm ¶

type Realm struct {
	Available                 bool         `json:"available"`
	Cache                     []RealmCache `json:"cache,omitempty"`
	Enabled                   bool         `json:"enabled"`
	HasAuthorizationRealms    []bool       `json:"has_authorization_realms,omitempty"`
	HasDefaultUsernamePattern []bool       `json:"has_default_username_pattern,omitempty"`
	HasTruststore             []bool       `json:"has_truststore,omitempty"`
	IsAuthenticationDelegated []bool       `json:"is_authentication_delegated,omitempty"`
	Name                      []string     `json:"name,omitempty"`
	Order                     []int64      `json:"order,omitempty"`
	Size                      []int64      `json:"size,omitempty"`
}

Realm type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L406-L415

type RealmBuilder ¶

type RealmBuilder struct {
	// contains filtered or unexported fields
}

RealmBuilder holds Realm struct and provides a builder API.

func NewRealmBuilder ¶

func NewRealmBuilder() *RealmBuilder

NewRealm provides a builder for the Realm struct.

func (*RealmBuilder) Available ¶

func (rb *RealmBuilder) Available(available bool) *RealmBuilder

func (*RealmBuilder) Build ¶

func (rb *RealmBuilder) Build() Realm

Build finalize the chain and returns the Realm struct

func (*RealmBuilder) Cache ¶

func (rb *RealmBuilder) Cache(cache []RealmCacheBuilder) *RealmBuilder

func (*RealmBuilder) Enabled ¶

func (rb *RealmBuilder) Enabled(enabled bool) *RealmBuilder

func (*RealmBuilder) HasAuthorizationRealms ¶

func (rb *RealmBuilder) HasAuthorizationRealms(has_authorization_realms ...bool) *RealmBuilder

func (*RealmBuilder) HasDefaultUsernamePattern ¶

func (rb *RealmBuilder) HasDefaultUsernamePattern(has_default_username_pattern ...bool) *RealmBuilder

func (*RealmBuilder) HasTruststore ¶

func (rb *RealmBuilder) HasTruststore(has_truststore ...bool) *RealmBuilder

func (*RealmBuilder) IsAuthenticationDelegated ¶

func (rb *RealmBuilder) IsAuthenticationDelegated(is_authentication_delegated ...bool) *RealmBuilder

func (*RealmBuilder) Name ¶

func (rb *RealmBuilder) Name(name ...string) *RealmBuilder

func (*RealmBuilder) Order ¶

func (rb *RealmBuilder) Order(order ...int64) *RealmBuilder

func (*RealmBuilder) Size ¶

func (rb *RealmBuilder) Size(size ...int64) *RealmBuilder

type RealmCacheBuilder ¶

type RealmCacheBuilder struct {
	// contains filtered or unexported fields
}

RealmCacheBuilder holds RealmCache struct and provides a builder API.

func NewRealmCacheBuilder ¶

func NewRealmCacheBuilder() *RealmCacheBuilder

NewRealmCache provides a builder for the RealmCache struct.

func (*RealmCacheBuilder) Build ¶

func (rb *RealmCacheBuilder) Build() RealmCache

Build finalize the chain and returns the RealmCache struct

func (*RealmCacheBuilder) Size ¶

func (rb *RealmCacheBuilder) Size(size int64) *RealmCacheBuilder

type RealmInfoBuilder ¶

type RealmInfoBuilder struct {
	// contains filtered or unexported fields
}

RealmInfoBuilder holds RealmInfo struct and provides a builder API.

func NewRealmInfoBuilder ¶

func NewRealmInfoBuilder() *RealmInfoBuilder

NewRealmInfo provides a builder for the RealmInfo struct.

func (*RealmInfoBuilder) Build ¶

func (rb *RealmInfoBuilder) Build() RealmInfo

Build finalize the chain and returns the RealmInfo struct

func (*RealmInfoBuilder) Name ¶

func (rb *RealmInfoBuilder) Name(name Name) *RealmInfoBuilder

func (*RealmInfoBuilder) Type_ ¶

func (rb *RealmInfoBuilder) Type_(type_ string) *RealmInfoBuilder

type Recording ¶

type Recording struct {
	CumulativeExecutionCount      *int64                   `json:"cumulative_execution_count,omitempty"`
	CumulativeExecutionTime       *Duration                `json:"cumulative_execution_time,omitempty"`
	CumulativeExecutionTimeMillis *DurationValueUnitMillis `json:"cumulative_execution_time_millis,omitempty"`
	Name                          *string                  `json:"name,omitempty"`
}

Recording type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L88-L93

type RecordingBuilder ¶

type RecordingBuilder struct {
	// contains filtered or unexported fields
}

RecordingBuilder holds Recording struct and provides a builder API.

func NewRecordingBuilder ¶

func NewRecordingBuilder() *RecordingBuilder

NewRecording provides a builder for the Recording struct.

func (*RecordingBuilder) Build ¶

func (rb *RecordingBuilder) Build() Recording

Build finalize the chain and returns the Recording struct

func (*RecordingBuilder) CumulativeExecutionCount ¶

func (rb *RecordingBuilder) CumulativeExecutionCount(cumulativeexecutioncount int64) *RecordingBuilder

func (*RecordingBuilder) CumulativeExecutionTime ¶

func (rb *RecordingBuilder) CumulativeExecutionTime(cumulativeexecutiontime *DurationBuilder) *RecordingBuilder

func (*RecordingBuilder) CumulativeExecutionTimeMillis ¶

func (rb *RecordingBuilder) CumulativeExecutionTimeMillis(cumulativeexecutiontimemillis *DurationValueUnitMillisBuilder) *RecordingBuilder

func (*RecordingBuilder) Name ¶

func (rb *RecordingBuilder) Name(name string) *RecordingBuilder

type RecoveryBytes ¶

type RecoveryBytes struct {
	Percent                      Percentage `json:"percent"`
	Recovered                    *ByteSize  `json:"recovered,omitempty"`
	RecoveredFromSnapshot        *ByteSize  `json:"recovered_from_snapshot,omitempty"`
	RecoveredFromSnapshotInBytes *ByteSize  `json:"recovered_from_snapshot_in_bytes,omitempty"`
	RecoveredInBytes             ByteSize   `json:"recovered_in_bytes"`
	Reused                       *ByteSize  `json:"reused,omitempty"`
	ReusedInBytes                ByteSize   `json:"reused_in_bytes"`
	Total                        *ByteSize  `json:"total,omitempty"`
	TotalInBytes                 ByteSize   `json:"total_in_bytes"`
}

RecoveryBytes type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/recovery/types.ts#L38-L48

type RecoveryBytesBuilder ¶

type RecoveryBytesBuilder struct {
	// contains filtered or unexported fields
}

RecoveryBytesBuilder holds RecoveryBytes struct and provides a builder API.

func NewRecoveryBytesBuilder ¶

func NewRecoveryBytesBuilder() *RecoveryBytesBuilder

NewRecoveryBytes provides a builder for the RecoveryBytes struct.

func (*RecoveryBytesBuilder) Build ¶

func (rb *RecoveryBytesBuilder) Build() RecoveryBytes

Build finalize the chain and returns the RecoveryBytes struct

func (*RecoveryBytesBuilder) Percent ¶

func (*RecoveryBytesBuilder) Recovered ¶

func (rb *RecoveryBytesBuilder) Recovered(recovered *ByteSizeBuilder) *RecoveryBytesBuilder

func (*RecoveryBytesBuilder) RecoveredFromSnapshot ¶

func (rb *RecoveryBytesBuilder) RecoveredFromSnapshot(recoveredfromsnapshot *ByteSizeBuilder) *RecoveryBytesBuilder

func (*RecoveryBytesBuilder) RecoveredFromSnapshotInBytes ¶

func (rb *RecoveryBytesBuilder) RecoveredFromSnapshotInBytes(recoveredfromsnapshotinbytes *ByteSizeBuilder) *RecoveryBytesBuilder

func (*RecoveryBytesBuilder) RecoveredInBytes ¶

func (rb *RecoveryBytesBuilder) RecoveredInBytes(recoveredinbytes *ByteSizeBuilder) *RecoveryBytesBuilder

func (*RecoveryBytesBuilder) Reused ¶

func (*RecoveryBytesBuilder) ReusedInBytes ¶

func (rb *RecoveryBytesBuilder) ReusedInBytes(reusedinbytes *ByteSizeBuilder) *RecoveryBytesBuilder

func (*RecoveryBytesBuilder) Total ¶

func (*RecoveryBytesBuilder) TotalInBytes ¶

func (rb *RecoveryBytesBuilder) TotalInBytes(totalinbytes *ByteSizeBuilder) *RecoveryBytesBuilder

type RecoveryFiles ¶

type RecoveryFiles struct {
	Details   []FileDetails `json:"details,omitempty"`
	Percent   Percentage    `json:"percent"`
	Recovered int64         `json:"recovered"`
	Reused    int64         `json:"reused"`
	Total     int64         `json:"total"`
}

RecoveryFiles type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/recovery/types.ts#L56-L62

type RecoveryFilesBuilder ¶

type RecoveryFilesBuilder struct {
	// contains filtered or unexported fields
}

RecoveryFilesBuilder holds RecoveryFiles struct and provides a builder API.

func NewRecoveryFilesBuilder ¶

func NewRecoveryFilesBuilder() *RecoveryFilesBuilder

NewRecoveryFiles provides a builder for the RecoveryFiles struct.

func (*RecoveryFilesBuilder) Build ¶

func (rb *RecoveryFilesBuilder) Build() RecoveryFiles

Build finalize the chain and returns the RecoveryFiles struct

func (*RecoveryFilesBuilder) Details ¶

func (*RecoveryFilesBuilder) Percent ¶

func (*RecoveryFilesBuilder) Recovered ¶

func (rb *RecoveryFilesBuilder) Recovered(recovered int64) *RecoveryFilesBuilder

func (*RecoveryFilesBuilder) Reused ¶

func (rb *RecoveryFilesBuilder) Reused(reused int64) *RecoveryFilesBuilder

func (*RecoveryFilesBuilder) Total ¶

type RecoveryIndexStatus ¶

type RecoveryIndexStatus struct {
	Bytes                      *RecoveryBytes          `json:"bytes,omitempty"`
	Files                      RecoveryFiles           `json:"files"`
	Size                       RecoveryBytes           `json:"size"`
	SourceThrottleTime         *Duration               `json:"source_throttle_time,omitempty"`
	SourceThrottleTimeInMillis DurationValueUnitMillis `json:"source_throttle_time_in_millis"`
	TargetThrottleTime         *Duration               `json:"target_throttle_time,omitempty"`
	TargetThrottleTimeInMillis DurationValueUnitMillis `json:"target_throttle_time_in_millis"`
	TotalTime                  *Duration               `json:"total_time,omitempty"`
	TotalTimeInMillis          DurationValueUnitMillis `json:"total_time_in_millis"`
}

RecoveryIndexStatus type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/recovery/types.ts#L64-L74

type RecoveryIndexStatusBuilder ¶

type RecoveryIndexStatusBuilder struct {
	// contains filtered or unexported fields
}

RecoveryIndexStatusBuilder holds RecoveryIndexStatus struct and provides a builder API.

func NewRecoveryIndexStatusBuilder ¶

func NewRecoveryIndexStatusBuilder() *RecoveryIndexStatusBuilder

NewRecoveryIndexStatus provides a builder for the RecoveryIndexStatus struct.

func (*RecoveryIndexStatusBuilder) Build ¶

Build finalize the chain and returns the RecoveryIndexStatus struct

func (*RecoveryIndexStatusBuilder) Bytes ¶

func (*RecoveryIndexStatusBuilder) Files ¶

func (*RecoveryIndexStatusBuilder) Size ¶

func (*RecoveryIndexStatusBuilder) SourceThrottleTime ¶

func (rb *RecoveryIndexStatusBuilder) SourceThrottleTime(sourcethrottletime *DurationBuilder) *RecoveryIndexStatusBuilder

func (*RecoveryIndexStatusBuilder) SourceThrottleTimeInMillis ¶

func (rb *RecoveryIndexStatusBuilder) SourceThrottleTimeInMillis(sourcethrottletimeinmillis *DurationValueUnitMillisBuilder) *RecoveryIndexStatusBuilder

func (*RecoveryIndexStatusBuilder) TargetThrottleTime ¶

func (rb *RecoveryIndexStatusBuilder) TargetThrottleTime(targetthrottletime *DurationBuilder) *RecoveryIndexStatusBuilder

func (*RecoveryIndexStatusBuilder) TargetThrottleTimeInMillis ¶

func (rb *RecoveryIndexStatusBuilder) TargetThrottleTimeInMillis(targetthrottletimeinmillis *DurationValueUnitMillisBuilder) *RecoveryIndexStatusBuilder

func (*RecoveryIndexStatusBuilder) TotalTime ¶

func (*RecoveryIndexStatusBuilder) TotalTimeInMillis ¶

type RecoveryOrigin ¶

type RecoveryOrigin struct {
	BootstrapNewHistoryUuid *bool             `json:"bootstrap_new_history_uuid,omitempty"`
	Host                    *Host             `json:"host,omitempty"`
	Hostname                *string           `json:"hostname,omitempty"`
	Id                      *Id               `json:"id,omitempty"`
	Index                   *IndexName        `json:"index,omitempty"`
	Ip                      *Ip               `json:"ip,omitempty"`
	Name                    *Name             `json:"name,omitempty"`
	Repository              *Name             `json:"repository,omitempty"`
	RestoreUUID             *Uuid             `json:"restoreUUID,omitempty"`
	Snapshot                *Name             `json:"snapshot,omitempty"`
	TransportAddress        *TransportAddress `json:"transport_address,omitempty"`
	Version                 *VersionString    `json:"version,omitempty"`
}

RecoveryOrigin type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/recovery/types.ts#L76-L89

type RecoveryOriginBuilder ¶

type RecoveryOriginBuilder struct {
	// contains filtered or unexported fields
}

RecoveryOriginBuilder holds RecoveryOrigin struct and provides a builder API.

func NewRecoveryOriginBuilder ¶

func NewRecoveryOriginBuilder() *RecoveryOriginBuilder

NewRecoveryOrigin provides a builder for the RecoveryOrigin struct.

func (*RecoveryOriginBuilder) BootstrapNewHistoryUuid ¶

func (rb *RecoveryOriginBuilder) BootstrapNewHistoryUuid(bootstrapnewhistoryuuid bool) *RecoveryOriginBuilder

func (*RecoveryOriginBuilder) Build ¶

Build finalize the chain and returns the RecoveryOrigin struct

func (*RecoveryOriginBuilder) Host ¶

func (*RecoveryOriginBuilder) Hostname ¶

func (rb *RecoveryOriginBuilder) Hostname(hostname string) *RecoveryOriginBuilder

func (*RecoveryOriginBuilder) Id ¶

func (*RecoveryOriginBuilder) Index ¶

func (*RecoveryOriginBuilder) Ip ¶

func (*RecoveryOriginBuilder) Name ¶

func (*RecoveryOriginBuilder) Repository ¶

func (rb *RecoveryOriginBuilder) Repository(repository Name) *RecoveryOriginBuilder

func (*RecoveryOriginBuilder) RestoreUUID ¶

func (rb *RecoveryOriginBuilder) RestoreUUID(restoreuuid Uuid) *RecoveryOriginBuilder

func (*RecoveryOriginBuilder) Snapshot ¶

func (rb *RecoveryOriginBuilder) Snapshot(snapshot Name) *RecoveryOriginBuilder

func (*RecoveryOriginBuilder) TransportAddress ¶

func (rb *RecoveryOriginBuilder) TransportAddress(transportaddress TransportAddress) *RecoveryOriginBuilder

func (*RecoveryOriginBuilder) Version ¶

type RecoveryRecord ¶

type RecoveryRecord struct {
	// Bytes number of bytes to recover
	Bytes *string `json:"bytes,omitempty"`
	// BytesPercent percent of bytes recovered
	BytesPercent *Percentage `json:"bytes_percent,omitempty"`
	// BytesRecovered bytes recovered
	BytesRecovered *string `json:"bytes_recovered,omitempty"`
	// BytesTotal total number of bytes
	BytesTotal *string `json:"bytes_total,omitempty"`
	// Files number of files to recover
	Files *string `json:"files,omitempty"`
	// FilesPercent percent of files recovered
	FilesPercent *Percentage `json:"files_percent,omitempty"`
	// FilesRecovered files recovered
	FilesRecovered *string `json:"files_recovered,omitempty"`
	// FilesTotal total number of files
	FilesTotal *string `json:"files_total,omitempty"`
	// Index index name
	Index *IndexName `json:"index,omitempty"`
	// Repository repository
	Repository *string `json:"repository,omitempty"`
	// Shard shard name
	Shard *string `json:"shard,omitempty"`
	// Snapshot snapshot
	Snapshot *string `json:"snapshot,omitempty"`
	// SourceHost source host
	SourceHost *string `json:"source_host,omitempty"`
	// SourceNode source node name
	SourceNode *string `json:"source_node,omitempty"`
	// Stage recovery stage
	Stage *string `json:"stage,omitempty"`
	// StartTime recovery start time
	StartTime *DateTime `json:"start_time,omitempty"`
	// StartTimeMillis recovery start time in epoch milliseconds
	StartTimeMillis *EpochTimeUnitMillis `json:"start_time_millis,omitempty"`
	// StopTime recovery stop time
	StopTime *DateTime `json:"stop_time,omitempty"`
	// StopTimeMillis recovery stop time in epoch milliseconds
	StopTimeMillis *EpochTimeUnitMillis `json:"stop_time_millis,omitempty"`
	// TargetHost target host
	TargetHost *string `json:"target_host,omitempty"`
	// TargetNode target node name
	TargetNode *string `json:"target_node,omitempty"`
	// Time recovery time
	Time *Duration `json:"time,omitempty"`
	// TranslogOps number of translog ops to recover
	TranslogOps *string `json:"translog_ops,omitempty"`
	// TranslogOpsPercent percent of translog ops recovered
	TranslogOpsPercent *Percentage `json:"translog_ops_percent,omitempty"`
	// TranslogOpsRecovered translog ops recovered
	TranslogOpsRecovered *string `json:"translog_ops_recovered,omitempty"`
	// Type recovery type
	Type *string `json:"type,omitempty"`
}

RecoveryRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/recovery/types.ts#L24-L155

type RecoveryRecordBuilder ¶

type RecoveryRecordBuilder struct {
	// contains filtered or unexported fields
}

RecoveryRecordBuilder holds RecoveryRecord struct and provides a builder API.

func NewRecoveryRecordBuilder ¶

func NewRecoveryRecordBuilder() *RecoveryRecordBuilder

NewRecoveryRecord provides a builder for the RecoveryRecord struct.

func (*RecoveryRecordBuilder) Build ¶

Build finalize the chain and returns the RecoveryRecord struct

func (*RecoveryRecordBuilder) Bytes ¶

func (*RecoveryRecordBuilder) BytesPercent ¶

func (rb *RecoveryRecordBuilder) BytesPercent(bytespercent *PercentageBuilder) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) BytesRecovered ¶

func (rb *RecoveryRecordBuilder) BytesRecovered(bytesrecovered string) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) BytesTotal ¶

func (rb *RecoveryRecordBuilder) BytesTotal(bytestotal string) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) Files ¶

func (*RecoveryRecordBuilder) FilesPercent ¶

func (rb *RecoveryRecordBuilder) FilesPercent(filespercent *PercentageBuilder) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) FilesRecovered ¶

func (rb *RecoveryRecordBuilder) FilesRecovered(filesrecovered string) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) FilesTotal ¶

func (rb *RecoveryRecordBuilder) FilesTotal(filestotal string) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) Index ¶

func (*RecoveryRecordBuilder) Repository ¶

func (rb *RecoveryRecordBuilder) Repository(repository string) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) Shard ¶

func (*RecoveryRecordBuilder) Snapshot ¶

func (rb *RecoveryRecordBuilder) Snapshot(snapshot string) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) SourceHost ¶

func (rb *RecoveryRecordBuilder) SourceHost(sourcehost string) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) SourceNode ¶

func (rb *RecoveryRecordBuilder) SourceNode(sourcenode string) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) Stage ¶

func (*RecoveryRecordBuilder) StartTime ¶

func (rb *RecoveryRecordBuilder) StartTime(starttime *DateTimeBuilder) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) StartTimeMillis ¶

func (rb *RecoveryRecordBuilder) StartTimeMillis(starttimemillis *EpochTimeUnitMillisBuilder) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) StopTime ¶

func (*RecoveryRecordBuilder) StopTimeMillis ¶

func (rb *RecoveryRecordBuilder) StopTimeMillis(stoptimemillis *EpochTimeUnitMillisBuilder) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) TargetHost ¶

func (rb *RecoveryRecordBuilder) TargetHost(targethost string) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) TargetNode ¶

func (rb *RecoveryRecordBuilder) TargetNode(targetnode string) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) Time ¶

func (*RecoveryRecordBuilder) TranslogOps ¶

func (rb *RecoveryRecordBuilder) TranslogOps(translogops string) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) TranslogOpsPercent ¶

func (rb *RecoveryRecordBuilder) TranslogOpsPercent(translogopspercent *PercentageBuilder) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) TranslogOpsRecovered ¶

func (rb *RecoveryRecordBuilder) TranslogOpsRecovered(translogopsrecovered string) *RecoveryRecordBuilder

func (*RecoveryRecordBuilder) Type_ ¶

type RecoveryStartStatus ¶

type RecoveryStartStatus struct {
	CheckIndexTime         *Duration               `json:"check_index_time,omitempty"`
	CheckIndexTimeInMillis DurationValueUnitMillis `json:"check_index_time_in_millis"`
	TotalTime              *Duration               `json:"total_time,omitempty"`
	TotalTimeInMillis      DurationValueUnitMillis `json:"total_time_in_millis"`
}

RecoveryStartStatus type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/recovery/types.ts#L91-L96

type RecoveryStartStatusBuilder ¶

type RecoveryStartStatusBuilder struct {
	// contains filtered or unexported fields
}

RecoveryStartStatusBuilder holds RecoveryStartStatus struct and provides a builder API.

func NewRecoveryStartStatusBuilder ¶

func NewRecoveryStartStatusBuilder() *RecoveryStartStatusBuilder

NewRecoveryStartStatus provides a builder for the RecoveryStartStatus struct.

func (*RecoveryStartStatusBuilder) Build ¶

Build finalize the chain and returns the RecoveryStartStatus struct

func (*RecoveryStartStatusBuilder) CheckIndexTime ¶

func (rb *RecoveryStartStatusBuilder) CheckIndexTime(checkindextime *DurationBuilder) *RecoveryStartStatusBuilder

func (*RecoveryStartStatusBuilder) CheckIndexTimeInMillis ¶

func (rb *RecoveryStartStatusBuilder) CheckIndexTimeInMillis(checkindextimeinmillis *DurationValueUnitMillisBuilder) *RecoveryStartStatusBuilder

func (*RecoveryStartStatusBuilder) TotalTime ¶

func (*RecoveryStartStatusBuilder) TotalTimeInMillis ¶

type RecoveryStats ¶

type RecoveryStats struct {
	CurrentAsSource      int64                   `json:"current_as_source"`
	CurrentAsTarget      int64                   `json:"current_as_target"`
	ThrottleTime         *Duration               `json:"throttle_time,omitempty"`
	ThrottleTimeInMillis DurationValueUnitMillis `json:"throttle_time_in_millis"`
}

RecoveryStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L161-L166

type RecoveryStatsBuilder ¶

type RecoveryStatsBuilder struct {
	// contains filtered or unexported fields
}

RecoveryStatsBuilder holds RecoveryStats struct and provides a builder API.

func NewRecoveryStatsBuilder ¶

func NewRecoveryStatsBuilder() *RecoveryStatsBuilder

NewRecoveryStats provides a builder for the RecoveryStats struct.

func (*RecoveryStatsBuilder) Build ¶

func (rb *RecoveryStatsBuilder) Build() RecoveryStats

Build finalize the chain and returns the RecoveryStats struct

func (*RecoveryStatsBuilder) CurrentAsSource ¶

func (rb *RecoveryStatsBuilder) CurrentAsSource(currentassource int64) *RecoveryStatsBuilder

func (*RecoveryStatsBuilder) CurrentAsTarget ¶

func (rb *RecoveryStatsBuilder) CurrentAsTarget(currentastarget int64) *RecoveryStatsBuilder

func (*RecoveryStatsBuilder) ThrottleTime ¶

func (rb *RecoveryStatsBuilder) ThrottleTime(throttletime *DurationBuilder) *RecoveryStatsBuilder

func (*RecoveryStatsBuilder) ThrottleTimeInMillis ¶

func (rb *RecoveryStatsBuilder) ThrottleTimeInMillis(throttletimeinmillis *DurationValueUnitMillisBuilder) *RecoveryStatsBuilder

type RecoveryStatusBuilder ¶

type RecoveryStatusBuilder struct {
	// contains filtered or unexported fields
}

RecoveryStatusBuilder holds RecoveryStatus struct and provides a builder API.

func NewRecoveryStatusBuilder ¶

func NewRecoveryStatusBuilder() *RecoveryStatusBuilder

NewRecoveryStatus provides a builder for the RecoveryStatus struct.

func (*RecoveryStatusBuilder) Build ¶

Build finalize the chain and returns the RecoveryStatus struct

func (*RecoveryStatusBuilder) Shards ¶

type RefreshStats ¶

type RefreshStats struct {
	ExternalTotal             int64                   `json:"external_total"`
	ExternalTotalTimeInMillis DurationValueUnitMillis `json:"external_total_time_in_millis"`
	Listeners                 int64                   `json:"listeners"`
	Total                     int64                   `json:"total"`
	TotalTime                 *Duration               `json:"total_time,omitempty"`
	TotalTimeInMillis         DurationValueUnitMillis `json:"total_time_in_millis"`
}

RefreshStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L168-L175

type RefreshStatsBuilder ¶

type RefreshStatsBuilder struct {
	// contains filtered or unexported fields
}

RefreshStatsBuilder holds RefreshStats struct and provides a builder API.

func NewRefreshStatsBuilder ¶

func NewRefreshStatsBuilder() *RefreshStatsBuilder

NewRefreshStats provides a builder for the RefreshStats struct.

func (*RefreshStatsBuilder) Build ¶

func (rb *RefreshStatsBuilder) Build() RefreshStats

Build finalize the chain and returns the RefreshStats struct

func (*RefreshStatsBuilder) ExternalTotal ¶

func (rb *RefreshStatsBuilder) ExternalTotal(externaltotal int64) *RefreshStatsBuilder

func (*RefreshStatsBuilder) ExternalTotalTimeInMillis ¶

func (rb *RefreshStatsBuilder) ExternalTotalTimeInMillis(externaltotaltimeinmillis *DurationValueUnitMillisBuilder) *RefreshStatsBuilder

func (*RefreshStatsBuilder) Listeners ¶

func (rb *RefreshStatsBuilder) Listeners(listeners int64) *RefreshStatsBuilder

func (*RefreshStatsBuilder) Total ¶

func (rb *RefreshStatsBuilder) Total(total int64) *RefreshStatsBuilder

func (*RefreshStatsBuilder) TotalTime ¶

func (rb *RefreshStatsBuilder) TotalTime(totaltime *DurationBuilder) *RefreshStatsBuilder

func (*RefreshStatsBuilder) TotalTimeInMillis ¶

func (rb *RefreshStatsBuilder) TotalTimeInMillis(totaltimeinmillis *DurationValueUnitMillisBuilder) *RefreshStatsBuilder

type RegexpQuery ¶

type RegexpQuery struct {
	Boost                 *float32               `json:"boost,omitempty"`
	CaseInsensitive       *bool                  `json:"case_insensitive,omitempty"`
	Flags                 *string                `json:"flags,omitempty"`
	MaxDeterminizedStates *int                   `json:"max_determinized_states,omitempty"`
	QueryName_            *string                `json:"_name,omitempty"`
	Rewrite               *MultiTermQueryRewrite `json:"rewrite,omitempty"`
	Value                 string                 `json:"value"`
}

RegexpQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L111-L123

type RegexpQueryBuilder ¶

type RegexpQueryBuilder struct {
	// contains filtered or unexported fields
}

RegexpQueryBuilder holds RegexpQuery struct and provides a builder API.

func NewRegexpQueryBuilder ¶

func NewRegexpQueryBuilder() *RegexpQueryBuilder

NewRegexpQuery provides a builder for the RegexpQuery struct.

func (*RegexpQueryBuilder) Boost ¶

func (rb *RegexpQueryBuilder) Boost(boost float32) *RegexpQueryBuilder

func (*RegexpQueryBuilder) Build ¶

func (rb *RegexpQueryBuilder) Build() RegexpQuery

Build finalize the chain and returns the RegexpQuery struct

func (*RegexpQueryBuilder) CaseInsensitive ¶

func (rb *RegexpQueryBuilder) CaseInsensitive(caseinsensitive bool) *RegexpQueryBuilder

func (*RegexpQueryBuilder) Flags ¶

func (rb *RegexpQueryBuilder) Flags(flags string) *RegexpQueryBuilder

func (*RegexpQueryBuilder) MaxDeterminizedStates ¶

func (rb *RegexpQueryBuilder) MaxDeterminizedStates(maxdeterminizedstates int) *RegexpQueryBuilder

func (*RegexpQueryBuilder) QueryName_ ¶

func (rb *RegexpQueryBuilder) QueryName_(queryname_ string) *RegexpQueryBuilder

func (*RegexpQueryBuilder) Rewrite ¶

func (*RegexpQueryBuilder) Value ¶

func (rb *RegexpQueryBuilder) Value(value string) *RegexpQueryBuilder

type RegressionInferenceOptions ¶

type RegressionInferenceOptions struct {
	// NumTopFeatureImportanceValues Specifies the maximum number of feature importance values per document.
	NumTopFeatureImportanceValues *int `json:"num_top_feature_importance_values,omitempty"`
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *Field `json:"results_field,omitempty"`
}

RegressionInferenceOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L69-L78

type RegressionInferenceOptionsBuilder ¶

type RegressionInferenceOptionsBuilder struct {
	// contains filtered or unexported fields
}

RegressionInferenceOptionsBuilder holds RegressionInferenceOptions struct and provides a builder API.

func NewRegressionInferenceOptionsBuilder ¶

func NewRegressionInferenceOptionsBuilder() *RegressionInferenceOptionsBuilder

NewRegressionInferenceOptions provides a builder for the RegressionInferenceOptions struct.

func (*RegressionInferenceOptionsBuilder) Build ¶

Build finalize the chain and returns the RegressionInferenceOptions struct

func (*RegressionInferenceOptionsBuilder) NumTopFeatureImportanceValues ¶

func (rb *RegressionInferenceOptionsBuilder) NumTopFeatureImportanceValues(numtopfeatureimportancevalues int) *RegressionInferenceOptionsBuilder

func (*RegressionInferenceOptionsBuilder) ResultsField ¶

type ReindexNode ¶

type ReindexNode struct {
	Attributes       map[string]string      `json:"attributes"`
	Host             Host                   `json:"host"`
	Ip               Ip                     `json:"ip"`
	Name             Name                   `json:"name"`
	Roles            *NodeRoles             `json:"roles,omitempty"`
	Tasks            map[TaskId]ReindexTask `json:"tasks"`
	TransportAddress TransportAddress       `json:"transport_address"`
}

ReindexNode type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/reindex_rethrottle/types.ts#L33-L35

type ReindexNodeBuilder ¶

type ReindexNodeBuilder struct {
	// contains filtered or unexported fields
}

ReindexNodeBuilder holds ReindexNode struct and provides a builder API.

func NewReindexNodeBuilder ¶

func NewReindexNodeBuilder() *ReindexNodeBuilder

NewReindexNode provides a builder for the ReindexNode struct.

func (*ReindexNodeBuilder) Attributes ¶

func (rb *ReindexNodeBuilder) Attributes(value map[string]string) *ReindexNodeBuilder

func (*ReindexNodeBuilder) Build ¶

func (rb *ReindexNodeBuilder) Build() ReindexNode

Build finalize the chain and returns the ReindexNode struct

func (*ReindexNodeBuilder) Host ¶

func (rb *ReindexNodeBuilder) Host(host Host) *ReindexNodeBuilder

func (*ReindexNodeBuilder) Ip ¶

func (*ReindexNodeBuilder) Name ¶

func (rb *ReindexNodeBuilder) Name(name Name) *ReindexNodeBuilder

func (*ReindexNodeBuilder) Roles ¶

func (*ReindexNodeBuilder) Tasks ¶

func (*ReindexNodeBuilder) TransportAddress ¶

func (rb *ReindexNodeBuilder) TransportAddress(transportaddress TransportAddress) *ReindexNodeBuilder

type ReindexStatus ¶

type ReindexStatus struct {
	Batches              int64                   `json:"batches"`
	Created              int64                   `json:"created"`
	Deleted              int64                   `json:"deleted"`
	Noops                int64                   `json:"noops"`
	RequestsPerSecond    float32                 `json:"requests_per_second"`
	Retries              Retries                 `json:"retries"`
	Throttled            *Duration               `json:"throttled,omitempty"`
	ThrottledMillis      DurationValueUnitMillis `json:"throttled_millis"`
	ThrottledUntil       *Duration               `json:"throttled_until,omitempty"`
	ThrottledUntilMillis DurationValueUnitMillis `json:"throttled_until_millis"`
	Total                int64                   `json:"total"`
	Updated              int64                   `json:"updated"`
	VersionConflicts     int64                   `json:"version_conflicts"`
}

ReindexStatus type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/reindex_rethrottle/types.ts#L37-L51

type ReindexStatusBuilder ¶

type ReindexStatusBuilder struct {
	// contains filtered or unexported fields
}

ReindexStatusBuilder holds ReindexStatus struct and provides a builder API.

func NewReindexStatusBuilder ¶

func NewReindexStatusBuilder() *ReindexStatusBuilder

NewReindexStatus provides a builder for the ReindexStatus struct.

func (*ReindexStatusBuilder) Batches ¶

func (rb *ReindexStatusBuilder) Batches(batches int64) *ReindexStatusBuilder

func (*ReindexStatusBuilder) Build ¶

func (rb *ReindexStatusBuilder) Build() ReindexStatus

Build finalize the chain and returns the ReindexStatus struct

func (*ReindexStatusBuilder) Created ¶

func (rb *ReindexStatusBuilder) Created(created int64) *ReindexStatusBuilder

func (*ReindexStatusBuilder) Deleted ¶

func (rb *ReindexStatusBuilder) Deleted(deleted int64) *ReindexStatusBuilder

func (*ReindexStatusBuilder) Noops ¶

func (*ReindexStatusBuilder) RequestsPerSecond ¶

func (rb *ReindexStatusBuilder) RequestsPerSecond(requestspersecond float32) *ReindexStatusBuilder

func (*ReindexStatusBuilder) Retries ¶

func (*ReindexStatusBuilder) Throttled ¶

func (rb *ReindexStatusBuilder) Throttled(throttled *DurationBuilder) *ReindexStatusBuilder

func (*ReindexStatusBuilder) ThrottledMillis ¶

func (rb *ReindexStatusBuilder) ThrottledMillis(throttledmillis *DurationValueUnitMillisBuilder) *ReindexStatusBuilder

func (*ReindexStatusBuilder) ThrottledUntil ¶

func (rb *ReindexStatusBuilder) ThrottledUntil(throttleduntil *DurationBuilder) *ReindexStatusBuilder

func (*ReindexStatusBuilder) ThrottledUntilMillis ¶

func (rb *ReindexStatusBuilder) ThrottledUntilMillis(throttleduntilmillis *DurationValueUnitMillisBuilder) *ReindexStatusBuilder

func (*ReindexStatusBuilder) Total ¶

func (*ReindexStatusBuilder) Updated ¶

func (rb *ReindexStatusBuilder) Updated(updated int64) *ReindexStatusBuilder

func (*ReindexStatusBuilder) VersionConflicts ¶

func (rb *ReindexStatusBuilder) VersionConflicts(versionconflicts int64) *ReindexStatusBuilder

type ReindexTask ¶

type ReindexTask struct {
	Action             string                 `json:"action"`
	Cancellable        bool                   `json:"cancellable"`
	Description        string                 `json:"description"`
	Headers            HttpHeaders            `json:"headers"`
	Id                 int64                  `json:"id"`
	Node               Name                   `json:"node"`
	RunningTimeInNanos DurationValueUnitNanos `json:"running_time_in_nanos"`
	StartTimeInMillis  EpochTimeUnitMillis    `json:"start_time_in_millis"`
	Status             ReindexStatus          `json:"status"`
	Type               string                 `json:"type"`
}

ReindexTask type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/reindex_rethrottle/types.ts#L53-L64

type ReindexTaskBuilder ¶

type ReindexTaskBuilder struct {
	// contains filtered or unexported fields
}

ReindexTaskBuilder holds ReindexTask struct and provides a builder API.

func NewReindexTaskBuilder ¶

func NewReindexTaskBuilder() *ReindexTaskBuilder

NewReindexTask provides a builder for the ReindexTask struct.

func (*ReindexTaskBuilder) Action ¶

func (rb *ReindexTaskBuilder) Action(action string) *ReindexTaskBuilder

func (*ReindexTaskBuilder) Build ¶

func (rb *ReindexTaskBuilder) Build() ReindexTask

Build finalize the chain and returns the ReindexTask struct

func (*ReindexTaskBuilder) Cancellable ¶

func (rb *ReindexTaskBuilder) Cancellable(cancellable bool) *ReindexTaskBuilder

func (*ReindexTaskBuilder) Description ¶

func (rb *ReindexTaskBuilder) Description(description string) *ReindexTaskBuilder

func (*ReindexTaskBuilder) Headers ¶

func (*ReindexTaskBuilder) Id ¶

func (*ReindexTaskBuilder) Node ¶

func (rb *ReindexTaskBuilder) Node(node Name) *ReindexTaskBuilder

func (*ReindexTaskBuilder) RunningTimeInNanos ¶

func (rb *ReindexTaskBuilder) RunningTimeInNanos(runningtimeinnanos *DurationValueUnitNanosBuilder) *ReindexTaskBuilder

func (*ReindexTaskBuilder) StartTimeInMillis ¶

func (rb *ReindexTaskBuilder) StartTimeInMillis(starttimeinmillis *EpochTimeUnitMillisBuilder) *ReindexTaskBuilder

func (*ReindexTaskBuilder) Status ¶

func (*ReindexTaskBuilder) Type_ ¶

func (rb *ReindexTaskBuilder) Type_(type_ string) *ReindexTaskBuilder

type RelationNameBuilder ¶

type RelationNameBuilder struct {
	// contains filtered or unexported fields
}

RelationNameBuilder holds RelationName struct and provides a builder API.

func NewRelationNameBuilder ¶

func NewRelationNameBuilder() *RelationNameBuilder

NewRelationName provides a builder for the RelationName struct.

func (*RelationNameBuilder) Build ¶

func (b *RelationNameBuilder) Build() RelationName

Build finalize the chain and returns the RelationName struct

func (*RelationNameBuilder) RelationName ¶

func (b *RelationNameBuilder) RelationName(value RelationName) *RelationNameBuilder

type ReloadDetails ¶

type ReloadDetails struct {
	Index             string   `json:"index"`
	ReloadedAnalyzers []string `json:"reloaded_analyzers"`
	ReloadedNodeIds   []string `json:"reloaded_node_ids"`
}

ReloadDetails type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/reload_search_analyzers/types.ts#L20-L24

type ReloadDetailsBuilder ¶

type ReloadDetailsBuilder struct {
	// contains filtered or unexported fields
}

ReloadDetailsBuilder holds ReloadDetails struct and provides a builder API.

func NewReloadDetailsBuilder ¶

func NewReloadDetailsBuilder() *ReloadDetailsBuilder

NewReloadDetails provides a builder for the ReloadDetails struct.

func (*ReloadDetailsBuilder) Build ¶

func (rb *ReloadDetailsBuilder) Build() ReloadDetails

Build finalize the chain and returns the ReloadDetails struct

func (*ReloadDetailsBuilder) Index ¶

func (*ReloadDetailsBuilder) ReloadedAnalyzers ¶

func (rb *ReloadDetailsBuilder) ReloadedAnalyzers(reloaded_analyzers ...string) *ReloadDetailsBuilder

func (*ReloadDetailsBuilder) ReloadedNodeIds ¶

func (rb *ReloadDetailsBuilder) ReloadedNodeIds(reloaded_node_ids ...string) *ReloadDetailsBuilder

type RemoteSource ¶

type RemoteSource struct {
	ConnectTimeout *Duration         `json:"connect_timeout,omitempty"`
	Headers        map[string]string `json:"headers,omitempty"`
	Host           Host              `json:"host"`
	Password       *Password         `json:"password,omitempty"`
	SocketTimeout  *Duration         `json:"socket_timeout,omitempty"`
	Username       *Username         `json:"username,omitempty"`
}

RemoteSource type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/reindex/types.ts#L59-L66

type RemoteSourceBuilder ¶

type RemoteSourceBuilder struct {
	// contains filtered or unexported fields
}

RemoteSourceBuilder holds RemoteSource struct and provides a builder API.

func NewRemoteSourceBuilder ¶

func NewRemoteSourceBuilder() *RemoteSourceBuilder

NewRemoteSource provides a builder for the RemoteSource struct.

func (*RemoteSourceBuilder) Build ¶

func (rb *RemoteSourceBuilder) Build() RemoteSource

Build finalize the chain and returns the RemoteSource struct

func (*RemoteSourceBuilder) ConnectTimeout ¶

func (rb *RemoteSourceBuilder) ConnectTimeout(connecttimeout *DurationBuilder) *RemoteSourceBuilder

func (*RemoteSourceBuilder) Headers ¶

func (rb *RemoteSourceBuilder) Headers(value map[string]string) *RemoteSourceBuilder

func (*RemoteSourceBuilder) Host ¶

func (*RemoteSourceBuilder) Password ¶

func (rb *RemoteSourceBuilder) Password(password Password) *RemoteSourceBuilder

func (*RemoteSourceBuilder) SocketTimeout ¶

func (rb *RemoteSourceBuilder) SocketTimeout(sockettimeout *DurationBuilder) *RemoteSourceBuilder

func (*RemoteSourceBuilder) Username ¶

func (rb *RemoteSourceBuilder) Username(username Username) *RemoteSourceBuilder

type RemoveAction ¶

type RemoveAction struct {
	Alias     *IndexAlias  `json:"alias,omitempty"`
	Aliases   []IndexAlias `json:"aliases,omitempty"`
	Index     *IndexName   `json:"index,omitempty"`
	Indices   *Indices     `json:"indices,omitempty"`
	MustExist *bool        `json:"must_exist,omitempty"`
}

RemoveAction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/update_aliases/types.ts#L46-L53

type RemoveActionBuilder ¶

type RemoveActionBuilder struct {
	// contains filtered or unexported fields
}

RemoveActionBuilder holds RemoveAction struct and provides a builder API.

func NewRemoveActionBuilder ¶

func NewRemoveActionBuilder() *RemoveActionBuilder

NewRemoveAction provides a builder for the RemoveAction struct.

func (*RemoveActionBuilder) Alias ¶

func (*RemoveActionBuilder) Aliases ¶

func (*RemoveActionBuilder) Build ¶

func (rb *RemoveActionBuilder) Build() RemoveAction

Build finalize the chain and returns the RemoveAction struct

func (*RemoveActionBuilder) Index ¶

func (*RemoveActionBuilder) Indices ¶

func (*RemoveActionBuilder) MustExist ¶

func (rb *RemoveActionBuilder) MustExist(mustexist bool) *RemoveActionBuilder

type RemoveDuplicatesTokenFilter ¶

type RemoveDuplicatesTokenFilter struct {
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

RemoveDuplicatesTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L300-L302

type RemoveDuplicatesTokenFilterBuilder ¶

type RemoveDuplicatesTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

RemoveDuplicatesTokenFilterBuilder holds RemoveDuplicatesTokenFilter struct and provides a builder API.

func NewRemoveDuplicatesTokenFilterBuilder ¶

func NewRemoveDuplicatesTokenFilterBuilder() *RemoveDuplicatesTokenFilterBuilder

NewRemoveDuplicatesTokenFilter provides a builder for the RemoveDuplicatesTokenFilter struct.

func (*RemoveDuplicatesTokenFilterBuilder) Build ¶

Build finalize the chain and returns the RemoveDuplicatesTokenFilter struct

func (*RemoveDuplicatesTokenFilterBuilder) Version ¶

type RemoveIndexAction ¶

type RemoveIndexAction struct {
	Index     *IndexName `json:"index,omitempty"`
	Indices   *Indices   `json:"indices,omitempty"`
	MustExist *bool      `json:"must_exist,omitempty"`
}

RemoveIndexAction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/update_aliases/types.ts#L55-L60

type RemoveIndexActionBuilder ¶

type RemoveIndexActionBuilder struct {
	// contains filtered or unexported fields
}

RemoveIndexActionBuilder holds RemoveIndexAction struct and provides a builder API.

func NewRemoveIndexActionBuilder ¶

func NewRemoveIndexActionBuilder() *RemoveIndexActionBuilder

NewRemoveIndexAction provides a builder for the RemoveIndexAction struct.

func (*RemoveIndexActionBuilder) Build ¶

Build finalize the chain and returns the RemoveIndexAction struct

func (*RemoveIndexActionBuilder) Index ¶

func (*RemoveIndexActionBuilder) Indices ¶

func (*RemoveIndexActionBuilder) MustExist ¶

func (rb *RemoveIndexActionBuilder) MustExist(mustexist bool) *RemoveIndexActionBuilder

type RemoveProcessor ¶

type RemoveProcessor struct {
	Field         Fields               `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing *bool                `json:"ignore_missing,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
}

RemoveProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L301-L304

type RemoveProcessorBuilder ¶

type RemoveProcessorBuilder struct {
	// contains filtered or unexported fields
}

RemoveProcessorBuilder holds RemoveProcessor struct and provides a builder API.

func NewRemoveProcessorBuilder ¶

func NewRemoveProcessorBuilder() *RemoveProcessorBuilder

NewRemoveProcessor provides a builder for the RemoveProcessor struct.

func (*RemoveProcessorBuilder) Build ¶

Build finalize the chain and returns the RemoveProcessor struct

func (*RemoveProcessorBuilder) Field ¶

func (*RemoveProcessorBuilder) If_ ¶

func (*RemoveProcessorBuilder) IgnoreFailure ¶

func (rb *RemoveProcessorBuilder) IgnoreFailure(ignorefailure bool) *RemoveProcessorBuilder

func (*RemoveProcessorBuilder) IgnoreMissing ¶

func (rb *RemoveProcessorBuilder) IgnoreMissing(ignoremissing bool) *RemoveProcessorBuilder

func (*RemoveProcessorBuilder) OnFailure ¶

func (*RemoveProcessorBuilder) Tag ¶

type RenameProcessor ¶

type RenameProcessor struct {
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing *bool                `json:"ignore_missing,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
	TargetField   Field                `json:"target_field"`
}

RenameProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L306-L310

type RenameProcessorBuilder ¶

type RenameProcessorBuilder struct {
	// contains filtered or unexported fields
}

RenameProcessorBuilder holds RenameProcessor struct and provides a builder API.

func NewRenameProcessorBuilder ¶

func NewRenameProcessorBuilder() *RenameProcessorBuilder

NewRenameProcessor provides a builder for the RenameProcessor struct.

func (*RenameProcessorBuilder) Build ¶

Build finalize the chain and returns the RenameProcessor struct

func (*RenameProcessorBuilder) Field ¶

func (*RenameProcessorBuilder) If_ ¶

func (*RenameProcessorBuilder) IgnoreFailure ¶

func (rb *RenameProcessorBuilder) IgnoreFailure(ignorefailure bool) *RenameProcessorBuilder

func (*RenameProcessorBuilder) IgnoreMissing ¶

func (rb *RenameProcessorBuilder) IgnoreMissing(ignoremissing bool) *RenameProcessorBuilder

func (*RenameProcessorBuilder) OnFailure ¶

func (*RenameProcessorBuilder) Tag ¶

func (*RenameProcessorBuilder) TargetField ¶

func (rb *RenameProcessorBuilder) TargetField(targetfield Field) *RenameProcessorBuilder

type ReportingEmailAttachment ¶

type ReportingEmailAttachment struct {
	Inline   *bool                       `json:"inline,omitempty"`
	Interval *Duration                   `json:"interval,omitempty"`
	Request  *HttpInputRequestDefinition `json:"request,omitempty"`
	Retries  *int                        `json:"retries,omitempty"`
	Url      string                      `json:"url"`
}

ReportingEmailAttachment type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L224-L232

type ReportingEmailAttachmentBuilder ¶

type ReportingEmailAttachmentBuilder struct {
	// contains filtered or unexported fields
}

ReportingEmailAttachmentBuilder holds ReportingEmailAttachment struct and provides a builder API.

func NewReportingEmailAttachmentBuilder ¶

func NewReportingEmailAttachmentBuilder() *ReportingEmailAttachmentBuilder

NewReportingEmailAttachment provides a builder for the ReportingEmailAttachment struct.

func (*ReportingEmailAttachmentBuilder) Build ¶

Build finalize the chain and returns the ReportingEmailAttachment struct

func (*ReportingEmailAttachmentBuilder) Inline ¶

func (*ReportingEmailAttachmentBuilder) Interval ¶

func (*ReportingEmailAttachmentBuilder) Request ¶

func (*ReportingEmailAttachmentBuilder) Retries ¶

func (*ReportingEmailAttachmentBuilder) Url ¶

type RepositoriesRecord ¶

type RepositoriesRecord struct {
	// Id unique repository id
	Id *string `json:"id,omitempty"`
	// Type repository type
	Type *string `json:"type,omitempty"`
}

RepositoriesRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/repositories/types.ts#L20-L31

type RepositoriesRecordBuilder ¶

type RepositoriesRecordBuilder struct {
	// contains filtered or unexported fields
}

RepositoriesRecordBuilder holds RepositoriesRecord struct and provides a builder API.

func NewRepositoriesRecordBuilder ¶

func NewRepositoriesRecordBuilder() *RepositoriesRecordBuilder

NewRepositoriesRecord provides a builder for the RepositoriesRecord struct.

func (*RepositoriesRecordBuilder) Build ¶

Build finalize the chain and returns the RepositoriesRecord struct

func (*RepositoriesRecordBuilder) Id ¶

func (*RepositoriesRecordBuilder) Type_ ¶

type RepositoryBuilder ¶

type RepositoryBuilder struct {
	// contains filtered or unexported fields
}

RepositoryBuilder holds Repository struct and provides a builder API.

func NewRepositoryBuilder ¶

func NewRepositoryBuilder() *RepositoryBuilder

NewRepository provides a builder for the Repository struct.

func (*RepositoryBuilder) Build ¶

func (rb *RepositoryBuilder) Build() Repository

Build finalize the chain and returns the Repository struct

func (*RepositoryBuilder) Settings ¶

func (*RepositoryBuilder) Type_ ¶

func (rb *RepositoryBuilder) Type_(type_ string) *RepositoryBuilder

func (*RepositoryBuilder) Uuid ¶

func (rb *RepositoryBuilder) Uuid(uuid Uuid) *RepositoryBuilder

type RepositoryLocation ¶

type RepositoryLocation struct {
	BasePath string `json:"base_path"`
	// Bucket Bucket name (GCP, S3)
	Bucket *string `json:"bucket,omitempty"`
	// Container Container name (Azure)
	Container *string `json:"container,omitempty"`
}

RepositoryLocation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/RepositoryMeteringInformation.ts#L68-L74

type RepositoryLocationBuilder ¶

type RepositoryLocationBuilder struct {
	// contains filtered or unexported fields
}

RepositoryLocationBuilder holds RepositoryLocation struct and provides a builder API.

func NewRepositoryLocationBuilder ¶

func NewRepositoryLocationBuilder() *RepositoryLocationBuilder

NewRepositoryLocation provides a builder for the RepositoryLocation struct.

func (*RepositoryLocationBuilder) BasePath ¶

func (*RepositoryLocationBuilder) Bucket ¶

func (*RepositoryLocationBuilder) Build ¶

Build finalize the chain and returns the RepositoryLocation struct

func (*RepositoryLocationBuilder) Container ¶

type RepositoryMeteringInformation ¶

type RepositoryMeteringInformation struct {
	// Archived A flag that tells whether or not this object has been archived. When a
	// repository is closed or updated the
	// repository metering information is archived and kept for a certain period of
	// time. This allows retrieving the
	// repository metering information of previous repository instantiations.
	Archived bool `json:"archived"`
	// ClusterVersion The cluster state version when this object was archived, this field can be
	// used as a logical timestamp to delete
	// all the archived metrics up to an observed version. This field is only
	// present for archived repository metering
	// information objects. The main purpose of this field is to avoid possible race
	// conditions during repository metering
	// information deletions, i.e. deleting archived repositories metering
	// information that we haven’t observed yet.
	ClusterVersion *VersionNumber `json:"cluster_version,omitempty"`
	// RepositoryEphemeralId An identifier that changes every time the repository is updated.
	RepositoryEphemeralId Id `json:"repository_ephemeral_id"`
	// RepositoryLocation Represents an unique location within the repository.
	RepositoryLocation RepositoryLocation `json:"repository_location"`
	// RepositoryName Repository name.
	RepositoryName Name `json:"repository_name"`
	// RepositoryStartedAt Time the repository was created or updated. Recorded in milliseconds since
	// the Unix Epoch.
	RepositoryStartedAt EpochTimeUnitMillis `json:"repository_started_at"`
	// RepositoryStoppedAt Time the repository was deleted or updated. Recorded in milliseconds since
	// the Unix Epoch.
	RepositoryStoppedAt *EpochTimeUnitMillis `json:"repository_stopped_at,omitempty"`
	// RepositoryType Repository type.
	RepositoryType string `json:"repository_type"`
	// RequestCounts An object with the number of request performed against the repository grouped
	// by request type.
	RequestCounts RequestCounts `json:"request_counts"`
}

RepositoryMeteringInformation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/RepositoryMeteringInformation.ts#L24-L66

type RepositoryMeteringInformationBuilder ¶

type RepositoryMeteringInformationBuilder struct {
	// contains filtered or unexported fields
}

RepositoryMeteringInformationBuilder holds RepositoryMeteringInformation struct and provides a builder API.

func NewRepositoryMeteringInformationBuilder ¶

func NewRepositoryMeteringInformationBuilder() *RepositoryMeteringInformationBuilder

NewRepositoryMeteringInformation provides a builder for the RepositoryMeteringInformation struct.

func (*RepositoryMeteringInformationBuilder) Archived ¶

func (*RepositoryMeteringInformationBuilder) Build ¶

Build finalize the chain and returns the RepositoryMeteringInformation struct

func (*RepositoryMeteringInformationBuilder) ClusterVersion ¶

func (*RepositoryMeteringInformationBuilder) RepositoryEphemeralId ¶

func (rb *RepositoryMeteringInformationBuilder) RepositoryEphemeralId(repositoryephemeralid Id) *RepositoryMeteringInformationBuilder

func (*RepositoryMeteringInformationBuilder) RepositoryLocation ¶

func (*RepositoryMeteringInformationBuilder) RepositoryName ¶

func (*RepositoryMeteringInformationBuilder) RepositoryStartedAt ¶

func (*RepositoryMeteringInformationBuilder) RepositoryStoppedAt ¶

func (*RepositoryMeteringInformationBuilder) RepositoryType ¶

func (*RepositoryMeteringInformationBuilder) RequestCounts ¶

type RepositorySettings ¶

type RepositorySettings struct {
	ChunkSize         *string `json:"chunk_size,omitempty"`
	Compress          string  `json:"compress,omitempty"`
	ConcurrentStreams string  `json:"concurrent_streams,omitempty"`
	Location          string  `json:"location"`
	ReadOnly          string  `json:"read_only,omitempty"`
}

RepositorySettings type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/SnapshotRepository.ts#L29-L38

type RepositorySettingsBuilder ¶

type RepositorySettingsBuilder struct {
	// contains filtered or unexported fields
}

RepositorySettingsBuilder holds RepositorySettings struct and provides a builder API.

func NewRepositorySettingsBuilder ¶

func NewRepositorySettingsBuilder() *RepositorySettingsBuilder

NewRepositorySettings provides a builder for the RepositorySettings struct.

func (*RepositorySettingsBuilder) Build ¶

Build finalize the chain and returns the RepositorySettings struct

func (*RepositorySettingsBuilder) ChunkSize ¶

func (*RepositorySettingsBuilder) Compress ¶

func (*RepositorySettingsBuilder) ConcurrentStreams ¶

func (rb *RepositorySettingsBuilder) ConcurrentStreams(arg string) *RepositorySettingsBuilder

func (*RepositorySettingsBuilder) Location ¶

func (*RepositorySettingsBuilder) ReadOnly ¶

type RequestBaseBuilder ¶

type RequestBaseBuilder struct {
	// contains filtered or unexported fields
}

RequestBaseBuilder holds RequestBase struct and provides a builder API.

func NewRequestBaseBuilder ¶

func NewRequestBaseBuilder() *RequestBaseBuilder

NewRequestBase provides a builder for the RequestBase struct.

func (*RequestBaseBuilder) Build ¶

func (rb *RequestBaseBuilder) Build() RequestBase

Build finalize the chain and returns the RequestBase struct

type RequestCacheStats ¶

type RequestCacheStats struct {
	Evictions         int64   `json:"evictions"`
	HitCount          int64   `json:"hit_count"`
	MemorySize        *string `json:"memory_size,omitempty"`
	MemorySizeInBytes int64   `json:"memory_size_in_bytes"`
	MissCount         int64   `json:"miss_count"`
}

RequestCacheStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L177-L183

type RequestCacheStatsBuilder ¶

type RequestCacheStatsBuilder struct {
	// contains filtered or unexported fields
}

RequestCacheStatsBuilder holds RequestCacheStats struct and provides a builder API.

func NewRequestCacheStatsBuilder ¶

func NewRequestCacheStatsBuilder() *RequestCacheStatsBuilder

NewRequestCacheStats provides a builder for the RequestCacheStats struct.

func (*RequestCacheStatsBuilder) Build ¶

Build finalize the chain and returns the RequestCacheStats struct

func (*RequestCacheStatsBuilder) Evictions ¶

func (rb *RequestCacheStatsBuilder) Evictions(evictions int64) *RequestCacheStatsBuilder

func (*RequestCacheStatsBuilder) HitCount ¶

func (*RequestCacheStatsBuilder) MemorySize ¶

func (rb *RequestCacheStatsBuilder) MemorySize(memorysize string) *RequestCacheStatsBuilder

func (*RequestCacheStatsBuilder) MemorySizeInBytes ¶

func (rb *RequestCacheStatsBuilder) MemorySizeInBytes(memorysizeinbytes int64) *RequestCacheStatsBuilder

func (*RequestCacheStatsBuilder) MissCount ¶

func (rb *RequestCacheStatsBuilder) MissCount(misscount int64) *RequestCacheStatsBuilder

type RequestCounts ¶

type RequestCounts struct {
	// GetBlob Number of Get Blob requests (Azure)
	GetBlob *int64 `json:"GetBlob,omitempty"`
	// GetBlobProperties Number of Get Blob Properties requests (Azure)
	GetBlobProperties *int64 `json:"GetBlobProperties,omitempty"`
	// GetObject Number of get object requests (GCP, S3)
	GetObject *int64 `json:"GetObject,omitempty"`
	// InsertObject Number of insert object requests, including simple, multipart and resumable
	// uploads. Resumable uploads
	// can perform multiple http requests to insert a single object but they are
	// considered as a single request
	// since they are billed as an individual operation. (GCP)
	InsertObject *int64 `json:"InsertObject,omitempty"`
	// ListBlobs Number of List Blobs requests (Azure)
	ListBlobs *int64 `json:"ListBlobs,omitempty"`
	// ListObjects Number of list objects requests (GCP, S3)
	ListObjects *int64 `json:"ListObjects,omitempty"`
	// PutBlob Number of Put Blob requests (Azure)
	PutBlob *int64 `json:"PutBlob,omitempty"`
	// PutBlock Number of Put Block (Azure)
	PutBlock *int64 `json:"PutBlock,omitempty"`
	// PutBlockList Number of Put Block List requests
	PutBlockList *int64 `json:"PutBlockList,omitempty"`
	// PutMultipartObject Number of Multipart requests, including CreateMultipartUpload, UploadPart and
	// CompleteMultipartUpload requests (S3)
	PutMultipartObject *int64 `json:"PutMultipartObject,omitempty"`
	// PutObject Number of PutObject requests (S3)
	PutObject *int64 `json:"PutObject,omitempty"`
}

RequestCounts type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/RepositoryMeteringInformation.ts#L76-L103

type RequestCountsBuilder ¶

type RequestCountsBuilder struct {
	// contains filtered or unexported fields
}

RequestCountsBuilder holds RequestCounts struct and provides a builder API.

func NewRequestCountsBuilder ¶

func NewRequestCountsBuilder() *RequestCountsBuilder

NewRequestCounts provides a builder for the RequestCounts struct.

func (*RequestCountsBuilder) Build ¶

func (rb *RequestCountsBuilder) Build() RequestCounts

Build finalize the chain and returns the RequestCounts struct

func (*RequestCountsBuilder) GetBlob ¶

func (rb *RequestCountsBuilder) GetBlob(getblob int64) *RequestCountsBuilder

func (*RequestCountsBuilder) GetBlobProperties ¶

func (rb *RequestCountsBuilder) GetBlobProperties(getblobproperties int64) *RequestCountsBuilder

func (*RequestCountsBuilder) GetObject ¶

func (rb *RequestCountsBuilder) GetObject(getobject int64) *RequestCountsBuilder

func (*RequestCountsBuilder) InsertObject ¶

func (rb *RequestCountsBuilder) InsertObject(insertobject int64) *RequestCountsBuilder

func (*RequestCountsBuilder) ListBlobs ¶

func (rb *RequestCountsBuilder) ListBlobs(listblobs int64) *RequestCountsBuilder

func (*RequestCountsBuilder) ListObjects ¶

func (rb *RequestCountsBuilder) ListObjects(listobjects int64) *RequestCountsBuilder

func (*RequestCountsBuilder) PutBlob ¶

func (rb *RequestCountsBuilder) PutBlob(putblob int64) *RequestCountsBuilder

func (*RequestCountsBuilder) PutBlock ¶

func (rb *RequestCountsBuilder) PutBlock(putblock int64) *RequestCountsBuilder

func (*RequestCountsBuilder) PutBlockList ¶

func (rb *RequestCountsBuilder) PutBlockList(putblocklist int64) *RequestCountsBuilder

func (*RequestCountsBuilder) PutMultipartObject ¶

func (rb *RequestCountsBuilder) PutMultipartObject(putmultipartobject int64) *RequestCountsBuilder

func (*RequestCountsBuilder) PutObject ¶

func (rb *RequestCountsBuilder) PutObject(putobject int64) *RequestCountsBuilder

type RerouteDecision ¶

type RerouteDecision struct {
	Decider     string `json:"decider"`
	Decision    string `json:"decision"`
	Explanation string `json:"explanation"`
}

RerouteDecision type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/reroute/types.ts#L86-L90

type RerouteDecisionBuilder ¶

type RerouteDecisionBuilder struct {
	// contains filtered or unexported fields
}

RerouteDecisionBuilder holds RerouteDecision struct and provides a builder API.

func NewRerouteDecisionBuilder ¶

func NewRerouteDecisionBuilder() *RerouteDecisionBuilder

NewRerouteDecision provides a builder for the RerouteDecision struct.

func (*RerouteDecisionBuilder) Build ¶

Build finalize the chain and returns the RerouteDecision struct

func (*RerouteDecisionBuilder) Decider ¶

func (*RerouteDecisionBuilder) Decision ¶

func (rb *RerouteDecisionBuilder) Decision(decision string) *RerouteDecisionBuilder

func (*RerouteDecisionBuilder) Explanation ¶

func (rb *RerouteDecisionBuilder) Explanation(explanation string) *RerouteDecisionBuilder

type RerouteExplanation ¶

type RerouteExplanation struct {
	Command    string            `json:"command"`
	Decisions  []RerouteDecision `json:"decisions"`
	Parameters RerouteParameters `json:"parameters"`
}

RerouteExplanation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/reroute/types.ts#L92-L96

type RerouteExplanationBuilder ¶

type RerouteExplanationBuilder struct {
	// contains filtered or unexported fields
}

RerouteExplanationBuilder holds RerouteExplanation struct and provides a builder API.

func NewRerouteExplanationBuilder ¶

func NewRerouteExplanationBuilder() *RerouteExplanationBuilder

NewRerouteExplanation provides a builder for the RerouteExplanation struct.

func (*RerouteExplanationBuilder) Build ¶

Build finalize the chain and returns the RerouteExplanation struct

func (*RerouteExplanationBuilder) Command ¶

func (*RerouteExplanationBuilder) Decisions ¶

func (*RerouteExplanationBuilder) Parameters ¶

type RerouteParameters ¶

type RerouteParameters struct {
	AllowPrimary bool      `json:"allow_primary"`
	FromNode     *NodeName `json:"from_node,omitempty"`
	Index        IndexName `json:"index"`
	Node         NodeName  `json:"node"`
	Shard        int       `json:"shard"`
	ToNode       *NodeName `json:"to_node,omitempty"`
}

RerouteParameters type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/reroute/types.ts#L98-L105

type RerouteParametersBuilder ¶

type RerouteParametersBuilder struct {
	// contains filtered or unexported fields
}

RerouteParametersBuilder holds RerouteParameters struct and provides a builder API.

func NewRerouteParametersBuilder ¶

func NewRerouteParametersBuilder() *RerouteParametersBuilder

NewRerouteParameters provides a builder for the RerouteParameters struct.

func (*RerouteParametersBuilder) AllowPrimary ¶

func (rb *RerouteParametersBuilder) AllowPrimary(allowprimary bool) *RerouteParametersBuilder

func (*RerouteParametersBuilder) Build ¶

Build finalize the chain and returns the RerouteParameters struct

func (*RerouteParametersBuilder) FromNode ¶

func (*RerouteParametersBuilder) Index ¶

func (*RerouteParametersBuilder) Node ¶

func (*RerouteParametersBuilder) Shard ¶

func (*RerouteParametersBuilder) ToNode ¶

type RescoreBuilder ¶

type RescoreBuilder struct {
	// contains filtered or unexported fields
}

RescoreBuilder holds Rescore struct and provides a builder API.

func NewRescoreBuilder ¶

func NewRescoreBuilder() *RescoreBuilder

NewRescore provides a builder for the Rescore struct.

func (*RescoreBuilder) Build ¶

func (rb *RescoreBuilder) Build() Rescore

Build finalize the chain and returns the Rescore struct

func (*RescoreBuilder) Query ¶

func (*RescoreBuilder) WindowSize ¶

func (rb *RescoreBuilder) WindowSize(windowsize int) *RescoreBuilder

type RescoreQuery ¶

type RescoreQuery struct {
	Query              QueryContainer       `json:"rescore_query"`
	QueryWeight        *float64             `json:"query_weight,omitempty"`
	RescoreQueryWeight *float64             `json:"rescore_query_weight,omitempty"`
	ScoreMode          *scoremode.ScoreMode `json:"score_mode,omitempty"`
}

RescoreQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/rescoring.ts#L28-L34

type RescoreQueryBuilder ¶

type RescoreQueryBuilder struct {
	// contains filtered or unexported fields
}

RescoreQueryBuilder holds RescoreQuery struct and provides a builder API.

func NewRescoreQueryBuilder ¶

func NewRescoreQueryBuilder() *RescoreQueryBuilder

NewRescoreQuery provides a builder for the RescoreQuery struct.

func (*RescoreQueryBuilder) Build ¶

func (rb *RescoreQueryBuilder) Build() RescoreQuery

Build finalize the chain and returns the RescoreQuery struct

func (*RescoreQueryBuilder) Query ¶

func (*RescoreQueryBuilder) QueryWeight ¶

func (rb *RescoreQueryBuilder) QueryWeight(queryweight float64) *RescoreQueryBuilder

func (*RescoreQueryBuilder) RescoreQueryWeight ¶

func (rb *RescoreQueryBuilder) RescoreQueryWeight(rescorequeryweight float64) *RescoreQueryBuilder

func (*RescoreQueryBuilder) ScoreMode ¶

func (rb *RescoreQueryBuilder) ScoreMode(scoremode scoremode.ScoreMode) *RescoreQueryBuilder

type ReservedSize ¶

type ReservedSize struct {
	NodeId Id       `json:"node_id"`
	Path   string   `json:"path"`
	Shards []string `json:"shards"`
	Total  int64    `json:"total"`
}

ReservedSize type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/allocation_explain/types.ts#L71-L76

type ReservedSizeBuilder ¶

type ReservedSizeBuilder struct {
	// contains filtered or unexported fields
}

ReservedSizeBuilder holds ReservedSize struct and provides a builder API.

func NewReservedSizeBuilder ¶

func NewReservedSizeBuilder() *ReservedSizeBuilder

NewReservedSize provides a builder for the ReservedSize struct.

func (*ReservedSizeBuilder) Build ¶

func (rb *ReservedSizeBuilder) Build() ReservedSize

Build finalize the chain and returns the ReservedSize struct

func (*ReservedSizeBuilder) NodeId ¶

func (rb *ReservedSizeBuilder) NodeId(nodeid Id) *ReservedSizeBuilder

func (*ReservedSizeBuilder) Path ¶

func (*ReservedSizeBuilder) Shards ¶

func (rb *ReservedSizeBuilder) Shards(shards ...string) *ReservedSizeBuilder

func (*ReservedSizeBuilder) Total ¶

func (rb *ReservedSizeBuilder) Total(total int64) *ReservedSizeBuilder

type ResolveIndexAliasItemBuilder ¶

type ResolveIndexAliasItemBuilder struct {
	// contains filtered or unexported fields
}

ResolveIndexAliasItemBuilder holds ResolveIndexAliasItem struct and provides a builder API.

func NewResolveIndexAliasItemBuilder ¶

func NewResolveIndexAliasItemBuilder() *ResolveIndexAliasItemBuilder

NewResolveIndexAliasItem provides a builder for the ResolveIndexAliasItem struct.

func (*ResolveIndexAliasItemBuilder) Build ¶

Build finalize the chain and returns the ResolveIndexAliasItem struct

func (*ResolveIndexAliasItemBuilder) Indices ¶

func (*ResolveIndexAliasItemBuilder) Name ¶

type ResolveIndexDataStreamsItem ¶

type ResolveIndexDataStreamsItem struct {
	BackingIndices Indices        `json:"backing_indices"`
	Name           DataStreamName `json:"name"`
	TimestampField Field          `json:"timestamp_field"`
}

ResolveIndexDataStreamsItem type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/resolve_index/ResolveIndexResponse.ts#L42-L46

type ResolveIndexDataStreamsItemBuilder ¶

type ResolveIndexDataStreamsItemBuilder struct {
	// contains filtered or unexported fields
}

ResolveIndexDataStreamsItemBuilder holds ResolveIndexDataStreamsItem struct and provides a builder API.

func NewResolveIndexDataStreamsItemBuilder ¶

func NewResolveIndexDataStreamsItemBuilder() *ResolveIndexDataStreamsItemBuilder

NewResolveIndexDataStreamsItem provides a builder for the ResolveIndexDataStreamsItem struct.

func (*ResolveIndexDataStreamsItemBuilder) BackingIndices ¶

func (*ResolveIndexDataStreamsItemBuilder) Build ¶

Build finalize the chain and returns the ResolveIndexDataStreamsItem struct

func (*ResolveIndexDataStreamsItemBuilder) Name ¶

func (*ResolveIndexDataStreamsItemBuilder) TimestampField ¶

type ResolveIndexItem ¶

type ResolveIndexItem struct {
	Aliases    []string        `json:"aliases,omitempty"`
	Attributes []string        `json:"attributes"`
	DataStream *DataStreamName `json:"data_stream,omitempty"`
	Name       Name            `json:"name"`
}

ResolveIndexItem type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/resolve_index/ResolveIndexResponse.ts#L30-L35

type ResolveIndexItemBuilder ¶

type ResolveIndexItemBuilder struct {
	// contains filtered or unexported fields
}

ResolveIndexItemBuilder holds ResolveIndexItem struct and provides a builder API.

func NewResolveIndexItemBuilder ¶

func NewResolveIndexItemBuilder() *ResolveIndexItemBuilder

NewResolveIndexItem provides a builder for the ResolveIndexItem struct.

func (*ResolveIndexItemBuilder) Aliases ¶

func (rb *ResolveIndexItemBuilder) Aliases(aliases ...string) *ResolveIndexItemBuilder

func (*ResolveIndexItemBuilder) Attributes ¶

func (rb *ResolveIndexItemBuilder) Attributes(attributes ...string) *ResolveIndexItemBuilder

func (*ResolveIndexItemBuilder) Build ¶

Build finalize the chain and returns the ResolveIndexItem struct

func (*ResolveIndexItemBuilder) DataStream ¶

func (*ResolveIndexItemBuilder) Name ¶

type ResourcePrivilegesBuilder ¶

type ResourcePrivilegesBuilder struct {
	// contains filtered or unexported fields
}

ResourcePrivilegesBuilder holds ResourcePrivileges struct and provides a builder API.

func NewResourcePrivilegesBuilder ¶

func NewResourcePrivilegesBuilder() *ResourcePrivilegesBuilder

NewResourcePrivileges provides a builder for the ResourcePrivileges struct.

func (*ResourcePrivilegesBuilder) Build ¶

Build finalize the chain and returns the ResourcePrivileges struct

func (*ResourcePrivilegesBuilder) ResourcePrivileges ¶

type ResponseBase ¶

type ResponseBase struct {
	ClusterName Name `json:"cluster_name"`
	// NodeStats Contains statistics about the number of nodes selected by the request’s node
	// filters.
	NodeStats *NodeStatistics      `json:"_nodes,omitempty"`
	Nodes     map[string]NodeUsage `json:"nodes"`
}

ResponseBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/usage/NodesUsageResponse.ts#L25-L28

type ResponseBaseBuilder ¶

type ResponseBaseBuilder struct {
	// contains filtered or unexported fields
}

ResponseBaseBuilder holds ResponseBase struct and provides a builder API.

func NewResponseBaseBuilder ¶

func NewResponseBaseBuilder() *ResponseBaseBuilder

NewResponseBase provides a builder for the ResponseBase struct.

func (*ResponseBaseBuilder) Build ¶

func (rb *ResponseBaseBuilder) Build() ResponseBase

Build finalize the chain and returns the ResponseBase struct

func (*ResponseBaseBuilder) ClusterName ¶

func (rb *ResponseBaseBuilder) ClusterName(clustername Name) *ResponseBaseBuilder

func (*ResponseBaseBuilder) NodeStats ¶

func (*ResponseBaseBuilder) Nodes ¶

type ResponseBody ¶

type ResponseBody struct {
	Aggregations    map[AggregateName]Aggregate  `json:"aggregations,omitempty"`
	Clusters_       *ClusterStatistics           `json:"_clusters,omitempty"`
	Fields          map[string]interface{}       `json:"fields,omitempty"`
	Hits            HitsMetadata                 `json:"hits"`
	MaxScore        *float64                     `json:"max_score,omitempty"`
	NumReducePhases *int64                       `json:"num_reduce_phases,omitempty"`
	PitId           *Id                          `json:"pit_id,omitempty"`
	Profile         *Profile                     `json:"profile,omitempty"`
	ScrollId_       *ScrollId                    `json:"_scroll_id,omitempty"`
	Shards_         ShardStatistics              `json:"_shards"`
	Suggest         map[SuggestionName][]Suggest `json:"suggest,omitempty"`
	TerminatedEarly *bool                        `json:"terminated_early,omitempty"`
	TimedOut        bool                         `json:"timed_out"`
	Took            int64                        `json:"took"`
}

ResponseBody type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/SearchResponse.ts#L38-L54

type ResponseBodyBuilder ¶

type ResponseBodyBuilder struct {
	// contains filtered or unexported fields
}

ResponseBodyBuilder holds ResponseBody struct and provides a builder API.

func NewResponseBodyBuilder ¶

func NewResponseBodyBuilder() *ResponseBodyBuilder

NewResponseBody provides a builder for the ResponseBody struct.

func (*ResponseBodyBuilder) Aggregations ¶

func (*ResponseBodyBuilder) Build ¶

func (rb *ResponseBodyBuilder) Build() ResponseBody

Build finalize the chain and returns the ResponseBody struct

func (*ResponseBodyBuilder) Clusters_ ¶

func (*ResponseBodyBuilder) Fields ¶

func (rb *ResponseBodyBuilder) Fields(value map[string]interface{}) *ResponseBodyBuilder

func (*ResponseBodyBuilder) Hits ¶

func (*ResponseBodyBuilder) MaxScore ¶

func (rb *ResponseBodyBuilder) MaxScore(maxscore float64) *ResponseBodyBuilder

func (*ResponseBodyBuilder) NumReducePhases ¶

func (rb *ResponseBodyBuilder) NumReducePhases(numreducephases int64) *ResponseBodyBuilder

func (*ResponseBodyBuilder) PitId ¶

func (rb *ResponseBodyBuilder) PitId(pitid Id) *ResponseBodyBuilder

func (*ResponseBodyBuilder) Profile ¶

func (*ResponseBodyBuilder) ScrollId_ ¶

func (rb *ResponseBodyBuilder) ScrollId_(scrollid_ ScrollId) *ResponseBodyBuilder

func (*ResponseBodyBuilder) Shards_ ¶

func (*ResponseBodyBuilder) Suggest ¶

func (*ResponseBodyBuilder) TerminatedEarly ¶

func (rb *ResponseBodyBuilder) TerminatedEarly(terminatedearly bool) *ResponseBodyBuilder

func (*ResponseBodyBuilder) TimedOut ¶

func (rb *ResponseBodyBuilder) TimedOut(timedout bool) *ResponseBodyBuilder

func (*ResponseBodyBuilder) Took ¶

type ResponseItem ¶

type ResponseItem interface{}

ResponseItem holds the union for the following types:

GetResult
MultiGetError

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/mget/types.ts#L57-L60

type ResponseItemBuilder ¶

type ResponseItemBuilder struct {
	// contains filtered or unexported fields
}

ResponseItemBuilder holds ResponseItem struct and provides a builder API.

func NewResponseItemBuilder ¶

func NewResponseItemBuilder() *ResponseItemBuilder

NewResponseItem provides a builder for the ResponseItem struct.

func (*ResponseItemBuilder) Build ¶

func (u *ResponseItemBuilder) Build() ResponseItem

Build finalize the chain and returns the ResponseItem struct

func (*ResponseItemBuilder) GetResult ¶

func (u *ResponseItemBuilder) GetResult(getresult *GetResultBuilder) *ResponseItemBuilder

func (*ResponseItemBuilder) MultiGetError ¶

func (u *ResponseItemBuilder) MultiGetError(multigeterror *MultiGetErrorBuilder) *ResponseItemBuilder

type Retention ¶

type Retention struct {
	// ExpireAfter Time period after which a snapshot is considered expired and eligible for
	// deletion. SLM deletes expired snapshots based on the slm.retention_schedule.
	ExpireAfter Duration `json:"expire_after"`
	// MaxCount Maximum number of snapshots to retain, even if the snapshots have not yet
	// expired. If the number of snapshots in the repository exceeds this limit, the
	// policy retains the most recent snapshots and deletes older snapshots.
	MaxCount int `json:"max_count"`
	// MinCount Minimum number of snapshots to retain, even if the snapshots have expired.
	MinCount int `json:"min_count"`
}

Retention type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/slm/_types/SnapshotLifecycle.ts#L84-L97

type RetentionBuilder ¶

type RetentionBuilder struct {
	// contains filtered or unexported fields
}

RetentionBuilder holds Retention struct and provides a builder API.

func NewRetentionBuilder ¶

func NewRetentionBuilder() *RetentionBuilder

NewRetention provides a builder for the Retention struct.

func (*RetentionBuilder) Build ¶

func (rb *RetentionBuilder) Build() Retention

Build finalize the chain and returns the Retention struct

func (*RetentionBuilder) ExpireAfter ¶

func (rb *RetentionBuilder) ExpireAfter(expireafter *DurationBuilder) *RetentionBuilder

func (*RetentionBuilder) MaxCount ¶

func (rb *RetentionBuilder) MaxCount(maxcount int) *RetentionBuilder

func (*RetentionBuilder) MinCount ¶

func (rb *RetentionBuilder) MinCount(mincount int) *RetentionBuilder

type RetentionLeaseBuilder ¶

type RetentionLeaseBuilder struct {
	// contains filtered or unexported fields
}

RetentionLeaseBuilder holds RetentionLease struct and provides a builder API.

func NewRetentionLeaseBuilder ¶

func NewRetentionLeaseBuilder() *RetentionLeaseBuilder

NewRetentionLease provides a builder for the RetentionLease struct.

func (*RetentionLeaseBuilder) Build ¶

Build finalize the chain and returns the RetentionLease struct

func (*RetentionLeaseBuilder) Period ¶

type RetentionPolicy ¶

type RetentionPolicy struct {
	// Field The date field that is used to calculate the age of the document.
	Field Field `json:"field"`
	// MaxAge Specifies the maximum age of a document in the destination index. Documents
	// that are older than the configured
	// value are removed from the destination index.
	MaxAge Duration `json:"max_age"`
}

RetentionPolicy type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/_types/Transform.ts#L88-L96

type RetentionPolicyBuilder ¶

type RetentionPolicyBuilder struct {
	// contains filtered or unexported fields
}

RetentionPolicyBuilder holds RetentionPolicy struct and provides a builder API.

func NewRetentionPolicyBuilder ¶

func NewRetentionPolicyBuilder() *RetentionPolicyBuilder

NewRetentionPolicy provides a builder for the RetentionPolicy struct.

func (*RetentionPolicyBuilder) Build ¶

Build finalize the chain and returns the RetentionPolicy struct

func (*RetentionPolicyBuilder) Field ¶

func (*RetentionPolicyBuilder) MaxAge ¶

type RetentionPolicyContainer ¶

type RetentionPolicyContainer struct {
	// Time Specifies that the transform uses a time field to set the retention policy.
	Time *RetentionPolicy `json:"time,omitempty"`
}

RetentionPolicyContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/_types/Transform.ts#L80-L86

type RetentionPolicyContainerBuilder ¶

type RetentionPolicyContainerBuilder struct {
	// contains filtered or unexported fields
}

RetentionPolicyContainerBuilder holds RetentionPolicyContainer struct and provides a builder API.

func NewRetentionPolicyContainerBuilder ¶

func NewRetentionPolicyContainerBuilder() *RetentionPolicyContainerBuilder

NewRetentionPolicyContainer provides a builder for the RetentionPolicyContainer struct.

func (*RetentionPolicyContainerBuilder) Build ¶

Build finalize the chain and returns the RetentionPolicyContainer struct

func (*RetentionPolicyContainerBuilder) Time ¶

type RetriesBuilder ¶

type RetriesBuilder struct {
	// contains filtered or unexported fields
}

RetriesBuilder holds Retries struct and provides a builder API.

func NewRetriesBuilder ¶

func NewRetriesBuilder() *RetriesBuilder

NewRetries provides a builder for the Retries struct.

func (*RetriesBuilder) Build ¶

func (rb *RetriesBuilder) Build() Retries

Build finalize the chain and returns the Retries struct

func (*RetriesBuilder) Bulk ¶

func (rb *RetriesBuilder) Bulk(bulk int64) *RetriesBuilder

func (*RetriesBuilder) Search ¶

func (rb *RetriesBuilder) Search(search int64) *RetriesBuilder

type ReverseNestedAggregate ¶

type ReverseNestedAggregate struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Meta         *Metadata                   `json:"meta,omitempty"`
}

ReverseNestedAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L476-L477

type ReverseNestedAggregateBuilder ¶

type ReverseNestedAggregateBuilder struct {
	// contains filtered or unexported fields
}

ReverseNestedAggregateBuilder holds ReverseNestedAggregate struct and provides a builder API.

func NewReverseNestedAggregateBuilder ¶

func NewReverseNestedAggregateBuilder() *ReverseNestedAggregateBuilder

NewReverseNestedAggregate provides a builder for the ReverseNestedAggregate struct.

func (*ReverseNestedAggregateBuilder) Aggregations ¶

func (*ReverseNestedAggregateBuilder) Build ¶

Build finalize the chain and returns the ReverseNestedAggregate struct

func (*ReverseNestedAggregateBuilder) DocCount ¶

func (*ReverseNestedAggregateBuilder) Meta ¶

type ReverseNestedAggregation ¶

type ReverseNestedAggregation struct {
	Meta *Metadata `json:"meta,omitempty"`
	Name *string   `json:"name,omitempty"`
	Path *Field    `json:"path,omitempty"`
}

ReverseNestedAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L310-L312

type ReverseNestedAggregationBuilder ¶

type ReverseNestedAggregationBuilder struct {
	// contains filtered or unexported fields
}

ReverseNestedAggregationBuilder holds ReverseNestedAggregation struct and provides a builder API.

func NewReverseNestedAggregationBuilder ¶

func NewReverseNestedAggregationBuilder() *ReverseNestedAggregationBuilder

NewReverseNestedAggregation provides a builder for the ReverseNestedAggregation struct.

func (*ReverseNestedAggregationBuilder) Build ¶

Build finalize the chain and returns the ReverseNestedAggregation struct

func (*ReverseNestedAggregationBuilder) Meta ¶

func (*ReverseNestedAggregationBuilder) Name ¶

func (*ReverseNestedAggregationBuilder) Path ¶

type ReverseTokenFilter ¶

type ReverseTokenFilter struct {
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

ReverseTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L304-L306

type ReverseTokenFilterBuilder ¶

type ReverseTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

ReverseTokenFilterBuilder holds ReverseTokenFilter struct and provides a builder API.

func NewReverseTokenFilterBuilder ¶

func NewReverseTokenFilterBuilder() *ReverseTokenFilterBuilder

NewReverseTokenFilter provides a builder for the ReverseTokenFilter struct.

func (*ReverseTokenFilterBuilder) Build ¶

Build finalize the chain and returns the ReverseTokenFilter struct

func (*ReverseTokenFilterBuilder) Version ¶

type Role ¶

type Role struct {
	Applications      []ApplicationPrivileges                   `json:"applications"`
	Cluster           []string                                  `json:"cluster"`
	Global            map[string]map[string]map[string][]string `json:"global,omitempty"`
	Indices           []IndicesPrivileges                       `json:"indices"`
	Metadata          Metadata                                  `json:"metadata"`
	RoleTemplates     []RoleTemplate                            `json:"role_templates,omitempty"`
	RunAs             []string                                  `json:"run_as"`
	TransientMetadata TransientMetadataConfig                   `json:"transient_metadata"`
}

Role type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/get_role/types.ts#L29-L39

type RoleBuilder ¶

type RoleBuilder struct {
	// contains filtered or unexported fields
}

RoleBuilder holds Role struct and provides a builder API.

func NewRoleBuilder ¶

func NewRoleBuilder() *RoleBuilder

NewRole provides a builder for the Role struct.

func (*RoleBuilder) Applications ¶

func (rb *RoleBuilder) Applications(applications []ApplicationPrivilegesBuilder) *RoleBuilder

func (*RoleBuilder) Build ¶

func (rb *RoleBuilder) Build() Role

Build finalize the chain and returns the Role struct

func (*RoleBuilder) Cluster ¶

func (rb *RoleBuilder) Cluster(cluster ...string) *RoleBuilder

func (*RoleBuilder) Global ¶

func (rb *RoleBuilder) Global(value map[string]map[string]map[string][]string) *RoleBuilder

func (*RoleBuilder) Indices ¶

func (rb *RoleBuilder) Indices(indices []IndicesPrivilegesBuilder) *RoleBuilder

func (*RoleBuilder) Metadata ¶

func (rb *RoleBuilder) Metadata(metadata *MetadataBuilder) *RoleBuilder

func (*RoleBuilder) RoleTemplates ¶

func (rb *RoleBuilder) RoleTemplates(role_templates []RoleTemplateBuilder) *RoleBuilder

func (*RoleBuilder) RunAs ¶

func (rb *RoleBuilder) RunAs(run_as ...string) *RoleBuilder

func (*RoleBuilder) TransientMetadata ¶

func (rb *RoleBuilder) TransientMetadata(transientmetadata *TransientMetadataConfigBuilder) *RoleBuilder

type RoleDescriptor ¶

type RoleDescriptor struct {
	Applications      []ApplicationPrivileges  `json:"applications,omitempty"`
	Cluster           []string                 `json:"cluster"`
	Global            []GlobalPrivilege        `json:"global,omitempty"`
	Indices           []IndicesPrivileges      `json:"indices"`
	Metadata          *Metadata                `json:"metadata,omitempty"`
	RunAs             []string                 `json:"run_as,omitempty"`
	TransientMetadata *TransientMetadataConfig `json:"transient_metadata,omitempty"`
}

RoleDescriptor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/get_service_accounts/types.ts#L32-L41

type RoleDescriptorBuilder ¶

type RoleDescriptorBuilder struct {
	// contains filtered or unexported fields
}

RoleDescriptorBuilder holds RoleDescriptor struct and provides a builder API.

func NewRoleDescriptorBuilder ¶

func NewRoleDescriptorBuilder() *RoleDescriptorBuilder

NewRoleDescriptor provides a builder for the RoleDescriptor struct.

func (*RoleDescriptorBuilder) Applications ¶

func (*RoleDescriptorBuilder) Build ¶

Build finalize the chain and returns the RoleDescriptor struct

func (*RoleDescriptorBuilder) Cluster ¶

func (rb *RoleDescriptorBuilder) Cluster(cluster ...string) *RoleDescriptorBuilder

func (*RoleDescriptorBuilder) Global ¶

func (*RoleDescriptorBuilder) Indices ¶

func (*RoleDescriptorBuilder) Metadata ¶

func (*RoleDescriptorBuilder) RunAs ¶

func (rb *RoleDescriptorBuilder) RunAs(run_as ...string) *RoleDescriptorBuilder

func (*RoleDescriptorBuilder) TransientMetadata ¶

func (rb *RoleDescriptorBuilder) TransientMetadata(transientmetadata *TransientMetadataConfigBuilder) *RoleDescriptorBuilder

type RoleDescriptorWrapperBuilder ¶

type RoleDescriptorWrapperBuilder struct {
	// contains filtered or unexported fields
}

RoleDescriptorWrapperBuilder holds RoleDescriptorWrapper struct and provides a builder API.

func NewRoleDescriptorWrapperBuilder ¶

func NewRoleDescriptorWrapperBuilder() *RoleDescriptorWrapperBuilder

NewRoleDescriptorWrapper provides a builder for the RoleDescriptorWrapper struct.

func (*RoleDescriptorWrapperBuilder) Build ¶

Build finalize the chain and returns the RoleDescriptorWrapper struct

func (*RoleDescriptorWrapperBuilder) RoleDescriptor ¶

type RoleMappingBuilder ¶

type RoleMappingBuilder struct {
	// contains filtered or unexported fields
}

RoleMappingBuilder holds RoleMapping struct and provides a builder API.

func NewRoleMappingBuilder ¶

func NewRoleMappingBuilder() *RoleMappingBuilder

NewRoleMapping provides a builder for the RoleMapping struct.

func (*RoleMappingBuilder) Build ¶

func (rb *RoleMappingBuilder) Build() RoleMapping

Build finalize the chain and returns the RoleMapping struct

func (*RoleMappingBuilder) Enabled ¶

func (rb *RoleMappingBuilder) Enabled(enabled int) *RoleMappingBuilder

func (*RoleMappingBuilder) Size ¶

func (rb *RoleMappingBuilder) Size(size int) *RoleMappingBuilder

type RoleMappingRule ¶

type RoleMappingRule struct {
	All    []RoleMappingRule `json:"all,omitempty"`
	Any    []RoleMappingRule `json:"any,omitempty"`
	Except *RoleMappingRule  `json:"except,omitempty"`
	Field  *FieldRule        `json:"field,omitempty"`
}

RoleMappingRule type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/RoleMappingRule.ts#L23-L31

type RoleMappingRuleBuilder ¶

type RoleMappingRuleBuilder struct {
	// contains filtered or unexported fields
}

RoleMappingRuleBuilder holds RoleMappingRule struct and provides a builder API.

func NewRoleMappingRuleBuilder ¶

func NewRoleMappingRuleBuilder() *RoleMappingRuleBuilder

NewRoleMappingRule provides a builder for the RoleMappingRule struct.

func (*RoleMappingRuleBuilder) All ¶

func (*RoleMappingRuleBuilder) Any ¶

func (*RoleMappingRuleBuilder) Build ¶

Build finalize the chain and returns the RoleMappingRule struct

func (*RoleMappingRuleBuilder) Except ¶

func (*RoleMappingRuleBuilder) Field ¶

type RoleTemplateBuilder ¶

type RoleTemplateBuilder struct {
	// contains filtered or unexported fields
}

RoleTemplateBuilder holds RoleTemplate struct and provides a builder API.

func NewRoleTemplateBuilder ¶

func NewRoleTemplateBuilder() *RoleTemplateBuilder

NewRoleTemplate provides a builder for the RoleTemplate struct.

func (*RoleTemplateBuilder) Build ¶

func (rb *RoleTemplateBuilder) Build() RoleTemplate

Build finalize the chain and returns the RoleTemplate struct

func (*RoleTemplateBuilder) Format ¶

func (*RoleTemplateBuilder) Template ¶

func (rb *RoleTemplateBuilder) Template(template *ScriptBuilder) *RoleTemplateBuilder

type RoleTemplateInlineScript ¶

type RoleTemplateInlineScript struct {
	Lang    *scriptlanguage.ScriptLanguage `json:"lang,omitempty"`
	Options map[string]string              `json:"options,omitempty"`
	Params  map[string]interface{}         `json:"params,omitempty"`
	Source  QueryContainer                 `json:"source"`
}

RoleTemplateInlineScript type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/Privileges.ts#L128-L133

type RoleTemplateInlineScriptBuilder ¶

type RoleTemplateInlineScriptBuilder struct {
	// contains filtered or unexported fields
}

RoleTemplateInlineScriptBuilder holds RoleTemplateInlineScript struct and provides a builder API.

func NewRoleTemplateInlineScriptBuilder ¶

func NewRoleTemplateInlineScriptBuilder() *RoleTemplateInlineScriptBuilder

NewRoleTemplateInlineScript provides a builder for the RoleTemplateInlineScript struct.

func (*RoleTemplateInlineScriptBuilder) Build ¶

Build finalize the chain and returns the RoleTemplateInlineScript struct

func (*RoleTemplateInlineScriptBuilder) Lang ¶

func (*RoleTemplateInlineScriptBuilder) Options ¶

func (*RoleTemplateInlineScriptBuilder) Params ¶

func (rb *RoleTemplateInlineScriptBuilder) Params(value map[string]interface{}) *RoleTemplateInlineScriptBuilder

func (*RoleTemplateInlineScriptBuilder) Source ¶

type RoleTemplateQuery ¶

type RoleTemplateQuery struct {
	// Template When you create a role, you can specify a query that defines the document
	// level security permissions. You can optionally
	// use Mustache templates in the role query to insert the username of the
	// current authenticated user into the role.
	// Like other places in Elasticsearch that support templating or scripting, you
	// can specify inline, stored, or file-based
	// templates and define custom parameters. You access the details for the
	// current authenticated user through the _user parameter.
	Template *RoleTemplateScript `json:"template,omitempty"`
}

RoleTemplateQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/Privileges.ts#L116-L126

type RoleTemplateQueryBuilder ¶

type RoleTemplateQueryBuilder struct {
	// contains filtered or unexported fields
}

RoleTemplateQueryBuilder holds RoleTemplateQuery struct and provides a builder API.

func NewRoleTemplateQueryBuilder ¶

func NewRoleTemplateQueryBuilder() *RoleTemplateQueryBuilder

NewRoleTemplateQuery provides a builder for the RoleTemplateQuery struct.

func (*RoleTemplateQueryBuilder) Build ¶

Build finalize the chain and returns the RoleTemplateQuery struct

func (*RoleTemplateQueryBuilder) Template ¶

type RoleTemplateScript ¶

type RoleTemplateScript interface{}

RoleTemplateScript holds the union for the following types:

RoleTemplateInlineScript
StoredScriptId

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/Privileges.ts#L135-L136

type RoleTemplateScriptBuilder ¶

type RoleTemplateScriptBuilder struct {
	// contains filtered or unexported fields
}

RoleTemplateScriptBuilder holds RoleTemplateScript struct and provides a builder API.

func NewRoleTemplateScriptBuilder ¶

func NewRoleTemplateScriptBuilder() *RoleTemplateScriptBuilder

NewRoleTemplateScript provides a builder for the RoleTemplateScript struct.

func (*RoleTemplateScriptBuilder) Build ¶

Build finalize the chain and returns the RoleTemplateScript struct

func (*RoleTemplateScriptBuilder) RoleTemplateInlineScript ¶

func (u *RoleTemplateScriptBuilder) RoleTemplateInlineScript(roletemplateinlinescript *RoleTemplateInlineScriptBuilder) *RoleTemplateScriptBuilder

func (*RoleTemplateScriptBuilder) StoredScriptId ¶

type RolloverConditions ¶

type RolloverConditions struct {
	MaxAge                   *Duration                `json:"max_age,omitempty"`
	MaxAgeMillis             *DurationValueUnitMillis `json:"max_age_millis,omitempty"`
	MaxDocs                  *int64                   `json:"max_docs,omitempty"`
	MaxPrimaryShardSize      *ByteSize                `json:"max_primary_shard_size,omitempty"`
	MaxPrimaryShardSizeBytes *ByteSize                `json:"max_primary_shard_size_bytes,omitempty"`
	MaxSize                  *string                  `json:"max_size,omitempty"`
	MaxSizeBytes             *ByteSize                `json:"max_size_bytes,omitempty"`
}

RolloverConditions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/rollover/types.ts#L24-L32

type RolloverConditionsBuilder ¶

type RolloverConditionsBuilder struct {
	// contains filtered or unexported fields
}

RolloverConditionsBuilder holds RolloverConditions struct and provides a builder API.

func NewRolloverConditionsBuilder ¶

func NewRolloverConditionsBuilder() *RolloverConditionsBuilder

NewRolloverConditions provides a builder for the RolloverConditions struct.

func (*RolloverConditionsBuilder) Build ¶

Build finalize the chain and returns the RolloverConditions struct

func (*RolloverConditionsBuilder) MaxAge ¶

func (*RolloverConditionsBuilder) MaxAgeMillis ¶

func (*RolloverConditionsBuilder) MaxDocs ¶

func (*RolloverConditionsBuilder) MaxPrimaryShardSize ¶

func (rb *RolloverConditionsBuilder) MaxPrimaryShardSize(maxprimaryshardsize *ByteSizeBuilder) *RolloverConditionsBuilder

func (*RolloverConditionsBuilder) MaxPrimaryShardSizeBytes ¶

func (rb *RolloverConditionsBuilder) MaxPrimaryShardSizeBytes(maxprimaryshardsizebytes *ByteSizeBuilder) *RolloverConditionsBuilder

func (*RolloverConditionsBuilder) MaxSize ¶

func (*RolloverConditionsBuilder) MaxSizeBytes ¶

func (rb *RolloverConditionsBuilder) MaxSizeBytes(maxsizebytes *ByteSizeBuilder) *RolloverConditionsBuilder

type RollupCapabilitiesBuilder ¶

type RollupCapabilitiesBuilder struct {
	// contains filtered or unexported fields
}

RollupCapabilitiesBuilder holds RollupCapabilities struct and provides a builder API.

func NewRollupCapabilitiesBuilder ¶

func NewRollupCapabilitiesBuilder() *RollupCapabilitiesBuilder

NewRollupCapabilities provides a builder for the RollupCapabilities struct.

func (*RollupCapabilitiesBuilder) Build ¶

Build finalize the chain and returns the RollupCapabilities struct

func (*RollupCapabilitiesBuilder) RollupJobs ¶

type RollupCapabilitySummary ¶

type RollupCapabilitySummary struct {
	Fields       map[Field]map[string]interface{} `json:"fields"`
	IndexPattern string                           `json:"index_pattern"`
	JobId        string                           `json:"job_id"`
	RollupIndex  string                           `json:"rollup_index"`
}

RollupCapabilitySummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/rollup/get_rollup_caps/types.ts#L28-L33

type RollupCapabilitySummaryBuilder ¶

type RollupCapabilitySummaryBuilder struct {
	// contains filtered or unexported fields
}

RollupCapabilitySummaryBuilder holds RollupCapabilitySummary struct and provides a builder API.

func NewRollupCapabilitySummaryBuilder ¶

func NewRollupCapabilitySummaryBuilder() *RollupCapabilitySummaryBuilder

NewRollupCapabilitySummary provides a builder for the RollupCapabilitySummary struct.

func (*RollupCapabilitySummaryBuilder) Build ¶

Build finalize the chain and returns the RollupCapabilitySummary struct

func (*RollupCapabilitySummaryBuilder) Fields ¶

func (rb *RollupCapabilitySummaryBuilder) Fields(value map[Field]map[string]interface{}) *RollupCapabilitySummaryBuilder

func (*RollupCapabilitySummaryBuilder) IndexPattern ¶

func (*RollupCapabilitySummaryBuilder) JobId ¶

func (*RollupCapabilitySummaryBuilder) RollupIndex ¶

type RollupJobBuilder ¶

type RollupJobBuilder struct {
	// contains filtered or unexported fields
}

RollupJobBuilder holds RollupJob struct and provides a builder API.

func NewRollupJobBuilder ¶

func NewRollupJobBuilder() *RollupJobBuilder

NewRollupJob provides a builder for the RollupJob struct.

func (*RollupJobBuilder) Build ¶

func (rb *RollupJobBuilder) Build() RollupJob

Build finalize the chain and returns the RollupJob struct

func (*RollupJobBuilder) Config ¶

func (*RollupJobBuilder) Stats ¶

func (*RollupJobBuilder) Status ¶

type RollupJobConfiguration ¶

type RollupJobConfiguration struct {
	Cron         string        `json:"cron"`
	Groups       Groupings     `json:"groups"`
	Id           Id            `json:"id"`
	IndexPattern string        `json:"index_pattern"`
	Metrics      []FieldMetric `json:"metrics"`
	PageSize     int64         `json:"page_size"`
	RollupIndex  IndexName     `json:"rollup_index"`
	Timeout      Duration      `json:"timeout"`
}

RollupJobConfiguration type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/rollup/get_jobs/types.ts#L34-L43

type RollupJobConfigurationBuilder ¶

type RollupJobConfigurationBuilder struct {
	// contains filtered or unexported fields
}

RollupJobConfigurationBuilder holds RollupJobConfiguration struct and provides a builder API.

func NewRollupJobConfigurationBuilder ¶

func NewRollupJobConfigurationBuilder() *RollupJobConfigurationBuilder

NewRollupJobConfiguration provides a builder for the RollupJobConfiguration struct.

func (*RollupJobConfigurationBuilder) Build ¶

Build finalize the chain and returns the RollupJobConfiguration struct

func (*RollupJobConfigurationBuilder) Cron ¶

func (*RollupJobConfigurationBuilder) Groups ¶

func (*RollupJobConfigurationBuilder) Id ¶

func (*RollupJobConfigurationBuilder) IndexPattern ¶

func (rb *RollupJobConfigurationBuilder) IndexPattern(indexpattern string) *RollupJobConfigurationBuilder

func (*RollupJobConfigurationBuilder) Metrics ¶

func (*RollupJobConfigurationBuilder) PageSize ¶

func (*RollupJobConfigurationBuilder) RollupIndex ¶

func (*RollupJobConfigurationBuilder) Timeout ¶

type RollupJobStats ¶

type RollupJobStats struct {
	DocumentsProcessed int64                   `json:"documents_processed"`
	IndexFailures      int64                   `json:"index_failures"`
	IndexTimeInMs      DurationValueUnitMillis `json:"index_time_in_ms"`
	IndexTotal         int64                   `json:"index_total"`
	PagesProcessed     int64                   `json:"pages_processed"`
	ProcessingTimeInMs DurationValueUnitMillis `json:"processing_time_in_ms"`
	ProcessingTotal    int64                   `json:"processing_total"`
	RollupsIndexed     int64                   `json:"rollups_indexed"`
	SearchFailures     int64                   `json:"search_failures"`
	SearchTimeInMs     DurationValueUnitMillis `json:"search_time_in_ms"`
	SearchTotal        int64                   `json:"search_total"`
	TriggerCount       int64                   `json:"trigger_count"`
}

RollupJobStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/rollup/get_jobs/types.ts#L45-L58

type RollupJobStatsBuilder ¶

type RollupJobStatsBuilder struct {
	// contains filtered or unexported fields
}

RollupJobStatsBuilder holds RollupJobStats struct and provides a builder API.

func NewRollupJobStatsBuilder ¶

func NewRollupJobStatsBuilder() *RollupJobStatsBuilder

NewRollupJobStats provides a builder for the RollupJobStats struct.

func (*RollupJobStatsBuilder) Build ¶

Build finalize the chain and returns the RollupJobStats struct

func (*RollupJobStatsBuilder) DocumentsProcessed ¶

func (rb *RollupJobStatsBuilder) DocumentsProcessed(documentsprocessed int64) *RollupJobStatsBuilder

func (*RollupJobStatsBuilder) IndexFailures ¶

func (rb *RollupJobStatsBuilder) IndexFailures(indexfailures int64) *RollupJobStatsBuilder

func (*RollupJobStatsBuilder) IndexTimeInMs ¶

func (*RollupJobStatsBuilder) IndexTotal ¶

func (rb *RollupJobStatsBuilder) IndexTotal(indextotal int64) *RollupJobStatsBuilder

func (*RollupJobStatsBuilder) PagesProcessed ¶

func (rb *RollupJobStatsBuilder) PagesProcessed(pagesprocessed int64) *RollupJobStatsBuilder

func (*RollupJobStatsBuilder) ProcessingTimeInMs ¶

func (rb *RollupJobStatsBuilder) ProcessingTimeInMs(processingtimeinms *DurationValueUnitMillisBuilder) *RollupJobStatsBuilder

func (*RollupJobStatsBuilder) ProcessingTotal ¶

func (rb *RollupJobStatsBuilder) ProcessingTotal(processingtotal int64) *RollupJobStatsBuilder

func (*RollupJobStatsBuilder) RollupsIndexed ¶

func (rb *RollupJobStatsBuilder) RollupsIndexed(rollupsindexed int64) *RollupJobStatsBuilder

func (*RollupJobStatsBuilder) SearchFailures ¶

func (rb *RollupJobStatsBuilder) SearchFailures(searchfailures int64) *RollupJobStatsBuilder

func (*RollupJobStatsBuilder) SearchTimeInMs ¶

func (rb *RollupJobStatsBuilder) SearchTimeInMs(searchtimeinms *DurationValueUnitMillisBuilder) *RollupJobStatsBuilder

func (*RollupJobStatsBuilder) SearchTotal ¶

func (rb *RollupJobStatsBuilder) SearchTotal(searchtotal int64) *RollupJobStatsBuilder

func (*RollupJobStatsBuilder) TriggerCount ¶

func (rb *RollupJobStatsBuilder) TriggerCount(triggercount int64) *RollupJobStatsBuilder

type RollupJobStatus ¶

type RollupJobStatus struct {
	CurrentPosition map[string]interface{}            `json:"current_position,omitempty"`
	JobState        indexingjobstate.IndexingJobState `json:"job_state"`
	UpgradedDocId   *bool                             `json:"upgraded_doc_id,omitempty"`
}

RollupJobStatus type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/rollup/get_jobs/types.ts#L60-L64

type RollupJobStatusBuilder ¶

type RollupJobStatusBuilder struct {
	// contains filtered or unexported fields
}

RollupJobStatusBuilder holds RollupJobStatus struct and provides a builder API.

func NewRollupJobStatusBuilder ¶

func NewRollupJobStatusBuilder() *RollupJobStatusBuilder

NewRollupJobStatus provides a builder for the RollupJobStatus struct.

func (*RollupJobStatusBuilder) Build ¶

Build finalize the chain and returns the RollupJobStatus struct

func (*RollupJobStatusBuilder) CurrentPosition ¶

func (rb *RollupJobStatusBuilder) CurrentPosition(value map[string]interface{}) *RollupJobStatusBuilder

func (*RollupJobStatusBuilder) JobState ¶

func (*RollupJobStatusBuilder) UpgradedDocId ¶

func (rb *RollupJobStatusBuilder) UpgradedDocId(upgradeddocid bool) *RollupJobStatusBuilder

type RollupJobSummary ¶

type RollupJobSummary struct {
	Fields       map[Field][]RollupJobSummaryField `json:"fields"`
	IndexPattern string                            `json:"index_pattern"`
	JobId        Id                                `json:"job_id"`
	RollupIndex  IndexName                         `json:"rollup_index"`
}

RollupJobSummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/rollup/get_rollup_index_caps/types.ts#L28-L33

type RollupJobSummaryBuilder ¶

type RollupJobSummaryBuilder struct {
	// contains filtered or unexported fields
}

RollupJobSummaryBuilder holds RollupJobSummary struct and provides a builder API.

func NewRollupJobSummaryBuilder ¶

func NewRollupJobSummaryBuilder() *RollupJobSummaryBuilder

NewRollupJobSummary provides a builder for the RollupJobSummary struct.

func (*RollupJobSummaryBuilder) Build ¶

Build finalize the chain and returns the RollupJobSummary struct

func (*RollupJobSummaryBuilder) Fields ¶

func (*RollupJobSummaryBuilder) IndexPattern ¶

func (rb *RollupJobSummaryBuilder) IndexPattern(indexpattern string) *RollupJobSummaryBuilder

func (*RollupJobSummaryBuilder) JobId ¶

func (*RollupJobSummaryBuilder) RollupIndex ¶

func (rb *RollupJobSummaryBuilder) RollupIndex(rollupindex IndexName) *RollupJobSummaryBuilder

type RollupJobSummaryField ¶

type RollupJobSummaryField struct {
	Agg              string    `json:"agg"`
	CalendarInterval *Duration `json:"calendar_interval,omitempty"`
	TimeZone         *TimeZone `json:"time_zone,omitempty"`
}

RollupJobSummaryField type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/rollup/get_rollup_index_caps/types.ts#L35-L39

type RollupJobSummaryFieldBuilder ¶

type RollupJobSummaryFieldBuilder struct {
	// contains filtered or unexported fields
}

RollupJobSummaryFieldBuilder holds RollupJobSummaryField struct and provides a builder API.

func NewRollupJobSummaryFieldBuilder ¶

func NewRollupJobSummaryFieldBuilder() *RollupJobSummaryFieldBuilder

NewRollupJobSummaryField provides a builder for the RollupJobSummaryField struct.

func (*RollupJobSummaryFieldBuilder) Agg ¶

func (*RollupJobSummaryFieldBuilder) Build ¶

Build finalize the chain and returns the RollupJobSummaryField struct

func (*RollupJobSummaryFieldBuilder) CalendarInterval ¶

func (rb *RollupJobSummaryFieldBuilder) CalendarInterval(calendarinterval *DurationBuilder) *RollupJobSummaryFieldBuilder

func (*RollupJobSummaryFieldBuilder) TimeZone ¶

type RoutingBuilder ¶

type RoutingBuilder struct {
	// contains filtered or unexported fields
}

RoutingBuilder holds Routing struct and provides a builder API.

func NewRoutingBuilder ¶

func NewRoutingBuilder() *RoutingBuilder

NewRouting provides a builder for the Routing struct.

func (*RoutingBuilder) Build ¶

func (b *RoutingBuilder) Build() Routing

Build finalize the chain and returns the Routing struct

func (*RoutingBuilder) Routing ¶

func (b *RoutingBuilder) Routing(value Routing) *RoutingBuilder

type RoutingFieldBuilder ¶

type RoutingFieldBuilder struct {
	// contains filtered or unexported fields
}

RoutingFieldBuilder holds RoutingField struct and provides a builder API.

func NewRoutingFieldBuilder ¶

func NewRoutingFieldBuilder() *RoutingFieldBuilder

NewRoutingField provides a builder for the RoutingField struct.

func (*RoutingFieldBuilder) Build ¶

func (rb *RoutingFieldBuilder) Build() RoutingField

Build finalize the chain and returns the RoutingField struct

func (*RoutingFieldBuilder) Required ¶

func (rb *RoutingFieldBuilder) Required(required bool) *RoutingFieldBuilder

type RowBuilder ¶

type RowBuilder struct {
	// contains filtered or unexported fields
}

RowBuilder holds Row struct and provides a builder API.

func NewRowBuilder ¶

func NewRowBuilder() *RowBuilder

NewRow provides a builder for the Row struct.

func (*RowBuilder) Build ¶

func (b *RowBuilder) Build() Row

Build finalize the chain and returns the Row struct

func (*RowBuilder) Row ¶

func (b *RowBuilder) Row(value Row) *RowBuilder

type RuleCondition ¶

type RuleCondition struct {
	// AppliesTo Specifies the result property to which the condition applies. If your
	// detector uses `lat_long`, `metric`, `rare`, or `freq_rare` functions, you can
	// only specify conditions that apply to time.
	AppliesTo appliesto.AppliesTo `json:"applies_to"`
	// Operator Specifies the condition operator. The available options are greater than,
	// greater than or equals, less than, and less than or equals.
	Operator conditionoperator.ConditionOperator `json:"operator"`
	// Value The value that is compared against the `applies_to` field using the operator.
	Value float64 `json:"value"`
}

RuleCondition type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Rule.ts#L52-L65

type RuleConditionBuilder ¶

type RuleConditionBuilder struct {
	// contains filtered or unexported fields
}

RuleConditionBuilder holds RuleCondition struct and provides a builder API.

func NewRuleConditionBuilder ¶

func NewRuleConditionBuilder() *RuleConditionBuilder

NewRuleCondition provides a builder for the RuleCondition struct.

func (*RuleConditionBuilder) AppliesTo ¶

func (*RuleConditionBuilder) Build ¶

func (rb *RuleConditionBuilder) Build() RuleCondition

Build finalize the chain and returns the RuleCondition struct

func (*RuleConditionBuilder) Operator ¶

func (*RuleConditionBuilder) Value ¶

type RunningStateSearchInterval ¶

type RunningStateSearchInterval struct {
	End     *Duration               `json:"end,omitempty"`
	EndMs   DurationValueUnitMillis `json:"end_ms"`
	Start   *Duration               `json:"start,omitempty"`
	StartMs DurationValueUnitMillis `json:"start_ms"`
}

RunningStateSearchInterval type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Datafeed.ts#L164-L169

type RunningStateSearchIntervalBuilder ¶

type RunningStateSearchIntervalBuilder struct {
	// contains filtered or unexported fields
}

RunningStateSearchIntervalBuilder holds RunningStateSearchInterval struct and provides a builder API.

func NewRunningStateSearchIntervalBuilder ¶

func NewRunningStateSearchIntervalBuilder() *RunningStateSearchIntervalBuilder

NewRunningStateSearchInterval provides a builder for the RunningStateSearchInterval struct.

func (*RunningStateSearchIntervalBuilder) Build ¶

Build finalize the chain and returns the RunningStateSearchInterval struct

func (*RunningStateSearchIntervalBuilder) End ¶

func (*RunningStateSearchIntervalBuilder) EndMs ¶

func (*RunningStateSearchIntervalBuilder) Start ¶

func (*RunningStateSearchIntervalBuilder) StartMs ¶

type RuntimeField ¶

type RuntimeField struct {
	Format *string                           `json:"format,omitempty"`
	Script *Script                           `json:"script,omitempty"`
	Type   runtimefieldtype.RuntimeFieldType `json:"type"`
}

RuntimeField type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/RuntimeFields.ts#L26-L30

type RuntimeFieldBuilder ¶

type RuntimeFieldBuilder struct {
	// contains filtered or unexported fields
}

RuntimeFieldBuilder holds RuntimeField struct and provides a builder API.

func NewRuntimeFieldBuilder ¶

func NewRuntimeFieldBuilder() *RuntimeFieldBuilder

NewRuntimeField provides a builder for the RuntimeField struct.

func (*RuntimeFieldBuilder) Build ¶

func (rb *RuntimeFieldBuilder) Build() RuntimeField

Build finalize the chain and returns the RuntimeField struct

func (*RuntimeFieldBuilder) Format ¶

func (rb *RuntimeFieldBuilder) Format(format string) *RuntimeFieldBuilder

func (*RuntimeFieldBuilder) Script ¶

func (*RuntimeFieldBuilder) Type_ ¶

type RuntimeFieldTypes ¶

type RuntimeFieldTypes struct {
	Available  bool                `json:"available"`
	Enabled    bool                `json:"enabled"`
	FieldTypes []RuntimeFieldsType `json:"field_types"`
}

RuntimeFieldTypes type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L258-L260

type RuntimeFieldTypesBuilder ¶

type RuntimeFieldTypesBuilder struct {
	// contains filtered or unexported fields
}

RuntimeFieldTypesBuilder holds RuntimeFieldTypes struct and provides a builder API.

func NewRuntimeFieldTypesBuilder ¶

func NewRuntimeFieldTypesBuilder() *RuntimeFieldTypesBuilder

NewRuntimeFieldTypes provides a builder for the RuntimeFieldTypes struct.

func (*RuntimeFieldTypesBuilder) Available ¶

func (rb *RuntimeFieldTypesBuilder) Available(available bool) *RuntimeFieldTypesBuilder

func (*RuntimeFieldTypesBuilder) Build ¶

Build finalize the chain and returns the RuntimeFieldTypes struct

func (*RuntimeFieldTypesBuilder) Enabled ¶

func (*RuntimeFieldTypesBuilder) FieldTypes ¶

type RuntimeFieldsBuilder ¶

type RuntimeFieldsBuilder struct {
	// contains filtered or unexported fields
}

RuntimeFieldsBuilder holds RuntimeFields struct and provides a builder API.

func NewRuntimeFieldsBuilder ¶

func NewRuntimeFieldsBuilder() *RuntimeFieldsBuilder

NewRuntimeFields provides a builder for the RuntimeFields struct.

func (*RuntimeFieldsBuilder) Build ¶

Build finalize the chain and returns the RuntimeFields struct

func (*RuntimeFieldsBuilder) RuntimeFields ¶

func (b *RuntimeFieldsBuilder) RuntimeFields(value RuntimeFields) *RuntimeFieldsBuilder

type RuntimeFieldsType ¶

type RuntimeFieldsType struct {
	CharsMax        int64    `json:"chars_max"`
	CharsTotal      int64    `json:"chars_total"`
	Count           int64    `json:"count"`
	DocMax          int64    `json:"doc_max"`
	DocTotal        int64    `json:"doc_total"`
	IndexCount      int64    `json:"index_count"`
	Lang            []string `json:"lang"`
	LinesMax        int64    `json:"lines_max"`
	LinesTotal      int64    `json:"lines_total"`
	Name            Field    `json:"name"`
	ScriptlessCount int64    `json:"scriptless_count"`
	ShadowedCount   int64    `json:"shadowed_count"`
	SourceMax       int64    `json:"source_max"`
	SourceTotal     int64    `json:"source_total"`
}

RuntimeFieldsType type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L262-L277

type RuntimeFieldsTypeBuilder ¶

type RuntimeFieldsTypeBuilder struct {
	// contains filtered or unexported fields
}

RuntimeFieldsTypeBuilder holds RuntimeFieldsType struct and provides a builder API.

func NewRuntimeFieldsTypeBuilder ¶

func NewRuntimeFieldsTypeBuilder() *RuntimeFieldsTypeBuilder

NewRuntimeFieldsType provides a builder for the RuntimeFieldsType struct.

func (*RuntimeFieldsTypeBuilder) Build ¶

Build finalize the chain and returns the RuntimeFieldsType struct

func (*RuntimeFieldsTypeBuilder) CharsMax ¶

func (*RuntimeFieldsTypeBuilder) CharsTotal ¶

func (rb *RuntimeFieldsTypeBuilder) CharsTotal(charstotal int64) *RuntimeFieldsTypeBuilder

func (*RuntimeFieldsTypeBuilder) Count ¶

func (*RuntimeFieldsTypeBuilder) DocMax ¶

func (*RuntimeFieldsTypeBuilder) DocTotal ¶

func (*RuntimeFieldsTypeBuilder) IndexCount ¶

func (rb *RuntimeFieldsTypeBuilder) IndexCount(indexcount int64) *RuntimeFieldsTypeBuilder

func (*RuntimeFieldsTypeBuilder) Lang ¶

func (*RuntimeFieldsTypeBuilder) LinesMax ¶

func (*RuntimeFieldsTypeBuilder) LinesTotal ¶

func (rb *RuntimeFieldsTypeBuilder) LinesTotal(linestotal int64) *RuntimeFieldsTypeBuilder

func (*RuntimeFieldsTypeBuilder) Name ¶

func (*RuntimeFieldsTypeBuilder) ScriptlessCount ¶

func (rb *RuntimeFieldsTypeBuilder) ScriptlessCount(scriptlesscount int64) *RuntimeFieldsTypeBuilder

func (*RuntimeFieldsTypeBuilder) ShadowedCount ¶

func (rb *RuntimeFieldsTypeBuilder) ShadowedCount(shadowedcount int64) *RuntimeFieldsTypeBuilder

func (*RuntimeFieldsTypeBuilder) SourceMax ¶

func (rb *RuntimeFieldsTypeBuilder) SourceMax(sourcemax int64) *RuntimeFieldsTypeBuilder

func (*RuntimeFieldsTypeBuilder) SourceTotal ¶

func (rb *RuntimeFieldsTypeBuilder) SourceTotal(sourcetotal int64) *RuntimeFieldsTypeBuilder

type SampleDiversity ¶

type SampleDiversity struct {
	Field           Field `json:"field"`
	MaxDocsPerValue int   `json:"max_docs_per_value"`
}

SampleDiversity type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/graph/_types/ExploreControls.ts#L31-L34

type SampleDiversityBuilder ¶

type SampleDiversityBuilder struct {
	// contains filtered or unexported fields
}

SampleDiversityBuilder holds SampleDiversity struct and provides a builder API.

func NewSampleDiversityBuilder ¶

func NewSampleDiversityBuilder() *SampleDiversityBuilder

NewSampleDiversity provides a builder for the SampleDiversity struct.

func (*SampleDiversityBuilder) Build ¶

Build finalize the chain and returns the SampleDiversity struct

func (*SampleDiversityBuilder) Field ¶

func (*SampleDiversityBuilder) MaxDocsPerValue ¶

func (rb *SampleDiversityBuilder) MaxDocsPerValue(maxdocspervalue int) *SampleDiversityBuilder

type SamplerAggregate ¶

type SamplerAggregate struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Meta         *Metadata                   `json:"meta,omitempty"`
}

SamplerAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L485-L486

type SamplerAggregateBuilder ¶

type SamplerAggregateBuilder struct {
	// contains filtered or unexported fields
}

SamplerAggregateBuilder holds SamplerAggregate struct and provides a builder API.

func NewSamplerAggregateBuilder ¶

func NewSamplerAggregateBuilder() *SamplerAggregateBuilder

NewSamplerAggregate provides a builder for the SamplerAggregate struct.

func (*SamplerAggregateBuilder) Aggregations ¶

func (*SamplerAggregateBuilder) Build ¶

Build finalize the chain and returns the SamplerAggregate struct

func (*SamplerAggregateBuilder) DocCount ¶

func (rb *SamplerAggregateBuilder) DocCount(doccount int64) *SamplerAggregateBuilder

func (*SamplerAggregateBuilder) Meta ¶

type SamplerAggregation ¶

type SamplerAggregation struct {
	Meta      *Metadata `json:"meta,omitempty"`
	Name      *string   `json:"name,omitempty"`
	ShardSize *int      `json:"shard_size,omitempty"`
}

SamplerAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L314-L316

type SamplerAggregationBuilder ¶

type SamplerAggregationBuilder struct {
	// contains filtered or unexported fields
}

SamplerAggregationBuilder holds SamplerAggregation struct and provides a builder API.

func NewSamplerAggregationBuilder ¶

func NewSamplerAggregationBuilder() *SamplerAggregationBuilder

NewSamplerAggregation provides a builder for the SamplerAggregation struct.

func (*SamplerAggregationBuilder) Build ¶

Build finalize the chain and returns the SamplerAggregation struct

func (*SamplerAggregationBuilder) Meta ¶

func (*SamplerAggregationBuilder) Name ¶

func (*SamplerAggregationBuilder) ShardSize ¶

func (rb *SamplerAggregationBuilder) ShardSize(shardsize int) *SamplerAggregationBuilder

type ScaledFloatNumberProperty ¶

type ScaledFloatNumberProperty struct {
	Coerce           *bool                                      `json:"coerce,omitempty"`
	CopyTo           *Fields                                    `json:"copy_to,omitempty"`
	DocValues        *bool                                      `json:"doc_values,omitempty"`
	Dynamic          *dynamicmapping.DynamicMapping             `json:"dynamic,omitempty"`
	Fields           map[PropertyName]Property                  `json:"fields,omitempty"`
	IgnoreAbove      *int                                       `json:"ignore_above,omitempty"`
	IgnoreMalformed  *bool                                      `json:"ignore_malformed,omitempty"`
	Index            *bool                                      `json:"index,omitempty"`
	LocalMetadata    *Metadata                                  `json:"local_metadata,omitempty"`
	Meta             map[string]string                          `json:"meta,omitempty"`
	NullValue        *float64                                   `json:"null_value,omitempty"`
	Properties       map[PropertyName]Property                  `json:"properties,omitempty"`
	ScalingFactor    *float64                                   `json:"scaling_factor,omitempty"`
	Similarity       *string                                    `json:"similarity,omitempty"`
	Store            *bool                                      `json:"store,omitempty"`
	TimeSeriesMetric *timeseriesmetrictype.TimeSeriesMetricType `json:"time_series_metric,omitempty"`
	Type             string                                     `json:"type,omitempty"`
}

ScaledFloatNumberProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L159-L164

type ScaledFloatNumberPropertyBuilder ¶

type ScaledFloatNumberPropertyBuilder struct {
	// contains filtered or unexported fields
}

ScaledFloatNumberPropertyBuilder holds ScaledFloatNumberProperty struct and provides a builder API.

func NewScaledFloatNumberPropertyBuilder ¶

func NewScaledFloatNumberPropertyBuilder() *ScaledFloatNumberPropertyBuilder

NewScaledFloatNumberProperty provides a builder for the ScaledFloatNumberProperty struct.

func (*ScaledFloatNumberPropertyBuilder) Build ¶

Build finalize the chain and returns the ScaledFloatNumberProperty struct

func (*ScaledFloatNumberPropertyBuilder) Coerce ¶

func (*ScaledFloatNumberPropertyBuilder) CopyTo ¶

func (*ScaledFloatNumberPropertyBuilder) DocValues ¶

func (*ScaledFloatNumberPropertyBuilder) Dynamic ¶

func (*ScaledFloatNumberPropertyBuilder) Fields ¶

func (*ScaledFloatNumberPropertyBuilder) IgnoreAbove ¶

func (*ScaledFloatNumberPropertyBuilder) IgnoreMalformed ¶

func (rb *ScaledFloatNumberPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *ScaledFloatNumberPropertyBuilder

func (*ScaledFloatNumberPropertyBuilder) Index ¶

func (*ScaledFloatNumberPropertyBuilder) LocalMetadata ¶

func (*ScaledFloatNumberPropertyBuilder) Meta ¶

func (*ScaledFloatNumberPropertyBuilder) NullValue ¶

func (*ScaledFloatNumberPropertyBuilder) Properties ¶

func (*ScaledFloatNumberPropertyBuilder) ScalingFactor ¶

func (*ScaledFloatNumberPropertyBuilder) Similarity ¶

func (*ScaledFloatNumberPropertyBuilder) Store ¶

func (*ScaledFloatNumberPropertyBuilder) TimeSeriesMetric ¶

type ScheduleContainer ¶

type ScheduleContainer struct {
	Cron     *CronExpression `json:"cron,omitempty"`
	Daily    *DailySchedule  `json:"daily,omitempty"`
	Hourly   *HourlySchedule `json:"hourly,omitempty"`
	Interval *Duration       `json:"interval,omitempty"`
	Monthly  []TimeOfMonth   `json:"monthly,omitempty"`
	Weekly   []TimeOfWeek    `json:"weekly,omitempty"`
	Yearly   []TimeOfYear    `json:"yearly,omitempty"`
}

ScheduleContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Schedule.ts#L85-L96

type ScheduleContainerBuilder ¶

type ScheduleContainerBuilder struct {
	// contains filtered or unexported fields
}

ScheduleContainerBuilder holds ScheduleContainer struct and provides a builder API.

func NewScheduleContainerBuilder ¶

func NewScheduleContainerBuilder() *ScheduleContainerBuilder

NewScheduleContainer provides a builder for the ScheduleContainer struct.

func (*ScheduleContainerBuilder) Build ¶

Build finalize the chain and returns the ScheduleContainer struct

func (*ScheduleContainerBuilder) Cron ¶

func (*ScheduleContainerBuilder) Daily ¶

func (*ScheduleContainerBuilder) Hourly ¶

func (*ScheduleContainerBuilder) Interval ¶

func (*ScheduleContainerBuilder) Monthly ¶

func (*ScheduleContainerBuilder) Weekly ¶

func (*ScheduleContainerBuilder) Yearly ¶

type ScheduleTimeOfDay ¶

type ScheduleTimeOfDay interface{}

ScheduleTimeOfDay holds the union for the following types:

HourAndMinute
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Schedule.ts#L103-L108

type ScheduleTimeOfDayBuilder ¶

type ScheduleTimeOfDayBuilder struct {
	// contains filtered or unexported fields
}

ScheduleTimeOfDayBuilder holds ScheduleTimeOfDay struct and provides a builder API.

func NewScheduleTimeOfDayBuilder ¶

func NewScheduleTimeOfDayBuilder() *ScheduleTimeOfDayBuilder

NewScheduleTimeOfDay provides a builder for the ScheduleTimeOfDay struct.

func (*ScheduleTimeOfDayBuilder) Build ¶

Build finalize the chain and returns the ScheduleTimeOfDay struct

func (*ScheduleTimeOfDayBuilder) HourAndMinute ¶

func (*ScheduleTimeOfDayBuilder) String ¶

type ScheduleTriggerEvent ¶

type ScheduleTriggerEvent struct {
	ScheduledTime DateTime  `json:"scheduled_time"`
	TriggeredTime *DateTime `json:"triggered_time,omitempty"`
}

ScheduleTriggerEvent type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Schedule.ts#L98-L101

type ScheduleTriggerEventBuilder ¶

type ScheduleTriggerEventBuilder struct {
	// contains filtered or unexported fields
}

ScheduleTriggerEventBuilder holds ScheduleTriggerEvent struct and provides a builder API.

func NewScheduleTriggerEventBuilder ¶

func NewScheduleTriggerEventBuilder() *ScheduleTriggerEventBuilder

NewScheduleTriggerEvent provides a builder for the ScheduleTriggerEvent struct.

func (*ScheduleTriggerEventBuilder) Build ¶

Build finalize the chain and returns the ScheduleTriggerEvent struct

func (*ScheduleTriggerEventBuilder) ScheduledTime ¶

func (rb *ScheduleTriggerEventBuilder) ScheduledTime(scheduledtime *DateTimeBuilder) *ScheduleTriggerEventBuilder

func (*ScheduleTriggerEventBuilder) TriggeredTime ¶

func (rb *ScheduleTriggerEventBuilder) TriggeredTime(triggeredtime *DateTimeBuilder) *ScheduleTriggerEventBuilder

type ScoreSortBuilder ¶

type ScoreSortBuilder struct {
	// contains filtered or unexported fields
}

ScoreSortBuilder holds ScoreSort struct and provides a builder API.

func NewScoreSortBuilder ¶

func NewScoreSortBuilder() *ScoreSortBuilder

NewScoreSort provides a builder for the ScoreSort struct.

func (*ScoreSortBuilder) Build ¶

func (rb *ScoreSortBuilder) Build() ScoreSort

Build finalize the chain and returns the ScoreSort struct

func (*ScoreSortBuilder) Order ¶

type Script ¶

type Script interface{}

Script holds the union for the following types:

InlineScript
StoredScriptId

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Scripting.ts#L56-L57

type ScriptBaseBuilder ¶

type ScriptBaseBuilder struct {
	// contains filtered or unexported fields
}

ScriptBaseBuilder holds ScriptBase struct and provides a builder API.

func NewScriptBaseBuilder ¶

func NewScriptBaseBuilder() *ScriptBaseBuilder

NewScriptBase provides a builder for the ScriptBase struct.

func (*ScriptBaseBuilder) Build ¶

func (rb *ScriptBaseBuilder) Build() ScriptBase

Build finalize the chain and returns the ScriptBase struct

func (*ScriptBaseBuilder) Params ¶

func (rb *ScriptBaseBuilder) Params(value map[string]interface{}) *ScriptBaseBuilder

type ScriptBuilder ¶

type ScriptBuilder struct {
	// contains filtered or unexported fields
}

ScriptBuilder holds Script struct and provides a builder API.

func NewScriptBuilder ¶

func NewScriptBuilder() *ScriptBuilder

NewScript provides a builder for the Script struct.

func (*ScriptBuilder) Build ¶

func (u *ScriptBuilder) Build() Script

Build finalize the chain and returns the Script struct

func (*ScriptBuilder) InlineScript ¶

func (u *ScriptBuilder) InlineScript(inlinescript *InlineScriptBuilder) *ScriptBuilder

func (*ScriptBuilder) StoredScriptId ¶

func (u *ScriptBuilder) StoredScriptId(storedscriptid *StoredScriptIdBuilder) *ScriptBuilder

type ScriptCache ¶

type ScriptCache struct {
	CacheEvictions            *int64  `json:"cache_evictions,omitempty"`
	CompilationLimitTriggered *int64  `json:"compilation_limit_triggered,omitempty"`
	Compilations              *int64  `json:"compilations,omitempty"`
	Context                   *string `json:"context,omitempty"`
}

ScriptCache type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L406-L411

type ScriptCacheBuilder ¶

type ScriptCacheBuilder struct {
	// contains filtered or unexported fields
}

ScriptCacheBuilder holds ScriptCache struct and provides a builder API.

func NewScriptCacheBuilder ¶

func NewScriptCacheBuilder() *ScriptCacheBuilder

NewScriptCache provides a builder for the ScriptCache struct.

func (*ScriptCacheBuilder) Build ¶

func (rb *ScriptCacheBuilder) Build() ScriptCache

Build finalize the chain and returns the ScriptCache struct

func (*ScriptCacheBuilder) CacheEvictions ¶

func (rb *ScriptCacheBuilder) CacheEvictions(cacheevictions int64) *ScriptCacheBuilder

func (*ScriptCacheBuilder) CompilationLimitTriggered ¶

func (rb *ScriptCacheBuilder) CompilationLimitTriggered(compilationlimittriggered int64) *ScriptCacheBuilder

func (*ScriptCacheBuilder) Compilations ¶

func (rb *ScriptCacheBuilder) Compilations(compilations int64) *ScriptCacheBuilder

func (*ScriptCacheBuilder) Context ¶

func (rb *ScriptCacheBuilder) Context(context string) *ScriptCacheBuilder

type ScriptCondition ¶

type ScriptCondition struct {
	Id     *string                `json:"id,omitempty"`
	Lang   *string                `json:"lang,omitempty"`
	Params map[string]interface{} `json:"params,omitempty"`
	Source *string                `json:"source,omitempty"`
}

ScriptCondition type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Conditions.ts#L77-L85

type ScriptConditionBuilder ¶

type ScriptConditionBuilder struct {
	// contains filtered or unexported fields
}

ScriptConditionBuilder holds ScriptCondition struct and provides a builder API.

func NewScriptConditionBuilder ¶

func NewScriptConditionBuilder() *ScriptConditionBuilder

NewScriptCondition provides a builder for the ScriptCondition struct.

func (*ScriptConditionBuilder) Build ¶

Build finalize the chain and returns the ScriptCondition struct

func (*ScriptConditionBuilder) Id ¶

func (*ScriptConditionBuilder) Lang ¶

func (*ScriptConditionBuilder) Params ¶

func (rb *ScriptConditionBuilder) Params(value map[string]interface{}) *ScriptConditionBuilder

func (*ScriptConditionBuilder) Source ¶

type ScriptField ¶

type ScriptField struct {
	IgnoreFailure *bool  `json:"ignore_failure,omitempty"`
	Script        Script `json:"script"`
}

ScriptField type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Scripting.ts#L59-L62

type ScriptFieldBuilder ¶

type ScriptFieldBuilder struct {
	// contains filtered or unexported fields
}

ScriptFieldBuilder holds ScriptField struct and provides a builder API.

func NewScriptFieldBuilder ¶

func NewScriptFieldBuilder() *ScriptFieldBuilder

NewScriptField provides a builder for the ScriptField struct.

func (*ScriptFieldBuilder) Build ¶

func (rb *ScriptFieldBuilder) Build() ScriptField

Build finalize the chain and returns the ScriptField struct

func (*ScriptFieldBuilder) IgnoreFailure ¶

func (rb *ScriptFieldBuilder) IgnoreFailure(ignorefailure bool) *ScriptFieldBuilder

func (*ScriptFieldBuilder) Script ¶

type ScriptQuery ¶

type ScriptQuery struct {
	Boost      *float32 `json:"boost,omitempty"`
	QueryName_ *string  `json:"_name,omitempty"`
	Script     Script   `json:"script"`
}

ScriptQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L164-L166

type ScriptQueryBuilder ¶

type ScriptQueryBuilder struct {
	// contains filtered or unexported fields
}

ScriptQueryBuilder holds ScriptQuery struct and provides a builder API.

func NewScriptQueryBuilder ¶

func NewScriptQueryBuilder() *ScriptQueryBuilder

NewScriptQuery provides a builder for the ScriptQuery struct.

func (*ScriptQueryBuilder) Boost ¶

func (rb *ScriptQueryBuilder) Boost(boost float32) *ScriptQueryBuilder

func (*ScriptQueryBuilder) Build ¶

func (rb *ScriptQueryBuilder) Build() ScriptQuery

Build finalize the chain and returns the ScriptQuery struct

func (*ScriptQueryBuilder) QueryName_ ¶

func (rb *ScriptQueryBuilder) QueryName_(queryname_ string) *ScriptQueryBuilder

func (*ScriptQueryBuilder) Script ¶

type ScriptScoreFunctionBuilder ¶

type ScriptScoreFunctionBuilder struct {
	// contains filtered or unexported fields
}

ScriptScoreFunctionBuilder holds ScriptScoreFunction struct and provides a builder API.

func NewScriptScoreFunctionBuilder ¶

func NewScriptScoreFunctionBuilder() *ScriptScoreFunctionBuilder

NewScriptScoreFunction provides a builder for the ScriptScoreFunction struct.

func (*ScriptScoreFunctionBuilder) Build ¶

Build finalize the chain and returns the ScriptScoreFunction struct

func (*ScriptScoreFunctionBuilder) Script ¶

type ScriptScoreQuery ¶

type ScriptScoreQuery struct {
	Boost      *float32        `json:"boost,omitempty"`
	MinScore   *float32        `json:"min_score,omitempty"`
	Query      *QueryContainer `json:"query,omitempty"`
	QueryName_ *string         `json:"_name,omitempty"`
	Script     Script          `json:"script"`
}

ScriptScoreQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L168-L172

type ScriptScoreQueryBuilder ¶

type ScriptScoreQueryBuilder struct {
	// contains filtered or unexported fields
}

ScriptScoreQueryBuilder holds ScriptScoreQuery struct and provides a builder API.

func NewScriptScoreQueryBuilder ¶

func NewScriptScoreQueryBuilder() *ScriptScoreQueryBuilder

NewScriptScoreQuery provides a builder for the ScriptScoreQuery struct.

func (*ScriptScoreQueryBuilder) Boost ¶

func (*ScriptScoreQueryBuilder) Build ¶

Build finalize the chain and returns the ScriptScoreQuery struct

func (*ScriptScoreQueryBuilder) MinScore ¶

func (*ScriptScoreQueryBuilder) Query ¶

func (*ScriptScoreQueryBuilder) QueryName_ ¶

func (rb *ScriptScoreQueryBuilder) QueryName_(queryname_ string) *ScriptScoreQueryBuilder

func (*ScriptScoreQueryBuilder) Script ¶

type ScriptSort ¶

type ScriptSort struct {
	Mode   *sortmode.SortMode             `json:"mode,omitempty"`
	Nested *NestedSortValue               `json:"nested,omitempty"`
	Order  *sortorder.SortOrder           `json:"order,omitempty"`
	Script Script                         `json:"script"`
	Type   *scriptsorttype.ScriptSortType `json:"type,omitempty"`
}

ScriptSort type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/sort.ts#L67-L73

type ScriptSortBuilder ¶

type ScriptSortBuilder struct {
	// contains filtered or unexported fields
}

ScriptSortBuilder holds ScriptSort struct and provides a builder API.

func NewScriptSortBuilder ¶

func NewScriptSortBuilder() *ScriptSortBuilder

NewScriptSort provides a builder for the ScriptSort struct.

func (*ScriptSortBuilder) Build ¶

func (rb *ScriptSortBuilder) Build() ScriptSort

Build finalize the chain and returns the ScriptSort struct

func (*ScriptSortBuilder) Mode ¶

func (*ScriptSortBuilder) Nested ¶

func (*ScriptSortBuilder) Order ¶

func (*ScriptSortBuilder) Script ¶

func (rb *ScriptSortBuilder) Script(script *ScriptBuilder) *ScriptSortBuilder

func (*ScriptSortBuilder) Type_ ¶

type ScriptTransform ¶

type ScriptTransform struct {
	Id     *string                `json:"id,omitempty"`
	Lang   *string                `json:"lang,omitempty"`
	Params map[string]interface{} `json:"params,omitempty"`
	Source *string                `json:"source,omitempty"`
}

ScriptTransform type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Transform.ts#L36-L44

type ScriptTransformBuilder ¶

type ScriptTransformBuilder struct {
	// contains filtered or unexported fields
}

ScriptTransformBuilder holds ScriptTransform struct and provides a builder API.

func NewScriptTransformBuilder ¶

func NewScriptTransformBuilder() *ScriptTransformBuilder

NewScriptTransform provides a builder for the ScriptTransform struct.

func (*ScriptTransformBuilder) Build ¶

Build finalize the chain and returns the ScriptTransform struct

func (*ScriptTransformBuilder) Id ¶

func (*ScriptTransformBuilder) Lang ¶

func (*ScriptTransformBuilder) Params ¶

func (rb *ScriptTransformBuilder) Params(value map[string]interface{}) *ScriptTransformBuilder

func (*ScriptTransformBuilder) Source ¶

type ScriptedHeuristicBuilder ¶

type ScriptedHeuristicBuilder struct {
	// contains filtered or unexported fields
}

ScriptedHeuristicBuilder holds ScriptedHeuristic struct and provides a builder API.

func NewScriptedHeuristicBuilder ¶

func NewScriptedHeuristicBuilder() *ScriptedHeuristicBuilder

NewScriptedHeuristic provides a builder for the ScriptedHeuristic struct.

func (*ScriptedHeuristicBuilder) Build ¶

Build finalize the chain and returns the ScriptedHeuristic struct

func (*ScriptedHeuristicBuilder) Script ¶

type ScriptedMetricAggregate ¶

type ScriptedMetricAggregate struct {
	Meta  *Metadata   `json:"meta,omitempty"`
	Value interface{} `json:"value,omitempty"`
}

ScriptedMetricAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L600-L603

type ScriptedMetricAggregateBuilder ¶

type ScriptedMetricAggregateBuilder struct {
	// contains filtered or unexported fields
}

ScriptedMetricAggregateBuilder holds ScriptedMetricAggregate struct and provides a builder API.

func NewScriptedMetricAggregateBuilder ¶

func NewScriptedMetricAggregateBuilder() *ScriptedMetricAggregateBuilder

NewScriptedMetricAggregate provides a builder for the ScriptedMetricAggregate struct.

func (*ScriptedMetricAggregateBuilder) Build ¶

Build finalize the chain and returns the ScriptedMetricAggregate struct

func (*ScriptedMetricAggregateBuilder) Meta ¶

func (*ScriptedMetricAggregateBuilder) Value ¶

func (rb *ScriptedMetricAggregateBuilder) Value(value interface{}) *ScriptedMetricAggregateBuilder

type ScriptedMetricAggregation ¶

type ScriptedMetricAggregation struct {
	CombineScript *Script                `json:"combine_script,omitempty"`
	Field         *Field                 `json:"field,omitempty"`
	InitScript    *Script                `json:"init_script,omitempty"`
	MapScript     *Script                `json:"map_script,omitempty"`
	Missing       *Missing               `json:"missing,omitempty"`
	Params        map[string]interface{} `json:"params,omitempty"`
	ReduceScript  *Script                `json:"reduce_script,omitempty"`
	Script        *Script                `json:"script,omitempty"`
}

ScriptedMetricAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L128-L134

type ScriptedMetricAggregationBuilder ¶

type ScriptedMetricAggregationBuilder struct {
	// contains filtered or unexported fields
}

ScriptedMetricAggregationBuilder holds ScriptedMetricAggregation struct and provides a builder API.

func NewScriptedMetricAggregationBuilder ¶

func NewScriptedMetricAggregationBuilder() *ScriptedMetricAggregationBuilder

NewScriptedMetricAggregation provides a builder for the ScriptedMetricAggregation struct.

func (*ScriptedMetricAggregationBuilder) Build ¶

Build finalize the chain and returns the ScriptedMetricAggregation struct

func (*ScriptedMetricAggregationBuilder) CombineScript ¶

func (*ScriptedMetricAggregationBuilder) Field ¶

func (*ScriptedMetricAggregationBuilder) InitScript ¶

func (*ScriptedMetricAggregationBuilder) MapScript ¶

func (*ScriptedMetricAggregationBuilder) Missing ¶

func (*ScriptedMetricAggregationBuilder) Params ¶

func (*ScriptedMetricAggregationBuilder) ReduceScript ¶

func (*ScriptedMetricAggregationBuilder) Script ¶

type Scripting ¶

type Scripting struct {
	CacheEvictions            *int64    `json:"cache_evictions,omitempty"`
	CompilationLimitTriggered *int64    `json:"compilation_limit_triggered,omitempty"`
	Compilations              *int64    `json:"compilations,omitempty"`
	Contexts                  []Context `json:"contexts,omitempty"`
}

Scripting type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L383-L388

type ScriptingBuilder ¶

type ScriptingBuilder struct {
	// contains filtered or unexported fields
}

ScriptingBuilder holds Scripting struct and provides a builder API.

func NewScriptingBuilder ¶

func NewScriptingBuilder() *ScriptingBuilder

NewScripting provides a builder for the Scripting struct.

func (*ScriptingBuilder) Build ¶

func (rb *ScriptingBuilder) Build() Scripting

Build finalize the chain and returns the Scripting struct

func (*ScriptingBuilder) CacheEvictions ¶

func (rb *ScriptingBuilder) CacheEvictions(cacheevictions int64) *ScriptingBuilder

func (*ScriptingBuilder) CompilationLimitTriggered ¶

func (rb *ScriptingBuilder) CompilationLimitTriggered(compilationlimittriggered int64) *ScriptingBuilder

func (*ScriptingBuilder) Compilations ¶

func (rb *ScriptingBuilder) Compilations(compilations int64) *ScriptingBuilder

func (*ScriptingBuilder) Contexts ¶

func (rb *ScriptingBuilder) Contexts(contexts []ContextBuilder) *ScriptingBuilder

type ScrollIdBuilder ¶

type ScrollIdBuilder struct {
	// contains filtered or unexported fields
}

ScrollIdBuilder holds ScrollId struct and provides a builder API.

func NewScrollIdBuilder ¶

func NewScrollIdBuilder() *ScrollIdBuilder

NewScrollId provides a builder for the ScrollId struct.

func (*ScrollIdBuilder) Build ¶

func (b *ScrollIdBuilder) Build() ScrollId

Build finalize the chain and returns the ScrollId struct

func (*ScrollIdBuilder) ScrollId ¶

func (b *ScrollIdBuilder) ScrollId(value ScrollId) *ScrollIdBuilder

type ScrollIdsBuilder ¶

type ScrollIdsBuilder struct {
	// contains filtered or unexported fields
}

ScrollIdsBuilder holds ScrollIds struct and provides a builder API.

func NewScrollIdsBuilder ¶

func NewScrollIdsBuilder() *ScrollIdsBuilder

NewScrollIds provides a builder for the ScrollIds struct.

func (*ScrollIdsBuilder) Build ¶

func (b *ScrollIdsBuilder) Build() ScrollIds

Build finalize the chain and returns the ScrollIds struct

func (*ScrollIdsBuilder) ScrollIds ¶

func (b *ScrollIdsBuilder) ScrollIds(value ScrollIds) *ScrollIdsBuilder

type SearchAsYouTypeProperty ¶

type SearchAsYouTypeProperty struct {
	Analyzer            *string                            `json:"analyzer,omitempty"`
	CopyTo              *Fields                            `json:"copy_to,omitempty"`
	Dynamic             *dynamicmapping.DynamicMapping     `json:"dynamic,omitempty"`
	Fields              map[PropertyName]Property          `json:"fields,omitempty"`
	IgnoreAbove         *int                               `json:"ignore_above,omitempty"`
	Index               *bool                              `json:"index,omitempty"`
	IndexOptions        *indexoptions.IndexOptions         `json:"index_options,omitempty"`
	LocalMetadata       *Metadata                          `json:"local_metadata,omitempty"`
	MaxShingleSize      *int                               `json:"max_shingle_size,omitempty"`
	Meta                map[string]string                  `json:"meta,omitempty"`
	Norms               *bool                              `json:"norms,omitempty"`
	Properties          map[PropertyName]Property          `json:"properties,omitempty"`
	SearchAnalyzer      *string                            `json:"search_analyzer,omitempty"`
	SearchQuoteAnalyzer *string                            `json:"search_quote_analyzer,omitempty"`
	Similarity          *string                            `json:"similarity,omitempty"`
	Store               *bool                              `json:"store,omitempty"`
	TermVector          *termvectoroption.TermVectorOption `json:"term_vector,omitempty"`
	Type                string                             `json:"type,omitempty"`
}

SearchAsYouTypeProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L179-L189

type SearchAsYouTypePropertyBuilder ¶

type SearchAsYouTypePropertyBuilder struct {
	// contains filtered or unexported fields
}

SearchAsYouTypePropertyBuilder holds SearchAsYouTypeProperty struct and provides a builder API.

func NewSearchAsYouTypePropertyBuilder ¶

func NewSearchAsYouTypePropertyBuilder() *SearchAsYouTypePropertyBuilder

NewSearchAsYouTypeProperty provides a builder for the SearchAsYouTypeProperty struct.

func (*SearchAsYouTypePropertyBuilder) Analyzer ¶

func (*SearchAsYouTypePropertyBuilder) Build ¶

Build finalize the chain and returns the SearchAsYouTypeProperty struct

func (*SearchAsYouTypePropertyBuilder) CopyTo ¶

func (*SearchAsYouTypePropertyBuilder) Dynamic ¶

func (*SearchAsYouTypePropertyBuilder) Fields ¶

func (*SearchAsYouTypePropertyBuilder) IgnoreAbove ¶

func (*SearchAsYouTypePropertyBuilder) Index ¶

func (*SearchAsYouTypePropertyBuilder) IndexOptions ¶

func (*SearchAsYouTypePropertyBuilder) LocalMetadata ¶

func (*SearchAsYouTypePropertyBuilder) MaxShingleSize ¶

func (rb *SearchAsYouTypePropertyBuilder) MaxShingleSize(maxshinglesize int) *SearchAsYouTypePropertyBuilder

func (*SearchAsYouTypePropertyBuilder) Meta ¶

func (*SearchAsYouTypePropertyBuilder) Norms ¶

func (*SearchAsYouTypePropertyBuilder) Properties ¶

func (*SearchAsYouTypePropertyBuilder) SearchAnalyzer ¶

func (rb *SearchAsYouTypePropertyBuilder) SearchAnalyzer(searchanalyzer string) *SearchAsYouTypePropertyBuilder

func (*SearchAsYouTypePropertyBuilder) SearchQuoteAnalyzer ¶

func (rb *SearchAsYouTypePropertyBuilder) SearchQuoteAnalyzer(searchquoteanalyzer string) *SearchAsYouTypePropertyBuilder

func (*SearchAsYouTypePropertyBuilder) Similarity ¶

func (*SearchAsYouTypePropertyBuilder) Store ¶

func (*SearchAsYouTypePropertyBuilder) TermVector ¶

type SearchIdleBuilder ¶

type SearchIdleBuilder struct {
	// contains filtered or unexported fields
}

SearchIdleBuilder holds SearchIdle struct and provides a builder API.

func NewSearchIdleBuilder ¶

func NewSearchIdleBuilder() *SearchIdleBuilder

NewSearchIdle provides a builder for the SearchIdle struct.

func (*SearchIdleBuilder) After ¶

func (*SearchIdleBuilder) Build ¶

func (rb *SearchIdleBuilder) Build() SearchIdle

Build finalize the chain and returns the SearchIdle struct

type SearchInput ¶

type SearchInput struct {
	Extract []string                     `json:"extract,omitempty"`
	Request SearchInputRequestDefinition `json:"request"`
	Timeout *Duration                    `json:"timeout,omitempty"`
}

SearchInput type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L114-L118

type SearchInputBuilder ¶

type SearchInputBuilder struct {
	// contains filtered or unexported fields
}

SearchInputBuilder holds SearchInput struct and provides a builder API.

func NewSearchInputBuilder ¶

func NewSearchInputBuilder() *SearchInputBuilder

NewSearchInput provides a builder for the SearchInput struct.

func (*SearchInputBuilder) Build ¶

func (rb *SearchInputBuilder) Build() SearchInput

Build finalize the chain and returns the SearchInput struct

func (*SearchInputBuilder) Extract ¶

func (rb *SearchInputBuilder) Extract(extract ...string) *SearchInputBuilder

func (*SearchInputBuilder) Request ¶

func (*SearchInputBuilder) Timeout ¶

func (rb *SearchInputBuilder) Timeout(timeout *DurationBuilder) *SearchInputBuilder

type SearchInputRequestBodyBuilder ¶

type SearchInputRequestBodyBuilder struct {
	// contains filtered or unexported fields
}

SearchInputRequestBodyBuilder holds SearchInputRequestBody struct and provides a builder API.

func NewSearchInputRequestBodyBuilder ¶

func NewSearchInputRequestBodyBuilder() *SearchInputRequestBodyBuilder

NewSearchInputRequestBody provides a builder for the SearchInputRequestBody struct.

func (*SearchInputRequestBodyBuilder) Build ¶

Build finalize the chain and returns the SearchInputRequestBody struct

func (*SearchInputRequestBodyBuilder) Query ¶

type SearchInputRequestDefinition ¶

type SearchInputRequestDefinition struct {
	Body               *SearchInputRequestBody    `json:"body,omitempty"`
	Indices            []IndexName                `json:"indices,omitempty"`
	IndicesOptions     *IndicesOptions            `json:"indices_options,omitempty"`
	RestTotalHitsAsInt *bool                      `json:"rest_total_hits_as_int,omitempty"`
	SearchType         *searchtype.SearchType     `json:"search_type,omitempty"`
	Template           *SearchTemplateRequestBody `json:"template,omitempty"`
}

SearchInputRequestDefinition type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L120-L127

type SearchInputRequestDefinitionBuilder ¶

type SearchInputRequestDefinitionBuilder struct {
	// contains filtered or unexported fields
}

SearchInputRequestDefinitionBuilder holds SearchInputRequestDefinition struct and provides a builder API.

func NewSearchInputRequestDefinitionBuilder ¶

func NewSearchInputRequestDefinitionBuilder() *SearchInputRequestDefinitionBuilder

NewSearchInputRequestDefinition provides a builder for the SearchInputRequestDefinition struct.

func (*SearchInputRequestDefinitionBuilder) Body ¶

func (*SearchInputRequestDefinitionBuilder) Build ¶

Build finalize the chain and returns the SearchInputRequestDefinition struct

func (*SearchInputRequestDefinitionBuilder) Indices ¶

func (*SearchInputRequestDefinitionBuilder) IndicesOptions ¶

func (*SearchInputRequestDefinitionBuilder) RestTotalHitsAsInt ¶

func (rb *SearchInputRequestDefinitionBuilder) RestTotalHitsAsInt(resttotalhitsasint bool) *SearchInputRequestDefinitionBuilder

func (*SearchInputRequestDefinitionBuilder) SearchType ¶

func (*SearchInputRequestDefinitionBuilder) Template ¶

type SearchProfile ¶

type SearchProfile struct {
	Collector   []Collector    `json:"collector"`
	Query       []QueryProfile `json:"query"`
	RewriteTime int64          `json:"rewrite_time"`
}

SearchProfile type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/profile.ts#L124-L128

type SearchProfileBuilder ¶

type SearchProfileBuilder struct {
	// contains filtered or unexported fields
}

SearchProfileBuilder holds SearchProfile struct and provides a builder API.

func NewSearchProfileBuilder ¶

func NewSearchProfileBuilder() *SearchProfileBuilder

NewSearchProfile provides a builder for the SearchProfile struct.

func (*SearchProfileBuilder) Build ¶

func (rb *SearchProfileBuilder) Build() SearchProfile

Build finalize the chain and returns the SearchProfile struct

func (*SearchProfileBuilder) Collector ¶

func (rb *SearchProfileBuilder) Collector(collector []CollectorBuilder) *SearchProfileBuilder

func (*SearchProfileBuilder) Query ¶

func (*SearchProfileBuilder) RewriteTime ¶

func (rb *SearchProfileBuilder) RewriteTime(rewritetime int64) *SearchProfileBuilder

type SearchStats ¶

type SearchStats struct {
	FetchCurrent        int64                   `json:"fetch_current"`
	FetchTime           *Duration               `json:"fetch_time,omitempty"`
	FetchTimeInMillis   DurationValueUnitMillis `json:"fetch_time_in_millis"`
	FetchTotal          int64                   `json:"fetch_total"`
	Groups              map[string]SearchStats  `json:"groups,omitempty"`
	OpenContexts        *int64                  `json:"open_contexts,omitempty"`
	QueryCurrent        int64                   `json:"query_current"`
	QueryTime           *Duration               `json:"query_time,omitempty"`
	QueryTimeInMillis   DurationValueUnitMillis `json:"query_time_in_millis"`
	QueryTotal          int64                   `json:"query_total"`
	ScrollCurrent       int64                   `json:"scroll_current"`
	ScrollTime          *Duration               `json:"scroll_time,omitempty"`
	ScrollTimeInMillis  DurationValueUnitMillis `json:"scroll_time_in_millis"`
	ScrollTotal         int64                   `json:"scroll_total"`
	SuggestCurrent      int64                   `json:"suggest_current"`
	SuggestTime         *Duration               `json:"suggest_time,omitempty"`
	SuggestTimeInMillis DurationValueUnitMillis `json:"suggest_time_in_millis"`
	SuggestTotal        int64                   `json:"suggest_total"`
}

SearchStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L185-L204

type SearchStatsBuilder ¶

type SearchStatsBuilder struct {
	// contains filtered or unexported fields
}

SearchStatsBuilder holds SearchStats struct and provides a builder API.

func NewSearchStatsBuilder ¶

func NewSearchStatsBuilder() *SearchStatsBuilder

NewSearchStats provides a builder for the SearchStats struct.

func (*SearchStatsBuilder) Build ¶

func (rb *SearchStatsBuilder) Build() SearchStats

Build finalize the chain and returns the SearchStats struct

func (*SearchStatsBuilder) FetchCurrent ¶

func (rb *SearchStatsBuilder) FetchCurrent(fetchcurrent int64) *SearchStatsBuilder

func (*SearchStatsBuilder) FetchTime ¶

func (rb *SearchStatsBuilder) FetchTime(fetchtime *DurationBuilder) *SearchStatsBuilder

func (*SearchStatsBuilder) FetchTimeInMillis ¶

func (rb *SearchStatsBuilder) FetchTimeInMillis(fetchtimeinmillis *DurationValueUnitMillisBuilder) *SearchStatsBuilder

func (*SearchStatsBuilder) FetchTotal ¶

func (rb *SearchStatsBuilder) FetchTotal(fetchtotal int64) *SearchStatsBuilder

func (*SearchStatsBuilder) Groups ¶

func (*SearchStatsBuilder) OpenContexts ¶

func (rb *SearchStatsBuilder) OpenContexts(opencontexts int64) *SearchStatsBuilder

func (*SearchStatsBuilder) QueryCurrent ¶

func (rb *SearchStatsBuilder) QueryCurrent(querycurrent int64) *SearchStatsBuilder

func (*SearchStatsBuilder) QueryTime ¶

func (rb *SearchStatsBuilder) QueryTime(querytime *DurationBuilder) *SearchStatsBuilder

func (*SearchStatsBuilder) QueryTimeInMillis ¶

func (rb *SearchStatsBuilder) QueryTimeInMillis(querytimeinmillis *DurationValueUnitMillisBuilder) *SearchStatsBuilder

func (*SearchStatsBuilder) QueryTotal ¶

func (rb *SearchStatsBuilder) QueryTotal(querytotal int64) *SearchStatsBuilder

func (*SearchStatsBuilder) ScrollCurrent ¶

func (rb *SearchStatsBuilder) ScrollCurrent(scrollcurrent int64) *SearchStatsBuilder

func (*SearchStatsBuilder) ScrollTime ¶

func (rb *SearchStatsBuilder) ScrollTime(scrolltime *DurationBuilder) *SearchStatsBuilder

func (*SearchStatsBuilder) ScrollTimeInMillis ¶

func (rb *SearchStatsBuilder) ScrollTimeInMillis(scrolltimeinmillis *DurationValueUnitMillisBuilder) *SearchStatsBuilder

func (*SearchStatsBuilder) ScrollTotal ¶

func (rb *SearchStatsBuilder) ScrollTotal(scrolltotal int64) *SearchStatsBuilder

func (*SearchStatsBuilder) SuggestCurrent ¶

func (rb *SearchStatsBuilder) SuggestCurrent(suggestcurrent int64) *SearchStatsBuilder

func (*SearchStatsBuilder) SuggestTime ¶

func (rb *SearchStatsBuilder) SuggestTime(suggesttime *DurationBuilder) *SearchStatsBuilder

func (*SearchStatsBuilder) SuggestTimeInMillis ¶

func (rb *SearchStatsBuilder) SuggestTimeInMillis(suggesttimeinmillis *DurationValueUnitMillisBuilder) *SearchStatsBuilder

func (*SearchStatsBuilder) SuggestTotal ¶

func (rb *SearchStatsBuilder) SuggestTotal(suggesttotal int64) *SearchStatsBuilder

type SearchTemplateRequestBody ¶

type SearchTemplateRequestBody struct {
	Explain *bool `json:"explain,omitempty"`
	// Id ID of the search template to use. If no source is specified,
	// this parameter is required.
	Id      *Id                    `json:"id,omitempty"`
	Params  map[string]interface{} `json:"params,omitempty"`
	Profile *bool                  `json:"profile,omitempty"`
	// Source An inline search template. Supports the same parameters as the search API's
	// request body. Also supports Mustache variables. If no id is specified, this
	// parameter is required.
	Source *string `json:"source,omitempty"`
}

SearchTemplateRequestBody type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L130-L147

type SearchTemplateRequestBodyBuilder ¶

type SearchTemplateRequestBodyBuilder struct {
	// contains filtered or unexported fields
}

SearchTemplateRequestBodyBuilder holds SearchTemplateRequestBody struct and provides a builder API.

func NewSearchTemplateRequestBodyBuilder ¶

func NewSearchTemplateRequestBodyBuilder() *SearchTemplateRequestBodyBuilder

NewSearchTemplateRequestBody provides a builder for the SearchTemplateRequestBody struct.

func (*SearchTemplateRequestBodyBuilder) Build ¶

Build finalize the chain and returns the SearchTemplateRequestBody struct

func (*SearchTemplateRequestBodyBuilder) Explain ¶

func (*SearchTemplateRequestBodyBuilder) Id ¶

func (*SearchTemplateRequestBodyBuilder) Params ¶

func (*SearchTemplateRequestBodyBuilder) Profile ¶

func (*SearchTemplateRequestBodyBuilder) Source ¶

type SearchTransformBuilder ¶

type SearchTransformBuilder struct {
	// contains filtered or unexported fields
}

SearchTransformBuilder holds SearchTransform struct and provides a builder API.

func NewSearchTransformBuilder ¶

func NewSearchTransformBuilder() *SearchTransformBuilder

NewSearchTransform provides a builder for the SearchTransform struct.

func (*SearchTransformBuilder) Build ¶

Build finalize the chain and returns the SearchTransform struct

func (*SearchTransformBuilder) Request ¶

func (*SearchTransformBuilder) Timeout ¶

type SearchableSnapshots ¶

type SearchableSnapshots struct {
	Available               bool `json:"available"`
	Enabled                 bool `json:"enabled"`
	FullCopyIndicesCount    *int `json:"full_copy_indices_count,omitempty"`
	IndicesCount            int  `json:"indices_count"`
	SharedCacheIndicesCount *int `json:"shared_cache_indices_count,omitempty"`
}

SearchableSnapshots type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L417-L421

type SearchableSnapshotsBuilder ¶

type SearchableSnapshotsBuilder struct {
	// contains filtered or unexported fields
}

SearchableSnapshotsBuilder holds SearchableSnapshots struct and provides a builder API.

func NewSearchableSnapshotsBuilder ¶

func NewSearchableSnapshotsBuilder() *SearchableSnapshotsBuilder

NewSearchableSnapshots provides a builder for the SearchableSnapshots struct.

func (*SearchableSnapshotsBuilder) Available ¶

func (*SearchableSnapshotsBuilder) Build ¶

Build finalize the chain and returns the SearchableSnapshots struct

func (*SearchableSnapshotsBuilder) Enabled ¶

func (*SearchableSnapshotsBuilder) FullCopyIndicesCount ¶

func (rb *SearchableSnapshotsBuilder) FullCopyIndicesCount(fullcopyindicescount int) *SearchableSnapshotsBuilder

func (*SearchableSnapshotsBuilder) IndicesCount ¶

func (rb *SearchableSnapshotsBuilder) IndicesCount(indicescount int) *SearchableSnapshotsBuilder

func (*SearchableSnapshotsBuilder) SharedCacheIndicesCount ¶

func (rb *SearchableSnapshotsBuilder) SharedCacheIndicesCount(sharedcacheindicescount int) *SearchableSnapshotsBuilder

type Security ¶

type Security struct {
	Anonymous          FeatureToggle          `json:"anonymous"`
	ApiKeyService      FeatureToggle          `json:"api_key_service"`
	Audit              Audit                  `json:"audit"`
	Available          bool                   `json:"available"`
	Enabled            bool                   `json:"enabled"`
	Fips140            FeatureToggle          `json:"fips_140"`
	Ipfilter           IpFilter               `json:"ipfilter"`
	OperatorPrivileges Base                   `json:"operator_privileges"`
	Realms             map[string]Realm       `json:"realms"`
	RoleMapping        map[string]RoleMapping `json:"role_mapping"`
	Roles              SecurityRoles          `json:"roles"`
	Ssl                Ssl                    `json:"ssl"`
	SystemKey          *FeatureToggle         `json:"system_key,omitempty"`
	TokenService       FeatureToggle          `json:"token_service"`
}

Security type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L423-L436

type SecurityBuilder ¶

type SecurityBuilder struct {
	// contains filtered or unexported fields
}

SecurityBuilder holds Security struct and provides a builder API.

func NewSecurityBuilder ¶

func NewSecurityBuilder() *SecurityBuilder

NewSecurity provides a builder for the Security struct.

func (*SecurityBuilder) Anonymous ¶

func (rb *SecurityBuilder) Anonymous(anonymous *FeatureToggleBuilder) *SecurityBuilder

func (*SecurityBuilder) ApiKeyService ¶

func (rb *SecurityBuilder) ApiKeyService(apikeyservice *FeatureToggleBuilder) *SecurityBuilder

func (*SecurityBuilder) Audit ¶

func (rb *SecurityBuilder) Audit(audit *AuditBuilder) *SecurityBuilder

func (*SecurityBuilder) Available ¶

func (rb *SecurityBuilder) Available(available bool) *SecurityBuilder

func (*SecurityBuilder) Build ¶

func (rb *SecurityBuilder) Build() Security

Build finalize the chain and returns the Security struct

func (*SecurityBuilder) Enabled ¶

func (rb *SecurityBuilder) Enabled(enabled bool) *SecurityBuilder

func (*SecurityBuilder) Fips140 ¶

func (rb *SecurityBuilder) Fips140(fips140 *FeatureToggleBuilder) *SecurityBuilder

func (*SecurityBuilder) Ipfilter ¶

func (rb *SecurityBuilder) Ipfilter(ipfilter *IpFilterBuilder) *SecurityBuilder

func (*SecurityBuilder) OperatorPrivileges ¶

func (rb *SecurityBuilder) OperatorPrivileges(operatorprivileges *BaseBuilder) *SecurityBuilder

func (*SecurityBuilder) Realms ¶

func (rb *SecurityBuilder) Realms(values map[string]*RealmBuilder) *SecurityBuilder

func (*SecurityBuilder) RoleMapping ¶

func (rb *SecurityBuilder) RoleMapping(values map[string]*RoleMappingBuilder) *SecurityBuilder

func (*SecurityBuilder) Roles ¶

func (*SecurityBuilder) Ssl ¶

func (*SecurityBuilder) SystemKey ¶

func (rb *SecurityBuilder) SystemKey(systemkey *FeatureToggleBuilder) *SecurityBuilder

func (*SecurityBuilder) TokenService ¶

func (rb *SecurityBuilder) TokenService(tokenservice *FeatureToggleBuilder) *SecurityBuilder

type SecurityRolesBuilder ¶

type SecurityRolesBuilder struct {
	// contains filtered or unexported fields
}

SecurityRolesBuilder holds SecurityRoles struct and provides a builder API.

func NewSecurityRolesBuilder ¶

func NewSecurityRolesBuilder() *SecurityRolesBuilder

NewSecurityRoles provides a builder for the SecurityRoles struct.

func (*SecurityRolesBuilder) Build ¶

func (rb *SecurityRolesBuilder) Build() SecurityRoles

Build finalize the chain and returns the SecurityRoles struct

func (*SecurityRolesBuilder) Dls ¶

func (*SecurityRolesBuilder) File ¶

func (*SecurityRolesBuilder) Native ¶

type SecurityRolesDlsBitSetCache ¶

type SecurityRolesDlsBitSetCache struct {
	Count         int       `json:"count"`
	Memory        *ByteSize `json:"memory,omitempty"`
	MemoryInBytes uint64    `json:"memory_in_bytes"`
}

SecurityRolesDlsBitSetCache type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L295-L299

type SecurityRolesDlsBitSetCacheBuilder ¶

type SecurityRolesDlsBitSetCacheBuilder struct {
	// contains filtered or unexported fields
}

SecurityRolesDlsBitSetCacheBuilder holds SecurityRolesDlsBitSetCache struct and provides a builder API.

func NewSecurityRolesDlsBitSetCacheBuilder ¶

func NewSecurityRolesDlsBitSetCacheBuilder() *SecurityRolesDlsBitSetCacheBuilder

NewSecurityRolesDlsBitSetCache provides a builder for the SecurityRolesDlsBitSetCache struct.

func (*SecurityRolesDlsBitSetCacheBuilder) Build ¶

Build finalize the chain and returns the SecurityRolesDlsBitSetCache struct

func (*SecurityRolesDlsBitSetCacheBuilder) Count ¶

func (*SecurityRolesDlsBitSetCacheBuilder) Memory ¶

func (*SecurityRolesDlsBitSetCacheBuilder) MemoryInBytes ¶

type SecurityRolesDlsBuilder ¶

type SecurityRolesDlsBuilder struct {
	// contains filtered or unexported fields
}

SecurityRolesDlsBuilder holds SecurityRolesDls struct and provides a builder API.

func NewSecurityRolesDlsBuilder ¶

func NewSecurityRolesDlsBuilder() *SecurityRolesDlsBuilder

NewSecurityRolesDls provides a builder for the SecurityRolesDls struct.

func (*SecurityRolesDlsBuilder) BitSetCache ¶

func (*SecurityRolesDlsBuilder) Build ¶

Build finalize the chain and returns the SecurityRolesDls struct

type SecurityRolesFile ¶

type SecurityRolesFile struct {
	Dls  bool  `json:"dls"`
	Fls  bool  `json:"fls"`
	Size int64 `json:"size"`
}

SecurityRolesFile type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L301-L305

type SecurityRolesFileBuilder ¶

type SecurityRolesFileBuilder struct {
	// contains filtered or unexported fields
}

SecurityRolesFileBuilder holds SecurityRolesFile struct and provides a builder API.

func NewSecurityRolesFileBuilder ¶

func NewSecurityRolesFileBuilder() *SecurityRolesFileBuilder

NewSecurityRolesFile provides a builder for the SecurityRolesFile struct.

func (*SecurityRolesFileBuilder) Build ¶

Build finalize the chain and returns the SecurityRolesFile struct

func (*SecurityRolesFileBuilder) Dls ¶

func (*SecurityRolesFileBuilder) Fls ¶

func (*SecurityRolesFileBuilder) Size ¶

type SecurityRolesNative ¶

type SecurityRolesNative struct {
	Dls  bool  `json:"dls"`
	Fls  bool  `json:"fls"`
	Size int64 `json:"size"`
}

SecurityRolesNative type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L285-L289

type SecurityRolesNativeBuilder ¶

type SecurityRolesNativeBuilder struct {
	// contains filtered or unexported fields
}

SecurityRolesNativeBuilder holds SecurityRolesNative struct and provides a builder API.

func NewSecurityRolesNativeBuilder ¶

func NewSecurityRolesNativeBuilder() *SecurityRolesNativeBuilder

NewSecurityRolesNative provides a builder for the SecurityRolesNative struct.

func (*SecurityRolesNativeBuilder) Build ¶

Build finalize the chain and returns the SecurityRolesNative struct

func (*SecurityRolesNativeBuilder) Dls ¶

func (*SecurityRolesNativeBuilder) Fls ¶

func (*SecurityRolesNativeBuilder) Size ¶

type Segment ¶

type Segment struct {
	Attributes    map[string]string `json:"attributes"`
	Committed     bool              `json:"committed"`
	Compound      bool              `json:"compound"`
	DeletedDocs   int64             `json:"deleted_docs"`
	Generation    int               `json:"generation"`
	MemoryInBytes float64           `json:"memory_in_bytes"`
	NumDocs       int64             `json:"num_docs"`
	Search        bool              `json:"search"`
	SizeInBytes   float64           `json:"size_in_bytes"`
	Version       VersionString     `json:"version"`
}

Segment type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/segments/types.ts#L28-L39

type SegmentBuilder ¶

type SegmentBuilder struct {
	// contains filtered or unexported fields
}

SegmentBuilder holds Segment struct and provides a builder API.

func NewSegmentBuilder ¶

func NewSegmentBuilder() *SegmentBuilder

NewSegment provides a builder for the Segment struct.

func (*SegmentBuilder) Attributes ¶

func (rb *SegmentBuilder) Attributes(value map[string]string) *SegmentBuilder

func (*SegmentBuilder) Build ¶

func (rb *SegmentBuilder) Build() Segment

Build finalize the chain and returns the Segment struct

func (*SegmentBuilder) Committed ¶

func (rb *SegmentBuilder) Committed(committed bool) *SegmentBuilder

func (*SegmentBuilder) Compound ¶

func (rb *SegmentBuilder) Compound(compound bool) *SegmentBuilder

func (*SegmentBuilder) DeletedDocs ¶

func (rb *SegmentBuilder) DeletedDocs(deleteddocs int64) *SegmentBuilder

func (*SegmentBuilder) Generation ¶

func (rb *SegmentBuilder) Generation(generation int) *SegmentBuilder

func (*SegmentBuilder) MemoryInBytes ¶

func (rb *SegmentBuilder) MemoryInBytes(memoryinbytes float64) *SegmentBuilder

func (*SegmentBuilder) NumDocs ¶

func (rb *SegmentBuilder) NumDocs(numdocs int64) *SegmentBuilder

func (*SegmentBuilder) Search ¶

func (rb *SegmentBuilder) Search(search bool) *SegmentBuilder

func (*SegmentBuilder) SizeInBytes ¶

func (rb *SegmentBuilder) SizeInBytes(sizeinbytes float64) *SegmentBuilder

func (*SegmentBuilder) Version ¶

func (rb *SegmentBuilder) Version(version VersionString) *SegmentBuilder

type SegmentsRecord ¶

type SegmentsRecord struct {
	// Committed is segment committed
	Committed *string `json:"committed,omitempty"`
	// Compound is segment compound
	Compound *string `json:"compound,omitempty"`
	// DocsCount number of docs in segment
	DocsCount *string `json:"docs.count,omitempty"`
	// DocsDeleted number of deleted docs in segment
	DocsDeleted *string `json:"docs.deleted,omitempty"`
	// Generation segment generation
	Generation *string `json:"generation,omitempty"`
	// Id unique id of node where it lives
	Id *NodeId `json:"id,omitempty"`
	// Index index name
	Index *IndexName `json:"index,omitempty"`
	// Ip ip of node where it lives
	Ip *string `json:"ip,omitempty"`
	// Prirep primary or replica
	Prirep *string `json:"prirep,omitempty"`
	// Searchable is segment searched
	Searchable *string `json:"searchable,omitempty"`
	// Segment segment name
	Segment *string `json:"segment,omitempty"`
	// Shard shard name
	Shard *string `json:"shard,omitempty"`
	// Size segment size in bytes
	Size *ByteSize `json:"size,omitempty"`
	// SizeMemory segment memory in bytes
	SizeMemory *ByteSize `json:"size.memory,omitempty"`
	// Version version
	Version *VersionString `json:"version,omitempty"`
}

SegmentsRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/segments/types.ts#L22-L96

type SegmentsRecordBuilder ¶

type SegmentsRecordBuilder struct {
	// contains filtered or unexported fields
}

SegmentsRecordBuilder holds SegmentsRecord struct and provides a builder API.

func NewSegmentsRecordBuilder ¶

func NewSegmentsRecordBuilder() *SegmentsRecordBuilder

NewSegmentsRecord provides a builder for the SegmentsRecord struct.

func (*SegmentsRecordBuilder) Build ¶

Build finalize the chain and returns the SegmentsRecord struct

func (*SegmentsRecordBuilder) Committed ¶

func (rb *SegmentsRecordBuilder) Committed(committed string) *SegmentsRecordBuilder

func (*SegmentsRecordBuilder) Compound ¶

func (rb *SegmentsRecordBuilder) Compound(compound string) *SegmentsRecordBuilder

func (*SegmentsRecordBuilder) DocsCount ¶

func (rb *SegmentsRecordBuilder) DocsCount(docscount string) *SegmentsRecordBuilder

func (*SegmentsRecordBuilder) DocsDeleted ¶

func (rb *SegmentsRecordBuilder) DocsDeleted(docsdeleted string) *SegmentsRecordBuilder

func (*SegmentsRecordBuilder) Generation ¶

func (rb *SegmentsRecordBuilder) Generation(generation string) *SegmentsRecordBuilder

func (*SegmentsRecordBuilder) Id ¶

func (*SegmentsRecordBuilder) Index ¶

func (*SegmentsRecordBuilder) Ip ¶

func (*SegmentsRecordBuilder) Prirep ¶

func (*SegmentsRecordBuilder) Searchable ¶

func (rb *SegmentsRecordBuilder) Searchable(searchable string) *SegmentsRecordBuilder

func (*SegmentsRecordBuilder) Segment ¶

func (rb *SegmentsRecordBuilder) Segment(segment string) *SegmentsRecordBuilder

func (*SegmentsRecordBuilder) Shard ¶

func (*SegmentsRecordBuilder) Size ¶

func (*SegmentsRecordBuilder) SizeMemory ¶

func (rb *SegmentsRecordBuilder) SizeMemory(sizememory *ByteSizeBuilder) *SegmentsRecordBuilder

func (*SegmentsRecordBuilder) Version ¶

type SegmentsStats ¶

type SegmentsStats struct {
	Count                       int                          `json:"count"`
	DocValuesMemory             *ByteSize                    `json:"doc_values_memory,omitempty"`
	DocValuesMemoryInBytes      int                          `json:"doc_values_memory_in_bytes"`
	FileSizes                   map[string]ShardFileSizeInfo `json:"file_sizes"`
	FixedBitSet                 *ByteSize                    `json:"fixed_bit_set,omitempty"`
	FixedBitSetMemoryInBytes    int                          `json:"fixed_bit_set_memory_in_bytes"`
	IndexWriterMaxMemoryInBytes *int                         `json:"index_writer_max_memory_in_bytes,omitempty"`
	IndexWriterMemory           *ByteSize                    `json:"index_writer_memory,omitempty"`
	IndexWriterMemoryInBytes    int                          `json:"index_writer_memory_in_bytes"`
	MaxUnsafeAutoIdTimestamp    int64                        `json:"max_unsafe_auto_id_timestamp"`
	Memory                      *ByteSize                    `json:"memory,omitempty"`
	MemoryInBytes               int                          `json:"memory_in_bytes"`
	NormsMemory                 *ByteSize                    `json:"norms_memory,omitempty"`
	NormsMemoryInBytes          int                          `json:"norms_memory_in_bytes"`
	PointsMemory                *ByteSize                    `json:"points_memory,omitempty"`
	PointsMemoryInBytes         int                          `json:"points_memory_in_bytes"`
	StoredFieldsMemoryInBytes   int                          `json:"stored_fields_memory_in_bytes"`
	StoredMemory                *ByteSize                    `json:"stored_memory,omitempty"`
	TermVectorsMemoryInBytes    int                          `json:"term_vectors_memory_in_bytes"`
	TermVectoryMemory           *ByteSize                    `json:"term_vectory_memory,omitempty"`
	TermsMemory                 *ByteSize                    `json:"terms_memory,omitempty"`
	TermsMemoryInBytes          int                          `json:"terms_memory_in_bytes"`
	VersionMapMemory            *ByteSize                    `json:"version_map_memory,omitempty"`
	VersionMapMemoryInBytes     int                          `json:"version_map_memory_in_bytes"`
}

SegmentsStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L206-L231

type SegmentsStatsBuilder ¶

type SegmentsStatsBuilder struct {
	// contains filtered or unexported fields
}

SegmentsStatsBuilder holds SegmentsStats struct and provides a builder API.

func NewSegmentsStatsBuilder ¶

func NewSegmentsStatsBuilder() *SegmentsStatsBuilder

NewSegmentsStats provides a builder for the SegmentsStats struct.

func (*SegmentsStatsBuilder) Build ¶

func (rb *SegmentsStatsBuilder) Build() SegmentsStats

Build finalize the chain and returns the SegmentsStats struct

func (*SegmentsStatsBuilder) Count ¶

func (rb *SegmentsStatsBuilder) Count(count int) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) DocValuesMemory ¶

func (rb *SegmentsStatsBuilder) DocValuesMemory(docvaluesmemory *ByteSizeBuilder) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) DocValuesMemoryInBytes ¶

func (rb *SegmentsStatsBuilder) DocValuesMemoryInBytes(docvaluesmemoryinbytes int) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) FileSizes ¶

func (*SegmentsStatsBuilder) FixedBitSet ¶

func (rb *SegmentsStatsBuilder) FixedBitSet(fixedbitset *ByteSizeBuilder) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) FixedBitSetMemoryInBytes ¶

func (rb *SegmentsStatsBuilder) FixedBitSetMemoryInBytes(fixedbitsetmemoryinbytes int) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) IndexWriterMaxMemoryInBytes ¶

func (rb *SegmentsStatsBuilder) IndexWriterMaxMemoryInBytes(indexwritermaxmemoryinbytes int) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) IndexWriterMemory ¶

func (rb *SegmentsStatsBuilder) IndexWriterMemory(indexwritermemory *ByteSizeBuilder) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) IndexWriterMemoryInBytes ¶

func (rb *SegmentsStatsBuilder) IndexWriterMemoryInBytes(indexwritermemoryinbytes int) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) MaxUnsafeAutoIdTimestamp ¶

func (rb *SegmentsStatsBuilder) MaxUnsafeAutoIdTimestamp(maxunsafeautoidtimestamp int64) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) Memory ¶

func (*SegmentsStatsBuilder) MemoryInBytes ¶

func (rb *SegmentsStatsBuilder) MemoryInBytes(memoryinbytes int) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) NormsMemory ¶

func (rb *SegmentsStatsBuilder) NormsMemory(normsmemory *ByteSizeBuilder) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) NormsMemoryInBytes ¶

func (rb *SegmentsStatsBuilder) NormsMemoryInBytes(normsmemoryinbytes int) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) PointsMemory ¶

func (rb *SegmentsStatsBuilder) PointsMemory(pointsmemory *ByteSizeBuilder) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) PointsMemoryInBytes ¶

func (rb *SegmentsStatsBuilder) PointsMemoryInBytes(pointsmemoryinbytes int) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) StoredFieldsMemoryInBytes ¶

func (rb *SegmentsStatsBuilder) StoredFieldsMemoryInBytes(storedfieldsmemoryinbytes int) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) StoredMemory ¶

func (rb *SegmentsStatsBuilder) StoredMemory(storedmemory *ByteSizeBuilder) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) TermVectorsMemoryInBytes ¶

func (rb *SegmentsStatsBuilder) TermVectorsMemoryInBytes(termvectorsmemoryinbytes int) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) TermVectoryMemory ¶

func (rb *SegmentsStatsBuilder) TermVectoryMemory(termvectorymemory *ByteSizeBuilder) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) TermsMemory ¶

func (rb *SegmentsStatsBuilder) TermsMemory(termsmemory *ByteSizeBuilder) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) TermsMemoryInBytes ¶

func (rb *SegmentsStatsBuilder) TermsMemoryInBytes(termsmemoryinbytes int) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) VersionMapMemory ¶

func (rb *SegmentsStatsBuilder) VersionMapMemory(versionmapmemory *ByteSizeBuilder) *SegmentsStatsBuilder

func (*SegmentsStatsBuilder) VersionMapMemoryInBytes ¶

func (rb *SegmentsStatsBuilder) VersionMapMemoryInBytes(versionmapmemoryinbytes int) *SegmentsStatsBuilder

type SequenceNumberBuilder ¶

type SequenceNumberBuilder struct {
	// contains filtered or unexported fields
}

SequenceNumberBuilder holds SequenceNumber struct and provides a builder API.

func NewSequenceNumberBuilder ¶

func NewSequenceNumberBuilder() *SequenceNumberBuilder

NewSequenceNumber provides a builder for the SequenceNumber struct.

func (*SequenceNumberBuilder) Build ¶

Build finalize the chain and returns the SequenceNumber struct

func (*SequenceNumberBuilder) SequenceNumber ¶

type SerialDifferencingAggregation ¶

type SerialDifferencingAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Lag         *int                 `json:"lag,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
}

SerialDifferencingAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L268-L270

type SerialDifferencingAggregationBuilder ¶

type SerialDifferencingAggregationBuilder struct {
	// contains filtered or unexported fields
}

SerialDifferencingAggregationBuilder holds SerialDifferencingAggregation struct and provides a builder API.

func NewSerialDifferencingAggregationBuilder ¶

func NewSerialDifferencingAggregationBuilder() *SerialDifferencingAggregationBuilder

NewSerialDifferencingAggregation provides a builder for the SerialDifferencingAggregation struct.

func (*SerialDifferencingAggregationBuilder) BucketsPath ¶

func (*SerialDifferencingAggregationBuilder) Build ¶

Build finalize the chain and returns the SerialDifferencingAggregation struct

func (*SerialDifferencingAggregationBuilder) Format ¶

func (*SerialDifferencingAggregationBuilder) GapPolicy ¶

func (*SerialDifferencingAggregationBuilder) Lag ¶

func (*SerialDifferencingAggregationBuilder) Meta ¶

func (*SerialDifferencingAggregationBuilder) Name ¶

type SerializedClusterState ¶

type SerializedClusterState struct {
	Diffs      *SerializedClusterStateDetail `json:"diffs,omitempty"`
	FullStates *SerializedClusterStateDetail `json:"full_states,omitempty"`
}

SerializedClusterState type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L95-L98

type SerializedClusterStateBuilder ¶

type SerializedClusterStateBuilder struct {
	// contains filtered or unexported fields
}

SerializedClusterStateBuilder holds SerializedClusterState struct and provides a builder API.

func NewSerializedClusterStateBuilder ¶

func NewSerializedClusterStateBuilder() *SerializedClusterStateBuilder

NewSerializedClusterState provides a builder for the SerializedClusterState struct.

func (*SerializedClusterStateBuilder) Build ¶

Build finalize the chain and returns the SerializedClusterState struct

func (*SerializedClusterStateBuilder) Diffs ¶

func (*SerializedClusterStateBuilder) FullStates ¶

type SerializedClusterStateDetail ¶

type SerializedClusterStateDetail struct {
	CompressedSize          *string `json:"compressed_size,omitempty"`
	CompressedSizeInBytes   *int64  `json:"compressed_size_in_bytes,omitempty"`
	Count                   *int64  `json:"count,omitempty"`
	UncompressedSize        *string `json:"uncompressed_size,omitempty"`
	UncompressedSizeInBytes *int64  `json:"uncompressed_size_in_bytes,omitempty"`
}

SerializedClusterStateDetail type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L100-L106

type SerializedClusterStateDetailBuilder ¶

type SerializedClusterStateDetailBuilder struct {
	// contains filtered or unexported fields
}

SerializedClusterStateDetailBuilder holds SerializedClusterStateDetail struct and provides a builder API.

func NewSerializedClusterStateDetailBuilder ¶

func NewSerializedClusterStateDetailBuilder() *SerializedClusterStateDetailBuilder

NewSerializedClusterStateDetail provides a builder for the SerializedClusterStateDetail struct.

func (*SerializedClusterStateDetailBuilder) Build ¶

Build finalize the chain and returns the SerializedClusterStateDetail struct

func (*SerializedClusterStateDetailBuilder) CompressedSize ¶

func (*SerializedClusterStateDetailBuilder) CompressedSizeInBytes ¶

func (rb *SerializedClusterStateDetailBuilder) CompressedSizeInBytes(compressedsizeinbytes int64) *SerializedClusterStateDetailBuilder

func (*SerializedClusterStateDetailBuilder) Count ¶

func (*SerializedClusterStateDetailBuilder) UncompressedSize ¶

func (rb *SerializedClusterStateDetailBuilder) UncompressedSize(uncompressedsize string) *SerializedClusterStateDetailBuilder

func (*SerializedClusterStateDetailBuilder) UncompressedSizeInBytes ¶

func (rb *SerializedClusterStateDetailBuilder) UncompressedSizeInBytes(uncompressedsizeinbytes int64) *SerializedClusterStateDetailBuilder

type ServiceBuilder ¶

type ServiceBuilder struct {
	// contains filtered or unexported fields
}

ServiceBuilder holds Service struct and provides a builder API.

func NewServiceBuilder ¶

func NewServiceBuilder() *ServiceBuilder

NewService provides a builder for the Service struct.

func (*ServiceBuilder) Build ¶

func (b *ServiceBuilder) Build() Service

Build finalize the chain and returns the Service struct

func (*ServiceBuilder) Service ¶

func (b *ServiceBuilder) Service(value Service) *ServiceBuilder

type SetProcessor ¶

type SetProcessor struct {
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Override      *bool                `json:"override,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
	Value         interface{}          `json:"value,omitempty"`
}

SetProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L319-L323

type SetProcessorBuilder ¶

type SetProcessorBuilder struct {
	// contains filtered or unexported fields
}

SetProcessorBuilder holds SetProcessor struct and provides a builder API.

func NewSetProcessorBuilder ¶

func NewSetProcessorBuilder() *SetProcessorBuilder

NewSetProcessor provides a builder for the SetProcessor struct.

func (*SetProcessorBuilder) Build ¶

func (rb *SetProcessorBuilder) Build() SetProcessor

Build finalize the chain and returns the SetProcessor struct

func (*SetProcessorBuilder) Field ¶

func (rb *SetProcessorBuilder) Field(field Field) *SetProcessorBuilder

func (*SetProcessorBuilder) If_ ¶

func (*SetProcessorBuilder) IgnoreFailure ¶

func (rb *SetProcessorBuilder) IgnoreFailure(ignorefailure bool) *SetProcessorBuilder

func (*SetProcessorBuilder) OnFailure ¶

func (*SetProcessorBuilder) Override ¶

func (rb *SetProcessorBuilder) Override(override bool) *SetProcessorBuilder

func (*SetProcessorBuilder) Tag ¶

func (*SetProcessorBuilder) Value ¶

func (rb *SetProcessorBuilder) Value(value interface{}) *SetProcessorBuilder

type SetSecurityUserProcessor ¶

type SetSecurityUserProcessor struct {
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Properties    []string             `json:"properties,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
}

SetSecurityUserProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L325-L328

type SetSecurityUserProcessorBuilder ¶

type SetSecurityUserProcessorBuilder struct {
	// contains filtered or unexported fields
}

SetSecurityUserProcessorBuilder holds SetSecurityUserProcessor struct and provides a builder API.

func NewSetSecurityUserProcessorBuilder ¶

func NewSetSecurityUserProcessorBuilder() *SetSecurityUserProcessorBuilder

NewSetSecurityUserProcessor provides a builder for the SetSecurityUserProcessor struct.

func (*SetSecurityUserProcessorBuilder) Build ¶

Build finalize the chain and returns the SetSecurityUserProcessor struct

func (*SetSecurityUserProcessorBuilder) Field ¶

func (*SetSecurityUserProcessorBuilder) If_ ¶

func (*SetSecurityUserProcessorBuilder) IgnoreFailure ¶

func (rb *SetSecurityUserProcessorBuilder) IgnoreFailure(ignorefailure bool) *SetSecurityUserProcessorBuilder

func (*SetSecurityUserProcessorBuilder) OnFailure ¶

func (*SetSecurityUserProcessorBuilder) Properties ¶

func (*SetSecurityUserProcessorBuilder) Tag ¶

type Settings ¶

type Settings struct {
	// AlignCheckpoints Specifies whether the transform checkpoint ranges should be optimized for
	// performance. Such optimization can align
	// checkpoint ranges with the date histogram interval when date histogram is
	// specified as a group source in the
	// transform config. As a result, less document updates in the destination index
	// will be performed thus improving
	// overall performance.
	AlignCheckpoints *bool `json:"align_checkpoints,omitempty"`
	// DatesAsEpochMillis Defines if dates in the ouput should be written as ISO formatted string or as
	// millis since epoch. epoch_millis was
	// the default for transforms created before version 7.11. For compatible output
	// set this value to `true`.
	DatesAsEpochMillis *bool `json:"dates_as_epoch_millis,omitempty"`
	// DeduceMappings Specifies whether the transform should deduce the destination index mappings
	// from the transform configuration.
	DeduceMappings *bool `json:"deduce_mappings,omitempty"`
	// DocsPerSecond Specifies a limit on the number of input documents per second. This setting
	// throttles the transform by adding a
	// wait time between search requests. The default value is null, which disables
	// throttling.
	DocsPerSecond *float32 `json:"docs_per_second,omitempty"`
	// MaxPageSearchSize Defines the initial page size to use for the composite aggregation for each
	// checkpoint. If circuit breaker
	// exceptions occur, the page size is dynamically adjusted to a lower value. The
	// minimum value is `10` and the
	// maximum is `65,536`.
	MaxPageSearchSize *int `json:"max_page_search_size,omitempty"`
}

Settings type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/_types/Transform.ts#L98-L133

type SettingsAnalyzeBuilder ¶

type SettingsAnalyzeBuilder struct {
	// contains filtered or unexported fields
}

SettingsAnalyzeBuilder holds SettingsAnalyze struct and provides a builder API.

func NewSettingsAnalyzeBuilder ¶

func NewSettingsAnalyzeBuilder() *SettingsAnalyzeBuilder

NewSettingsAnalyze provides a builder for the SettingsAnalyze struct.

func (*SettingsAnalyzeBuilder) Build ¶

Build finalize the chain and returns the SettingsAnalyze struct

func (*SettingsAnalyzeBuilder) MaxTokenCount ¶

func (rb *SettingsAnalyzeBuilder) MaxTokenCount(maxtokencount int) *SettingsAnalyzeBuilder

type SettingsBuilder ¶

type SettingsBuilder struct {
	// contains filtered or unexported fields
}

SettingsBuilder holds Settings struct and provides a builder API.

func NewSettingsBuilder ¶

func NewSettingsBuilder() *SettingsBuilder

NewSettings provides a builder for the Settings struct.

func (*SettingsBuilder) AlignCheckpoints ¶

func (rb *SettingsBuilder) AlignCheckpoints(aligncheckpoints bool) *SettingsBuilder

func (*SettingsBuilder) Build ¶

func (rb *SettingsBuilder) Build() Settings

Build finalize the chain and returns the Settings struct

func (*SettingsBuilder) DatesAsEpochMillis ¶

func (rb *SettingsBuilder) DatesAsEpochMillis(datesasepochmillis bool) *SettingsBuilder

func (*SettingsBuilder) DeduceMappings ¶

func (rb *SettingsBuilder) DeduceMappings(deducemappings bool) *SettingsBuilder

func (*SettingsBuilder) DocsPerSecond ¶

func (rb *SettingsBuilder) DocsPerSecond(docspersecond float32) *SettingsBuilder

func (*SettingsBuilder) MaxPageSearchSize ¶

func (rb *SettingsBuilder) MaxPageSearchSize(maxpagesearchsize int) *SettingsBuilder

type SettingsHighlight ¶

type SettingsHighlight struct {
	MaxAnalyzedOffset *int `json:"max_analyzed_offset,omitempty"`
}

SettingsHighlight type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L221-L224

type SettingsHighlightBuilder ¶

type SettingsHighlightBuilder struct {
	// contains filtered or unexported fields
}

SettingsHighlightBuilder holds SettingsHighlight struct and provides a builder API.

func NewSettingsHighlightBuilder ¶

func NewSettingsHighlightBuilder() *SettingsHighlightBuilder

NewSettingsHighlight provides a builder for the SettingsHighlight struct.

func (*SettingsHighlightBuilder) Build ¶

Build finalize the chain and returns the SettingsHighlight struct

func (*SettingsHighlightBuilder) MaxAnalyzedOffset ¶

func (rb *SettingsHighlightBuilder) MaxAnalyzedOffset(maxanalyzedoffset int) *SettingsHighlightBuilder

type SettingsQueryStringBuilder ¶

type SettingsQueryStringBuilder struct {
	// contains filtered or unexported fields
}

SettingsQueryStringBuilder holds SettingsQueryString struct and provides a builder API.

func NewSettingsQueryStringBuilder ¶

func NewSettingsQueryStringBuilder() *SettingsQueryStringBuilder

NewSettingsQueryString provides a builder for the SettingsQueryString struct.

func (*SettingsQueryStringBuilder) Build ¶

Build finalize the chain and returns the SettingsQueryString struct

func (*SettingsQueryStringBuilder) Lenient ¶

type SettingsSearchBuilder ¶

type SettingsSearchBuilder struct {
	// contains filtered or unexported fields
}

SettingsSearchBuilder holds SettingsSearch struct and provides a builder API.

func NewSettingsSearchBuilder ¶

func NewSettingsSearchBuilder() *SettingsSearchBuilder

NewSettingsSearch provides a builder for the SettingsSearch struct.

func (*SettingsSearchBuilder) Build ¶

Build finalize the chain and returns the SettingsSearch struct

func (*SettingsSearchBuilder) Idle ¶

func (*SettingsSearchBuilder) Slowlog ¶

type SettingsSimilarity ¶

type SettingsSimilarity struct {
	Bm25          *SettingsSimilarityBm25          `json:"bm25,omitempty"`
	Dfi           *SettingsSimilarityDfi           `json:"dfi,omitempty"`
	Dfr           *SettingsSimilarityDfr           `json:"dfr,omitempty"`
	Ib            *SettingsSimilarityIb            `json:"ib,omitempty"`
	Lmd           *SettingsSimilarityLmd           `json:"lmd,omitempty"`
	Lmj           *SettingsSimilarityLmj           `json:"lmj,omitempty"`
	ScriptedTfidf *SettingsSimilarityScriptedTfidf `json:"scripted_tfidf,omitempty"`
}

SettingsSimilarity type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L170-L178

type SettingsSimilarityBm25 ¶

type SettingsSimilarityBm25 struct {
	B                int     `json:"b"`
	DiscountOverlaps bool    `json:"discount_overlaps"`
	K1               float64 `json:"k1"`
	Type             string  `json:"type,omitempty"`
}

SettingsSimilarityBm25 type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L180-L185

type SettingsSimilarityBm25Builder ¶

type SettingsSimilarityBm25Builder struct {
	// contains filtered or unexported fields
}

SettingsSimilarityBm25Builder holds SettingsSimilarityBm25 struct and provides a builder API.

func NewSettingsSimilarityBm25Builder ¶

func NewSettingsSimilarityBm25Builder() *SettingsSimilarityBm25Builder

NewSettingsSimilarityBm25 provides a builder for the SettingsSimilarityBm25 struct.

func (*SettingsSimilarityBm25Builder) B ¶

func (*SettingsSimilarityBm25Builder) Build ¶

Build finalize the chain and returns the SettingsSimilarityBm25 struct

func (*SettingsSimilarityBm25Builder) DiscountOverlaps ¶

func (rb *SettingsSimilarityBm25Builder) DiscountOverlaps(discountoverlaps bool) *SettingsSimilarityBm25Builder

func (*SettingsSimilarityBm25Builder) K1 ¶

type SettingsSimilarityBuilder ¶

type SettingsSimilarityBuilder struct {
	// contains filtered or unexported fields
}

SettingsSimilarityBuilder holds SettingsSimilarity struct and provides a builder API.

func NewSettingsSimilarityBuilder ¶

func NewSettingsSimilarityBuilder() *SettingsSimilarityBuilder

NewSettingsSimilarity provides a builder for the SettingsSimilarity struct.

func (*SettingsSimilarityBuilder) Bm25 ¶

func (*SettingsSimilarityBuilder) Build ¶

Build finalize the chain and returns the SettingsSimilarity struct

func (*SettingsSimilarityBuilder) Dfi ¶

func (*SettingsSimilarityBuilder) Dfr ¶

func (*SettingsSimilarityBuilder) Ib ¶

func (*SettingsSimilarityBuilder) Lmd ¶

func (*SettingsSimilarityBuilder) Lmj ¶

func (*SettingsSimilarityBuilder) ScriptedTfidf ¶

type SettingsSimilarityDfi ¶

type SettingsSimilarityDfi struct {
	IndependenceMeasure dfiindependencemeasure.DFIIndependenceMeasure `json:"independence_measure"`
	Type                string                                        `json:"type,omitempty"`
}

SettingsSimilarityDfi type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L187-L190

type SettingsSimilarityDfiBuilder ¶

type SettingsSimilarityDfiBuilder struct {
	// contains filtered or unexported fields
}

SettingsSimilarityDfiBuilder holds SettingsSimilarityDfi struct and provides a builder API.

func NewSettingsSimilarityDfiBuilder ¶

func NewSettingsSimilarityDfiBuilder() *SettingsSimilarityDfiBuilder

NewSettingsSimilarityDfi provides a builder for the SettingsSimilarityDfi struct.

func (*SettingsSimilarityDfiBuilder) Build ¶

Build finalize the chain and returns the SettingsSimilarityDfi struct

func (*SettingsSimilarityDfiBuilder) IndependenceMeasure ¶

type SettingsSimilarityDfr ¶

type SettingsSimilarityDfr struct {
	AfterEffect   dfraftereffect.DFRAfterEffect `json:"after_effect"`
	BasicModel    dfrbasicmodel.DFRBasicModel   `json:"basic_model"`
	Normalization normalization.Normalization   `json:"normalization"`
	Type          string                        `json:"type,omitempty"`
}

SettingsSimilarityDfr type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L192-L197

type SettingsSimilarityDfrBuilder ¶

type SettingsSimilarityDfrBuilder struct {
	// contains filtered or unexported fields
}

SettingsSimilarityDfrBuilder holds SettingsSimilarityDfr struct and provides a builder API.

func NewSettingsSimilarityDfrBuilder ¶

func NewSettingsSimilarityDfrBuilder() *SettingsSimilarityDfrBuilder

NewSettingsSimilarityDfr provides a builder for the SettingsSimilarityDfr struct.

func (*SettingsSimilarityDfrBuilder) AfterEffect ¶

func (*SettingsSimilarityDfrBuilder) BasicModel ¶

func (*SettingsSimilarityDfrBuilder) Build ¶

Build finalize the chain and returns the SettingsSimilarityDfr struct

func (*SettingsSimilarityDfrBuilder) Normalization ¶

type SettingsSimilarityIb ¶

type SettingsSimilarityIb struct {
	Distribution  ibdistribution.IBDistribution `json:"distribution"`
	Lambda        iblambda.IBLambda             `json:"lambda"`
	Normalization normalization.Normalization   `json:"normalization"`
	Type          string                        `json:"type,omitempty"`
}

SettingsSimilarityIb type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L199-L204

type SettingsSimilarityIbBuilder ¶

type SettingsSimilarityIbBuilder struct {
	// contains filtered or unexported fields
}

SettingsSimilarityIbBuilder holds SettingsSimilarityIb struct and provides a builder API.

func NewSettingsSimilarityIbBuilder ¶

func NewSettingsSimilarityIbBuilder() *SettingsSimilarityIbBuilder

NewSettingsSimilarityIb provides a builder for the SettingsSimilarityIb struct.

func (*SettingsSimilarityIbBuilder) Build ¶

Build finalize the chain and returns the SettingsSimilarityIb struct

func (*SettingsSimilarityIbBuilder) Distribution ¶

func (*SettingsSimilarityIbBuilder) Lambda ¶

func (*SettingsSimilarityIbBuilder) Normalization ¶

type SettingsSimilarityLmdBuilder ¶

type SettingsSimilarityLmdBuilder struct {
	// contains filtered or unexported fields
}

SettingsSimilarityLmdBuilder holds SettingsSimilarityLmd struct and provides a builder API.

func NewSettingsSimilarityLmdBuilder ¶

func NewSettingsSimilarityLmdBuilder() *SettingsSimilarityLmdBuilder

NewSettingsSimilarityLmd provides a builder for the SettingsSimilarityLmd struct.

func (*SettingsSimilarityLmdBuilder) Build ¶

Build finalize the chain and returns the SettingsSimilarityLmd struct

func (*SettingsSimilarityLmdBuilder) Mu ¶

type SettingsSimilarityLmjBuilder ¶

type SettingsSimilarityLmjBuilder struct {
	// contains filtered or unexported fields
}

SettingsSimilarityLmjBuilder holds SettingsSimilarityLmj struct and provides a builder API.

func NewSettingsSimilarityLmjBuilder ¶

func NewSettingsSimilarityLmjBuilder() *SettingsSimilarityLmjBuilder

NewSettingsSimilarityLmj provides a builder for the SettingsSimilarityLmj struct.

func (*SettingsSimilarityLmjBuilder) Build ¶

Build finalize the chain and returns the SettingsSimilarityLmj struct

func (*SettingsSimilarityLmjBuilder) Lambda ¶

type SettingsSimilarityScriptedTfidf ¶

type SettingsSimilarityScriptedTfidf struct {
	Script Script `json:"script"`
	Type   string `json:"type,omitempty"`
}

SettingsSimilarityScriptedTfidf type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L216-L219

type SettingsSimilarityScriptedTfidfBuilder ¶

type SettingsSimilarityScriptedTfidfBuilder struct {
	// contains filtered or unexported fields
}

SettingsSimilarityScriptedTfidfBuilder holds SettingsSimilarityScriptedTfidf struct and provides a builder API.

func NewSettingsSimilarityScriptedTfidfBuilder ¶

func NewSettingsSimilarityScriptedTfidfBuilder() *SettingsSimilarityScriptedTfidfBuilder

NewSettingsSimilarityScriptedTfidf provides a builder for the SettingsSimilarityScriptedTfidf struct.

func (*SettingsSimilarityScriptedTfidfBuilder) Build ¶

Build finalize the chain and returns the SettingsSimilarityScriptedTfidf struct

func (*SettingsSimilarityScriptedTfidfBuilder) Script ¶

type ShapeFieldQuery ¶

type ShapeFieldQuery struct {
	IndexedShape *FieldLookup                       `json:"indexed_shape,omitempty"`
	Relation     *geoshaperelation.GeoShapeRelation `json:"relation,omitempty"`
	Shape        *GeoShape                          `json:"shape,omitempty"`
}

ShapeFieldQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L183-L187

type ShapeFieldQueryBuilder ¶

type ShapeFieldQueryBuilder struct {
	// contains filtered or unexported fields
}

ShapeFieldQueryBuilder holds ShapeFieldQuery struct and provides a builder API.

func NewShapeFieldQueryBuilder ¶

func NewShapeFieldQueryBuilder() *ShapeFieldQueryBuilder

NewShapeFieldQuery provides a builder for the ShapeFieldQuery struct.

func (*ShapeFieldQueryBuilder) Build ¶

Build finalize the chain and returns the ShapeFieldQuery struct

func (*ShapeFieldQueryBuilder) IndexedShape ¶

func (rb *ShapeFieldQueryBuilder) IndexedShape(indexedshape *FieldLookupBuilder) *ShapeFieldQueryBuilder

func (*ShapeFieldQueryBuilder) Relation ¶

func (*ShapeFieldQueryBuilder) Shape ¶

type ShapeProperty ¶

type ShapeProperty struct {
	Coerce          *bool                          `json:"coerce,omitempty"`
	CopyTo          *Fields                        `json:"copy_to,omitempty"`
	DocValues       *bool                          `json:"doc_values,omitempty"`
	Dynamic         *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields          map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove     *int                           `json:"ignore_above,omitempty"`
	IgnoreMalformed *bool                          `json:"ignore_malformed,omitempty"`
	IgnoreZValue    *bool                          `json:"ignore_z_value,omitempty"`
	LocalMetadata   *Metadata                      `json:"local_metadata,omitempty"`
	Meta            map[string]string              `json:"meta,omitempty"`
	Orientation     *geoorientation.GeoOrientation `json:"orientation,omitempty"`
	Properties      map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity      *string                        `json:"similarity,omitempty"`
	Store           *bool                          `json:"store,omitempty"`
	Type            string                         `json:"type,omitempty"`
}

ShapeProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/geo.ts#L69-L81

type ShapePropertyBuilder ¶

type ShapePropertyBuilder struct {
	// contains filtered or unexported fields
}

ShapePropertyBuilder holds ShapeProperty struct and provides a builder API.

func NewShapePropertyBuilder ¶

func NewShapePropertyBuilder() *ShapePropertyBuilder

NewShapeProperty provides a builder for the ShapeProperty struct.

func (*ShapePropertyBuilder) Build ¶

func (rb *ShapePropertyBuilder) Build() ShapeProperty

Build finalize the chain and returns the ShapeProperty struct

func (*ShapePropertyBuilder) Coerce ¶

func (rb *ShapePropertyBuilder) Coerce(coerce bool) *ShapePropertyBuilder

func (*ShapePropertyBuilder) CopyTo ¶

func (*ShapePropertyBuilder) DocValues ¶

func (rb *ShapePropertyBuilder) DocValues(docvalues bool) *ShapePropertyBuilder

func (*ShapePropertyBuilder) Dynamic ¶

func (*ShapePropertyBuilder) Fields ¶

func (*ShapePropertyBuilder) IgnoreAbove ¶

func (rb *ShapePropertyBuilder) IgnoreAbove(ignoreabove int) *ShapePropertyBuilder

func (*ShapePropertyBuilder) IgnoreMalformed ¶

func (rb *ShapePropertyBuilder) IgnoreMalformed(ignoremalformed bool) *ShapePropertyBuilder

func (*ShapePropertyBuilder) IgnoreZValue ¶

func (rb *ShapePropertyBuilder) IgnoreZValue(ignorezvalue bool) *ShapePropertyBuilder

func (*ShapePropertyBuilder) LocalMetadata ¶

func (rb *ShapePropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *ShapePropertyBuilder

func (*ShapePropertyBuilder) Meta ¶

func (*ShapePropertyBuilder) Orientation ¶

func (*ShapePropertyBuilder) Properties ¶

func (*ShapePropertyBuilder) Similarity ¶

func (rb *ShapePropertyBuilder) Similarity(similarity string) *ShapePropertyBuilder

func (*ShapePropertyBuilder) Store ¶

type ShapeQuery ¶

type ShapeQuery struct {
	Boost          *float32                  `json:"boost,omitempty"`
	IgnoreUnmapped *bool                     `json:"ignore_unmapped,omitempty"`
	QueryName_     *string                   `json:"_name,omitempty"`
	ShapeQuery     map[Field]ShapeFieldQuery `json:"ShapeQuery,omitempty"`
}

ShapeQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/specialized.ts#L176-L181

type ShapeQueryBuilder ¶

type ShapeQueryBuilder struct {
	// contains filtered or unexported fields
}

ShapeQueryBuilder holds ShapeQuery struct and provides a builder API.

func NewShapeQueryBuilder ¶

func NewShapeQueryBuilder() *ShapeQueryBuilder

NewShapeQuery provides a builder for the ShapeQuery struct.

func (*ShapeQueryBuilder) Boost ¶

func (rb *ShapeQueryBuilder) Boost(boost float32) *ShapeQueryBuilder

func (*ShapeQueryBuilder) Build ¶

func (rb *ShapeQueryBuilder) Build() ShapeQuery

Build finalize the chain and returns the ShapeQuery struct

func (*ShapeQueryBuilder) IgnoreUnmapped ¶

func (rb *ShapeQueryBuilder) IgnoreUnmapped(ignoreunmapped bool) *ShapeQueryBuilder

func (*ShapeQueryBuilder) QueryName_ ¶

func (rb *ShapeQueryBuilder) QueryName_(queryname_ string) *ShapeQueryBuilder

func (*ShapeQueryBuilder) ShapeQuery ¶

func (rb *ShapeQueryBuilder) ShapeQuery(values map[Field]*ShapeFieldQueryBuilder) *ShapeQueryBuilder

type ShardCommit ¶

type ShardCommit struct {
	Generation int               `json:"generation"`
	Id         Id                `json:"id"`
	NumDocs    int64             `json:"num_docs"`
	UserData   map[string]string `json:"user_data"`
}

ShardCommit type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L100-L105

type ShardCommitBuilder ¶

type ShardCommitBuilder struct {
	// contains filtered or unexported fields
}

ShardCommitBuilder holds ShardCommit struct and provides a builder API.

func NewShardCommitBuilder ¶

func NewShardCommitBuilder() *ShardCommitBuilder

NewShardCommit provides a builder for the ShardCommit struct.

func (*ShardCommitBuilder) Build ¶

func (rb *ShardCommitBuilder) Build() ShardCommit

Build finalize the chain and returns the ShardCommit struct

func (*ShardCommitBuilder) Generation ¶

func (rb *ShardCommitBuilder) Generation(generation int) *ShardCommitBuilder

func (*ShardCommitBuilder) Id ¶

func (*ShardCommitBuilder) NumDocs ¶

func (rb *ShardCommitBuilder) NumDocs(numdocs int64) *ShardCommitBuilder

func (*ShardCommitBuilder) UserData ¶

func (rb *ShardCommitBuilder) UserData(value map[string]string) *ShardCommitBuilder

type ShardFailure ¶

type ShardFailure struct {
	Index  *IndexName `json:"index,omitempty"`
	Node   *string    `json:"node,omitempty"`
	Reason ErrorCause `json:"reason"`
	Shard  int        `json:"shard"`
	Status *string    `json:"status,omitempty"`
}

ShardFailure type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Errors.ts#L50-L56

type ShardFailureBuilder ¶

type ShardFailureBuilder struct {
	// contains filtered or unexported fields
}

ShardFailureBuilder holds ShardFailure struct and provides a builder API.

func NewShardFailureBuilder ¶

func NewShardFailureBuilder() *ShardFailureBuilder

NewShardFailure provides a builder for the ShardFailure struct.

func (*ShardFailureBuilder) Build ¶

func (rb *ShardFailureBuilder) Build() ShardFailure

Build finalize the chain and returns the ShardFailure struct

func (*ShardFailureBuilder) Index ¶

func (*ShardFailureBuilder) Node ¶

func (*ShardFailureBuilder) Reason ¶

func (*ShardFailureBuilder) Shard ¶

func (rb *ShardFailureBuilder) Shard(shard int) *ShardFailureBuilder

func (*ShardFailureBuilder) Status ¶

func (rb *ShardFailureBuilder) Status(status string) *ShardFailureBuilder

type ShardFileSizeInfo ¶

type ShardFileSizeInfo struct {
	AverageSizeInBytes *int64 `json:"average_size_in_bytes,omitempty"`
	Count              *int64 `json:"count,omitempty"`
	Description        string `json:"description"`
	MaxSizeInBytes     *int64 `json:"max_size_in_bytes,omitempty"`
	MinSizeInBytes     *int64 `json:"min_size_in_bytes,omitempty"`
	SizeInBytes        int64  `json:"size_in_bytes"`
}

ShardFileSizeInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L112-L119

type ShardFileSizeInfoBuilder ¶

type ShardFileSizeInfoBuilder struct {
	// contains filtered or unexported fields
}

ShardFileSizeInfoBuilder holds ShardFileSizeInfo struct and provides a builder API.

func NewShardFileSizeInfoBuilder ¶

func NewShardFileSizeInfoBuilder() *ShardFileSizeInfoBuilder

NewShardFileSizeInfo provides a builder for the ShardFileSizeInfo struct.

func (*ShardFileSizeInfoBuilder) AverageSizeInBytes ¶

func (rb *ShardFileSizeInfoBuilder) AverageSizeInBytes(averagesizeinbytes int64) *ShardFileSizeInfoBuilder

func (*ShardFileSizeInfoBuilder) Build ¶

Build finalize the chain and returns the ShardFileSizeInfo struct

func (*ShardFileSizeInfoBuilder) Count ¶

func (*ShardFileSizeInfoBuilder) Description ¶

func (rb *ShardFileSizeInfoBuilder) Description(description string) *ShardFileSizeInfoBuilder

func (*ShardFileSizeInfoBuilder) MaxSizeInBytes ¶

func (rb *ShardFileSizeInfoBuilder) MaxSizeInBytes(maxsizeinbytes int64) *ShardFileSizeInfoBuilder

func (*ShardFileSizeInfoBuilder) MinSizeInBytes ¶

func (rb *ShardFileSizeInfoBuilder) MinSizeInBytes(minsizeinbytes int64) *ShardFileSizeInfoBuilder

func (*ShardFileSizeInfoBuilder) SizeInBytes ¶

func (rb *ShardFileSizeInfoBuilder) SizeInBytes(sizeinbytes int64) *ShardFileSizeInfoBuilder

type ShardHealthStats ¶

type ShardHealthStats struct {
	ActiveShards       int                       `json:"active_shards"`
	InitializingShards int                       `json:"initializing_shards"`
	PrimaryActive      bool                      `json:"primary_active"`
	RelocatingShards   int                       `json:"relocating_shards"`
	Status             healthstatus.HealthStatus `json:"status"`
	UnassignedShards   int                       `json:"unassigned_shards"`
}

ShardHealthStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/health/types.ts#L36-L43

type ShardHealthStatsBuilder ¶

type ShardHealthStatsBuilder struct {
	// contains filtered or unexported fields
}

ShardHealthStatsBuilder holds ShardHealthStats struct and provides a builder API.

func NewShardHealthStatsBuilder ¶

func NewShardHealthStatsBuilder() *ShardHealthStatsBuilder

NewShardHealthStats provides a builder for the ShardHealthStats struct.

func (*ShardHealthStatsBuilder) ActiveShards ¶

func (rb *ShardHealthStatsBuilder) ActiveShards(activeshards int) *ShardHealthStatsBuilder

func (*ShardHealthStatsBuilder) Build ¶

Build finalize the chain and returns the ShardHealthStats struct

func (*ShardHealthStatsBuilder) InitializingShards ¶

func (rb *ShardHealthStatsBuilder) InitializingShards(initializingshards int) *ShardHealthStatsBuilder

func (*ShardHealthStatsBuilder) PrimaryActive ¶

func (rb *ShardHealthStatsBuilder) PrimaryActive(primaryactive bool) *ShardHealthStatsBuilder

func (*ShardHealthStatsBuilder) RelocatingShards ¶

func (rb *ShardHealthStatsBuilder) RelocatingShards(relocatingshards int) *ShardHealthStatsBuilder

func (*ShardHealthStatsBuilder) Status ¶

func (*ShardHealthStatsBuilder) UnassignedShards ¶

func (rb *ShardHealthStatsBuilder) UnassignedShards(unassignedshards int) *ShardHealthStatsBuilder

type ShardLease ¶

type ShardLease struct {
	Id             Id             `json:"id"`
	RetainingSeqNo SequenceNumber `json:"retaining_seq_no"`
	Source         string         `json:"source"`
	Timestamp      int64          `json:"timestamp"`
}

ShardLease type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L121-L126

type ShardLeaseBuilder ¶

type ShardLeaseBuilder struct {
	// contains filtered or unexported fields
}

ShardLeaseBuilder holds ShardLease struct and provides a builder API.

func NewShardLeaseBuilder ¶

func NewShardLeaseBuilder() *ShardLeaseBuilder

NewShardLease provides a builder for the ShardLease struct.

func (*ShardLeaseBuilder) Build ¶

func (rb *ShardLeaseBuilder) Build() ShardLease

Build finalize the chain and returns the ShardLease struct

func (*ShardLeaseBuilder) Id ¶

func (*ShardLeaseBuilder) RetainingSeqNo ¶

func (rb *ShardLeaseBuilder) RetainingSeqNo(retainingseqno SequenceNumber) *ShardLeaseBuilder

func (*ShardLeaseBuilder) Source ¶

func (rb *ShardLeaseBuilder) Source(source string) *ShardLeaseBuilder

func (*ShardLeaseBuilder) Timestamp ¶

func (rb *ShardLeaseBuilder) Timestamp(timestamp int64) *ShardLeaseBuilder

type ShardMigrationStatusBuilder ¶

type ShardMigrationStatusBuilder struct {
	// contains filtered or unexported fields
}

ShardMigrationStatusBuilder holds ShardMigrationStatus struct and provides a builder API.

func NewShardMigrationStatusBuilder ¶

func NewShardMigrationStatusBuilder() *ShardMigrationStatusBuilder

NewShardMigrationStatus provides a builder for the ShardMigrationStatus struct.

func (*ShardMigrationStatusBuilder) Build ¶

Build finalize the chain and returns the ShardMigrationStatus struct

func (*ShardMigrationStatusBuilder) Status ¶

type ShardPath ¶

type ShardPath struct {
	DataPath         string `json:"data_path"`
	IsCustomDataPath bool   `json:"is_custom_data_path"`
	StatePath        string `json:"state_path"`
}

ShardPath type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L128-L132

type ShardPathBuilder ¶

type ShardPathBuilder struct {
	// contains filtered or unexported fields
}

ShardPathBuilder holds ShardPath struct and provides a builder API.

func NewShardPathBuilder ¶

func NewShardPathBuilder() *ShardPathBuilder

NewShardPath provides a builder for the ShardPath struct.

func (*ShardPathBuilder) Build ¶

func (rb *ShardPathBuilder) Build() ShardPath

Build finalize the chain and returns the ShardPath struct

func (*ShardPathBuilder) DataPath ¶

func (rb *ShardPathBuilder) DataPath(datapath string) *ShardPathBuilder

func (*ShardPathBuilder) IsCustomDataPath ¶

func (rb *ShardPathBuilder) IsCustomDataPath(iscustomdatapath bool) *ShardPathBuilder

func (*ShardPathBuilder) StatePath ¶

func (rb *ShardPathBuilder) StatePath(statepath string) *ShardPathBuilder

type ShardProfile ¶

type ShardProfile struct {
	Aggregations []AggregationProfile `json:"aggregations"`
	Fetch        *FetchProfile        `json:"fetch,omitempty"`
	Id           string               `json:"id"`
	Searches     []SearchProfile      `json:"searches"`
}

ShardProfile type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/profile.ts#L130-L135

type ShardProfileBuilder ¶

type ShardProfileBuilder struct {
	// contains filtered or unexported fields
}

ShardProfileBuilder holds ShardProfile struct and provides a builder API.

func NewShardProfileBuilder ¶

func NewShardProfileBuilder() *ShardProfileBuilder

NewShardProfile provides a builder for the ShardProfile struct.

func (*ShardProfileBuilder) Aggregations ¶

func (rb *ShardProfileBuilder) Aggregations(aggregations []AggregationProfileBuilder) *ShardProfileBuilder

func (*ShardProfileBuilder) Build ¶

func (rb *ShardProfileBuilder) Build() ShardProfile

Build finalize the chain and returns the ShardProfile struct

func (*ShardProfileBuilder) Fetch ¶

func (*ShardProfileBuilder) Id ¶

func (*ShardProfileBuilder) Searches ¶

type ShardQueryCache ¶

type ShardQueryCache struct {
	CacheCount        int64 `json:"cache_count"`
	CacheSize         int64 `json:"cache_size"`
	Evictions         int64 `json:"evictions"`
	HitCount          int64 `json:"hit_count"`
	MemorySizeInBytes int64 `json:"memory_size_in_bytes"`
	MissCount         int64 `json:"miss_count"`
	TotalCount        int64 `json:"total_count"`
}

ShardQueryCache type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L134-L142

type ShardQueryCacheBuilder ¶

type ShardQueryCacheBuilder struct {
	// contains filtered or unexported fields
}

ShardQueryCacheBuilder holds ShardQueryCache struct and provides a builder API.

func NewShardQueryCacheBuilder ¶

func NewShardQueryCacheBuilder() *ShardQueryCacheBuilder

NewShardQueryCache provides a builder for the ShardQueryCache struct.

func (*ShardQueryCacheBuilder) Build ¶

Build finalize the chain and returns the ShardQueryCache struct

func (*ShardQueryCacheBuilder) CacheCount ¶

func (rb *ShardQueryCacheBuilder) CacheCount(cachecount int64) *ShardQueryCacheBuilder

func (*ShardQueryCacheBuilder) CacheSize ¶

func (rb *ShardQueryCacheBuilder) CacheSize(cachesize int64) *ShardQueryCacheBuilder

func (*ShardQueryCacheBuilder) Evictions ¶

func (rb *ShardQueryCacheBuilder) Evictions(evictions int64) *ShardQueryCacheBuilder

func (*ShardQueryCacheBuilder) HitCount ¶

func (rb *ShardQueryCacheBuilder) HitCount(hitcount int64) *ShardQueryCacheBuilder

func (*ShardQueryCacheBuilder) MemorySizeInBytes ¶

func (rb *ShardQueryCacheBuilder) MemorySizeInBytes(memorysizeinbytes int64) *ShardQueryCacheBuilder

func (*ShardQueryCacheBuilder) MissCount ¶

func (rb *ShardQueryCacheBuilder) MissCount(misscount int64) *ShardQueryCacheBuilder

func (*ShardQueryCacheBuilder) TotalCount ¶

func (rb *ShardQueryCacheBuilder) TotalCount(totalcount int64) *ShardQueryCacheBuilder

type ShardRecovery ¶

type ShardRecovery struct {
	Id                int64                   `json:"id"`
	Index             RecoveryIndexStatus     `json:"index"`
	Primary           bool                    `json:"primary"`
	Source            RecoveryOrigin          `json:"source"`
	Stage             string                  `json:"stage"`
	Start             *RecoveryStartStatus    `json:"start,omitempty"`
	StartTime         *DateTime               `json:"start_time,omitempty"`
	StartTimeInMillis EpochTimeUnitMillis     `json:"start_time_in_millis"`
	StopTime          *DateTime               `json:"stop_time,omitempty"`
	StopTimeInMillis  *EpochTimeUnitMillis    `json:"stop_time_in_millis,omitempty"`
	Target            RecoveryOrigin          `json:"target"`
	TotalTime         *Duration               `json:"total_time,omitempty"`
	TotalTimeInMillis DurationValueUnitMillis `json:"total_time_in_millis"`
	Translog          TranslogStatus          `json:"translog"`
	Type              string                  `json:"type"`
	VerifyIndex       VerifyIndex             `json:"verify_index"`
}

ShardRecovery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/recovery/types.ts#L118-L135

type ShardRecoveryBuilder ¶

type ShardRecoveryBuilder struct {
	// contains filtered or unexported fields
}

ShardRecoveryBuilder holds ShardRecovery struct and provides a builder API.

func NewShardRecoveryBuilder ¶

func NewShardRecoveryBuilder() *ShardRecoveryBuilder

NewShardRecovery provides a builder for the ShardRecovery struct.

func (*ShardRecoveryBuilder) Build ¶

func (rb *ShardRecoveryBuilder) Build() ShardRecovery

Build finalize the chain and returns the ShardRecovery struct

func (*ShardRecoveryBuilder) Id ¶

func (*ShardRecoveryBuilder) Index ¶

func (*ShardRecoveryBuilder) Primary ¶

func (rb *ShardRecoveryBuilder) Primary(primary bool) *ShardRecoveryBuilder

func (*ShardRecoveryBuilder) Source ¶

func (*ShardRecoveryBuilder) Stage ¶

func (*ShardRecoveryBuilder) Start ¶

func (*ShardRecoveryBuilder) StartTime ¶

func (rb *ShardRecoveryBuilder) StartTime(starttime *DateTimeBuilder) *ShardRecoveryBuilder

func (*ShardRecoveryBuilder) StartTimeInMillis ¶

func (rb *ShardRecoveryBuilder) StartTimeInMillis(starttimeinmillis *EpochTimeUnitMillisBuilder) *ShardRecoveryBuilder

func (*ShardRecoveryBuilder) StopTime ¶

func (*ShardRecoveryBuilder) StopTimeInMillis ¶

func (rb *ShardRecoveryBuilder) StopTimeInMillis(stoptimeinmillis *EpochTimeUnitMillisBuilder) *ShardRecoveryBuilder

func (*ShardRecoveryBuilder) Target ¶

func (*ShardRecoveryBuilder) TotalTime ¶

func (rb *ShardRecoveryBuilder) TotalTime(totaltime *DurationBuilder) *ShardRecoveryBuilder

func (*ShardRecoveryBuilder) TotalTimeInMillis ¶

func (rb *ShardRecoveryBuilder) TotalTimeInMillis(totaltimeinmillis *DurationValueUnitMillisBuilder) *ShardRecoveryBuilder

func (*ShardRecoveryBuilder) Translog ¶

func (*ShardRecoveryBuilder) Type_ ¶

func (*ShardRecoveryBuilder) VerifyIndex ¶

func (rb *ShardRecoveryBuilder) VerifyIndex(verifyindex *VerifyIndexBuilder) *ShardRecoveryBuilder

type ShardRetentionLeases ¶

type ShardRetentionLeases struct {
	Leases      []ShardLease  `json:"leases"`
	PrimaryTerm int64         `json:"primary_term"`
	Version     VersionNumber `json:"version"`
}

ShardRetentionLeases type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L144-L148

type ShardRetentionLeasesBuilder ¶

type ShardRetentionLeasesBuilder struct {
	// contains filtered or unexported fields
}

ShardRetentionLeasesBuilder holds ShardRetentionLeases struct and provides a builder API.

func NewShardRetentionLeasesBuilder ¶

func NewShardRetentionLeasesBuilder() *ShardRetentionLeasesBuilder

NewShardRetentionLeases provides a builder for the ShardRetentionLeases struct.

func (*ShardRetentionLeasesBuilder) Build ¶

Build finalize the chain and returns the ShardRetentionLeases struct

func (*ShardRetentionLeasesBuilder) Leases ¶

func (*ShardRetentionLeasesBuilder) PrimaryTerm ¶

func (rb *ShardRetentionLeasesBuilder) PrimaryTerm(primaryterm int64) *ShardRetentionLeasesBuilder

func (*ShardRetentionLeasesBuilder) Version ¶

type ShardRouting ¶

type ShardRouting struct {
	Node           string                              `json:"node"`
	Primary        bool                                `json:"primary"`
	RelocatingNode string                              `json:"relocating_node,omitempty"`
	State          shardroutingstate.ShardRoutingState `json:"state"`
}

ShardRouting type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L150-L155

type ShardRoutingBuilder ¶

type ShardRoutingBuilder struct {
	// contains filtered or unexported fields
}

ShardRoutingBuilder holds ShardRouting struct and provides a builder API.

func NewShardRoutingBuilder ¶

func NewShardRoutingBuilder() *ShardRoutingBuilder

NewShardRouting provides a builder for the ShardRouting struct.

func (*ShardRoutingBuilder) Build ¶

func (rb *ShardRoutingBuilder) Build() ShardRouting

Build finalize the chain and returns the ShardRouting struct

func (*ShardRoutingBuilder) Node ¶

func (*ShardRoutingBuilder) Primary ¶

func (rb *ShardRoutingBuilder) Primary(primary bool) *ShardRoutingBuilder

func (*ShardRoutingBuilder) RelocatingNode ¶

func (rb *ShardRoutingBuilder) RelocatingNode(relocatingnode string) *ShardRoutingBuilder

func (*ShardRoutingBuilder) State ¶

type ShardSegmentRouting ¶

type ShardSegmentRouting struct {
	Node    string `json:"node"`
	Primary bool   `json:"primary"`
	State   string `json:"state"`
}

ShardSegmentRouting type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/segments/types.ts#L41-L45

type ShardSegmentRoutingBuilder ¶

type ShardSegmentRoutingBuilder struct {
	// contains filtered or unexported fields
}

ShardSegmentRoutingBuilder holds ShardSegmentRouting struct and provides a builder API.

func NewShardSegmentRoutingBuilder ¶

func NewShardSegmentRoutingBuilder() *ShardSegmentRoutingBuilder

NewShardSegmentRouting provides a builder for the ShardSegmentRouting struct.

func (*ShardSegmentRoutingBuilder) Build ¶

Build finalize the chain and returns the ShardSegmentRouting struct

func (*ShardSegmentRoutingBuilder) Node ¶

func (*ShardSegmentRoutingBuilder) Primary ¶

func (*ShardSegmentRoutingBuilder) State ¶

type ShardSequenceNumber ¶

type ShardSequenceNumber struct {
	GlobalCheckpoint int64          `json:"global_checkpoint"`
	LocalCheckpoint  int64          `json:"local_checkpoint"`
	MaxSeqNo         SequenceNumber `json:"max_seq_no"`
}

ShardSequenceNumber type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L164-L168

type ShardSequenceNumberBuilder ¶

type ShardSequenceNumberBuilder struct {
	// contains filtered or unexported fields
}

ShardSequenceNumberBuilder holds ShardSequenceNumber struct and provides a builder API.

func NewShardSequenceNumberBuilder ¶

func NewShardSequenceNumberBuilder() *ShardSequenceNumberBuilder

NewShardSequenceNumber provides a builder for the ShardSequenceNumber struct.

func (*ShardSequenceNumberBuilder) Build ¶

Build finalize the chain and returns the ShardSequenceNumber struct

func (*ShardSequenceNumberBuilder) GlobalCheckpoint ¶

func (rb *ShardSequenceNumberBuilder) GlobalCheckpoint(globalcheckpoint int64) *ShardSequenceNumberBuilder

func (*ShardSequenceNumberBuilder) LocalCheckpoint ¶

func (rb *ShardSequenceNumberBuilder) LocalCheckpoint(localcheckpoint int64) *ShardSequenceNumberBuilder

func (*ShardSequenceNumberBuilder) MaxSeqNo ¶

type ShardStatistics ¶

type ShardStatistics struct {
	Failed     uint           `json:"failed"`
	Failures   []ShardFailure `json:"failures,omitempty"`
	Skipped    *uint          `json:"skipped,omitempty"`
	Successful uint           `json:"successful"`
	Total      uint           `json:"total"`
}

ShardStatistics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L33-L39

type ShardStatisticsBuilder ¶

type ShardStatisticsBuilder struct {
	// contains filtered or unexported fields
}

ShardStatisticsBuilder holds ShardStatistics struct and provides a builder API.

func NewShardStatisticsBuilder ¶

func NewShardStatisticsBuilder() *ShardStatisticsBuilder

NewShardStatistics provides a builder for the ShardStatistics struct.

func (*ShardStatisticsBuilder) Build ¶

Build finalize the chain and returns the ShardStatistics struct

func (*ShardStatisticsBuilder) Failed ¶

func (*ShardStatisticsBuilder) Failures ¶

func (*ShardStatisticsBuilder) Skipped ¶

func (rb *ShardStatisticsBuilder) Skipped(skipped uint) *ShardStatisticsBuilder

func (*ShardStatisticsBuilder) Successful ¶

func (rb *ShardStatisticsBuilder) Successful(successful uint) *ShardStatisticsBuilder

func (*ShardStatisticsBuilder) Total ¶

type ShardStats ¶

type ShardStats struct {
	Bulk            *BulkStats            `json:"bulk,omitempty"`
	Commit          *ShardCommit          `json:"commit,omitempty"`
	Completion      *CompletionStats      `json:"completion,omitempty"`
	Docs            *DocStats             `json:"docs,omitempty"`
	Fielddata       *FielddataStats       `json:"fielddata,omitempty"`
	Flush           *FlushStats           `json:"flush,omitempty"`
	Get             *GetStats             `json:"get,omitempty"`
	Indexing        *IndexingStats        `json:"indexing,omitempty"`
	Indices         *IndicesStats         `json:"indices,omitempty"`
	Merges          *MergesStats          `json:"merges,omitempty"`
	QueryCache      *ShardQueryCache      `json:"query_cache,omitempty"`
	Recovery        *RecoveryStats        `json:"recovery,omitempty"`
	Refresh         *RefreshStats         `json:"refresh,omitempty"`
	RequestCache    *RequestCacheStats    `json:"request_cache,omitempty"`
	RetentionLeases *ShardRetentionLeases `json:"retention_leases,omitempty"`
	Routing         *ShardRouting         `json:"routing,omitempty"`
	Search          *SearchStats          `json:"search,omitempty"`
	Segments        *SegmentsStats        `json:"segments,omitempty"`
	SeqNo           *ShardSequenceNumber  `json:"seq_no,omitempty"`
	ShardPath       *ShardPath            `json:"shard_path,omitempty"`
	ShardStats      *ShardsTotalStats     `json:"shard_stats,omitempty"`
	Shards          *ShardsTotalStats     `json:"shards,omitempty"`
	Store           *StoreStats           `json:"store,omitempty"`
	Translog        *TranslogStats        `json:"translog,omitempty"`
	Warmer          *WarmerStats          `json:"warmer,omitempty"`
}

ShardStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L174-L201

type ShardStatsBuilder ¶

type ShardStatsBuilder struct {
	// contains filtered or unexported fields
}

ShardStatsBuilder holds ShardStats struct and provides a builder API.

func NewShardStatsBuilder ¶

func NewShardStatsBuilder() *ShardStatsBuilder

NewShardStats provides a builder for the ShardStats struct.

func (*ShardStatsBuilder) Build ¶

func (rb *ShardStatsBuilder) Build() ShardStats

Build finalize the chain and returns the ShardStats struct

func (*ShardStatsBuilder) Bulk ¶

func (*ShardStatsBuilder) Commit ¶

func (*ShardStatsBuilder) Completion ¶

func (rb *ShardStatsBuilder) Completion(completion *CompletionStatsBuilder) *ShardStatsBuilder

func (*ShardStatsBuilder) Docs ¶

func (*ShardStatsBuilder) Fielddata ¶

func (rb *ShardStatsBuilder) Fielddata(fielddata *FielddataStatsBuilder) *ShardStatsBuilder

func (*ShardStatsBuilder) Flush ¶

func (*ShardStatsBuilder) Get ¶

func (*ShardStatsBuilder) Indexing ¶

func (rb *ShardStatsBuilder) Indexing(indexing *IndexingStatsBuilder) *ShardStatsBuilder

func (*ShardStatsBuilder) Indices ¶

func (*ShardStatsBuilder) Merges ¶

func (*ShardStatsBuilder) QueryCache ¶

func (rb *ShardStatsBuilder) QueryCache(querycache *ShardQueryCacheBuilder) *ShardStatsBuilder

func (*ShardStatsBuilder) Recovery ¶

func (rb *ShardStatsBuilder) Recovery(recovery *RecoveryStatsBuilder) *ShardStatsBuilder

func (*ShardStatsBuilder) Refresh ¶

func (*ShardStatsBuilder) RequestCache ¶

func (rb *ShardStatsBuilder) RequestCache(requestcache *RequestCacheStatsBuilder) *ShardStatsBuilder

func (*ShardStatsBuilder) RetentionLeases ¶

func (rb *ShardStatsBuilder) RetentionLeases(retentionleases *ShardRetentionLeasesBuilder) *ShardStatsBuilder

func (*ShardStatsBuilder) Routing ¶

func (*ShardStatsBuilder) Search ¶

func (*ShardStatsBuilder) Segments ¶

func (rb *ShardStatsBuilder) Segments(segments *SegmentsStatsBuilder) *ShardStatsBuilder

func (*ShardStatsBuilder) SeqNo ¶

func (*ShardStatsBuilder) ShardPath ¶

func (rb *ShardStatsBuilder) ShardPath(shardpath *ShardPathBuilder) *ShardStatsBuilder

func (*ShardStatsBuilder) ShardStats ¶

func (rb *ShardStatsBuilder) ShardStats(shardstats *ShardsTotalStatsBuilder) *ShardStatsBuilder

func (*ShardStatsBuilder) Shards ¶

func (*ShardStatsBuilder) Store ¶

func (*ShardStatsBuilder) Translog ¶

func (rb *ShardStatsBuilder) Translog(translog *TranslogStatsBuilder) *ShardStatsBuilder

func (*ShardStatsBuilder) Warmer ¶

type ShardStore ¶

type ShardStore struct {
	Allocation       shardstoreallocation.ShardStoreAllocation `json:"allocation"`
	AllocationId     Id                                        `json:"allocation_id"`
	Attributes       map[string]interface{}                    `json:"attributes"`
	Id               Id                                        `json:"id"`
	LegacyVersion    VersionNumber                             `json:"legacy_version"`
	Name             Name                                      `json:"name"`
	StoreException   ShardStoreException                       `json:"store_exception"`
	TransportAddress TransportAddress                          `json:"transport_address"`
}

ShardStore type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/shard_stores/types.ts#L29-L38

type ShardStoreBuilder ¶

type ShardStoreBuilder struct {
	// contains filtered or unexported fields
}

ShardStoreBuilder holds ShardStore struct and provides a builder API.

func NewShardStoreBuilder ¶

func NewShardStoreBuilder() *ShardStoreBuilder

NewShardStore provides a builder for the ShardStore struct.

func (*ShardStoreBuilder) Allocation ¶

func (*ShardStoreBuilder) AllocationId ¶

func (rb *ShardStoreBuilder) AllocationId(allocationid Id) *ShardStoreBuilder

func (*ShardStoreBuilder) Attributes ¶

func (rb *ShardStoreBuilder) Attributes(value map[string]interface{}) *ShardStoreBuilder

func (*ShardStoreBuilder) Build ¶

func (rb *ShardStoreBuilder) Build() ShardStore

Build finalize the chain and returns the ShardStore struct

func (*ShardStoreBuilder) Id ¶

func (*ShardStoreBuilder) LegacyVersion ¶

func (rb *ShardStoreBuilder) LegacyVersion(legacyversion VersionNumber) *ShardStoreBuilder

func (*ShardStoreBuilder) Name ¶

func (rb *ShardStoreBuilder) Name(name Name) *ShardStoreBuilder

func (*ShardStoreBuilder) StoreException ¶

func (rb *ShardStoreBuilder) StoreException(storeexception *ShardStoreExceptionBuilder) *ShardStoreBuilder

func (*ShardStoreBuilder) TransportAddress ¶

func (rb *ShardStoreBuilder) TransportAddress(transportaddress TransportAddress) *ShardStoreBuilder

type ShardStoreExceptionBuilder ¶

type ShardStoreExceptionBuilder struct {
	// contains filtered or unexported fields
}

ShardStoreExceptionBuilder holds ShardStoreException struct and provides a builder API.

func NewShardStoreExceptionBuilder ¶

func NewShardStoreExceptionBuilder() *ShardStoreExceptionBuilder

NewShardStoreException provides a builder for the ShardStoreException struct.

func (*ShardStoreExceptionBuilder) Build ¶

Build finalize the chain and returns the ShardStoreException struct

func (*ShardStoreExceptionBuilder) Reason ¶

func (*ShardStoreExceptionBuilder) Type_ ¶

type ShardStoreIndexBuilder ¶

type ShardStoreIndexBuilder struct {
	// contains filtered or unexported fields
}

ShardStoreIndexBuilder holds ShardStoreIndex struct and provides a builder API.

func NewShardStoreIndexBuilder ¶

func NewShardStoreIndexBuilder() *ShardStoreIndexBuilder

NewShardStoreIndex provides a builder for the ShardStoreIndex struct.

func (*ShardStoreIndexBuilder) Aliases ¶

func (rb *ShardStoreIndexBuilder) Aliases(aliases ...Name) *ShardStoreIndexBuilder

func (*ShardStoreIndexBuilder) Build ¶

Build finalize the chain and returns the ShardStoreIndex struct

func (*ShardStoreIndexBuilder) Filter ¶

type ShardStoreWrapperBuilder ¶

type ShardStoreWrapperBuilder struct {
	// contains filtered or unexported fields
}

ShardStoreWrapperBuilder holds ShardStoreWrapper struct and provides a builder API.

func NewShardStoreWrapperBuilder ¶

func NewShardStoreWrapperBuilder() *ShardStoreWrapperBuilder

NewShardStoreWrapper provides a builder for the ShardStoreWrapper struct.

func (*ShardStoreWrapperBuilder) Build ¶

Build finalize the chain and returns the ShardStoreWrapper struct

func (*ShardStoreWrapperBuilder) Stores ¶

type ShardsOperationResponseBaseBuilder ¶

type ShardsOperationResponseBaseBuilder struct {
	// contains filtered or unexported fields
}

ShardsOperationResponseBaseBuilder holds ShardsOperationResponseBase struct and provides a builder API.

func NewShardsOperationResponseBaseBuilder ¶

func NewShardsOperationResponseBaseBuilder() *ShardsOperationResponseBaseBuilder

NewShardsOperationResponseBase provides a builder for the ShardsOperationResponseBase struct.

func (*ShardsOperationResponseBaseBuilder) Build ¶

Build finalize the chain and returns the ShardsOperationResponseBase struct

func (*ShardsOperationResponseBaseBuilder) Shards_ ¶

type ShardsRecord ¶

type ShardsRecord struct {
	// BulkAvgSizeInBytes avg size in bytes of shard bulk
	BulkAvgSizeInBytes *string `json:"bulk.avg_size_in_bytes,omitempty"`
	// BulkAvgTime average time spend in shard bulk
	BulkAvgTime *string `json:"bulk.avg_time,omitempty"`
	// BulkTotalOperations number of bulk shard ops
	BulkTotalOperations *string `json:"bulk.total_operations,omitempty"`
	// BulkTotalSizeInBytes total size in bytes of shard bulk
	BulkTotalSizeInBytes *string `json:"bulk.total_size_in_bytes,omitempty"`
	// BulkTotalTime time spend in shard bulk
	BulkTotalTime *string `json:"bulk.total_time,omitempty"`
	// CompletionSize size of completion
	CompletionSize *string `json:"completion.size,omitempty"`
	// Docs number of docs in shard
	Docs string `json:"docs,omitempty"`
	// FielddataEvictions fielddata evictions
	FielddataEvictions *string `json:"fielddata.evictions,omitempty"`
	// FielddataMemorySize used fielddata cache
	FielddataMemorySize *string `json:"fielddata.memory_size,omitempty"`
	// FlushTotal number of flushes
	FlushTotal *string `json:"flush.total,omitempty"`
	// FlushTotalTime time spent in flush
	FlushTotalTime *string `json:"flush.total_time,omitempty"`
	// GetCurrent number of current get ops
	GetCurrent *string `json:"get.current,omitempty"`
	// GetExistsTime time spent in successful gets
	GetExistsTime *string `json:"get.exists_time,omitempty"`
	// GetExistsTotal number of successful gets
	GetExistsTotal *string `json:"get.exists_total,omitempty"`
	// GetMissingTime time spent in failed gets
	GetMissingTime *string `json:"get.missing_time,omitempty"`
	// GetMissingTotal number of failed gets
	GetMissingTotal *string `json:"get.missing_total,omitempty"`
	// GetTime time spent in get
	GetTime *string `json:"get.time,omitempty"`
	// GetTotal number of get ops
	GetTotal *string `json:"get.total,omitempty"`
	// Id unique id of node where it lives
	Id *string `json:"id,omitempty"`
	// Index index name
	Index *string `json:"index,omitempty"`
	// IndexingDeleteCurrent number of current deletions
	IndexingDeleteCurrent *string `json:"indexing.delete_current,omitempty"`
	// IndexingDeleteTime time spent in deletions
	IndexingDeleteTime *string `json:"indexing.delete_time,omitempty"`
	// IndexingDeleteTotal number of delete ops
	IndexingDeleteTotal *string `json:"indexing.delete_total,omitempty"`
	// IndexingIndexCurrent number of current indexing ops
	IndexingIndexCurrent *string `json:"indexing.index_current,omitempty"`
	// IndexingIndexFailed number of failed indexing ops
	IndexingIndexFailed *string `json:"indexing.index_failed,omitempty"`
	// IndexingIndexTime time spent in indexing
	IndexingIndexTime *string `json:"indexing.index_time,omitempty"`
	// IndexingIndexTotal number of indexing ops
	IndexingIndexTotal *string `json:"indexing.index_total,omitempty"`
	// Ip ip of node where it lives
	Ip string `json:"ip,omitempty"`
	// MergesCurrent number of current merges
	MergesCurrent *string `json:"merges.current,omitempty"`
	// MergesCurrentDocs number of current merging docs
	MergesCurrentDocs *string `json:"merges.current_docs,omitempty"`
	// MergesCurrentSize size of current merges
	MergesCurrentSize *string `json:"merges.current_size,omitempty"`
	// MergesTotal number of completed merge ops
	MergesTotal *string `json:"merges.total,omitempty"`
	// MergesTotalDocs docs merged
	MergesTotalDocs *string `json:"merges.total_docs,omitempty"`
	// MergesTotalSize size merged
	MergesTotalSize *string `json:"merges.total_size,omitempty"`
	// MergesTotalTime time spent in merges
	MergesTotalTime *string `json:"merges.total_time,omitempty"`
	// Node name of node where it lives
	Node string `json:"node,omitempty"`
	// PathData shard data path
	PathData *string `json:"path.data,omitempty"`
	// PathState shard state path
	PathState *string `json:"path.state,omitempty"`
	// Prirep primary or replica
	Prirep *string `json:"prirep,omitempty"`
	// QueryCacheEvictions query cache evictions
	QueryCacheEvictions *string `json:"query_cache.evictions,omitempty"`
	// QueryCacheMemorySize used query cache
	QueryCacheMemorySize *string `json:"query_cache.memory_size,omitempty"`
	// RecoverysourceType recovery source type
	RecoverysourceType *string `json:"recoverysource.type,omitempty"`
	// RefreshExternalTime time spent in external refreshes
	RefreshExternalTime *string `json:"refresh.external_time,omitempty"`
	// RefreshExternalTotal total external refreshes
	RefreshExternalTotal *string `json:"refresh.external_total,omitempty"`
	// RefreshListeners number of pending refresh listeners
	RefreshListeners *string `json:"refresh.listeners,omitempty"`
	// RefreshTime time spent in refreshes
	RefreshTime *string `json:"refresh.time,omitempty"`
	// RefreshTotal total refreshes
	RefreshTotal *string `json:"refresh.total,omitempty"`
	// SearchFetchCurrent current fetch phase ops
	SearchFetchCurrent *string `json:"search.fetch_current,omitempty"`
	// SearchFetchTime time spent in fetch phase
	SearchFetchTime *string `json:"search.fetch_time,omitempty"`
	// SearchFetchTotal total fetch ops
	SearchFetchTotal *string `json:"search.fetch_total,omitempty"`
	// SearchOpenContexts open search contexts
	SearchOpenContexts *string `json:"search.open_contexts,omitempty"`
	// SearchQueryCurrent current query phase ops
	SearchQueryCurrent *string `json:"search.query_current,omitempty"`
	// SearchQueryTime time spent in query phase
	SearchQueryTime *string `json:"search.query_time,omitempty"`
	// SearchQueryTotal total query phase ops
	SearchQueryTotal *string `json:"search.query_total,omitempty"`
	// SearchScrollCurrent open scroll contexts
	SearchScrollCurrent *string `json:"search.scroll_current,omitempty"`
	// SearchScrollTime time scroll contexts held open
	SearchScrollTime *string `json:"search.scroll_time,omitempty"`
	// SearchScrollTotal completed scroll contexts
	SearchScrollTotal *string `json:"search.scroll_total,omitempty"`
	// SegmentsCount number of segments
	SegmentsCount *string `json:"segments.count,omitempty"`
	// SegmentsFixedBitsetMemory memory used by fixed bit sets for nested object field types and export type
	// filters for types referred in _parent fields
	SegmentsFixedBitsetMemory *string `json:"segments.fixed_bitset_memory,omitempty"`
	// SegmentsIndexWriterMemory memory used by index writer
	SegmentsIndexWriterMemory *string `json:"segments.index_writer_memory,omitempty"`
	// SegmentsMemory memory used by segments
	SegmentsMemory *string `json:"segments.memory,omitempty"`
	// SegmentsVersionMapMemory memory used by version map
	SegmentsVersionMapMemory *string `json:"segments.version_map_memory,omitempty"`
	// SeqNoGlobalCheckpoint global checkpoint
	SeqNoGlobalCheckpoint *string `json:"seq_no.global_checkpoint,omitempty"`
	// SeqNoLocalCheckpoint local checkpoint
	SeqNoLocalCheckpoint *string `json:"seq_no.local_checkpoint,omitempty"`
	// SeqNoMax max sequence number
	SeqNoMax *string `json:"seq_no.max,omitempty"`
	// Shard shard name
	Shard *string `json:"shard,omitempty"`
	// State shard state
	State *string `json:"state,omitempty"`
	// Store store size of shard (how much disk it uses)
	Store string `json:"store,omitempty"`
	// SyncId sync id
	SyncId *string `json:"sync_id,omitempty"`
	// UnassignedAt time shard became unassigned (UTC)
	UnassignedAt *string `json:"unassigned.at,omitempty"`
	// UnassignedDetails additional details as to why the shard became unassigned
	UnassignedDetails *string `json:"unassigned.details,omitempty"`
	// UnassignedFor time has been unassigned
	UnassignedFor *string `json:"unassigned.for,omitempty"`
	// UnassignedReason reason shard is unassigned
	UnassignedReason *string `json:"unassigned.reason,omitempty"`
	// WarmerCurrent current warmer ops
	WarmerCurrent *string `json:"warmer.current,omitempty"`
	// WarmerTotal total warmer ops
	WarmerTotal *string `json:"warmer.total,omitempty"`
	// WarmerTotalTime time spent in warmers
	WarmerTotalTime *string `json:"warmer.total_time,omitempty"`
}

ShardsRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/shards/types.ts#L20-L396

type ShardsRecordBuilder ¶

type ShardsRecordBuilder struct {
	// contains filtered or unexported fields
}

ShardsRecordBuilder holds ShardsRecord struct and provides a builder API.

func NewShardsRecordBuilder ¶

func NewShardsRecordBuilder() *ShardsRecordBuilder

NewShardsRecord provides a builder for the ShardsRecord struct.

func (*ShardsRecordBuilder) Build ¶

func (rb *ShardsRecordBuilder) Build() ShardsRecord

Build finalize the chain and returns the ShardsRecord struct

func (*ShardsRecordBuilder) BulkAvgSizeInBytes ¶

func (rb *ShardsRecordBuilder) BulkAvgSizeInBytes(bulkavgsizeinbytes string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) BulkAvgTime ¶

func (rb *ShardsRecordBuilder) BulkAvgTime(bulkavgtime string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) BulkTotalOperations ¶

func (rb *ShardsRecordBuilder) BulkTotalOperations(bulktotaloperations string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) BulkTotalSizeInBytes ¶

func (rb *ShardsRecordBuilder) BulkTotalSizeInBytes(bulktotalsizeinbytes string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) BulkTotalTime ¶

func (rb *ShardsRecordBuilder) BulkTotalTime(bulktotaltime string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) CompletionSize ¶

func (rb *ShardsRecordBuilder) CompletionSize(completionsize string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) Docs ¶

func (*ShardsRecordBuilder) FielddataEvictions ¶

func (rb *ShardsRecordBuilder) FielddataEvictions(fielddataevictions string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) FielddataMemorySize ¶

func (rb *ShardsRecordBuilder) FielddataMemorySize(fielddatamemorysize string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) FlushTotal ¶

func (rb *ShardsRecordBuilder) FlushTotal(flushtotal string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) FlushTotalTime ¶

func (rb *ShardsRecordBuilder) FlushTotalTime(flushtotaltime string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) GetCurrent ¶

func (rb *ShardsRecordBuilder) GetCurrent(getcurrent string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) GetExistsTime ¶

func (rb *ShardsRecordBuilder) GetExistsTime(getexiststime string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) GetExistsTotal ¶

func (rb *ShardsRecordBuilder) GetExistsTotal(getexiststotal string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) GetMissingTime ¶

func (rb *ShardsRecordBuilder) GetMissingTime(getmissingtime string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) GetMissingTotal ¶

func (rb *ShardsRecordBuilder) GetMissingTotal(getmissingtotal string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) GetTime ¶

func (rb *ShardsRecordBuilder) GetTime(gettime string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) GetTotal ¶

func (rb *ShardsRecordBuilder) GetTotal(gettotal string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) Id ¶

func (*ShardsRecordBuilder) Index ¶

func (*ShardsRecordBuilder) IndexingDeleteCurrent ¶

func (rb *ShardsRecordBuilder) IndexingDeleteCurrent(indexingdeletecurrent string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) IndexingDeleteTime ¶

func (rb *ShardsRecordBuilder) IndexingDeleteTime(indexingdeletetime string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) IndexingDeleteTotal ¶

func (rb *ShardsRecordBuilder) IndexingDeleteTotal(indexingdeletetotal string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) IndexingIndexCurrent ¶

func (rb *ShardsRecordBuilder) IndexingIndexCurrent(indexingindexcurrent string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) IndexingIndexFailed ¶

func (rb *ShardsRecordBuilder) IndexingIndexFailed(indexingindexfailed string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) IndexingIndexTime ¶

func (rb *ShardsRecordBuilder) IndexingIndexTime(indexingindextime string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) IndexingIndexTotal ¶

func (rb *ShardsRecordBuilder) IndexingIndexTotal(indexingindextotal string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) Ip ¶

func (*ShardsRecordBuilder) MergesCurrent ¶

func (rb *ShardsRecordBuilder) MergesCurrent(mergescurrent string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) MergesCurrentDocs ¶

func (rb *ShardsRecordBuilder) MergesCurrentDocs(mergescurrentdocs string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) MergesCurrentSize ¶

func (rb *ShardsRecordBuilder) MergesCurrentSize(mergescurrentsize string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) MergesTotal ¶

func (rb *ShardsRecordBuilder) MergesTotal(mergestotal string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) MergesTotalDocs ¶

func (rb *ShardsRecordBuilder) MergesTotalDocs(mergestotaldocs string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) MergesTotalSize ¶

func (rb *ShardsRecordBuilder) MergesTotalSize(mergestotalsize string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) MergesTotalTime ¶

func (rb *ShardsRecordBuilder) MergesTotalTime(mergestotaltime string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) Node ¶

func (*ShardsRecordBuilder) PathData ¶

func (rb *ShardsRecordBuilder) PathData(pathdata string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) PathState ¶

func (rb *ShardsRecordBuilder) PathState(pathstate string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) Prirep ¶

func (rb *ShardsRecordBuilder) Prirep(prirep string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) QueryCacheEvictions ¶

func (rb *ShardsRecordBuilder) QueryCacheEvictions(querycacheevictions string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) QueryCacheMemorySize ¶

func (rb *ShardsRecordBuilder) QueryCacheMemorySize(querycachememorysize string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) RecoverysourceType ¶

func (rb *ShardsRecordBuilder) RecoverysourceType(recoverysourcetype string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) RefreshExternalTime ¶

func (rb *ShardsRecordBuilder) RefreshExternalTime(refreshexternaltime string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) RefreshExternalTotal ¶

func (rb *ShardsRecordBuilder) RefreshExternalTotal(refreshexternaltotal string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) RefreshListeners ¶

func (rb *ShardsRecordBuilder) RefreshListeners(refreshlisteners string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) RefreshTime ¶

func (rb *ShardsRecordBuilder) RefreshTime(refreshtime string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) RefreshTotal ¶

func (rb *ShardsRecordBuilder) RefreshTotal(refreshtotal string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SearchFetchCurrent ¶

func (rb *ShardsRecordBuilder) SearchFetchCurrent(searchfetchcurrent string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SearchFetchTime ¶

func (rb *ShardsRecordBuilder) SearchFetchTime(searchfetchtime string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SearchFetchTotal ¶

func (rb *ShardsRecordBuilder) SearchFetchTotal(searchfetchtotal string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SearchOpenContexts ¶

func (rb *ShardsRecordBuilder) SearchOpenContexts(searchopencontexts string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SearchQueryCurrent ¶

func (rb *ShardsRecordBuilder) SearchQueryCurrent(searchquerycurrent string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SearchQueryTime ¶

func (rb *ShardsRecordBuilder) SearchQueryTime(searchquerytime string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SearchQueryTotal ¶

func (rb *ShardsRecordBuilder) SearchQueryTotal(searchquerytotal string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SearchScrollCurrent ¶

func (rb *ShardsRecordBuilder) SearchScrollCurrent(searchscrollcurrent string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SearchScrollTime ¶

func (rb *ShardsRecordBuilder) SearchScrollTime(searchscrolltime string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SearchScrollTotal ¶

func (rb *ShardsRecordBuilder) SearchScrollTotal(searchscrolltotal string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SegmentsCount ¶

func (rb *ShardsRecordBuilder) SegmentsCount(segmentscount string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SegmentsFixedBitsetMemory ¶

func (rb *ShardsRecordBuilder) SegmentsFixedBitsetMemory(segmentsfixedbitsetmemory string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SegmentsIndexWriterMemory ¶

func (rb *ShardsRecordBuilder) SegmentsIndexWriterMemory(segmentsindexwritermemory string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SegmentsMemory ¶

func (rb *ShardsRecordBuilder) SegmentsMemory(segmentsmemory string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SegmentsVersionMapMemory ¶

func (rb *ShardsRecordBuilder) SegmentsVersionMapMemory(segmentsversionmapmemory string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SeqNoGlobalCheckpoint ¶

func (rb *ShardsRecordBuilder) SeqNoGlobalCheckpoint(seqnoglobalcheckpoint string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SeqNoLocalCheckpoint ¶

func (rb *ShardsRecordBuilder) SeqNoLocalCheckpoint(seqnolocalcheckpoint string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) SeqNoMax ¶

func (rb *ShardsRecordBuilder) SeqNoMax(seqnomax string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) Shard ¶

func (*ShardsRecordBuilder) State ¶

func (*ShardsRecordBuilder) Store ¶

func (*ShardsRecordBuilder) SyncId ¶

func (rb *ShardsRecordBuilder) SyncId(syncid string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) UnassignedAt ¶

func (rb *ShardsRecordBuilder) UnassignedAt(unassignedat string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) UnassignedDetails ¶

func (rb *ShardsRecordBuilder) UnassignedDetails(unassigneddetails string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) UnassignedFor ¶

func (rb *ShardsRecordBuilder) UnassignedFor(unassignedfor string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) UnassignedReason ¶

func (rb *ShardsRecordBuilder) UnassignedReason(unassignedreason string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) WarmerCurrent ¶

func (rb *ShardsRecordBuilder) WarmerCurrent(warmercurrent string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) WarmerTotal ¶

func (rb *ShardsRecordBuilder) WarmerTotal(warmertotal string) *ShardsRecordBuilder

func (*ShardsRecordBuilder) WarmerTotalTime ¶

func (rb *ShardsRecordBuilder) WarmerTotalTime(warmertotaltime string) *ShardsRecordBuilder

type ShardsSegment ¶

type ShardsSegment struct {
	NumCommittedSegments int                 `json:"num_committed_segments"`
	NumSearchSegments    int                 `json:"num_search_segments"`
	Routing              ShardSegmentRouting `json:"routing"`
	Segments             map[string]Segment  `json:"segments"`
}

ShardsSegment type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/segments/types.ts#L47-L52

type ShardsSegmentBuilder ¶

type ShardsSegmentBuilder struct {
	// contains filtered or unexported fields
}

ShardsSegmentBuilder holds ShardsSegment struct and provides a builder API.

func NewShardsSegmentBuilder ¶

func NewShardsSegmentBuilder() *ShardsSegmentBuilder

NewShardsSegment provides a builder for the ShardsSegment struct.

func (*ShardsSegmentBuilder) Build ¶

func (rb *ShardsSegmentBuilder) Build() ShardsSegment

Build finalize the chain and returns the ShardsSegment struct

func (*ShardsSegmentBuilder) NumCommittedSegments ¶

func (rb *ShardsSegmentBuilder) NumCommittedSegments(numcommittedsegments int) *ShardsSegmentBuilder

func (*ShardsSegmentBuilder) NumSearchSegments ¶

func (rb *ShardsSegmentBuilder) NumSearchSegments(numsearchsegments int) *ShardsSegmentBuilder

func (*ShardsSegmentBuilder) Routing ¶

func (*ShardsSegmentBuilder) Segments ¶

type ShardsStats ¶

type ShardsStats struct {
	Done         int64 `json:"done"`
	Failed       int64 `json:"failed"`
	Finalizing   int64 `json:"finalizing"`
	Initializing int64 `json:"initializing"`
	Started      int64 `json:"started"`
	Total        int64 `json:"total"`
}

ShardsStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/SnapshotShardsStats.ts#L22-L29

type ShardsStatsBuilder ¶

type ShardsStatsBuilder struct {
	// contains filtered or unexported fields
}

ShardsStatsBuilder holds ShardsStats struct and provides a builder API.

func NewShardsStatsBuilder ¶

func NewShardsStatsBuilder() *ShardsStatsBuilder

NewShardsStats provides a builder for the ShardsStats struct.

func (*ShardsStatsBuilder) Build ¶

func (rb *ShardsStatsBuilder) Build() ShardsStats

Build finalize the chain and returns the ShardsStats struct

func (*ShardsStatsBuilder) Done ¶

func (*ShardsStatsBuilder) Failed ¶

func (rb *ShardsStatsBuilder) Failed(failed int64) *ShardsStatsBuilder

func (*ShardsStatsBuilder) Finalizing ¶

func (rb *ShardsStatsBuilder) Finalizing(finalizing int64) *ShardsStatsBuilder

func (*ShardsStatsBuilder) Initializing ¶

func (rb *ShardsStatsBuilder) Initializing(initializing int64) *ShardsStatsBuilder

func (*ShardsStatsBuilder) Started ¶

func (rb *ShardsStatsBuilder) Started(started int64) *ShardsStatsBuilder

func (*ShardsStatsBuilder) Total ¶

func (rb *ShardsStatsBuilder) Total(total int64) *ShardsStatsBuilder

type ShardsStatsSummary ¶

type ShardsStatsSummary struct {
	Incremental       ShardsStatsSummaryItem  `json:"incremental"`
	StartTimeInMillis EpochTimeUnitMillis     `json:"start_time_in_millis"`
	Time              *Duration               `json:"time,omitempty"`
	TimeInMillis      DurationValueUnitMillis `json:"time_in_millis"`
	Total             ShardsStatsSummaryItem  `json:"total"`
}

ShardsStatsSummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/SnapshotShardsStatus.ts#L29-L35

type ShardsStatsSummaryBuilder ¶

type ShardsStatsSummaryBuilder struct {
	// contains filtered or unexported fields
}

ShardsStatsSummaryBuilder holds ShardsStatsSummary struct and provides a builder API.

func NewShardsStatsSummaryBuilder ¶

func NewShardsStatsSummaryBuilder() *ShardsStatsSummaryBuilder

NewShardsStatsSummary provides a builder for the ShardsStatsSummary struct.

func (*ShardsStatsSummaryBuilder) Build ¶

Build finalize the chain and returns the ShardsStatsSummary struct

func (*ShardsStatsSummaryBuilder) Incremental ¶

func (*ShardsStatsSummaryBuilder) StartTimeInMillis ¶

func (rb *ShardsStatsSummaryBuilder) StartTimeInMillis(starttimeinmillis *EpochTimeUnitMillisBuilder) *ShardsStatsSummaryBuilder

func (*ShardsStatsSummaryBuilder) Time ¶

func (*ShardsStatsSummaryBuilder) TimeInMillis ¶

func (*ShardsStatsSummaryBuilder) Total ¶

type ShardsStatsSummaryItem ¶

type ShardsStatsSummaryItem struct {
	FileCount   int64 `json:"file_count"`
	SizeInBytes int64 `json:"size_in_bytes"`
}

ShardsStatsSummaryItem type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/SnapshotShardsStatus.ts#L37-L40

type ShardsStatsSummaryItemBuilder ¶

type ShardsStatsSummaryItemBuilder struct {
	// contains filtered or unexported fields
}

ShardsStatsSummaryItemBuilder holds ShardsStatsSummaryItem struct and provides a builder API.

func NewShardsStatsSummaryItemBuilder ¶

func NewShardsStatsSummaryItemBuilder() *ShardsStatsSummaryItemBuilder

NewShardsStatsSummaryItem provides a builder for the ShardsStatsSummaryItem struct.

func (*ShardsStatsSummaryItemBuilder) Build ¶

Build finalize the chain and returns the ShardsStatsSummaryItem struct

func (*ShardsStatsSummaryItemBuilder) FileCount ¶

func (*ShardsStatsSummaryItemBuilder) SizeInBytes ¶

type ShardsTotalStatsBuilder ¶

type ShardsTotalStatsBuilder struct {
	// contains filtered or unexported fields
}

ShardsTotalStatsBuilder holds ShardsTotalStats struct and provides a builder API.

func NewShardsTotalStatsBuilder ¶

func NewShardsTotalStatsBuilder() *ShardsTotalStatsBuilder

NewShardsTotalStats provides a builder for the ShardsTotalStats struct.

func (*ShardsTotalStatsBuilder) Build ¶

Build finalize the chain and returns the ShardsTotalStats struct

func (*ShardsTotalStatsBuilder) TotalCount ¶

func (rb *ShardsTotalStatsBuilder) TotalCount(totalcount int64) *ShardsTotalStatsBuilder

type Shared ¶

type Shared struct {
	BytesReadInBytes    ByteSize `json:"bytes_read_in_bytes"`
	BytesWrittenInBytes ByteSize `json:"bytes_written_in_bytes"`
	Evictions           int64    `json:"evictions"`
	NumRegions          int      `json:"num_regions"`
	Reads               int64    `json:"reads"`
	RegionSizeInBytes   ByteSize `json:"region_size_in_bytes"`
	SizeInBytes         ByteSize `json:"size_in_bytes"`
	Writes              int64    `json:"writes"`
}

Shared type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/searchable_snapshots/cache_stats/Response.ts#L34-L43

type SharedBuilder ¶

type SharedBuilder struct {
	// contains filtered or unexported fields
}

SharedBuilder holds Shared struct and provides a builder API.

func NewSharedBuilder ¶

func NewSharedBuilder() *SharedBuilder

NewShared provides a builder for the Shared struct.

func (*SharedBuilder) Build ¶

func (rb *SharedBuilder) Build() Shared

Build finalize the chain and returns the Shared struct

func (*SharedBuilder) BytesReadInBytes ¶

func (rb *SharedBuilder) BytesReadInBytes(bytesreadinbytes *ByteSizeBuilder) *SharedBuilder

func (*SharedBuilder) BytesWrittenInBytes ¶

func (rb *SharedBuilder) BytesWrittenInBytes(byteswritteninbytes *ByteSizeBuilder) *SharedBuilder

func (*SharedBuilder) Evictions ¶

func (rb *SharedBuilder) Evictions(evictions int64) *SharedBuilder

func (*SharedBuilder) NumRegions ¶

func (rb *SharedBuilder) NumRegions(numregions int) *SharedBuilder

func (*SharedBuilder) Reads ¶

func (rb *SharedBuilder) Reads(reads int64) *SharedBuilder

func (*SharedBuilder) RegionSizeInBytes ¶

func (rb *SharedBuilder) RegionSizeInBytes(regionsizeinbytes *ByteSizeBuilder) *SharedBuilder

func (*SharedBuilder) SizeInBytes ¶

func (rb *SharedBuilder) SizeInBytes(sizeinbytes *ByteSizeBuilder) *SharedBuilder

func (*SharedBuilder) Writes ¶

func (rb *SharedBuilder) Writes(writes int64) *SharedBuilder

type ShingleTokenFilter ¶

type ShingleTokenFilter struct {
	FillerToken                *string        `json:"filler_token,omitempty"`
	MaxShingleSize             string         `json:"max_shingle_size,omitempty"`
	MinShingleSize             string         `json:"min_shingle_size,omitempty"`
	OutputUnigrams             *bool          `json:"output_unigrams,omitempty"`
	OutputUnigramsIfNoShingles *bool          `json:"output_unigrams_if_no_shingles,omitempty"`
	TokenSeparator             *string        `json:"token_separator,omitempty"`
	Type                       string         `json:"type,omitempty"`
	Version                    *VersionString `json:"version,omitempty"`
}

ShingleTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L86-L94

type ShingleTokenFilterBuilder ¶

type ShingleTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

ShingleTokenFilterBuilder holds ShingleTokenFilter struct and provides a builder API.

func NewShingleTokenFilterBuilder ¶

func NewShingleTokenFilterBuilder() *ShingleTokenFilterBuilder

NewShingleTokenFilter provides a builder for the ShingleTokenFilter struct.

func (*ShingleTokenFilterBuilder) Build ¶

Build finalize the chain and returns the ShingleTokenFilter struct

func (*ShingleTokenFilterBuilder) FillerToken ¶

func (rb *ShingleTokenFilterBuilder) FillerToken(fillertoken string) *ShingleTokenFilterBuilder

func (*ShingleTokenFilterBuilder) MaxShingleSize ¶

func (*ShingleTokenFilterBuilder) MinShingleSize ¶

func (*ShingleTokenFilterBuilder) OutputUnigrams ¶

func (rb *ShingleTokenFilterBuilder) OutputUnigrams(outputunigrams bool) *ShingleTokenFilterBuilder

func (*ShingleTokenFilterBuilder) OutputUnigramsIfNoShingles ¶

func (rb *ShingleTokenFilterBuilder) OutputUnigramsIfNoShingles(outputunigramsifnoshingles bool) *ShingleTokenFilterBuilder

func (*ShingleTokenFilterBuilder) TokenSeparator ¶

func (rb *ShingleTokenFilterBuilder) TokenSeparator(tokenseparator string) *ShingleTokenFilterBuilder

func (*ShingleTokenFilterBuilder) Version ¶

type ShortNumberProperty ¶

type ShortNumberProperty struct {
	Coerce           *bool                                      `json:"coerce,omitempty"`
	CopyTo           *Fields                                    `json:"copy_to,omitempty"`
	DocValues        *bool                                      `json:"doc_values,omitempty"`
	Dynamic          *dynamicmapping.DynamicMapping             `json:"dynamic,omitempty"`
	Fields           map[PropertyName]Property                  `json:"fields,omitempty"`
	IgnoreAbove      *int                                       `json:"ignore_above,omitempty"`
	IgnoreMalformed  *bool                                      `json:"ignore_malformed,omitempty"`
	Index            *bool                                      `json:"index,omitempty"`
	LocalMetadata    *Metadata                                  `json:"local_metadata,omitempty"`
	Meta             map[string]string                          `json:"meta,omitempty"`
	NullValue        *int                                       `json:"null_value,omitempty"`
	OnScriptError    *onscripterror.OnScriptError               `json:"on_script_error,omitempty"`
	Properties       map[PropertyName]Property                  `json:"properties,omitempty"`
	Script           *Script                                    `json:"script,omitempty"`
	Similarity       *string                                    `json:"similarity,omitempty"`
	Store            *bool                                      `json:"store,omitempty"`
	TimeSeriesMetric *timeseriesmetrictype.TimeSeriesMetricType `json:"time_series_metric,omitempty"`
	Type             string                                     `json:"type,omitempty"`
}

ShortNumberProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L144-L147

type ShortNumberPropertyBuilder ¶

type ShortNumberPropertyBuilder struct {
	// contains filtered or unexported fields
}

ShortNumberPropertyBuilder holds ShortNumberProperty struct and provides a builder API.

func NewShortNumberPropertyBuilder ¶

func NewShortNumberPropertyBuilder() *ShortNumberPropertyBuilder

NewShortNumberProperty provides a builder for the ShortNumberProperty struct.

func (*ShortNumberPropertyBuilder) Build ¶

Build finalize the chain and returns the ShortNumberProperty struct

func (*ShortNumberPropertyBuilder) Coerce ¶

func (*ShortNumberPropertyBuilder) CopyTo ¶

func (*ShortNumberPropertyBuilder) DocValues ¶

func (*ShortNumberPropertyBuilder) Dynamic ¶

func (*ShortNumberPropertyBuilder) Fields ¶

func (*ShortNumberPropertyBuilder) IgnoreAbove ¶

func (rb *ShortNumberPropertyBuilder) IgnoreAbove(ignoreabove int) *ShortNumberPropertyBuilder

func (*ShortNumberPropertyBuilder) IgnoreMalformed ¶

func (rb *ShortNumberPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *ShortNumberPropertyBuilder

func (*ShortNumberPropertyBuilder) Index ¶

func (*ShortNumberPropertyBuilder) LocalMetadata ¶

func (rb *ShortNumberPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *ShortNumberPropertyBuilder

func (*ShortNumberPropertyBuilder) Meta ¶

func (*ShortNumberPropertyBuilder) NullValue ¶

func (rb *ShortNumberPropertyBuilder) NullValue(nullvalue int) *ShortNumberPropertyBuilder

func (*ShortNumberPropertyBuilder) OnScriptError ¶

func (*ShortNumberPropertyBuilder) Properties ¶

func (*ShortNumberPropertyBuilder) Script ¶

func (*ShortNumberPropertyBuilder) Similarity ¶

func (rb *ShortNumberPropertyBuilder) Similarity(similarity string) *ShortNumberPropertyBuilder

func (*ShortNumberPropertyBuilder) Store ¶

func (*ShortNumberPropertyBuilder) TimeSeriesMetric ¶

type ShrinkConfiguration ¶

type ShrinkConfiguration struct {
	NumberOfShards int `json:"number_of_shards"`
}

ShrinkConfiguration type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ilm/_types/Phase.ts#L56-L58

type ShrinkConfigurationBuilder ¶

type ShrinkConfigurationBuilder struct {
	// contains filtered or unexported fields
}

ShrinkConfigurationBuilder holds ShrinkConfiguration struct and provides a builder API.

func NewShrinkConfigurationBuilder ¶

func NewShrinkConfigurationBuilder() *ShrinkConfigurationBuilder

NewShrinkConfiguration provides a builder for the ShrinkConfiguration struct.

func (*ShrinkConfigurationBuilder) Build ¶

Build finalize the chain and returns the ShrinkConfiguration struct

func (*ShrinkConfigurationBuilder) NumberOfShards ¶

func (rb *ShrinkConfigurationBuilder) NumberOfShards(numberofshards int) *ShrinkConfigurationBuilder

type SignificantLongTermsAggregateBuilder ¶

type SignificantLongTermsAggregateBuilder struct {
	// contains filtered or unexported fields
}

SignificantLongTermsAggregateBuilder holds SignificantLongTermsAggregate struct and provides a builder API.

func NewSignificantLongTermsAggregateBuilder ¶

func NewSignificantLongTermsAggregateBuilder() *SignificantLongTermsAggregateBuilder

NewSignificantLongTermsAggregate provides a builder for the SignificantLongTermsAggregate struct.

func (*SignificantLongTermsAggregateBuilder) Build ¶

Build finalize the chain and returns the SignificantLongTermsAggregate struct

func (*SignificantLongTermsAggregateBuilder) Meta ¶

type SignificantLongTermsBucket ¶

type SignificantLongTermsBucket struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	BgCount      int64                       `json:"bg_count"`
	DocCount     int64                       `json:"doc_count"`
	Key          int64                       `json:"key"`
	KeyAsString  *string                     `json:"key_as_string,omitempty"`
	Score        float64                     `json:"score"`
}

SignificantLongTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L567-L570

type SignificantLongTermsBucketBuilder ¶

type SignificantLongTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

SignificantLongTermsBucketBuilder holds SignificantLongTermsBucket struct and provides a builder API.

func NewSignificantLongTermsBucketBuilder ¶

func NewSignificantLongTermsBucketBuilder() *SignificantLongTermsBucketBuilder

NewSignificantLongTermsBucket provides a builder for the SignificantLongTermsBucket struct.

func (*SignificantLongTermsBucketBuilder) Aggregations ¶

func (*SignificantLongTermsBucketBuilder) BgCount ¶

func (*SignificantLongTermsBucketBuilder) Build ¶

Build finalize the chain and returns the SignificantLongTermsBucket struct

func (*SignificantLongTermsBucketBuilder) DocCount ¶

func (*SignificantLongTermsBucketBuilder) Key ¶

func (*SignificantLongTermsBucketBuilder) KeyAsString ¶

func (*SignificantLongTermsBucketBuilder) Score ¶

type SignificantStringTermsAggregateBuilder ¶

type SignificantStringTermsAggregateBuilder struct {
	// contains filtered or unexported fields
}

SignificantStringTermsAggregateBuilder holds SignificantStringTermsAggregate struct and provides a builder API.

func NewSignificantStringTermsAggregateBuilder ¶

func NewSignificantStringTermsAggregateBuilder() *SignificantStringTermsAggregateBuilder

NewSignificantStringTermsAggregate provides a builder for the SignificantStringTermsAggregate struct.

func (*SignificantStringTermsAggregateBuilder) Build ¶

Build finalize the chain and returns the SignificantStringTermsAggregate struct

func (*SignificantStringTermsAggregateBuilder) Meta ¶

type SignificantStringTermsBucket ¶

type SignificantStringTermsBucket struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	BgCount      int64                       `json:"bg_count"`
	DocCount     int64                       `json:"doc_count"`
	Key          string                      `json:"key"`
	Score        float64                     `json:"score"`
}

SignificantStringTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L576-L578

type SignificantStringTermsBucketBuilder ¶

type SignificantStringTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

SignificantStringTermsBucketBuilder holds SignificantStringTermsBucket struct and provides a builder API.

func NewSignificantStringTermsBucketBuilder ¶

func NewSignificantStringTermsBucketBuilder() *SignificantStringTermsBucketBuilder

NewSignificantStringTermsBucket provides a builder for the SignificantStringTermsBucket struct.

func (*SignificantStringTermsBucketBuilder) Aggregations ¶

func (*SignificantStringTermsBucketBuilder) BgCount ¶

func (*SignificantStringTermsBucketBuilder) Build ¶

Build finalize the chain and returns the SignificantStringTermsBucket struct

func (*SignificantStringTermsBucketBuilder) DocCount ¶

func (*SignificantStringTermsBucketBuilder) Key ¶

func (*SignificantStringTermsBucketBuilder) Score ¶

type SignificantTermsAggregation ¶

type SignificantTermsAggregation struct {
	BackgroundFilter  *QueryContainer                                              `json:"background_filter,omitempty"`
	ChiSquare         *ChiSquareHeuristic                                          `json:"chi_square,omitempty"`
	Exclude           *TermsExclude                                                `json:"exclude,omitempty"`
	ExecutionHint     *termsaggregationexecutionhint.TermsAggregationExecutionHint `json:"execution_hint,omitempty"`
	Field             *Field                                                       `json:"field,omitempty"`
	Gnd               *GoogleNormalizedDistanceHeuristic                           `json:"gnd,omitempty"`
	Include           *TermsInclude                                                `json:"include,omitempty"`
	Jlh               *EmptyObject                                                 `json:"jlh,omitempty"`
	Meta              *Metadata                                                    `json:"meta,omitempty"`
	MinDocCount       *int64                                                       `json:"min_doc_count,omitempty"`
	MutualInformation *MutualInformationHeuristic                                  `json:"mutual_information,omitempty"`
	Name              *string                                                      `json:"name,omitempty"`
	Percentage        *PercentageScoreHeuristic                                    `json:"percentage,omitempty"`
	ScriptHeuristic   *ScriptedHeuristic                                           `json:"script_heuristic,omitempty"`
	ShardMinDocCount  *int64                                                       `json:"shard_min_doc_count,omitempty"`
	ShardSize         *int                                                         `json:"shard_size,omitempty"`
	Size              *int                                                         `json:"size,omitempty"`
}

SignificantTermsAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L338-L354

type SignificantTermsAggregationBuilder ¶

type SignificantTermsAggregationBuilder struct {
	// contains filtered or unexported fields
}

SignificantTermsAggregationBuilder holds SignificantTermsAggregation struct and provides a builder API.

func NewSignificantTermsAggregationBuilder ¶

func NewSignificantTermsAggregationBuilder() *SignificantTermsAggregationBuilder

NewSignificantTermsAggregation provides a builder for the SignificantTermsAggregation struct.

func (*SignificantTermsAggregationBuilder) BackgroundFilter ¶

func (*SignificantTermsAggregationBuilder) Build ¶

Build finalize the chain and returns the SignificantTermsAggregation struct

func (*SignificantTermsAggregationBuilder) ChiSquare ¶

func (*SignificantTermsAggregationBuilder) Exclude ¶

func (*SignificantTermsAggregationBuilder) Field ¶

func (*SignificantTermsAggregationBuilder) Include ¶

func (*SignificantTermsAggregationBuilder) Jlh ¶

func (*SignificantTermsAggregationBuilder) Meta ¶

func (*SignificantTermsAggregationBuilder) MinDocCount ¶

func (*SignificantTermsAggregationBuilder) MutualInformation ¶

func (*SignificantTermsAggregationBuilder) Name ¶

func (*SignificantTermsAggregationBuilder) Percentage ¶

func (*SignificantTermsAggregationBuilder) ScriptHeuristic ¶

func (*SignificantTermsAggregationBuilder) ShardMinDocCount ¶

func (rb *SignificantTermsAggregationBuilder) ShardMinDocCount(shardmindoccount int64) *SignificantTermsAggregationBuilder

func (*SignificantTermsAggregationBuilder) ShardSize ¶

func (*SignificantTermsAggregationBuilder) Size ¶

type SignificantTermsBucketBase ¶

type SignificantTermsBucketBase struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	BgCount      int64                       `json:"bg_count"`
	DocCount     int64                       `json:"doc_count"`
	Score        float64                     `json:"score"`
}

SignificantTermsBucketBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L562-L565

type SignificantTermsBucketBaseBuilder ¶

type SignificantTermsBucketBaseBuilder struct {
	// contains filtered or unexported fields
}

SignificantTermsBucketBaseBuilder holds SignificantTermsBucketBase struct and provides a builder API.

func NewSignificantTermsBucketBaseBuilder ¶

func NewSignificantTermsBucketBaseBuilder() *SignificantTermsBucketBaseBuilder

NewSignificantTermsBucketBase provides a builder for the SignificantTermsBucketBase struct.

func (*SignificantTermsBucketBaseBuilder) Aggregations ¶

func (*SignificantTermsBucketBaseBuilder) BgCount ¶

func (*SignificantTermsBucketBaseBuilder) Build ¶

Build finalize the chain and returns the SignificantTermsBucketBase struct

func (*SignificantTermsBucketBaseBuilder) DocCount ¶

func (*SignificantTermsBucketBaseBuilder) Score ¶

type SignificantTextAggregation ¶

type SignificantTextAggregation struct {
	BackgroundFilter    *QueryContainer                                              `json:"background_filter,omitempty"`
	ChiSquare           *ChiSquareHeuristic                                          `json:"chi_square,omitempty"`
	Exclude             *TermsExclude                                                `json:"exclude,omitempty"`
	ExecutionHint       *termsaggregationexecutionhint.TermsAggregationExecutionHint `json:"execution_hint,omitempty"`
	Field               *Field                                                       `json:"field,omitempty"`
	FilterDuplicateText *bool                                                        `json:"filter_duplicate_text,omitempty"`
	Gnd                 *GoogleNormalizedDistanceHeuristic                           `json:"gnd,omitempty"`
	Include             []string                                                     `json:"include,omitempty"`
	Jlh                 *EmptyObject                                                 `json:"jlh,omitempty"`
	Meta                *Metadata                                                    `json:"meta,omitempty"`
	MinDocCount         *int64                                                       `json:"min_doc_count,omitempty"`
	MutualInformation   *MutualInformationHeuristic                                  `json:"mutual_information,omitempty"`
	Name                *string                                                      `json:"name,omitempty"`
	Percentage          *PercentageScoreHeuristic                                    `json:"percentage,omitempty"`
	ScriptHeuristic     *ScriptedHeuristic                                           `json:"script_heuristic,omitempty"`
	ShardMinDocCount    *int64                                                       `json:"shard_min_doc_count,omitempty"`
	ShardSize           *int                                                         `json:"shard_size,omitempty"`
	Size                *int                                                         `json:"size,omitempty"`
	SourceFields        *Fields                                                      `json:"source_fields,omitempty"`
}

SignificantTextAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L356-L374

type SignificantTextAggregationBuilder ¶

type SignificantTextAggregationBuilder struct {
	// contains filtered or unexported fields
}

SignificantTextAggregationBuilder holds SignificantTextAggregation struct and provides a builder API.

func NewSignificantTextAggregationBuilder ¶

func NewSignificantTextAggregationBuilder() *SignificantTextAggregationBuilder

NewSignificantTextAggregation provides a builder for the SignificantTextAggregation struct.

func (*SignificantTextAggregationBuilder) BackgroundFilter ¶

func (*SignificantTextAggregationBuilder) Build ¶

Build finalize the chain and returns the SignificantTextAggregation struct

func (*SignificantTextAggregationBuilder) ChiSquare ¶

func (*SignificantTextAggregationBuilder) Exclude ¶

func (*SignificantTextAggregationBuilder) Field ¶

func (*SignificantTextAggregationBuilder) FilterDuplicateText ¶

func (rb *SignificantTextAggregationBuilder) FilterDuplicateText(filterduplicatetext bool) *SignificantTextAggregationBuilder

func (*SignificantTextAggregationBuilder) Include ¶

func (*SignificantTextAggregationBuilder) Jlh ¶

func (*SignificantTextAggregationBuilder) Meta ¶

func (*SignificantTextAggregationBuilder) MinDocCount ¶

func (*SignificantTextAggregationBuilder) MutualInformation ¶

func (*SignificantTextAggregationBuilder) Name ¶

func (*SignificantTextAggregationBuilder) Percentage ¶

func (*SignificantTextAggregationBuilder) ScriptHeuristic ¶

func (*SignificantTextAggregationBuilder) ShardMinDocCount ¶

func (rb *SignificantTextAggregationBuilder) ShardMinDocCount(shardmindoccount int64) *SignificantTextAggregationBuilder

func (*SignificantTextAggregationBuilder) ShardSize ¶

func (*SignificantTextAggregationBuilder) Size ¶

func (*SignificantTextAggregationBuilder) SourceFields ¶

type SimpleAnalyzer ¶

type SimpleAnalyzer struct {
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

SimpleAnalyzer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/analyzers.ts#L83-L86

type SimpleAnalyzerBuilder ¶

type SimpleAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

SimpleAnalyzerBuilder holds SimpleAnalyzer struct and provides a builder API.

func NewSimpleAnalyzerBuilder ¶

func NewSimpleAnalyzerBuilder() *SimpleAnalyzerBuilder

NewSimpleAnalyzer provides a builder for the SimpleAnalyzer struct.

func (*SimpleAnalyzerBuilder) Build ¶

Build finalize the chain and returns the SimpleAnalyzer struct

func (*SimpleAnalyzerBuilder) Version ¶

type SimpleMovingAverageAggregation ¶

type SimpleMovingAverageAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Minimize    *bool                `json:"minimize,omitempty"`
	Model       string               `json:"model,omitempty"`
	Name        *string              `json:"name,omitempty"`
	Predict     *int                 `json:"predict,omitempty"`
	Settings    EmptyObject          `json:"settings"`
	Window      *int                 `json:"window,omitempty"`
}

SimpleMovingAverageAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L195-L198

type SimpleMovingAverageAggregationBuilder ¶

type SimpleMovingAverageAggregationBuilder struct {
	// contains filtered or unexported fields
}

SimpleMovingAverageAggregationBuilder holds SimpleMovingAverageAggregation struct and provides a builder API.

func NewSimpleMovingAverageAggregationBuilder ¶

func NewSimpleMovingAverageAggregationBuilder() *SimpleMovingAverageAggregationBuilder

NewSimpleMovingAverageAggregation provides a builder for the SimpleMovingAverageAggregation struct.

func (*SimpleMovingAverageAggregationBuilder) BucketsPath ¶

func (*SimpleMovingAverageAggregationBuilder) Build ¶

Build finalize the chain and returns the SimpleMovingAverageAggregation struct

func (*SimpleMovingAverageAggregationBuilder) Format ¶

func (*SimpleMovingAverageAggregationBuilder) GapPolicy ¶

func (*SimpleMovingAverageAggregationBuilder) Meta ¶

func (*SimpleMovingAverageAggregationBuilder) Minimize ¶

func (*SimpleMovingAverageAggregationBuilder) Name ¶

func (*SimpleMovingAverageAggregationBuilder) Predict ¶

func (*SimpleMovingAverageAggregationBuilder) Settings ¶

func (*SimpleMovingAverageAggregationBuilder) Window ¶

type SimpleQueryStringFlags ¶

type SimpleQueryStringFlags interface{}

SimpleQueryStringFlags holds the union for the following types:

simplequerystringflag.SimpleQueryStringFlag
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L271-L276

type SimpleQueryStringFlagsBuilder ¶

type SimpleQueryStringFlagsBuilder struct {
	// contains filtered or unexported fields
}

SimpleQueryStringFlagsBuilder holds SimpleQueryStringFlags struct and provides a builder API.

func NewSimpleQueryStringFlagsBuilder ¶

func NewSimpleQueryStringFlagsBuilder() *SimpleQueryStringFlagsBuilder

NewSimpleQueryStringFlags provides a builder for the SimpleQueryStringFlags struct.

func (*SimpleQueryStringFlagsBuilder) Build ¶

Build finalize the chain and returns the SimpleQueryStringFlags struct

func (*SimpleQueryStringFlagsBuilder) SimpleQueryStringFlag ¶

func (*SimpleQueryStringFlagsBuilder) String ¶

type SimpleQueryStringQuery ¶

type SimpleQueryStringQuery struct {
	AnalyzeWildcard                 *bool                   `json:"analyze_wildcard,omitempty"`
	Analyzer                        *string                 `json:"analyzer,omitempty"`
	AutoGenerateSynonymsPhraseQuery *bool                   `json:"auto_generate_synonyms_phrase_query,omitempty"`
	Boost                           *float32                `json:"boost,omitempty"`
	DefaultOperator                 *operator.Operator      `json:"default_operator,omitempty"`
	Fields                          []Field                 `json:"fields,omitempty"`
	Flags                           *SimpleQueryStringFlags `json:"flags,omitempty"`
	FuzzyMaxExpansions              *int                    `json:"fuzzy_max_expansions,omitempty"`
	FuzzyPrefixLength               *int                    `json:"fuzzy_prefix_length,omitempty"`
	FuzzyTranspositions             *bool                   `json:"fuzzy_transpositions,omitempty"`
	Lenient                         *bool                   `json:"lenient,omitempty"`
	MinimumShouldMatch              *MinimumShouldMatch     `json:"minimum_should_match,omitempty"`
	Query                           string                  `json:"query"`
	QueryName_                      *string                 `json:"_name,omitempty"`
	QuoteFieldSuffix                *string                 `json:"quote_field_suffix,omitempty"`
}

SimpleQueryStringQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L294-L312

type SimpleQueryStringQueryBuilder ¶

type SimpleQueryStringQueryBuilder struct {
	// contains filtered or unexported fields
}

SimpleQueryStringQueryBuilder holds SimpleQueryStringQuery struct and provides a builder API.

func NewSimpleQueryStringQueryBuilder ¶

func NewSimpleQueryStringQueryBuilder() *SimpleQueryStringQueryBuilder

NewSimpleQueryStringQuery provides a builder for the SimpleQueryStringQuery struct.

func (*SimpleQueryStringQueryBuilder) AnalyzeWildcard ¶

func (rb *SimpleQueryStringQueryBuilder) AnalyzeWildcard(analyzewildcard bool) *SimpleQueryStringQueryBuilder

func (*SimpleQueryStringQueryBuilder) Analyzer ¶

func (*SimpleQueryStringQueryBuilder) AutoGenerateSynonymsPhraseQuery ¶

func (rb *SimpleQueryStringQueryBuilder) AutoGenerateSynonymsPhraseQuery(autogeneratesynonymsphrasequery bool) *SimpleQueryStringQueryBuilder

func (*SimpleQueryStringQueryBuilder) Boost ¶

func (*SimpleQueryStringQueryBuilder) Build ¶

Build finalize the chain and returns the SimpleQueryStringQuery struct

func (*SimpleQueryStringQueryBuilder) DefaultOperator ¶

func (rb *SimpleQueryStringQueryBuilder) DefaultOperator(defaultoperator operator.Operator) *SimpleQueryStringQueryBuilder

func (*SimpleQueryStringQueryBuilder) Fields ¶

func (*SimpleQueryStringQueryBuilder) Flags ¶

func (*SimpleQueryStringQueryBuilder) FuzzyMaxExpansions ¶

func (rb *SimpleQueryStringQueryBuilder) FuzzyMaxExpansions(fuzzymaxexpansions int) *SimpleQueryStringQueryBuilder

func (*SimpleQueryStringQueryBuilder) FuzzyPrefixLength ¶

func (rb *SimpleQueryStringQueryBuilder) FuzzyPrefixLength(fuzzyprefixlength int) *SimpleQueryStringQueryBuilder

func (*SimpleQueryStringQueryBuilder) FuzzyTranspositions ¶

func (rb *SimpleQueryStringQueryBuilder) FuzzyTranspositions(fuzzytranspositions bool) *SimpleQueryStringQueryBuilder

func (*SimpleQueryStringQueryBuilder) Lenient ¶

func (*SimpleQueryStringQueryBuilder) MinimumShouldMatch ¶

func (rb *SimpleQueryStringQueryBuilder) MinimumShouldMatch(minimumshouldmatch *MinimumShouldMatchBuilder) *SimpleQueryStringQueryBuilder

func (*SimpleQueryStringQueryBuilder) Query ¶

func (*SimpleQueryStringQueryBuilder) QueryName_ ¶

func (*SimpleQueryStringQueryBuilder) QuoteFieldSuffix ¶

func (rb *SimpleQueryStringQueryBuilder) QuoteFieldSuffix(quotefieldsuffix string) *SimpleQueryStringQueryBuilder

type SimpleValueAggregate ¶

type SimpleValueAggregate struct {
	Meta *Metadata `json:"meta,omitempty"`
	// Value The metric value. A missing value generally means that there was no data to
	// aggregate,
	// unless specified otherwise.
	Value         float64 `json:"value,omitempty"`
	ValueAsString *string `json:"value_as_string,omitempty"`
}

SimpleValueAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L213-L214

type SimpleValueAggregateBuilder ¶

type SimpleValueAggregateBuilder struct {
	// contains filtered or unexported fields
}

SimpleValueAggregateBuilder holds SimpleValueAggregate struct and provides a builder API.

func NewSimpleValueAggregateBuilder ¶

func NewSimpleValueAggregateBuilder() *SimpleValueAggregateBuilder

NewSimpleValueAggregate provides a builder for the SimpleValueAggregate struct.

func (*SimpleValueAggregateBuilder) Build ¶

Build finalize the chain and returns the SimpleValueAggregate struct

func (*SimpleValueAggregateBuilder) Meta ¶

func (*SimpleValueAggregateBuilder) Value ¶

func (*SimpleValueAggregateBuilder) ValueAsString ¶

func (rb *SimpleValueAggregateBuilder) ValueAsString(valueasstring string) *SimpleValueAggregateBuilder

type SimulatedActions ¶

type SimulatedActions struct {
	Actions []string          `json:"actions"`
	All     *SimulatedActions `json:"all,omitempty"`
	UseAll  bool              `json:"use_all"`
}

SimulatedActions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Action.ts#L93-L97

type SimulatedActionsBuilder ¶

type SimulatedActionsBuilder struct {
	// contains filtered or unexported fields
}

SimulatedActionsBuilder holds SimulatedActions struct and provides a builder API.

func NewSimulatedActionsBuilder ¶

func NewSimulatedActionsBuilder() *SimulatedActionsBuilder

NewSimulatedActions provides a builder for the SimulatedActions struct.

func (*SimulatedActionsBuilder) Actions ¶

func (rb *SimulatedActionsBuilder) Actions(actions ...string) *SimulatedActionsBuilder

func (*SimulatedActionsBuilder) All ¶

func (*SimulatedActionsBuilder) Build ¶

Build finalize the chain and returns the SimulatedActions struct

func (*SimulatedActionsBuilder) UseAll ¶

type SingleBucketAggregateBase ¶

type SingleBucketAggregateBase struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Meta         *Metadata                   `json:"meta,omitempty"`
}

SingleBucketAggregateBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L460-L468

type SingleBucketAggregateBaseBuilder ¶

type SingleBucketAggregateBaseBuilder struct {
	// contains filtered or unexported fields
}

SingleBucketAggregateBaseBuilder holds SingleBucketAggregateBase struct and provides a builder API.

func NewSingleBucketAggregateBaseBuilder ¶

func NewSingleBucketAggregateBaseBuilder() *SingleBucketAggregateBaseBuilder

NewSingleBucketAggregateBase provides a builder for the SingleBucketAggregateBase struct.

func (*SingleBucketAggregateBaseBuilder) Aggregations ¶

func (*SingleBucketAggregateBaseBuilder) Build ¶

Build finalize the chain and returns the SingleBucketAggregateBase struct

func (*SingleBucketAggregateBaseBuilder) DocCount ¶

func (*SingleBucketAggregateBaseBuilder) Meta ¶

type SingleMetricAggregateBase ¶

type SingleMetricAggregateBase struct {
	Meta *Metadata `json:"meta,omitempty"`
	// Value The metric value. A missing value generally means that there was no data to
	// aggregate,
	// unless specified otherwise.
	Value         float64 `json:"value,omitempty"`
	ValueAsString *string `json:"value_as_string,omitempty"`
}

SingleMetricAggregateBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L172-L181

type SingleMetricAggregateBaseBuilder ¶

type SingleMetricAggregateBaseBuilder struct {
	// contains filtered or unexported fields
}

SingleMetricAggregateBaseBuilder holds SingleMetricAggregateBase struct and provides a builder API.

func NewSingleMetricAggregateBaseBuilder ¶

func NewSingleMetricAggregateBaseBuilder() *SingleMetricAggregateBaseBuilder

NewSingleMetricAggregateBase provides a builder for the SingleMetricAggregateBase struct.

func (*SingleMetricAggregateBaseBuilder) Build ¶

Build finalize the chain and returns the SingleMetricAggregateBase struct

func (*SingleMetricAggregateBaseBuilder) Meta ¶

func (*SingleMetricAggregateBaseBuilder) Value ¶

func (*SingleMetricAggregateBaseBuilder) ValueAsString ¶

type SizeFieldBuilder ¶

type SizeFieldBuilder struct {
	// contains filtered or unexported fields
}

SizeFieldBuilder holds SizeField struct and provides a builder API.

func NewSizeFieldBuilder ¶

func NewSizeFieldBuilder() *SizeFieldBuilder

NewSizeField provides a builder for the SizeField struct.

func (*SizeFieldBuilder) Build ¶

func (rb *SizeFieldBuilder) Build() SizeField

Build finalize the chain and returns the SizeField struct

func (*SizeFieldBuilder) Enabled ¶

func (rb *SizeFieldBuilder) Enabled(enabled bool) *SizeFieldBuilder

type SlackActionBuilder ¶

type SlackActionBuilder struct {
	// contains filtered or unexported fields
}

SlackActionBuilder holds SlackAction struct and provides a builder API.

func NewSlackActionBuilder ¶

func NewSlackActionBuilder() *SlackActionBuilder

NewSlackAction provides a builder for the SlackAction struct.

func (*SlackActionBuilder) Account ¶

func (rb *SlackActionBuilder) Account(account string) *SlackActionBuilder

func (*SlackActionBuilder) Build ¶

func (rb *SlackActionBuilder) Build() SlackAction

Build finalize the chain and returns the SlackAction struct

func (*SlackActionBuilder) Message ¶

type SlackAttachment ¶

type SlackAttachment struct {
	AuthorIcon *string                `json:"author_icon,omitempty"`
	AuthorLink *string                `json:"author_link,omitempty"`
	AuthorName string                 `json:"author_name"`
	Color      *string                `json:"color,omitempty"`
	Fallback   *string                `json:"fallback,omitempty"`
	Fields     []SlackAttachmentField `json:"fields,omitempty"`
	Footer     *string                `json:"footer,omitempty"`
	FooterIcon *string                `json:"footer_icon,omitempty"`
	ImageUrl   *string                `json:"image_url,omitempty"`
	Pretext    *string                `json:"pretext,omitempty"`
	Text       *string                `json:"text,omitempty"`
	ThumbUrl   *string                `json:"thumb_url,omitempty"`
	Title      string                 `json:"title"`
	TitleLink  *string                `json:"title_link,omitempty"`
	Ts         *EpochTimeUnitSeconds  `json:"ts,omitempty"`
}

SlackAttachment type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L101-L117

type SlackAttachmentBuilder ¶

type SlackAttachmentBuilder struct {
	// contains filtered or unexported fields
}

SlackAttachmentBuilder holds SlackAttachment struct and provides a builder API.

func NewSlackAttachmentBuilder ¶

func NewSlackAttachmentBuilder() *SlackAttachmentBuilder

NewSlackAttachment provides a builder for the SlackAttachment struct.

func (*SlackAttachmentBuilder) AuthorIcon ¶

func (rb *SlackAttachmentBuilder) AuthorIcon(authoricon string) *SlackAttachmentBuilder
func (rb *SlackAttachmentBuilder) AuthorLink(authorlink string) *SlackAttachmentBuilder

func (*SlackAttachmentBuilder) AuthorName ¶

func (rb *SlackAttachmentBuilder) AuthorName(authorname string) *SlackAttachmentBuilder

func (*SlackAttachmentBuilder) Build ¶

Build finalize the chain and returns the SlackAttachment struct

func (*SlackAttachmentBuilder) Color ¶

func (*SlackAttachmentBuilder) Fallback ¶

func (rb *SlackAttachmentBuilder) Fallback(fallback string) *SlackAttachmentBuilder

func (*SlackAttachmentBuilder) Fields ¶

func (*SlackAttachmentBuilder) Footer ¶

func (*SlackAttachmentBuilder) FooterIcon ¶

func (rb *SlackAttachmentBuilder) FooterIcon(footericon string) *SlackAttachmentBuilder

func (*SlackAttachmentBuilder) ImageUrl ¶

func (rb *SlackAttachmentBuilder) ImageUrl(imageurl string) *SlackAttachmentBuilder

func (*SlackAttachmentBuilder) Pretext ¶

func (*SlackAttachmentBuilder) Text ¶

func (*SlackAttachmentBuilder) ThumbUrl ¶

func (rb *SlackAttachmentBuilder) ThumbUrl(thumburl string) *SlackAttachmentBuilder

func (*SlackAttachmentBuilder) Title ¶

func (rb *SlackAttachmentBuilder) TitleLink(titlelink string) *SlackAttachmentBuilder

func (*SlackAttachmentBuilder) Ts ¶

type SlackAttachmentField ¶

type SlackAttachmentField struct {
	Int   bool   `json:"short"`
	Title string `json:"title"`
	Value string `json:"value"`
}

SlackAttachmentField type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L119-L123

type SlackAttachmentFieldBuilder ¶

type SlackAttachmentFieldBuilder struct {
	// contains filtered or unexported fields
}

SlackAttachmentFieldBuilder holds SlackAttachmentField struct and provides a builder API.

func NewSlackAttachmentFieldBuilder ¶

func NewSlackAttachmentFieldBuilder() *SlackAttachmentFieldBuilder

NewSlackAttachmentField provides a builder for the SlackAttachmentField struct.

func (*SlackAttachmentFieldBuilder) Build ¶

Build finalize the chain and returns the SlackAttachmentField struct

func (*SlackAttachmentFieldBuilder) Int ¶

func (*SlackAttachmentFieldBuilder) Title ¶

func (*SlackAttachmentFieldBuilder) Value ¶

type SlackDynamicAttachment ¶

type SlackDynamicAttachment struct {
	AttachmentTemplate SlackAttachment `json:"attachment_template"`
	ListPath           string          `json:"list_path"`
}

SlackDynamicAttachment type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L125-L128

type SlackDynamicAttachmentBuilder ¶

type SlackDynamicAttachmentBuilder struct {
	// contains filtered or unexported fields
}

SlackDynamicAttachmentBuilder holds SlackDynamicAttachment struct and provides a builder API.

func NewSlackDynamicAttachmentBuilder ¶

func NewSlackDynamicAttachmentBuilder() *SlackDynamicAttachmentBuilder

NewSlackDynamicAttachment provides a builder for the SlackDynamicAttachment struct.

func (*SlackDynamicAttachmentBuilder) AttachmentTemplate ¶

func (rb *SlackDynamicAttachmentBuilder) AttachmentTemplate(attachmenttemplate *SlackAttachmentBuilder) *SlackDynamicAttachmentBuilder

func (*SlackDynamicAttachmentBuilder) Build ¶

Build finalize the chain and returns the SlackDynamicAttachment struct

func (*SlackDynamicAttachmentBuilder) ListPath ¶

type SlackMessage ¶

type SlackMessage struct {
	Attachments        []SlackAttachment       `json:"attachments"`
	DynamicAttachments *SlackDynamicAttachment `json:"dynamic_attachments,omitempty"`
	From               string                  `json:"from"`
	Icon               *string                 `json:"icon,omitempty"`
	Text               string                  `json:"text"`
	To                 []string                `json:"to"`
}

SlackMessage type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L130-L137

type SlackMessageBuilder ¶

type SlackMessageBuilder struct {
	// contains filtered or unexported fields
}

SlackMessageBuilder holds SlackMessage struct and provides a builder API.

func NewSlackMessageBuilder ¶

func NewSlackMessageBuilder() *SlackMessageBuilder

NewSlackMessage provides a builder for the SlackMessage struct.

func (*SlackMessageBuilder) Attachments ¶

func (rb *SlackMessageBuilder) Attachments(attachments []SlackAttachmentBuilder) *SlackMessageBuilder

func (*SlackMessageBuilder) Build ¶

func (rb *SlackMessageBuilder) Build() SlackMessage

Build finalize the chain and returns the SlackMessage struct

func (*SlackMessageBuilder) DynamicAttachments ¶

func (rb *SlackMessageBuilder) DynamicAttachments(dynamicattachments *SlackDynamicAttachmentBuilder) *SlackMessageBuilder

func (*SlackMessageBuilder) From ¶

func (*SlackMessageBuilder) Icon ¶

func (*SlackMessageBuilder) Text ¶

func (*SlackMessageBuilder) To ¶

type SlackResultBuilder ¶

type SlackResultBuilder struct {
	// contains filtered or unexported fields
}

SlackResultBuilder holds SlackResult struct and provides a builder API.

func NewSlackResultBuilder ¶

func NewSlackResultBuilder() *SlackResultBuilder

NewSlackResult provides a builder for the SlackResult struct.

func (*SlackResultBuilder) Account ¶

func (rb *SlackResultBuilder) Account(account string) *SlackResultBuilder

func (*SlackResultBuilder) Build ¶

func (rb *SlackResultBuilder) Build() SlackResult

Build finalize the chain and returns the SlackResult struct

func (*SlackResultBuilder) Message ¶

type SlicedScroll ¶

type SlicedScroll struct {
	Field *Field `json:"field,omitempty"`
	Id    int    `json:"id"`
	Max   int    `json:"max"`
}

SlicedScroll type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/SlicedScroll.ts#L23-L27

type SlicedScrollBuilder ¶

type SlicedScrollBuilder struct {
	// contains filtered or unexported fields
}

SlicedScrollBuilder holds SlicedScroll struct and provides a builder API.

func NewSlicedScrollBuilder ¶

func NewSlicedScrollBuilder() *SlicedScrollBuilder

NewSlicedScroll provides a builder for the SlicedScroll struct.

func (*SlicedScrollBuilder) Build ¶

func (rb *SlicedScrollBuilder) Build() SlicedScroll

Build finalize the chain and returns the SlicedScroll struct

func (*SlicedScrollBuilder) Field ¶

func (rb *SlicedScrollBuilder) Field(field Field) *SlicedScrollBuilder

func (*SlicedScrollBuilder) Id ¶

func (*SlicedScrollBuilder) Max ¶

type Slices ¶

type Slices interface{}

Slices holds the union for the following types:

int
slicescalculation.SlicesCalculation

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L319-L324

type SlicesBuilder ¶

type SlicesBuilder struct {
	// contains filtered or unexported fields
}

SlicesBuilder holds Slices struct and provides a builder API.

func NewSlicesBuilder ¶

func NewSlicesBuilder() *SlicesBuilder

NewSlices provides a builder for the Slices struct.

func (*SlicesBuilder) Build ¶

func (u *SlicesBuilder) Build() Slices

Build finalize the chain and returns the Slices struct

func (*SlicesBuilder) Int ¶

func (u *SlicesBuilder) Int(int int) *SlicesBuilder

func (*SlicesBuilder) SlicesCalculation ¶

func (u *SlicesBuilder) SlicesCalculation(slicescalculation slicescalculation.SlicesCalculation) *SlicesBuilder

type Slm ¶

type Slm struct {
	Available   bool        `json:"available"`
	Enabled     bool        `json:"enabled"`
	PolicyCount *int        `json:"policy_count,omitempty"`
	PolicyStats *Statistics `json:"policy_stats,omitempty"`
}

Slm type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L438-L441

type SlmBuilder ¶

type SlmBuilder struct {
	// contains filtered or unexported fields
}

SlmBuilder holds Slm struct and provides a builder API.

func NewSlmBuilder ¶

func NewSlmBuilder() *SlmBuilder

NewSlm provides a builder for the Slm struct.

func (*SlmBuilder) Available ¶

func (rb *SlmBuilder) Available(available bool) *SlmBuilder

func (*SlmBuilder) Build ¶

func (rb *SlmBuilder) Build() Slm

Build finalize the chain and returns the Slm struct

func (*SlmBuilder) Enabled ¶

func (rb *SlmBuilder) Enabled(enabled bool) *SlmBuilder

func (*SlmBuilder) PolicyCount ¶

func (rb *SlmBuilder) PolicyCount(policycount int) *SlmBuilder

func (*SlmBuilder) PolicyStats ¶

func (rb *SlmBuilder) PolicyStats(policystats *StatisticsBuilder) *SlmBuilder

type SlowlogSettings ¶

type SlowlogSettings struct {
	Level     *string           `json:"level,omitempty"`
	Reformat  *bool             `json:"reformat,omitempty"`
	Source    *int              `json:"source,omitempty"`
	Threshold *SlowlogTresholds `json:"threshold,omitempty"`
}

SlowlogSettings type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L471-L476

type SlowlogSettingsBuilder ¶

type SlowlogSettingsBuilder struct {
	// contains filtered or unexported fields
}

SlowlogSettingsBuilder holds SlowlogSettings struct and provides a builder API.

func NewSlowlogSettingsBuilder ¶

func NewSlowlogSettingsBuilder() *SlowlogSettingsBuilder

NewSlowlogSettings provides a builder for the SlowlogSettings struct.

func (*SlowlogSettingsBuilder) Build ¶

Build finalize the chain and returns the SlowlogSettings struct

func (*SlowlogSettingsBuilder) Level ¶

func (*SlowlogSettingsBuilder) Reformat ¶

func (rb *SlowlogSettingsBuilder) Reformat(reformat bool) *SlowlogSettingsBuilder

func (*SlowlogSettingsBuilder) Source ¶

func (*SlowlogSettingsBuilder) Threshold ¶

type SlowlogTresholdLevels ¶

type SlowlogTresholdLevels struct {
	Debug *Duration `json:"debug,omitempty"`
	Info  *Duration `json:"info,omitempty"`
	Trace *Duration `json:"trace,omitempty"`
	Warn  *Duration `json:"warn,omitempty"`
}

SlowlogTresholdLevels type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L489-L494

type SlowlogTresholdLevelsBuilder ¶

type SlowlogTresholdLevelsBuilder struct {
	// contains filtered or unexported fields
}

SlowlogTresholdLevelsBuilder holds SlowlogTresholdLevels struct and provides a builder API.

func NewSlowlogTresholdLevelsBuilder ¶

func NewSlowlogTresholdLevelsBuilder() *SlowlogTresholdLevelsBuilder

NewSlowlogTresholdLevels provides a builder for the SlowlogTresholdLevels struct.

func (*SlowlogTresholdLevelsBuilder) Build ¶

Build finalize the chain and returns the SlowlogTresholdLevels struct

func (*SlowlogTresholdLevelsBuilder) Debug ¶

func (*SlowlogTresholdLevelsBuilder) Info ¶

func (*SlowlogTresholdLevelsBuilder) Trace ¶

func (*SlowlogTresholdLevelsBuilder) Warn ¶

type SlowlogTresholds ¶

type SlowlogTresholds struct {
	Fetch *SlowlogTresholdLevels `json:"fetch,omitempty"`
	// Index The indexing slow log, similar in functionality to the search slow log. The
	// log file name ends with `_index_indexing_slowlog.json`.
	// Log and the thresholds are configured in the same way as the search slowlog.
	Index *SlowlogTresholdLevels `json:"index,omitempty"`
	Query *SlowlogTresholdLevels `json:"query,omitempty"`
}

SlowlogTresholds type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L478-L487

type SlowlogTresholdsBuilder ¶

type SlowlogTresholdsBuilder struct {
	// contains filtered or unexported fields
}

SlowlogTresholdsBuilder holds SlowlogTresholds struct and provides a builder API.

func NewSlowlogTresholdsBuilder ¶

func NewSlowlogTresholdsBuilder() *SlowlogTresholdsBuilder

NewSlowlogTresholds provides a builder for the SlowlogTresholds struct.

func (*SlowlogTresholdsBuilder) Build ¶

Build finalize the chain and returns the SlowlogTresholds struct

func (*SlowlogTresholdsBuilder) Fetch ¶

func (*SlowlogTresholdsBuilder) Index ¶

func (*SlowlogTresholdsBuilder) Query ¶

type SmoothingModelContainer ¶

type SmoothingModelContainer struct {
	Laplace             *LaplaceSmoothingModel             `json:"laplace,omitempty"`
	LinearInterpolation *LinearInterpolationSmoothingModel `json:"linear_interpolation,omitempty"`
	StupidBackoff       *StupidBackoffSmoothingModel       `json:"stupid_backoff,omitempty"`
}

SmoothingModelContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L219-L226

type SmoothingModelContainerBuilder ¶

type SmoothingModelContainerBuilder struct {
	// contains filtered or unexported fields
}

SmoothingModelContainerBuilder holds SmoothingModelContainer struct and provides a builder API.

func NewSmoothingModelContainerBuilder ¶

func NewSmoothingModelContainerBuilder() *SmoothingModelContainerBuilder

NewSmoothingModelContainer provides a builder for the SmoothingModelContainer struct.

func (*SmoothingModelContainerBuilder) Build ¶

Build finalize the chain and returns the SmoothingModelContainer struct

func (*SmoothingModelContainerBuilder) Laplace ¶

func (*SmoothingModelContainerBuilder) LinearInterpolation ¶

func (*SmoothingModelContainerBuilder) StupidBackoff ¶

type SnapshotIndexStats ¶

type SnapshotIndexStats struct {
	Shards      map[string]SnapshotShardsStatus `json:"shards"`
	ShardsStats ShardsStats                     `json:"shards_stats"`
	Stats       SnapshotStats                   `json:"stats"`
}

SnapshotIndexStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/SnapshotIndexStats.ts#L25-L29

type SnapshotIndexStatsBuilder ¶

type SnapshotIndexStatsBuilder struct {
	// contains filtered or unexported fields
}

SnapshotIndexStatsBuilder holds SnapshotIndexStats struct and provides a builder API.

func NewSnapshotIndexStatsBuilder ¶

func NewSnapshotIndexStatsBuilder() *SnapshotIndexStatsBuilder

NewSnapshotIndexStats provides a builder for the SnapshotIndexStats struct.

func (*SnapshotIndexStatsBuilder) Build ¶

Build finalize the chain and returns the SnapshotIndexStats struct

func (*SnapshotIndexStatsBuilder) Shards ¶

func (*SnapshotIndexStatsBuilder) ShardsStats ¶

func (*SnapshotIndexStatsBuilder) Stats ¶

type SnapshotInfo ¶

type SnapshotInfo struct {
	DataStreams        []string                   `json:"data_streams"`
	Duration           *Duration                  `json:"duration,omitempty"`
	DurationInMillis   *DurationValueUnitMillis   `json:"duration_in_millis,omitempty"`
	EndTime            *DateTime                  `json:"end_time,omitempty"`
	EndTimeInMillis    *EpochTimeUnitMillis       `json:"end_time_in_millis,omitempty"`
	Failures           []SnapshotShardFailure     `json:"failures,omitempty"`
	FeatureStates      []InfoFeatureState         `json:"feature_states,omitempty"`
	IncludeGlobalState *bool                      `json:"include_global_state,omitempty"`
	IndexDetails       map[IndexName]IndexDetails `json:"index_details,omitempty"`
	Indices            []IndexName                `json:"indices"`
	Metadata           *Metadata                  `json:"metadata,omitempty"`
	Reason             *string                    `json:"reason,omitempty"`
	Repository         *Name                      `json:"repository,omitempty"`
	Shards             *ShardStatistics           `json:"shards,omitempty"`
	Snapshot           Name                       `json:"snapshot"`
	StartTime          *DateTime                  `json:"start_time,omitempty"`
	StartTimeInMillis  *EpochTimeUnitMillis       `json:"start_time_in_millis,omitempty"`
	State              *string                    `json:"state,omitempty"`
	Uuid               Uuid                       `json:"uuid"`
	Version            *VersionString             `json:"version,omitempty"`
	VersionId          *VersionNumber             `json:"version_id,omitempty"`
}

SnapshotInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/SnapshotInfo.ts#L41-L65

type SnapshotInfoBuilder ¶

type SnapshotInfoBuilder struct {
	// contains filtered or unexported fields
}

SnapshotInfoBuilder holds SnapshotInfo struct and provides a builder API.

func NewSnapshotInfoBuilder ¶

func NewSnapshotInfoBuilder() *SnapshotInfoBuilder

NewSnapshotInfo provides a builder for the SnapshotInfo struct.

func (*SnapshotInfoBuilder) Build ¶

func (rb *SnapshotInfoBuilder) Build() SnapshotInfo

Build finalize the chain and returns the SnapshotInfo struct

func (*SnapshotInfoBuilder) DataStreams ¶

func (rb *SnapshotInfoBuilder) DataStreams(data_streams ...string) *SnapshotInfoBuilder

func (*SnapshotInfoBuilder) Duration ¶

func (rb *SnapshotInfoBuilder) Duration(duration *DurationBuilder) *SnapshotInfoBuilder

func (*SnapshotInfoBuilder) DurationInMillis ¶

func (rb *SnapshotInfoBuilder) DurationInMillis(durationinmillis *DurationValueUnitMillisBuilder) *SnapshotInfoBuilder

func (*SnapshotInfoBuilder) EndTime ¶

func (*SnapshotInfoBuilder) EndTimeInMillis ¶

func (rb *SnapshotInfoBuilder) EndTimeInMillis(endtimeinmillis *EpochTimeUnitMillisBuilder) *SnapshotInfoBuilder

func (*SnapshotInfoBuilder) Failures ¶

func (*SnapshotInfoBuilder) FeatureStates ¶

func (rb *SnapshotInfoBuilder) FeatureStates(feature_states []InfoFeatureStateBuilder) *SnapshotInfoBuilder

func (*SnapshotInfoBuilder) IncludeGlobalState ¶

func (rb *SnapshotInfoBuilder) IncludeGlobalState(includeglobalstate bool) *SnapshotInfoBuilder

func (*SnapshotInfoBuilder) IndexDetails ¶

func (*SnapshotInfoBuilder) Indices ¶

func (rb *SnapshotInfoBuilder) Indices(indices ...IndexName) *SnapshotInfoBuilder

func (*SnapshotInfoBuilder) Metadata ¶

func (rb *SnapshotInfoBuilder) Metadata(metadata *MetadataBuilder) *SnapshotInfoBuilder

func (*SnapshotInfoBuilder) Reason ¶

func (rb *SnapshotInfoBuilder) Reason(reason string) *SnapshotInfoBuilder

func (*SnapshotInfoBuilder) Repository ¶

func (rb *SnapshotInfoBuilder) Repository(repository Name) *SnapshotInfoBuilder

func (*SnapshotInfoBuilder) Shards ¶

func (*SnapshotInfoBuilder) Snapshot ¶

func (rb *SnapshotInfoBuilder) Snapshot(snapshot Name) *SnapshotInfoBuilder

func (*SnapshotInfoBuilder) StartTime ¶

func (rb *SnapshotInfoBuilder) StartTime(starttime *DateTimeBuilder) *SnapshotInfoBuilder

func (*SnapshotInfoBuilder) StartTimeInMillis ¶

func (rb *SnapshotInfoBuilder) StartTimeInMillis(starttimeinmillis *EpochTimeUnitMillisBuilder) *SnapshotInfoBuilder

func (*SnapshotInfoBuilder) State ¶

func (*SnapshotInfoBuilder) Uuid ¶

func (*SnapshotInfoBuilder) Version ¶

func (*SnapshotInfoBuilder) VersionId ¶

func (rb *SnapshotInfoBuilder) VersionId(versionid VersionNumber) *SnapshotInfoBuilder

type SnapshotLifecycle ¶

type SnapshotLifecycle struct {
	InProgress          *InProgress         `json:"in_progress,omitempty"`
	LastFailure         *Invocation         `json:"last_failure,omitempty"`
	LastSuccess         *Invocation         `json:"last_success,omitempty"`
	ModifiedDate        *DateTime           `json:"modified_date,omitempty"`
	ModifiedDateMillis  EpochTimeUnitMillis `json:"modified_date_millis"`
	NextExecution       *DateTime           `json:"next_execution,omitempty"`
	NextExecutionMillis EpochTimeUnitMillis `json:"next_execution_millis"`
	Policy              Policy              `json:"policy"`
	Stats               Statistics          `json:"stats"`
	Version             VersionNumber       `json:"version"`
}

SnapshotLifecycle type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/slm/_types/SnapshotLifecycle.ts#L38-L49

type SnapshotLifecycleBuilder ¶

type SnapshotLifecycleBuilder struct {
	// contains filtered or unexported fields
}

SnapshotLifecycleBuilder holds SnapshotLifecycle struct and provides a builder API.

func NewSnapshotLifecycleBuilder ¶

func NewSnapshotLifecycleBuilder() *SnapshotLifecycleBuilder

NewSnapshotLifecycle provides a builder for the SnapshotLifecycle struct.

func (*SnapshotLifecycleBuilder) Build ¶

Build finalize the chain and returns the SnapshotLifecycle struct

func (*SnapshotLifecycleBuilder) InProgress ¶

func (*SnapshotLifecycleBuilder) LastFailure ¶

func (*SnapshotLifecycleBuilder) LastSuccess ¶

func (*SnapshotLifecycleBuilder) ModifiedDate ¶

func (rb *SnapshotLifecycleBuilder) ModifiedDate(modifieddate *DateTimeBuilder) *SnapshotLifecycleBuilder

func (*SnapshotLifecycleBuilder) ModifiedDateMillis ¶

func (rb *SnapshotLifecycleBuilder) ModifiedDateMillis(modifieddatemillis *EpochTimeUnitMillisBuilder) *SnapshotLifecycleBuilder

func (*SnapshotLifecycleBuilder) NextExecution ¶

func (rb *SnapshotLifecycleBuilder) NextExecution(nextexecution *DateTimeBuilder) *SnapshotLifecycleBuilder

func (*SnapshotLifecycleBuilder) NextExecutionMillis ¶

func (rb *SnapshotLifecycleBuilder) NextExecutionMillis(nextexecutionmillis *EpochTimeUnitMillisBuilder) *SnapshotLifecycleBuilder

func (*SnapshotLifecycleBuilder) Policy ¶

func (*SnapshotLifecycleBuilder) Stats ¶

func (*SnapshotLifecycleBuilder) Version ¶

type SnapshotResponseItem ¶

type SnapshotResponseItem struct {
	Error      *ErrorCause    `json:"error,omitempty"`
	Repository Name           `json:"repository"`
	Snapshots  []SnapshotInfo `json:"snapshots,omitempty"`
}

SnapshotResponseItem type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/get/SnapshotGetResponse.ts#L42-L46

type SnapshotResponseItemBuilder ¶

type SnapshotResponseItemBuilder struct {
	// contains filtered or unexported fields
}

SnapshotResponseItemBuilder holds SnapshotResponseItem struct and provides a builder API.

func NewSnapshotResponseItemBuilder ¶

func NewSnapshotResponseItemBuilder() *SnapshotResponseItemBuilder

NewSnapshotResponseItem provides a builder for the SnapshotResponseItem struct.

func (*SnapshotResponseItemBuilder) Build ¶

Build finalize the chain and returns the SnapshotResponseItem struct

func (*SnapshotResponseItemBuilder) Error ¶

func (*SnapshotResponseItemBuilder) Repository ¶

func (rb *SnapshotResponseItemBuilder) Repository(repository Name) *SnapshotResponseItemBuilder

func (*SnapshotResponseItemBuilder) Snapshots ¶

type SnapshotRestoreBuilder ¶

type SnapshotRestoreBuilder struct {
	// contains filtered or unexported fields
}

SnapshotRestoreBuilder holds SnapshotRestore struct and provides a builder API.

func NewSnapshotRestoreBuilder ¶

func NewSnapshotRestoreBuilder() *SnapshotRestoreBuilder

NewSnapshotRestore provides a builder for the SnapshotRestore struct.

func (*SnapshotRestoreBuilder) Build ¶

Build finalize the chain and returns the SnapshotRestore struct

func (*SnapshotRestoreBuilder) Indices ¶

func (rb *SnapshotRestoreBuilder) Indices(indices ...IndexName) *SnapshotRestoreBuilder

func (*SnapshotRestoreBuilder) Shards ¶

func (*SnapshotRestoreBuilder) Snapshot ¶

func (rb *SnapshotRestoreBuilder) Snapshot(snapshot string) *SnapshotRestoreBuilder

type SnapshotShardFailure ¶

type SnapshotShardFailure struct {
	Index   IndexName `json:"index"`
	NodeId  Id        `json:"node_id"`
	Reason  string    `json:"reason"`
	ShardId Id        `json:"shard_id"`
	Status  string    `json:"status"`
}

SnapshotShardFailure type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/SnapshotShardFailure.ts#L22-L28

type SnapshotShardFailureBuilder ¶

type SnapshotShardFailureBuilder struct {
	// contains filtered or unexported fields
}

SnapshotShardFailureBuilder holds SnapshotShardFailure struct and provides a builder API.

func NewSnapshotShardFailureBuilder ¶

func NewSnapshotShardFailureBuilder() *SnapshotShardFailureBuilder

NewSnapshotShardFailure provides a builder for the SnapshotShardFailure struct.

func (*SnapshotShardFailureBuilder) Build ¶

Build finalize the chain and returns the SnapshotShardFailure struct

func (*SnapshotShardFailureBuilder) Index ¶

func (*SnapshotShardFailureBuilder) NodeId ¶

func (*SnapshotShardFailureBuilder) Reason ¶

func (*SnapshotShardFailureBuilder) ShardId ¶

func (*SnapshotShardFailureBuilder) Status ¶

type SnapshotShardsStatusBuilder ¶

type SnapshotShardsStatusBuilder struct {
	// contains filtered or unexported fields
}

SnapshotShardsStatusBuilder holds SnapshotShardsStatus struct and provides a builder API.

func NewSnapshotShardsStatusBuilder ¶

func NewSnapshotShardsStatusBuilder() *SnapshotShardsStatusBuilder

NewSnapshotShardsStatus provides a builder for the SnapshotShardsStatus struct.

func (*SnapshotShardsStatusBuilder) Build ¶

Build finalize the chain and returns the SnapshotShardsStatus struct

func (*SnapshotShardsStatusBuilder) Stage ¶

func (*SnapshotShardsStatusBuilder) Stats ¶

type SnapshotStats ¶

type SnapshotStats struct {
	Incremental       FileCountSnapshotStats  `json:"incremental"`
	StartTimeInMillis EpochTimeUnitMillis     `json:"start_time_in_millis"`
	Time              *Duration               `json:"time,omitempty"`
	TimeInMillis      DurationValueUnitMillis `json:"time_in_millis"`
	Total             FileCountSnapshotStats  `json:"total"`
}

SnapshotStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/SnapshotStats.ts#L23-L29

type SnapshotStatsBuilder ¶

type SnapshotStatsBuilder struct {
	// contains filtered or unexported fields
}

SnapshotStatsBuilder holds SnapshotStats struct and provides a builder API.

func NewSnapshotStatsBuilder ¶

func NewSnapshotStatsBuilder() *SnapshotStatsBuilder

NewSnapshotStats provides a builder for the SnapshotStats struct.

func (*SnapshotStatsBuilder) Build ¶

func (rb *SnapshotStatsBuilder) Build() SnapshotStats

Build finalize the chain and returns the SnapshotStats struct

func (*SnapshotStatsBuilder) Incremental ¶

func (*SnapshotStatsBuilder) StartTimeInMillis ¶

func (rb *SnapshotStatsBuilder) StartTimeInMillis(starttimeinmillis *EpochTimeUnitMillisBuilder) *SnapshotStatsBuilder

func (*SnapshotStatsBuilder) Time ¶

func (*SnapshotStatsBuilder) TimeInMillis ¶

func (*SnapshotStatsBuilder) Total ¶

type SnapshotsRecord ¶

type SnapshotsRecord struct {
	// Duration duration
	Duration *Duration `json:"duration,omitempty"`
	// EndEpoch end time in seconds since 1970-01-01 00:00:00
	EndEpoch *StringifiedEpochTimeUnitSeconds `json:"end_epoch,omitempty"`
	// EndTime end time in HH:MM:SS
	EndTime *TimeOfDay `json:"end_time,omitempty"`
	// FailedShards number of failed shards
	FailedShards *string `json:"failed_shards,omitempty"`
	// Id unique snapshot
	Id *string `json:"id,omitempty"`
	// Indices number of indices
	Indices *string `json:"indices,omitempty"`
	// Reason reason for failures
	Reason *string `json:"reason,omitempty"`
	// Repository repository name
	Repository *string `json:"repository,omitempty"`
	// StartEpoch start time in seconds since 1970-01-01 00:00:00
	StartEpoch *StringifiedEpochTimeUnitSeconds `json:"start_epoch,omitempty"`
	// StartTime start time in HH:MM:SS
	StartTime *ScheduleTimeOfDay `json:"start_time,omitempty"`
	// Status snapshot name
	Status *string `json:"status,omitempty"`
	// SuccessfulShards number of successful shards
	SuccessfulShards *string `json:"successful_shards,omitempty"`
	// TotalShards number of total shards
	TotalShards *string `json:"total_shards,omitempty"`
}

SnapshotsRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/snapshots/types.ts#L24-L90

type SnapshotsRecordBuilder ¶

type SnapshotsRecordBuilder struct {
	// contains filtered or unexported fields
}

SnapshotsRecordBuilder holds SnapshotsRecord struct and provides a builder API.

func NewSnapshotsRecordBuilder ¶

func NewSnapshotsRecordBuilder() *SnapshotsRecordBuilder

NewSnapshotsRecord provides a builder for the SnapshotsRecord struct.

func (*SnapshotsRecordBuilder) Build ¶

Build finalize the chain and returns the SnapshotsRecord struct

func (*SnapshotsRecordBuilder) Duration ¶

func (*SnapshotsRecordBuilder) EndEpoch ¶

func (*SnapshotsRecordBuilder) EndTime ¶

func (*SnapshotsRecordBuilder) FailedShards ¶

func (rb *SnapshotsRecordBuilder) FailedShards(failedshards string) *SnapshotsRecordBuilder

func (*SnapshotsRecordBuilder) Id ¶

func (*SnapshotsRecordBuilder) Indices ¶

func (*SnapshotsRecordBuilder) Reason ¶

func (*SnapshotsRecordBuilder) Repository ¶

func (rb *SnapshotsRecordBuilder) Repository(repository string) *SnapshotsRecordBuilder

func (*SnapshotsRecordBuilder) StartEpoch ¶

func (*SnapshotsRecordBuilder) StartTime ¶

func (*SnapshotsRecordBuilder) Status ¶

func (*SnapshotsRecordBuilder) SuccessfulShards ¶

func (rb *SnapshotsRecordBuilder) SuccessfulShards(successfulshards string) *SnapshotsRecordBuilder

func (*SnapshotsRecordBuilder) TotalShards ¶

func (rb *SnapshotsRecordBuilder) TotalShards(totalshards string) *SnapshotsRecordBuilder

type SnowballAnalyzer ¶

type SnowballAnalyzer struct {
	Language  snowballlanguage.SnowballLanguage `json:"language"`
	Stopwords *StopWords                        `json:"stopwords,omitempty"`
	Type      string                            `json:"type,omitempty"`
	Version   *VersionString                    `json:"version,omitempty"`
}

SnowballAnalyzer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/analyzers.ts#L88-L93

type SnowballAnalyzerBuilder ¶

type SnowballAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

SnowballAnalyzerBuilder holds SnowballAnalyzer struct and provides a builder API.

func NewSnowballAnalyzerBuilder ¶

func NewSnowballAnalyzerBuilder() *SnowballAnalyzerBuilder

NewSnowballAnalyzer provides a builder for the SnowballAnalyzer struct.

func (*SnowballAnalyzerBuilder) Build ¶

Build finalize the chain and returns the SnowballAnalyzer struct

func (*SnowballAnalyzerBuilder) Language ¶

func (*SnowballAnalyzerBuilder) Stopwords ¶

func (*SnowballAnalyzerBuilder) Version ¶

type SnowballTokenFilter ¶

type SnowballTokenFilter struct {
	Language snowballlanguage.SnowballLanguage `json:"language"`
	Type     string                            `json:"type,omitempty"`
	Version  *VersionString                    `json:"version,omitempty"`
}

SnowballTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L308-L311

type SnowballTokenFilterBuilder ¶

type SnowballTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

SnowballTokenFilterBuilder holds SnowballTokenFilter struct and provides a builder API.

func NewSnowballTokenFilterBuilder ¶

func NewSnowballTokenFilterBuilder() *SnowballTokenFilterBuilder

NewSnowballTokenFilter provides a builder for the SnowballTokenFilter struct.

func (*SnowballTokenFilterBuilder) Build ¶

Build finalize the chain and returns the SnowballTokenFilter struct

func (*SnowballTokenFilterBuilder) Language ¶

func (*SnowballTokenFilterBuilder) Version ¶

type SoftDeletes ¶

type SoftDeletes struct {
	// Enabled Indicates whether soft deletes are enabled on the index.
	Enabled *bool `json:"enabled,omitempty"`
	// RetentionLease The maximum period to retain a shard history retention lease before it is
	// considered expired.
	// Shard history retention leases ensure that soft deletes are retained during
	// merges on the Lucene
	// index. If a soft delete is merged away before it can be replicated to a
	// follower the following
	// process will fail due to incomplete history on the leader.
	RetentionLease *RetentionLease `json:"retention_lease,omitempty"`
}

SoftDeletes type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L50-L63

type SoftDeletesBuilder ¶

type SoftDeletesBuilder struct {
	// contains filtered or unexported fields
}

SoftDeletesBuilder holds SoftDeletes struct and provides a builder API.

func NewSoftDeletesBuilder ¶

func NewSoftDeletesBuilder() *SoftDeletesBuilder

NewSoftDeletes provides a builder for the SoftDeletes struct.

func (*SoftDeletesBuilder) Build ¶

func (rb *SoftDeletesBuilder) Build() SoftDeletes

Build finalize the chain and returns the SoftDeletes struct

func (*SoftDeletesBuilder) Enabled ¶

func (rb *SoftDeletesBuilder) Enabled(enabled bool) *SoftDeletesBuilder

func (*SoftDeletesBuilder) RetentionLease ¶

func (rb *SoftDeletesBuilder) RetentionLease(retentionlease *RetentionLeaseBuilder) *SoftDeletesBuilder

type SortBuilder ¶

type SortBuilder struct {
	// contains filtered or unexported fields
}

SortBuilder holds Sort struct and provides a builder API.

func NewSortBuilder ¶

func NewSortBuilder() *SortBuilder

NewSort provides a builder for the Sort struct.

func (*SortBuilder) Build ¶

func (b *SortBuilder) Build() Sort

Build finalize the chain and returns the Sort struct

func (*SortBuilder) Sort ¶

func (b *SortBuilder) Sort(value Sort) *SortBuilder

type SortCombinations ¶

type SortCombinations interface{}

SortCombinations holds the union for the following types:

Field
SortOptions

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/sort.ts#L91-L95

type SortCombinationsBuilder ¶

type SortCombinationsBuilder struct {
	// contains filtered or unexported fields
}

SortCombinationsBuilder holds SortCombinations struct and provides a builder API.

func NewSortCombinationsBuilder ¶

func NewSortCombinationsBuilder() *SortCombinationsBuilder

NewSortCombinations provides a builder for the SortCombinations struct.

func (*SortCombinationsBuilder) Build ¶

Build finalize the chain and returns the SortCombinations struct

func (*SortCombinationsBuilder) Field ¶

func (*SortCombinationsBuilder) SortOptions ¶

type SortOptions ¶

type SortOptions struct {
	Doc_         *ScoreSort          `json:"_doc,omitempty"`
	GeoDistance_ *GeoDistanceSort    `json:"_geo_distance,omitempty"`
	Score_       *ScoreSort          `json:"_score,omitempty"`
	Script_      *ScriptSort         `json:"_script,omitempty"`
	SortOptions  map[Field]FieldSort `json:"SortOptions,omitempty"`
}

SortOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/sort.ts#L80-L89

type SortOptionsBuilder ¶

type SortOptionsBuilder struct {
	// contains filtered or unexported fields
}

SortOptionsBuilder holds SortOptions struct and provides a builder API.

func NewSortOptionsBuilder ¶

func NewSortOptionsBuilder() *SortOptionsBuilder

NewSortOptions provides a builder for the SortOptions struct.

func (*SortOptionsBuilder) Build ¶

func (rb *SortOptionsBuilder) Build() SortOptions

Build finalize the chain and returns the SortOptions struct

func (*SortOptionsBuilder) Doc_ ¶

func (*SortOptionsBuilder) GeoDistance_ ¶

func (rb *SortOptionsBuilder) GeoDistance_(geodistance_ *GeoDistanceSortBuilder) *SortOptionsBuilder

func (*SortOptionsBuilder) Score_ ¶

func (*SortOptionsBuilder) Script_ ¶

func (*SortOptionsBuilder) SortOptions ¶

func (rb *SortOptionsBuilder) SortOptions(values map[Field]*FieldSortBuilder) *SortOptionsBuilder

type SortProcessor ¶

type SortProcessor struct {
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Order         sortorder.SortOrder  `json:"order"`
	Tag           *string              `json:"tag,omitempty"`
	TargetField   Field                `json:"target_field"`
}

SortProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L335-L339

type SortProcessorBuilder ¶

type SortProcessorBuilder struct {
	// contains filtered or unexported fields
}

SortProcessorBuilder holds SortProcessor struct and provides a builder API.

func NewSortProcessorBuilder ¶

func NewSortProcessorBuilder() *SortProcessorBuilder

NewSortProcessor provides a builder for the SortProcessor struct.

func (*SortProcessorBuilder) Build ¶

func (rb *SortProcessorBuilder) Build() SortProcessor

Build finalize the chain and returns the SortProcessor struct

func (*SortProcessorBuilder) Field ¶

func (*SortProcessorBuilder) If_ ¶

func (*SortProcessorBuilder) IgnoreFailure ¶

func (rb *SortProcessorBuilder) IgnoreFailure(ignorefailure bool) *SortProcessorBuilder

func (*SortProcessorBuilder) OnFailure ¶

func (*SortProcessorBuilder) Order ¶

func (*SortProcessorBuilder) Tag ¶

func (*SortProcessorBuilder) TargetField ¶

func (rb *SortProcessorBuilder) TargetField(targetfield Field) *SortProcessorBuilder

type SortResultsBuilder ¶

type SortResultsBuilder struct {
	// contains filtered or unexported fields
}

SortResultsBuilder holds SortResults struct and provides a builder API.

func NewSortResultsBuilder ¶

func NewSortResultsBuilder() *SortResultsBuilder

NewSortResults provides a builder for the SortResults struct.

func (*SortResultsBuilder) Build ¶

func (b *SortResultsBuilder) Build() SortResults

Build finalize the chain and returns the SortResults struct

func (*SortResultsBuilder) SortResults ¶

func (b *SortResultsBuilder) SortResults(value SortResults) *SortResultsBuilder

type Source ¶

type Source struct {
	// Index The source indices for the transform. It can be a single index, an index
	// pattern (for example, `"my-index-*""`), an
	// array of indices (for example, `["my-index-000001", "my-index-000002"]`), or
	// an array of index patterns (for
	// example, `["my-index-*", "my-other-index-*"]`. For remote indices use the
	// syntax `"remote_name:index_name"`. If
	// any indices are in remote clusters then the master node and at least one
	// transform node must have the `remote_cluster_client` node role.
	Index Indices `json:"index"`
	// Query A query clause that retrieves a subset of data from the source index.
	Query *QueryContainer `json:"query,omitempty"`
	// RuntimeMappings Definitions of search-time runtime fields that can be used by the transform.
	// For search runtime fields all data
	// nodes, including remote nodes, must be 7.12 or later.
	RuntimeMappings *RuntimeFields `json:"runtime_mappings,omitempty"`
}

Source type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/_types/Transform.ts#L135-L153

type SourceBuilder ¶

type SourceBuilder struct {
	// contains filtered or unexported fields
}

SourceBuilder holds Source struct and provides a builder API.

func NewSourceBuilder ¶

func NewSourceBuilder() *SourceBuilder

NewSource provides a builder for the Source struct.

func (*SourceBuilder) Build ¶

func (rb *SourceBuilder) Build() Source

Build finalize the chain and returns the Source struct

func (*SourceBuilder) Index ¶

func (rb *SourceBuilder) Index(index *IndicesBuilder) *SourceBuilder

func (*SourceBuilder) Query ¶

func (*SourceBuilder) RuntimeMappings ¶

func (rb *SourceBuilder) RuntimeMappings(runtimemappings *RuntimeFieldsBuilder) *SourceBuilder

type SourceConfigBuilder ¶

type SourceConfigBuilder struct {
	// contains filtered or unexported fields
}

SourceConfigBuilder holds SourceConfig struct and provides a builder API.

func NewSourceConfigBuilder ¶

func NewSourceConfigBuilder() *SourceConfigBuilder

NewSourceConfig provides a builder for the SourceConfig struct.

func (*SourceConfigBuilder) Bool ¶

func (*SourceConfigBuilder) Build ¶

func (u *SourceConfigBuilder) Build() SourceConfig

Build finalize the chain and returns the SourceConfig struct

func (*SourceConfigBuilder) SourceFilter ¶

func (u *SourceConfigBuilder) SourceFilter(sourcefilter *SourceFilterBuilder) *SourceConfigBuilder

type SourceConfigParamBuilder ¶

type SourceConfigParamBuilder struct {
	// contains filtered or unexported fields
}

SourceConfigParamBuilder holds SourceConfigParam struct and provides a builder API.

func NewSourceConfigParamBuilder ¶

func NewSourceConfigParamBuilder() *SourceConfigParamBuilder

NewSourceConfigParam provides a builder for the SourceConfigParam struct.

func (*SourceConfigParamBuilder) Bool ¶

func (*SourceConfigParamBuilder) Build ¶

Build finalize the chain and returns the SourceConfigParam struct

func (*SourceConfigParamBuilder) Fields ¶

type SourceField ¶

type SourceField struct {
	Compress          *bool    `json:"compress,omitempty"`
	CompressThreshold *string  `json:"compress_threshold,omitempty"`
	Enabled           *bool    `json:"enabled,omitempty"`
	Excludes          []string `json:"excludes,omitempty"`
	Includes          []string `json:"includes,omitempty"`
}

SourceField type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/meta-fields.ts#L58-L64

type SourceFieldBuilder ¶

type SourceFieldBuilder struct {
	// contains filtered or unexported fields
}

SourceFieldBuilder holds SourceField struct and provides a builder API.

func NewSourceFieldBuilder ¶

func NewSourceFieldBuilder() *SourceFieldBuilder

NewSourceField provides a builder for the SourceField struct.

func (*SourceFieldBuilder) Build ¶

func (rb *SourceFieldBuilder) Build() SourceField

Build finalize the chain and returns the SourceField struct

func (*SourceFieldBuilder) Compress ¶

func (rb *SourceFieldBuilder) Compress(compress bool) *SourceFieldBuilder

func (*SourceFieldBuilder) CompressThreshold ¶

func (rb *SourceFieldBuilder) CompressThreshold(compressthreshold string) *SourceFieldBuilder

func (*SourceFieldBuilder) Enabled ¶

func (rb *SourceFieldBuilder) Enabled(enabled bool) *SourceFieldBuilder

func (*SourceFieldBuilder) Excludes ¶

func (rb *SourceFieldBuilder) Excludes(excludes ...string) *SourceFieldBuilder

func (*SourceFieldBuilder) Includes ¶

func (rb *SourceFieldBuilder) Includes(includes ...string) *SourceFieldBuilder

type SourceFilter ¶

type SourceFilter struct {
	Excludes *Fields `json:"excludes,omitempty"`
	Includes *Fields `json:"includes,omitempty"`
}

SourceFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/SourceFilter.ts#L23-L31

type SourceFilterBuilder ¶

type SourceFilterBuilder struct {
	// contains filtered or unexported fields
}

SourceFilterBuilder holds SourceFilter struct and provides a builder API.

func NewSourceFilterBuilder ¶

func NewSourceFilterBuilder() *SourceFilterBuilder

NewSourceFilter provides a builder for the SourceFilter struct.

func (*SourceFilterBuilder) Build ¶

func (rb *SourceFilterBuilder) Build() SourceFilter

Build finalize the chain and returns the SourceFilter struct

func (*SourceFilterBuilder) Excludes ¶

func (rb *SourceFilterBuilder) Excludes(excludes *FieldsBuilder) *SourceFilterBuilder

func (*SourceFilterBuilder) Includes ¶

func (rb *SourceFilterBuilder) Includes(includes *FieldsBuilder) *SourceFilterBuilder

type SpanContainingQuery ¶

type SpanContainingQuery struct {
	Big        *SpanQuery `json:"big,omitempty"`
	Boost      *float32   `json:"boost,omitempty"`
	Little     *SpanQuery `json:"little,omitempty"`
	QueryName_ *string    `json:"_name,omitempty"`
}

SpanContainingQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/span.ts#L25-L28

type SpanContainingQueryBuilder ¶

type SpanContainingQueryBuilder struct {
	// contains filtered or unexported fields
}

SpanContainingQueryBuilder holds SpanContainingQuery struct and provides a builder API.

func NewSpanContainingQueryBuilder ¶

func NewSpanContainingQueryBuilder() *SpanContainingQueryBuilder

NewSpanContainingQuery provides a builder for the SpanContainingQuery struct.

func (*SpanContainingQueryBuilder) Big ¶

func (*SpanContainingQueryBuilder) Boost ¶

func (*SpanContainingQueryBuilder) Build ¶

Build finalize the chain and returns the SpanContainingQuery struct

func (*SpanContainingQueryBuilder) Little ¶

func (*SpanContainingQueryBuilder) QueryName_ ¶

func (rb *SpanContainingQueryBuilder) QueryName_(queryname_ string) *SpanContainingQueryBuilder

type SpanFieldMaskingQuery ¶

type SpanFieldMaskingQuery struct {
	Boost      *float32   `json:"boost,omitempty"`
	Field      Field      `json:"field"`
	Query      *SpanQuery `json:"query,omitempty"`
	QueryName_ *string    `json:"_name,omitempty"`
}

SpanFieldMaskingQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/span.ts#L30-L33

type SpanFieldMaskingQueryBuilder ¶

type SpanFieldMaskingQueryBuilder struct {
	// contains filtered or unexported fields
}

SpanFieldMaskingQueryBuilder holds SpanFieldMaskingQuery struct and provides a builder API.

func NewSpanFieldMaskingQueryBuilder ¶

func NewSpanFieldMaskingQueryBuilder() *SpanFieldMaskingQueryBuilder

NewSpanFieldMaskingQuery provides a builder for the SpanFieldMaskingQuery struct.

func (*SpanFieldMaskingQueryBuilder) Boost ¶

func (*SpanFieldMaskingQueryBuilder) Build ¶

Build finalize the chain and returns the SpanFieldMaskingQuery struct

func (*SpanFieldMaskingQueryBuilder) Field ¶

func (*SpanFieldMaskingQueryBuilder) Query ¶

func (*SpanFieldMaskingQueryBuilder) QueryName_ ¶

type SpanFirstQuery ¶

type SpanFirstQuery struct {
	Boost      *float32   `json:"boost,omitempty"`
	End        int        `json:"end"`
	Match      *SpanQuery `json:"match,omitempty"`
	QueryName_ *string    `json:"_name,omitempty"`
}

SpanFirstQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/span.ts#L35-L38

type SpanFirstQueryBuilder ¶

type SpanFirstQueryBuilder struct {
	// contains filtered or unexported fields
}

SpanFirstQueryBuilder holds SpanFirstQuery struct and provides a builder API.

func NewSpanFirstQueryBuilder ¶

func NewSpanFirstQueryBuilder() *SpanFirstQueryBuilder

NewSpanFirstQuery provides a builder for the SpanFirstQuery struct.

func (*SpanFirstQueryBuilder) Boost ¶

func (*SpanFirstQueryBuilder) Build ¶

Build finalize the chain and returns the SpanFirstQuery struct

func (*SpanFirstQueryBuilder) End ¶

func (*SpanFirstQueryBuilder) Match ¶

func (*SpanFirstQueryBuilder) QueryName_ ¶

func (rb *SpanFirstQueryBuilder) QueryName_(queryname_ string) *SpanFirstQueryBuilder

type SpanGapQueryBuilder ¶

type SpanGapQueryBuilder struct {
	// contains filtered or unexported fields
}

SpanGapQueryBuilder holds SpanGapQuery struct and provides a builder API.

func NewSpanGapQueryBuilder ¶

func NewSpanGapQueryBuilder() *SpanGapQueryBuilder

NewSpanGapQuery provides a builder for the SpanGapQuery struct.

func (*SpanGapQueryBuilder) Build ¶

func (b *SpanGapQueryBuilder) Build() SpanGapQuery

Build finalize the chain and returns the SpanGapQuery struct

func (*SpanGapQueryBuilder) SpanGapQuery ¶

func (b *SpanGapQueryBuilder) SpanGapQuery(value SpanGapQuery) *SpanGapQueryBuilder

type SpanMultiTermQuery ¶

type SpanMultiTermQuery struct {
	Boost *float32 `json:"boost,omitempty"`
	// Match Should be a multi term query (one of wildcard, fuzzy, prefix, range or regexp
	// query)
	Match      *QueryContainer `json:"match,omitempty"`
	QueryName_ *string         `json:"_name,omitempty"`
}

SpanMultiTermQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/span.ts#L44-L47

type SpanMultiTermQueryBuilder ¶

type SpanMultiTermQueryBuilder struct {
	// contains filtered or unexported fields
}

SpanMultiTermQueryBuilder holds SpanMultiTermQuery struct and provides a builder API.

func NewSpanMultiTermQueryBuilder ¶

func NewSpanMultiTermQueryBuilder() *SpanMultiTermQueryBuilder

NewSpanMultiTermQuery provides a builder for the SpanMultiTermQuery struct.

func (*SpanMultiTermQueryBuilder) Boost ¶

func (*SpanMultiTermQueryBuilder) Build ¶

Build finalize the chain and returns the SpanMultiTermQuery struct

func (*SpanMultiTermQueryBuilder) Match ¶

func (*SpanMultiTermQueryBuilder) QueryName_ ¶

func (rb *SpanMultiTermQueryBuilder) QueryName_(queryname_ string) *SpanMultiTermQueryBuilder

type SpanNearQuery ¶

type SpanNearQuery struct {
	Boost      *float32    `json:"boost,omitempty"`
	Clauses    []SpanQuery `json:"clauses"`
	InOrder    *bool       `json:"in_order,omitempty"`
	QueryName_ *string     `json:"_name,omitempty"`
	Slop       *int        `json:"slop,omitempty"`
}

SpanNearQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/span.ts#L49-L53

type SpanNearQueryBuilder ¶

type SpanNearQueryBuilder struct {
	// contains filtered or unexported fields
}

SpanNearQueryBuilder holds SpanNearQuery struct and provides a builder API.

func NewSpanNearQueryBuilder ¶

func NewSpanNearQueryBuilder() *SpanNearQueryBuilder

NewSpanNearQuery provides a builder for the SpanNearQuery struct.

func (*SpanNearQueryBuilder) Boost ¶

func (*SpanNearQueryBuilder) Build ¶

func (rb *SpanNearQueryBuilder) Build() SpanNearQuery

Build finalize the chain and returns the SpanNearQuery struct

func (*SpanNearQueryBuilder) Clauses ¶

func (*SpanNearQueryBuilder) InOrder ¶

func (rb *SpanNearQueryBuilder) InOrder(inorder bool) *SpanNearQueryBuilder

func (*SpanNearQueryBuilder) QueryName_ ¶

func (rb *SpanNearQueryBuilder) QueryName_(queryname_ string) *SpanNearQueryBuilder

func (*SpanNearQueryBuilder) Slop ¶

type SpanNotQuery ¶

type SpanNotQuery struct {
	Boost      *float32   `json:"boost,omitempty"`
	Dist       *int       `json:"dist,omitempty"`
	Exclude    *SpanQuery `json:"exclude,omitempty"`
	Include    *SpanQuery `json:"include,omitempty"`
	Post       *int       `json:"post,omitempty"`
	Pre        *int       `json:"pre,omitempty"`
	QueryName_ *string    `json:"_name,omitempty"`
}

SpanNotQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/span.ts#L55-L63

type SpanNotQueryBuilder ¶

type SpanNotQueryBuilder struct {
	// contains filtered or unexported fields
}

SpanNotQueryBuilder holds SpanNotQuery struct and provides a builder API.

func NewSpanNotQueryBuilder ¶

func NewSpanNotQueryBuilder() *SpanNotQueryBuilder

NewSpanNotQuery provides a builder for the SpanNotQuery struct.

func (*SpanNotQueryBuilder) Boost ¶

func (*SpanNotQueryBuilder) Build ¶

func (rb *SpanNotQueryBuilder) Build() SpanNotQuery

Build finalize the chain and returns the SpanNotQuery struct

func (*SpanNotQueryBuilder) Dist ¶

func (*SpanNotQueryBuilder) Exclude ¶

func (*SpanNotQueryBuilder) Include ¶

func (*SpanNotQueryBuilder) Post ¶

func (*SpanNotQueryBuilder) Pre ¶

func (*SpanNotQueryBuilder) QueryName_ ¶

func (rb *SpanNotQueryBuilder) QueryName_(queryname_ string) *SpanNotQueryBuilder

type SpanOrQuery ¶

type SpanOrQuery struct {
	Boost      *float32    `json:"boost,omitempty"`
	Clauses    []SpanQuery `json:"clauses"`
	QueryName_ *string     `json:"_name,omitempty"`
}

SpanOrQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/span.ts#L65-L67

type SpanOrQueryBuilder ¶

type SpanOrQueryBuilder struct {
	// contains filtered or unexported fields
}

SpanOrQueryBuilder holds SpanOrQuery struct and provides a builder API.

func NewSpanOrQueryBuilder ¶

func NewSpanOrQueryBuilder() *SpanOrQueryBuilder

NewSpanOrQuery provides a builder for the SpanOrQuery struct.

func (*SpanOrQueryBuilder) Boost ¶

func (rb *SpanOrQueryBuilder) Boost(boost float32) *SpanOrQueryBuilder

func (*SpanOrQueryBuilder) Build ¶

func (rb *SpanOrQueryBuilder) Build() SpanOrQuery

Build finalize the chain and returns the SpanOrQuery struct

func (*SpanOrQueryBuilder) Clauses ¶

func (rb *SpanOrQueryBuilder) Clauses(clauses []SpanQueryBuilder) *SpanOrQueryBuilder

func (*SpanOrQueryBuilder) QueryName_ ¶

func (rb *SpanOrQueryBuilder) QueryName_(queryname_ string) *SpanOrQueryBuilder

type SpanQuery ¶

type SpanQuery struct {
	FieldMaskingSpan *SpanFieldMaskingQuery  `json:"field_masking_span,omitempty"`
	SpanContaining   *SpanContainingQuery    `json:"span_containing,omitempty"`
	SpanFirst        *SpanFirstQuery         `json:"span_first,omitempty"`
	SpanGap          *SpanGapQuery           `json:"span_gap,omitempty"`
	SpanMulti        *SpanMultiTermQuery     `json:"span_multi,omitempty"`
	SpanNear         *SpanNearQuery          `json:"span_near,omitempty"`
	SpanNot          *SpanNotQuery           `json:"span_not,omitempty"`
	SpanOr           *SpanOrQuery            `json:"span_or,omitempty"`
	SpanTerm         map[Field]SpanTermQuery `json:"span_term,omitempty"`
	SpanWithin       *SpanWithinQuery        `json:"span_within,omitempty"`
}

SpanQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/span.ts#L79-L91

type SpanQueryBuilder ¶

type SpanQueryBuilder struct {
	// contains filtered or unexported fields
}

SpanQueryBuilder holds SpanQuery struct and provides a builder API.

func NewSpanQueryBuilder ¶

func NewSpanQueryBuilder() *SpanQueryBuilder

NewSpanQuery provides a builder for the SpanQuery struct.

func (*SpanQueryBuilder) Build ¶

func (rb *SpanQueryBuilder) Build() SpanQuery

Build finalize the chain and returns the SpanQuery struct

func (*SpanQueryBuilder) FieldMaskingSpan ¶

func (rb *SpanQueryBuilder) FieldMaskingSpan(fieldmaskingspan *SpanFieldMaskingQueryBuilder) *SpanQueryBuilder

func (*SpanQueryBuilder) SpanContaining ¶

func (rb *SpanQueryBuilder) SpanContaining(spancontaining *SpanContainingQueryBuilder) *SpanQueryBuilder

func (*SpanQueryBuilder) SpanFirst ¶

func (rb *SpanQueryBuilder) SpanFirst(spanfirst *SpanFirstQueryBuilder) *SpanQueryBuilder

func (*SpanQueryBuilder) SpanGap ¶

func (rb *SpanQueryBuilder) SpanGap(spangap *SpanGapQueryBuilder) *SpanQueryBuilder

func (*SpanQueryBuilder) SpanMulti ¶

func (rb *SpanQueryBuilder) SpanMulti(spanmulti *SpanMultiTermQueryBuilder) *SpanQueryBuilder

func (*SpanQueryBuilder) SpanNear ¶

func (rb *SpanQueryBuilder) SpanNear(spannear *SpanNearQueryBuilder) *SpanQueryBuilder

func (*SpanQueryBuilder) SpanNot ¶

func (rb *SpanQueryBuilder) SpanNot(spannot *SpanNotQueryBuilder) *SpanQueryBuilder

func (*SpanQueryBuilder) SpanOr ¶

func (*SpanQueryBuilder) SpanTerm ¶

func (rb *SpanQueryBuilder) SpanTerm(values map[Field]*SpanTermQueryBuilder) *SpanQueryBuilder

func (*SpanQueryBuilder) SpanWithin ¶

func (rb *SpanQueryBuilder) SpanWithin(spanwithin *SpanWithinQueryBuilder) *SpanQueryBuilder

type SpanTermQuery ¶

type SpanTermQuery struct {
	Boost      *float32 `json:"boost,omitempty"`
	QueryName_ *string  `json:"_name,omitempty"`
	Value      string   `json:"value"`
}

SpanTermQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/span.ts#L69-L72

type SpanTermQueryBuilder ¶

type SpanTermQueryBuilder struct {
	// contains filtered or unexported fields
}

SpanTermQueryBuilder holds SpanTermQuery struct and provides a builder API.

func NewSpanTermQueryBuilder ¶

func NewSpanTermQueryBuilder() *SpanTermQueryBuilder

NewSpanTermQuery provides a builder for the SpanTermQuery struct.

func (*SpanTermQueryBuilder) Boost ¶

func (*SpanTermQueryBuilder) Build ¶

func (rb *SpanTermQueryBuilder) Build() SpanTermQuery

Build finalize the chain and returns the SpanTermQuery struct

func (*SpanTermQueryBuilder) QueryName_ ¶

func (rb *SpanTermQueryBuilder) QueryName_(queryname_ string) *SpanTermQueryBuilder

func (*SpanTermQueryBuilder) Value ¶

type SpanWithinQuery ¶

type SpanWithinQuery struct {
	Big        *SpanQuery `json:"big,omitempty"`
	Boost      *float32   `json:"boost,omitempty"`
	Little     *SpanQuery `json:"little,omitempty"`
	QueryName_ *string    `json:"_name,omitempty"`
}

SpanWithinQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/span.ts#L74-L77

type SpanWithinQueryBuilder ¶

type SpanWithinQueryBuilder struct {
	// contains filtered or unexported fields
}

SpanWithinQueryBuilder holds SpanWithinQuery struct and provides a builder API.

func NewSpanWithinQueryBuilder ¶

func NewSpanWithinQueryBuilder() *SpanWithinQueryBuilder

NewSpanWithinQuery provides a builder for the SpanWithinQuery struct.

func (*SpanWithinQueryBuilder) Big ¶

func (*SpanWithinQueryBuilder) Boost ¶

func (*SpanWithinQueryBuilder) Build ¶

Build finalize the chain and returns the SpanWithinQuery struct

func (*SpanWithinQueryBuilder) Little ¶

func (*SpanWithinQueryBuilder) QueryName_ ¶

func (rb *SpanWithinQueryBuilder) QueryName_(queryname_ string) *SpanWithinQueryBuilder

type SplitProcessor ¶

type SplitProcessor struct {
	Field            Field                `json:"field"`
	If               *string              `json:"if,omitempty"`
	IgnoreFailure    *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing    *bool                `json:"ignore_missing,omitempty"`
	OnFailure        []ProcessorContainer `json:"on_failure,omitempty"`
	PreserveTrailing *bool                `json:"preserve_trailing,omitempty"`
	Separator        string               `json:"separator"`
	Tag              *string              `json:"tag,omitempty"`
	TargetField      *Field               `json:"target_field,omitempty"`
}

SplitProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L341-L347

type SplitProcessorBuilder ¶

type SplitProcessorBuilder struct {
	// contains filtered or unexported fields
}

SplitProcessorBuilder holds SplitProcessor struct and provides a builder API.

func NewSplitProcessorBuilder ¶

func NewSplitProcessorBuilder() *SplitProcessorBuilder

NewSplitProcessor provides a builder for the SplitProcessor struct.

func (*SplitProcessorBuilder) Build ¶

Build finalize the chain and returns the SplitProcessor struct

func (*SplitProcessorBuilder) Field ¶

func (*SplitProcessorBuilder) If_ ¶

func (*SplitProcessorBuilder) IgnoreFailure ¶

func (rb *SplitProcessorBuilder) IgnoreFailure(ignorefailure bool) *SplitProcessorBuilder

func (*SplitProcessorBuilder) IgnoreMissing ¶

func (rb *SplitProcessorBuilder) IgnoreMissing(ignoremissing bool) *SplitProcessorBuilder

func (*SplitProcessorBuilder) OnFailure ¶

func (*SplitProcessorBuilder) PreserveTrailing ¶

func (rb *SplitProcessorBuilder) PreserveTrailing(preservetrailing bool) *SplitProcessorBuilder

func (*SplitProcessorBuilder) Separator ¶

func (rb *SplitProcessorBuilder) Separator(separator string) *SplitProcessorBuilder

func (*SplitProcessorBuilder) Tag ¶

func (*SplitProcessorBuilder) TargetField ¶

func (rb *SplitProcessorBuilder) TargetField(targetfield Field) *SplitProcessorBuilder

type Sql ¶

type Sql struct {
	Available bool             `json:"available"`
	Enabled   bool             `json:"enabled"`
	Features  map[string]int   `json:"features"`
	Queries   map[string]Query `json:"queries"`
}

Sql type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L375-L378

type SqlBuilder ¶

type SqlBuilder struct {
	// contains filtered or unexported fields
}

SqlBuilder holds Sql struct and provides a builder API.

func NewSqlBuilder ¶

func NewSqlBuilder() *SqlBuilder

NewSql provides a builder for the Sql struct.

func (*SqlBuilder) Available ¶

func (rb *SqlBuilder) Available(available bool) *SqlBuilder

func (*SqlBuilder) Build ¶

func (rb *SqlBuilder) Build() Sql

Build finalize the chain and returns the Sql struct

func (*SqlBuilder) Enabled ¶

func (rb *SqlBuilder) Enabled(enabled bool) *SqlBuilder

func (*SqlBuilder) Features ¶

func (rb *SqlBuilder) Features(value map[string]int) *SqlBuilder

func (*SqlBuilder) Queries ¶

func (rb *SqlBuilder) Queries(values map[string]*QueryBuilder) *SqlBuilder

type SslBuilder ¶

type SslBuilder struct {
	// contains filtered or unexported fields
}

SslBuilder holds Ssl struct and provides a builder API.

func NewSslBuilder ¶

func NewSslBuilder() *SslBuilder

NewSsl provides a builder for the Ssl struct.

func (*SslBuilder) Build ¶

func (rb *SslBuilder) Build() Ssl

Build finalize the chain and returns the Ssl struct

func (*SslBuilder) Http ¶

func (rb *SslBuilder) Http(http *FeatureToggleBuilder) *SslBuilder

func (*SslBuilder) Transport ¶

func (rb *SslBuilder) Transport(transport *FeatureToggleBuilder) *SslBuilder

type StandardAnalyzer ¶

type StandardAnalyzer struct {
	MaxTokenLength *int       `json:"max_token_length,omitempty"`
	Stopwords      *StopWords `json:"stopwords,omitempty"`
	Type           string     `json:"type,omitempty"`
}

StandardAnalyzer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/analyzers.ts#L95-L99

type StandardAnalyzerBuilder ¶

type StandardAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

StandardAnalyzerBuilder holds StandardAnalyzer struct and provides a builder API.

func NewStandardAnalyzerBuilder ¶

func NewStandardAnalyzerBuilder() *StandardAnalyzerBuilder

NewStandardAnalyzer provides a builder for the StandardAnalyzer struct.

func (*StandardAnalyzerBuilder) Build ¶

Build finalize the chain and returns the StandardAnalyzer struct

func (*StandardAnalyzerBuilder) MaxTokenLength ¶

func (rb *StandardAnalyzerBuilder) MaxTokenLength(maxtokenlength int) *StandardAnalyzerBuilder

func (*StandardAnalyzerBuilder) Stopwords ¶

type StandardDeviationBounds ¶

type StandardDeviationBounds struct {
	Lower           float64 `json:"lower,omitempty"`
	LowerPopulation float64 `json:"lower_population,omitempty"`
	LowerSampling   float64 `json:"lower_sampling,omitempty"`
	Upper           float64 `json:"upper,omitempty"`
	UpperPopulation float64 `json:"upper_population,omitempty"`
	UpperSampling   float64 `json:"upper_sampling,omitempty"`
}

StandardDeviationBounds type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L249-L256

type StandardDeviationBoundsAsString ¶

type StandardDeviationBoundsAsString struct {
	Lower           string `json:"lower"`
	LowerPopulation string `json:"lower_population"`
	LowerSampling   string `json:"lower_sampling"`
	Upper           string `json:"upper"`
	UpperPopulation string `json:"upper_population"`
	UpperSampling   string `json:"upper_sampling"`
}

StandardDeviationBoundsAsString type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L258-L265

type StandardDeviationBoundsAsStringBuilder ¶

type StandardDeviationBoundsAsStringBuilder struct {
	// contains filtered or unexported fields
}

StandardDeviationBoundsAsStringBuilder holds StandardDeviationBoundsAsString struct and provides a builder API.

func NewStandardDeviationBoundsAsStringBuilder ¶

func NewStandardDeviationBoundsAsStringBuilder() *StandardDeviationBoundsAsStringBuilder

NewStandardDeviationBoundsAsString provides a builder for the StandardDeviationBoundsAsString struct.

func (*StandardDeviationBoundsAsStringBuilder) Build ¶

Build finalize the chain and returns the StandardDeviationBoundsAsString struct

func (*StandardDeviationBoundsAsStringBuilder) Lower ¶

func (*StandardDeviationBoundsAsStringBuilder) LowerPopulation ¶

func (*StandardDeviationBoundsAsStringBuilder) LowerSampling ¶

func (*StandardDeviationBoundsAsStringBuilder) Upper ¶

func (*StandardDeviationBoundsAsStringBuilder) UpperPopulation ¶

func (*StandardDeviationBoundsAsStringBuilder) UpperSampling ¶

type StandardDeviationBoundsBuilder ¶

type StandardDeviationBoundsBuilder struct {
	// contains filtered or unexported fields
}

StandardDeviationBoundsBuilder holds StandardDeviationBounds struct and provides a builder API.

func NewStandardDeviationBoundsBuilder ¶

func NewStandardDeviationBoundsBuilder() *StandardDeviationBoundsBuilder

NewStandardDeviationBounds provides a builder for the StandardDeviationBounds struct.

func (*StandardDeviationBoundsBuilder) Build ¶

Build finalize the chain and returns the StandardDeviationBounds struct

func (*StandardDeviationBoundsBuilder) Lower ¶

func (*StandardDeviationBoundsBuilder) LowerPopulation ¶

func (rb *StandardDeviationBoundsBuilder) LowerPopulation(lowerpopulation float64) *StandardDeviationBoundsBuilder

func (*StandardDeviationBoundsBuilder) LowerSampling ¶

func (rb *StandardDeviationBoundsBuilder) LowerSampling(lowersampling float64) *StandardDeviationBoundsBuilder

func (*StandardDeviationBoundsBuilder) Upper ¶

func (*StandardDeviationBoundsBuilder) UpperPopulation ¶

func (rb *StandardDeviationBoundsBuilder) UpperPopulation(upperpopulation float64) *StandardDeviationBoundsBuilder

func (*StandardDeviationBoundsBuilder) UpperSampling ¶

func (rb *StandardDeviationBoundsBuilder) UpperSampling(uppersampling float64) *StandardDeviationBoundsBuilder

type StandardNumberProperty ¶

type StandardNumberProperty struct {
	Coerce           *bool                                      `json:"coerce,omitempty"`
	CopyTo           *Fields                                    `json:"copy_to,omitempty"`
	DocValues        *bool                                      `json:"doc_values,omitempty"`
	Dynamic          *dynamicmapping.DynamicMapping             `json:"dynamic,omitempty"`
	Fields           map[PropertyName]Property                  `json:"fields,omitempty"`
	IgnoreAbove      *int                                       `json:"ignore_above,omitempty"`
	IgnoreMalformed  *bool                                      `json:"ignore_malformed,omitempty"`
	Index            *bool                                      `json:"index,omitempty"`
	LocalMetadata    *Metadata                                  `json:"local_metadata,omitempty"`
	Meta             map[string]string                          `json:"meta,omitempty"`
	OnScriptError    *onscripterror.OnScriptError               `json:"on_script_error,omitempty"`
	Properties       map[PropertyName]Property                  `json:"properties,omitempty"`
	Script           *Script                                    `json:"script,omitempty"`
	Similarity       *string                                    `json:"similarity,omitempty"`
	Store            *bool                                      `json:"store,omitempty"`
	TimeSeriesMetric *timeseriesmetrictype.TimeSeriesMetricType `json:"time_series_metric,omitempty"`
}

StandardNumberProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L113-L117

type StandardNumberPropertyBuilder ¶

type StandardNumberPropertyBuilder struct {
	// contains filtered or unexported fields
}

StandardNumberPropertyBuilder holds StandardNumberProperty struct and provides a builder API.

func NewStandardNumberPropertyBuilder ¶

func NewStandardNumberPropertyBuilder() *StandardNumberPropertyBuilder

NewStandardNumberProperty provides a builder for the StandardNumberProperty struct.

func (*StandardNumberPropertyBuilder) Build ¶

Build finalize the chain and returns the StandardNumberProperty struct

func (*StandardNumberPropertyBuilder) Coerce ¶

func (*StandardNumberPropertyBuilder) CopyTo ¶

func (*StandardNumberPropertyBuilder) DocValues ¶

func (*StandardNumberPropertyBuilder) Dynamic ¶

func (*StandardNumberPropertyBuilder) Fields ¶

func (*StandardNumberPropertyBuilder) IgnoreAbove ¶

func (rb *StandardNumberPropertyBuilder) IgnoreAbove(ignoreabove int) *StandardNumberPropertyBuilder

func (*StandardNumberPropertyBuilder) IgnoreMalformed ¶

func (rb *StandardNumberPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *StandardNumberPropertyBuilder

func (*StandardNumberPropertyBuilder) Index ¶

func (*StandardNumberPropertyBuilder) LocalMetadata ¶

func (*StandardNumberPropertyBuilder) Meta ¶

func (*StandardNumberPropertyBuilder) OnScriptError ¶

func (*StandardNumberPropertyBuilder) Properties ¶

func (*StandardNumberPropertyBuilder) Script ¶

func (*StandardNumberPropertyBuilder) Similarity ¶

func (*StandardNumberPropertyBuilder) Store ¶

func (*StandardNumberPropertyBuilder) TimeSeriesMetric ¶

type StandardTokenizer ¶

type StandardTokenizer struct {
	MaxTokenLength *int           `json:"max_token_length,omitempty"`
	Type           string         `json:"type,omitempty"`
	Version        *VersionString `json:"version,omitempty"`
}

StandardTokenizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L104-L107

type StandardTokenizerBuilder ¶

type StandardTokenizerBuilder struct {
	// contains filtered or unexported fields
}

StandardTokenizerBuilder holds StandardTokenizer struct and provides a builder API.

func NewStandardTokenizerBuilder ¶

func NewStandardTokenizerBuilder() *StandardTokenizerBuilder

NewStandardTokenizer provides a builder for the StandardTokenizer struct.

func (*StandardTokenizerBuilder) Build ¶

Build finalize the chain and returns the StandardTokenizer struct

func (*StandardTokenizerBuilder) MaxTokenLength ¶

func (rb *StandardTokenizerBuilder) MaxTokenLength(maxtokenlength int) *StandardTokenizerBuilder

func (*StandardTokenizerBuilder) Version ¶

type Statistics ¶

type Statistics struct {
	Policy                        *Id                      `json:"policy,omitempty"`
	RetentionDeletionTime         *Duration                `json:"retention_deletion_time,omitempty"`
	RetentionDeletionTimeMillis   *DurationValueUnitMillis `json:"retention_deletion_time_millis,omitempty"`
	RetentionFailed               *int64                   `json:"retention_failed,omitempty"`
	RetentionRuns                 *int64                   `json:"retention_runs,omitempty"`
	RetentionTimedOut             *int64                   `json:"retention_timed_out,omitempty"`
	TotalSnapshotDeletionFailures *int64                   `json:"total_snapshot_deletion_failures,omitempty"`
	TotalSnapshotsDeleted         *int64                   `json:"total_snapshots_deleted,omitempty"`
	TotalSnapshotsFailed          *int64                   `json:"total_snapshots_failed,omitempty"`
	TotalSnapshotsTaken           *int64                   `json:"total_snapshots_taken,omitempty"`
}

Statistics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/slm/_types/SnapshotLifecycle.ts#L51-L74

type StatisticsBuilder ¶

type StatisticsBuilder struct {
	// contains filtered or unexported fields
}

StatisticsBuilder holds Statistics struct and provides a builder API.

func NewStatisticsBuilder ¶

func NewStatisticsBuilder() *StatisticsBuilder

NewStatistics provides a builder for the Statistics struct.

func (*StatisticsBuilder) Build ¶

func (rb *StatisticsBuilder) Build() Statistics

Build finalize the chain and returns the Statistics struct

func (*StatisticsBuilder) Policy ¶

func (rb *StatisticsBuilder) Policy(policy Id) *StatisticsBuilder

func (*StatisticsBuilder) RetentionDeletionTime ¶

func (rb *StatisticsBuilder) RetentionDeletionTime(retentiondeletiontime *DurationBuilder) *StatisticsBuilder

func (*StatisticsBuilder) RetentionDeletionTimeMillis ¶

func (rb *StatisticsBuilder) RetentionDeletionTimeMillis(retentiondeletiontimemillis *DurationValueUnitMillisBuilder) *StatisticsBuilder

func (*StatisticsBuilder) RetentionFailed ¶

func (rb *StatisticsBuilder) RetentionFailed(retentionfailed int64) *StatisticsBuilder

func (*StatisticsBuilder) RetentionRuns ¶

func (rb *StatisticsBuilder) RetentionRuns(retentionruns int64) *StatisticsBuilder

func (*StatisticsBuilder) RetentionTimedOut ¶

func (rb *StatisticsBuilder) RetentionTimedOut(retentiontimedout int64) *StatisticsBuilder

func (*StatisticsBuilder) TotalSnapshotDeletionFailures ¶

func (rb *StatisticsBuilder) TotalSnapshotDeletionFailures(totalsnapshotdeletionfailures int64) *StatisticsBuilder

func (*StatisticsBuilder) TotalSnapshotsDeleted ¶

func (rb *StatisticsBuilder) TotalSnapshotsDeleted(totalsnapshotsdeleted int64) *StatisticsBuilder

func (*StatisticsBuilder) TotalSnapshotsFailed ¶

func (rb *StatisticsBuilder) TotalSnapshotsFailed(totalsnapshotsfailed int64) *StatisticsBuilder

func (*StatisticsBuilder) TotalSnapshotsTaken ¶

func (rb *StatisticsBuilder) TotalSnapshotsTaken(totalsnapshotstaken int64) *StatisticsBuilder

type Stats ¶

type Stats struct {
	AdaptiveSelection map[string]AdaptiveSelection `json:"adaptive_selection,omitempty"`
	Attributes        map[Field]string             `json:"attributes,omitempty"`
	Breakers          map[string]Breaker           `json:"breakers,omitempty"`
	Discovery         *Discovery                   `json:"discovery,omitempty"`
	Fs                *FileSystem                  `json:"fs,omitempty"`
	Host              *Host                        `json:"host,omitempty"`
	Http              *Http                        `json:"http,omitempty"`
	IndexingPressure  *IndexingPressure            `json:"indexing_pressure,omitempty"`
	Indices           *ShardStats                  `json:"indices,omitempty"`
	Ingest            *Ingest                      `json:"ingest,omitempty"`
	Ip                []Ip                         `json:"ip,omitempty"`
	Jvm               *Jvm                         `json:"jvm,omitempty"`
	Name              *Name                        `json:"name,omitempty"`
	Os                *OperatingSystem             `json:"os,omitempty"`
	Process           *Process                     `json:"process,omitempty"`
	Roles             *NodeRoles                   `json:"roles,omitempty"`
	Script            *Scripting                   `json:"script,omitempty"`
	ScriptCache       map[string][]ScriptCache     `json:"script_cache,omitempty"`
	ThreadPool        map[string]ThreadCount       `json:"thread_pool,omitempty"`
	Timestamp         *int64                       `json:"timestamp,omitempty"`
	Transport         *Transport                   `json:"transport,omitempty"`
	TransportAddress  *TransportAddress            `json:"transport_address,omitempty"`
}

Stats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L30-L53

type StatsAggregate ¶

type StatsAggregate struct {
	Avg         float64   `json:"avg,omitempty"`
	AvgAsString *string   `json:"avg_as_string,omitempty"`
	Count       int64     `json:"count"`
	Max         float64   `json:"max,omitempty"`
	MaxAsString *string   `json:"max_as_string,omitempty"`
	Meta        *Metadata `json:"meta,omitempty"`
	Min         float64   `json:"min,omitempty"`
	MinAsString *string   `json:"min_as_string,omitempty"`
	Sum         float64   `json:"sum"`
	SumAsString *string   `json:"sum_as_string,omitempty"`
}

StatsAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L229-L244

type StatsAggregateBuilder ¶

type StatsAggregateBuilder struct {
	// contains filtered or unexported fields
}

StatsAggregateBuilder holds StatsAggregate struct and provides a builder API.

func NewStatsAggregateBuilder ¶

func NewStatsAggregateBuilder() *StatsAggregateBuilder

NewStatsAggregate provides a builder for the StatsAggregate struct.

func (*StatsAggregateBuilder) Avg ¶

func (*StatsAggregateBuilder) AvgAsString ¶

func (rb *StatsAggregateBuilder) AvgAsString(avgasstring string) *StatsAggregateBuilder

func (*StatsAggregateBuilder) Build ¶

Build finalize the chain and returns the StatsAggregate struct

func (*StatsAggregateBuilder) Count ¶

func (*StatsAggregateBuilder) Max ¶

func (*StatsAggregateBuilder) MaxAsString ¶

func (rb *StatsAggregateBuilder) MaxAsString(maxasstring string) *StatsAggregateBuilder

func (*StatsAggregateBuilder) Meta ¶

func (*StatsAggregateBuilder) Min ¶

func (*StatsAggregateBuilder) MinAsString ¶

func (rb *StatsAggregateBuilder) MinAsString(minasstring string) *StatsAggregateBuilder

func (*StatsAggregateBuilder) Sum ¶

func (*StatsAggregateBuilder) SumAsString ¶

func (rb *StatsAggregateBuilder) SumAsString(sumasstring string) *StatsAggregateBuilder

type StatsAggregation ¶

type StatsAggregation struct {
	Field   *Field   `json:"field,omitempty"`
	Format  *string  `json:"format,omitempty"`
	Missing *Missing `json:"missing,omitempty"`
	Script  *Script  `json:"script,omitempty"`
}

StatsAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L136-L136

type StatsAggregationBuilder ¶

type StatsAggregationBuilder struct {
	// contains filtered or unexported fields
}

StatsAggregationBuilder holds StatsAggregation struct and provides a builder API.

func NewStatsAggregationBuilder ¶

func NewStatsAggregationBuilder() *StatsAggregationBuilder

NewStatsAggregation provides a builder for the StatsAggregation struct.

func (*StatsAggregationBuilder) Build ¶

Build finalize the chain and returns the StatsAggregation struct

func (*StatsAggregationBuilder) Field ¶

func (*StatsAggregationBuilder) Format ¶

func (*StatsAggregationBuilder) Missing ¶

func (*StatsAggregationBuilder) Script ¶

type StatsBucketAggregate ¶

type StatsBucketAggregate struct {
	Avg         float64   `json:"avg,omitempty"`
	AvgAsString *string   `json:"avg_as_string,omitempty"`
	Count       int64     `json:"count"`
	Max         float64   `json:"max,omitempty"`
	MaxAsString *string   `json:"max_as_string,omitempty"`
	Meta        *Metadata `json:"meta,omitempty"`
	Min         float64   `json:"min,omitempty"`
	MinAsString *string   `json:"min_as_string,omitempty"`
	Sum         float64   `json:"sum"`
	SumAsString *string   `json:"sum_as_string,omitempty"`
}

StatsBucketAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L246-L247

type StatsBucketAggregateBuilder ¶

type StatsBucketAggregateBuilder struct {
	// contains filtered or unexported fields
}

StatsBucketAggregateBuilder holds StatsBucketAggregate struct and provides a builder API.

func NewStatsBucketAggregateBuilder ¶

func NewStatsBucketAggregateBuilder() *StatsBucketAggregateBuilder

NewStatsBucketAggregate provides a builder for the StatsBucketAggregate struct.

func (*StatsBucketAggregateBuilder) Avg ¶

func (*StatsBucketAggregateBuilder) AvgAsString ¶

func (rb *StatsBucketAggregateBuilder) AvgAsString(avgasstring string) *StatsBucketAggregateBuilder

func (*StatsBucketAggregateBuilder) Build ¶

Build finalize the chain and returns the StatsBucketAggregate struct

func (*StatsBucketAggregateBuilder) Count ¶

func (*StatsBucketAggregateBuilder) Max ¶

func (*StatsBucketAggregateBuilder) MaxAsString ¶

func (rb *StatsBucketAggregateBuilder) MaxAsString(maxasstring string) *StatsBucketAggregateBuilder

func (*StatsBucketAggregateBuilder) Meta ¶

func (*StatsBucketAggregateBuilder) Min ¶

func (*StatsBucketAggregateBuilder) MinAsString ¶

func (rb *StatsBucketAggregateBuilder) MinAsString(minasstring string) *StatsBucketAggregateBuilder

func (*StatsBucketAggregateBuilder) Sum ¶

func (*StatsBucketAggregateBuilder) SumAsString ¶

func (rb *StatsBucketAggregateBuilder) SumAsString(sumasstring string) *StatsBucketAggregateBuilder

type StatsBucketAggregation ¶

type StatsBucketAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
}

StatsBucketAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L272-L272

type StatsBucketAggregationBuilder ¶

type StatsBucketAggregationBuilder struct {
	// contains filtered or unexported fields
}

StatsBucketAggregationBuilder holds StatsBucketAggregation struct and provides a builder API.

func NewStatsBucketAggregationBuilder ¶

func NewStatsBucketAggregationBuilder() *StatsBucketAggregationBuilder

NewStatsBucketAggregation provides a builder for the StatsBucketAggregation struct.

func (*StatsBucketAggregationBuilder) BucketsPath ¶

func (*StatsBucketAggregationBuilder) Build ¶

Build finalize the chain and returns the StatsBucketAggregation struct

func (*StatsBucketAggregationBuilder) Format ¶

func (*StatsBucketAggregationBuilder) GapPolicy ¶

func (*StatsBucketAggregationBuilder) Meta ¶

func (*StatsBucketAggregationBuilder) Name ¶

type StatsBuilder ¶

type StatsBuilder struct {
	// contains filtered or unexported fields
}

StatsBuilder holds Stats struct and provides a builder API.

func NewStatsBuilder ¶

func NewStatsBuilder() *StatsBuilder

NewStats provides a builder for the Stats struct.

func (*StatsBuilder) AdaptiveSelection ¶

func (rb *StatsBuilder) AdaptiveSelection(values map[string]*AdaptiveSelectionBuilder) *StatsBuilder

func (*StatsBuilder) Attributes ¶

func (rb *StatsBuilder) Attributes(value map[Field]string) *StatsBuilder

func (*StatsBuilder) Breakers ¶

func (rb *StatsBuilder) Breakers(values map[string]*BreakerBuilder) *StatsBuilder

func (*StatsBuilder) Build ¶

func (rb *StatsBuilder) Build() Stats

Build finalize the chain and returns the Stats struct

func (*StatsBuilder) Discovery ¶

func (rb *StatsBuilder) Discovery(discovery *DiscoveryBuilder) *StatsBuilder

func (*StatsBuilder) Fs ¶

func (*StatsBuilder) Host ¶

func (rb *StatsBuilder) Host(host Host) *StatsBuilder

func (*StatsBuilder) Http ¶

func (rb *StatsBuilder) Http(http *HttpBuilder) *StatsBuilder

func (*StatsBuilder) IndexingPressure ¶

func (rb *StatsBuilder) IndexingPressure(indexingpressure *IndexingPressureBuilder) *StatsBuilder

func (*StatsBuilder) Indices ¶

func (rb *StatsBuilder) Indices(indices *ShardStatsBuilder) *StatsBuilder

func (*StatsBuilder) Ingest ¶

func (rb *StatsBuilder) Ingest(ingest *IngestBuilder) *StatsBuilder

func (*StatsBuilder) Ip ¶

func (rb *StatsBuilder) Ip(arg []Ip) *StatsBuilder

func (*StatsBuilder) Jvm ¶

func (rb *StatsBuilder) Jvm(jvm *JvmBuilder) *StatsBuilder

func (*StatsBuilder) Name ¶

func (rb *StatsBuilder) Name(name Name) *StatsBuilder

func (*StatsBuilder) Os ¶

func (*StatsBuilder) Process ¶

func (rb *StatsBuilder) Process(process *ProcessBuilder) *StatsBuilder

func (*StatsBuilder) Roles ¶

func (rb *StatsBuilder) Roles(roles *NodeRolesBuilder) *StatsBuilder

func (*StatsBuilder) Script ¶

func (rb *StatsBuilder) Script(script *ScriptingBuilder) *StatsBuilder

func (*StatsBuilder) ScriptCache ¶

func (rb *StatsBuilder) ScriptCache(value map[string][]ScriptCache) *StatsBuilder

func (*StatsBuilder) ThreadPool ¶

func (rb *StatsBuilder) ThreadPool(values map[string]*ThreadCountBuilder) *StatsBuilder

func (*StatsBuilder) Timestamp ¶

func (rb *StatsBuilder) Timestamp(timestamp int64) *StatsBuilder

func (*StatsBuilder) Transport ¶

func (rb *StatsBuilder) Transport(transport *TransportBuilder) *StatsBuilder

func (*StatsBuilder) TransportAddress ¶

func (rb *StatsBuilder) TransportAddress(transportaddress TransportAddress) *StatsBuilder

type StatsResponseBase ¶

type StatsResponseBase struct {
	// ClusterName Name of the cluster, based on the Cluster name setting setting.
	ClusterName Name `json:"cluster_name"`
	// ClusterUuid Unique identifier for the cluster.
	ClusterUuid Uuid `json:"cluster_uuid"`
	// Indices Contains statistics about indices with shards assigned to selected nodes.
	Indices ClusterIndices `json:"indices"`
	// NodeStats Contains statistics about the number of nodes selected by the request’s node
	// filters.
	NodeStats *NodeStatistics `json:"_nodes,omitempty"`
	// Nodes Contains statistics about nodes selected by the request’s node filters.
	Nodes ClusterNodes `json:"nodes"`
	// Status Health status of the cluster, based on the state of its primary and replica
	// shards.
	Status healthstatus.HealthStatus `json:"status"`
	// Timestamp Unix timestamp, in milliseconds, of the last time the cluster statistics were
	// refreshed.
	Timestamp int64 `json:"timestamp"`
}

StatsResponseBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/stats/ClusterStatsResponse.ts#L25-L53

type StatsResponseBaseBuilder ¶

type StatsResponseBaseBuilder struct {
	// contains filtered or unexported fields
}

StatsResponseBaseBuilder holds StatsResponseBase struct and provides a builder API.

func NewStatsResponseBaseBuilder ¶

func NewStatsResponseBaseBuilder() *StatsResponseBaseBuilder

NewStatsResponseBase provides a builder for the StatsResponseBase struct.

func (*StatsResponseBaseBuilder) Build ¶

Build finalize the chain and returns the StatsResponseBase struct

func (*StatsResponseBaseBuilder) ClusterName ¶

func (rb *StatsResponseBaseBuilder) ClusterName(clustername Name) *StatsResponseBaseBuilder

func (*StatsResponseBaseBuilder) ClusterUuid ¶

func (rb *StatsResponseBaseBuilder) ClusterUuid(clusteruuid Uuid) *StatsResponseBaseBuilder

func (*StatsResponseBaseBuilder) Indices ¶

func (*StatsResponseBaseBuilder) NodeStats ¶

func (*StatsResponseBaseBuilder) Nodes ¶

func (*StatsResponseBaseBuilder) Status ¶

func (*StatsResponseBaseBuilder) Timestamp ¶

func (rb *StatsResponseBaseBuilder) Timestamp(timestamp int64) *StatsResponseBaseBuilder

type Status ¶

type Status struct {
	IncludeGlobalState bool                          `json:"include_global_state"`
	Indices            map[string]SnapshotIndexStats `json:"indices"`
	Repository         string                        `json:"repository"`
	ShardsStats        ShardsStats                   `json:"shards_stats"`
	Snapshot           string                        `json:"snapshot"`
	State              string                        `json:"state"`
	Stats              SnapshotStats                 `json:"stats"`
	Uuid               Uuid                          `json:"uuid"`
}

Status type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/SnapshotStatus.ts#L26-L35

type StatusBuilder ¶

type StatusBuilder struct {
	// contains filtered or unexported fields
}

StatusBuilder holds Status struct and provides a builder API.

func NewStatusBuilder ¶

func NewStatusBuilder() *StatusBuilder

NewStatus provides a builder for the Status struct.

func (*StatusBuilder) Build ¶

func (rb *StatusBuilder) Build() Status

Build finalize the chain and returns the Status struct

func (*StatusBuilder) IncludeGlobalState ¶

func (rb *StatusBuilder) IncludeGlobalState(includeglobalstate bool) *StatusBuilder

func (*StatusBuilder) Indices ¶

func (rb *StatusBuilder) Indices(values map[string]*SnapshotIndexStatsBuilder) *StatusBuilder

func (*StatusBuilder) Repository ¶

func (rb *StatusBuilder) Repository(repository string) *StatusBuilder

func (*StatusBuilder) ShardsStats ¶

func (rb *StatusBuilder) ShardsStats(shardsstats *ShardsStatsBuilder) *StatusBuilder

func (*StatusBuilder) Snapshot ¶

func (rb *StatusBuilder) Snapshot(snapshot string) *StatusBuilder

func (*StatusBuilder) State ¶

func (rb *StatusBuilder) State(state string) *StatusBuilder

func (*StatusBuilder) Stats ¶

func (*StatusBuilder) Uuid ¶

func (rb *StatusBuilder) Uuid(uuid Uuid) *StatusBuilder

type StatusResponseBase ¶

type StatusResponseBase struct {
	CompletionStatus       *int                `json:"completion_status,omitempty"`
	ExpirationTime         *DateTime           `json:"expiration_time,omitempty"`
	ExpirationTimeInMillis EpochTimeUnitMillis `json:"expiration_time_in_millis"`
	Id                     *Id                 `json:"id,omitempty"`
	IsPartial              bool                `json:"is_partial"`
	IsRunning              bool                `json:"is_running"`
	Shards_                ShardStatistics     `json:"_shards"`
	StartTime              *DateTime           `json:"start_time,omitempty"`
	StartTimeInMillis      EpochTimeUnitMillis `json:"start_time_in_millis"`
}

StatusResponseBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/async_search/status/AsyncSearchStatusResponse.ts#L24-L27

type StatusResponseBaseBuilder ¶

type StatusResponseBaseBuilder struct {
	// contains filtered or unexported fields
}

StatusResponseBaseBuilder holds StatusResponseBase struct and provides a builder API.

func NewStatusResponseBaseBuilder ¶

func NewStatusResponseBaseBuilder() *StatusResponseBaseBuilder

NewStatusResponseBase provides a builder for the StatusResponseBase struct.

func (*StatusResponseBaseBuilder) Build ¶

Build finalize the chain and returns the StatusResponseBase struct

func (*StatusResponseBaseBuilder) CompletionStatus ¶

func (rb *StatusResponseBaseBuilder) CompletionStatus(completionstatus int) *StatusResponseBaseBuilder

func (*StatusResponseBaseBuilder) ExpirationTime ¶

func (rb *StatusResponseBaseBuilder) ExpirationTime(expirationtime *DateTimeBuilder) *StatusResponseBaseBuilder

func (*StatusResponseBaseBuilder) ExpirationTimeInMillis ¶

func (rb *StatusResponseBaseBuilder) ExpirationTimeInMillis(expirationtimeinmillis *EpochTimeUnitMillisBuilder) *StatusResponseBaseBuilder

func (*StatusResponseBaseBuilder) Id ¶

func (*StatusResponseBaseBuilder) IsPartial ¶

func (rb *StatusResponseBaseBuilder) IsPartial(ispartial bool) *StatusResponseBaseBuilder

func (*StatusResponseBaseBuilder) IsRunning ¶

func (rb *StatusResponseBaseBuilder) IsRunning(isrunning bool) *StatusResponseBaseBuilder

func (*StatusResponseBaseBuilder) Shards_ ¶

func (*StatusResponseBaseBuilder) StartTime ¶

func (*StatusResponseBaseBuilder) StartTimeInMillis ¶

func (rb *StatusResponseBaseBuilder) StartTimeInMillis(starttimeinmillis *EpochTimeUnitMillisBuilder) *StatusResponseBaseBuilder

type StemmerOverrideTokenFilter ¶

type StemmerOverrideTokenFilter struct {
	Rules     []string       `json:"rules,omitempty"`
	RulesPath *string        `json:"rules_path,omitempty"`
	Type      string         `json:"type,omitempty"`
	Version   *VersionString `json:"version,omitempty"`
}

StemmerOverrideTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L313-L317

type StemmerOverrideTokenFilterBuilder ¶

type StemmerOverrideTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

StemmerOverrideTokenFilterBuilder holds StemmerOverrideTokenFilter struct and provides a builder API.

func NewStemmerOverrideTokenFilterBuilder ¶

func NewStemmerOverrideTokenFilterBuilder() *StemmerOverrideTokenFilterBuilder

NewStemmerOverrideTokenFilter provides a builder for the StemmerOverrideTokenFilter struct.

func (*StemmerOverrideTokenFilterBuilder) Build ¶

Build finalize the chain and returns the StemmerOverrideTokenFilter struct

func (*StemmerOverrideTokenFilterBuilder) Rules ¶

func (*StemmerOverrideTokenFilterBuilder) RulesPath ¶

func (*StemmerOverrideTokenFilterBuilder) Version ¶

type StemmerTokenFilter ¶

type StemmerTokenFilter struct {
	Language string         `json:"language"`
	Type     string         `json:"type,omitempty"`
	Version  *VersionString `json:"version,omitempty"`
}

StemmerTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L319-L322

type StemmerTokenFilterBuilder ¶

type StemmerTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

StemmerTokenFilterBuilder holds StemmerTokenFilter struct and provides a builder API.

func NewStemmerTokenFilterBuilder ¶

func NewStemmerTokenFilterBuilder() *StemmerTokenFilterBuilder

NewStemmerTokenFilter provides a builder for the StemmerTokenFilter struct.

func (*StemmerTokenFilterBuilder) Build ¶

Build finalize the chain and returns the StemmerTokenFilter struct

func (*StemmerTokenFilterBuilder) Language ¶

func (*StemmerTokenFilterBuilder) Version ¶

type StepKeyBuilder ¶

type StepKeyBuilder struct {
	// contains filtered or unexported fields
}

StepKeyBuilder holds StepKey struct and provides a builder API.

func NewStepKeyBuilder ¶

func NewStepKeyBuilder() *StepKeyBuilder

NewStepKey provides a builder for the StepKey struct.

func (*StepKeyBuilder) Action ¶

func (rb *StepKeyBuilder) Action(action string) *StepKeyBuilder

func (*StepKeyBuilder) Build ¶

func (rb *StepKeyBuilder) Build() StepKey

Build finalize the chain and returns the StepKey struct

func (*StepKeyBuilder) Name ¶

func (rb *StepKeyBuilder) Name(name string) *StepKeyBuilder

func (*StepKeyBuilder) Phase ¶

func (rb *StepKeyBuilder) Phase(phase string) *StepKeyBuilder

type StopAnalyzer ¶

type StopAnalyzer struct {
	Stopwords     *StopWords     `json:"stopwords,omitempty"`
	StopwordsPath *string        `json:"stopwords_path,omitempty"`
	Type          string         `json:"type,omitempty"`
	Version       *VersionString `json:"version,omitempty"`
}

StopAnalyzer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/analyzers.ts#L101-L106

type StopAnalyzerBuilder ¶

type StopAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

StopAnalyzerBuilder holds StopAnalyzer struct and provides a builder API.

func NewStopAnalyzerBuilder ¶

func NewStopAnalyzerBuilder() *StopAnalyzerBuilder

NewStopAnalyzer provides a builder for the StopAnalyzer struct.

func (*StopAnalyzerBuilder) Build ¶

func (rb *StopAnalyzerBuilder) Build() StopAnalyzer

Build finalize the chain and returns the StopAnalyzer struct

func (*StopAnalyzerBuilder) Stopwords ¶

func (rb *StopAnalyzerBuilder) Stopwords(stopwords *StopWordsBuilder) *StopAnalyzerBuilder

func (*StopAnalyzerBuilder) StopwordsPath ¶

func (rb *StopAnalyzerBuilder) StopwordsPath(stopwordspath string) *StopAnalyzerBuilder

func (*StopAnalyzerBuilder) Version ¶

type StopTokenFilter ¶

type StopTokenFilter struct {
	IgnoreCase     *bool          `json:"ignore_case,omitempty"`
	RemoveTrailing *bool          `json:"remove_trailing,omitempty"`
	Stopwords      *StopWords     `json:"stopwords,omitempty"`
	StopwordsPath  *string        `json:"stopwords_path,omitempty"`
	Type           string         `json:"type,omitempty"`
	Version        *VersionString `json:"version,omitempty"`
}

StopTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L96-L102

type StopTokenFilterBuilder ¶

type StopTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

StopTokenFilterBuilder holds StopTokenFilter struct and provides a builder API.

func NewStopTokenFilterBuilder ¶

func NewStopTokenFilterBuilder() *StopTokenFilterBuilder

NewStopTokenFilter provides a builder for the StopTokenFilter struct.

func (*StopTokenFilterBuilder) Build ¶

Build finalize the chain and returns the StopTokenFilter struct

func (*StopTokenFilterBuilder) IgnoreCase ¶

func (rb *StopTokenFilterBuilder) IgnoreCase(ignorecase bool) *StopTokenFilterBuilder

func (*StopTokenFilterBuilder) RemoveTrailing ¶

func (rb *StopTokenFilterBuilder) RemoveTrailing(removetrailing bool) *StopTokenFilterBuilder

func (*StopTokenFilterBuilder) Stopwords ¶

func (*StopTokenFilterBuilder) StopwordsPath ¶

func (rb *StopTokenFilterBuilder) StopwordsPath(stopwordspath string) *StopTokenFilterBuilder

func (*StopTokenFilterBuilder) Version ¶

type StopWordsBuilder ¶

type StopWordsBuilder struct {
	// contains filtered or unexported fields
}

StopWordsBuilder holds StopWords struct and provides a builder API.

func NewStopWordsBuilder ¶

func NewStopWordsBuilder() *StopWordsBuilder

NewStopWords provides a builder for the StopWords struct.

func (*StopWordsBuilder) Build ¶

func (b *StopWordsBuilder) Build() StopWords

Build finalize the chain and returns the StopWords struct

func (*StopWordsBuilder) StopWords ¶

func (b *StopWordsBuilder) StopWords(value StopWords) *StopWordsBuilder

type Storage ¶

type Storage struct {
	// AllowMmap You can restrict the use of the mmapfs and the related hybridfs store type
	// via the setting node.store.allow_mmap.
	// This is a boolean setting indicating whether or not memory-mapping is
	// allowed. The default is to allow it. This
	// setting is useful, for example, if you are in an environment where you can
	// not control the ability to create a lot
	// of memory maps so you need disable the ability to use memory-mapping.
	AllowMmap *bool                   `json:"allow_mmap,omitempty"`
	Type      storagetype.StorageType `json:"type"`
}

Storage type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L496-L505

type StorageBuilder ¶

type StorageBuilder struct {
	// contains filtered or unexported fields
}

StorageBuilder holds Storage struct and provides a builder API.

func NewStorageBuilder ¶

func NewStorageBuilder() *StorageBuilder

NewStorage provides a builder for the Storage struct.

func (*StorageBuilder) AllowMmap ¶

func (rb *StorageBuilder) AllowMmap(allowmmap bool) *StorageBuilder

func (*StorageBuilder) Build ¶

func (rb *StorageBuilder) Build() Storage

Build finalize the chain and returns the Storage struct

func (*StorageBuilder) Type_ ¶

type StoreStats ¶

type StoreStats struct {
	Reserved                *ByteSize `json:"reserved,omitempty"`
	ReservedInBytes         int       `json:"reserved_in_bytes"`
	Size                    *ByteSize `json:"size,omitempty"`
	SizeInBytes             int       `json:"size_in_bytes"`
	TotalDataSetSize        *ByteSize `json:"total_data_set_size,omitempty"`
	TotalDataSetSizeInBytes *int      `json:"total_data_set_size_in_bytes,omitempty"`
}

StoreStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L233-L240

type StoreStatsBuilder ¶

type StoreStatsBuilder struct {
	// contains filtered or unexported fields
}

StoreStatsBuilder holds StoreStats struct and provides a builder API.

func NewStoreStatsBuilder ¶

func NewStoreStatsBuilder() *StoreStatsBuilder

NewStoreStats provides a builder for the StoreStats struct.

func (*StoreStatsBuilder) Build ¶

func (rb *StoreStatsBuilder) Build() StoreStats

Build finalize the chain and returns the StoreStats struct

func (*StoreStatsBuilder) Reserved ¶

func (rb *StoreStatsBuilder) Reserved(reserved *ByteSizeBuilder) *StoreStatsBuilder

func (*StoreStatsBuilder) ReservedInBytes ¶

func (rb *StoreStatsBuilder) ReservedInBytes(reservedinbytes int) *StoreStatsBuilder

func (*StoreStatsBuilder) Size ¶

func (*StoreStatsBuilder) SizeInBytes ¶

func (rb *StoreStatsBuilder) SizeInBytes(sizeinbytes int) *StoreStatsBuilder

func (*StoreStatsBuilder) TotalDataSetSize ¶

func (rb *StoreStatsBuilder) TotalDataSetSize(totaldatasetsize *ByteSizeBuilder) *StoreStatsBuilder

func (*StoreStatsBuilder) TotalDataSetSizeInBytes ¶

func (rb *StoreStatsBuilder) TotalDataSetSizeInBytes(totaldatasetsizeinbytes int) *StoreStatsBuilder

type StoredScript ¶

type StoredScript struct {
	Lang    scriptlanguage.ScriptLanguage `json:"lang"`
	Options map[string]string             `json:"options,omitempty"`
	Source  string                        `json:"source"`
}

StoredScript type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Scripting.ts#L35-L39

type StoredScriptBuilder ¶

type StoredScriptBuilder struct {
	// contains filtered or unexported fields
}

StoredScriptBuilder holds StoredScript struct and provides a builder API.

func NewStoredScriptBuilder ¶

func NewStoredScriptBuilder() *StoredScriptBuilder

NewStoredScript provides a builder for the StoredScript struct.

func (*StoredScriptBuilder) Build ¶

func (rb *StoredScriptBuilder) Build() StoredScript

Build finalize the chain and returns the StoredScript struct

func (*StoredScriptBuilder) Lang ¶

func (*StoredScriptBuilder) Options ¶

func (rb *StoredScriptBuilder) Options(value map[string]string) *StoredScriptBuilder

func (*StoredScriptBuilder) Source ¶

func (rb *StoredScriptBuilder) Source(source string) *StoredScriptBuilder

type StoredScriptId ¶

type StoredScriptId struct {
	Id     Id                     `json:"id"`
	Params map[string]interface{} `json:"params,omitempty"`
}

StoredScriptId type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Scripting.ts#L52-L54

type StoredScriptIdBuilder ¶

type StoredScriptIdBuilder struct {
	// contains filtered or unexported fields
}

StoredScriptIdBuilder holds StoredScriptId struct and provides a builder API.

func NewStoredScriptIdBuilder ¶

func NewStoredScriptIdBuilder() *StoredScriptIdBuilder

NewStoredScriptId provides a builder for the StoredScriptId struct.

func (*StoredScriptIdBuilder) Build ¶

Build finalize the chain and returns the StoredScriptId struct

func (*StoredScriptIdBuilder) Id ¶

func (*StoredScriptIdBuilder) Params ¶

func (rb *StoredScriptIdBuilder) Params(value map[string]interface{}) *StoredScriptIdBuilder

type StringRareTermsAggregateBuilder ¶

type StringRareTermsAggregateBuilder struct {
	// contains filtered or unexported fields
}

StringRareTermsAggregateBuilder holds StringRareTermsAggregate struct and provides a builder API.

func NewStringRareTermsAggregateBuilder ¶

func NewStringRareTermsAggregateBuilder() *StringRareTermsAggregateBuilder

NewStringRareTermsAggregate provides a builder for the StringRareTermsAggregate struct.

func (*StringRareTermsAggregateBuilder) Buckets ¶

func (*StringRareTermsAggregateBuilder) Build ¶

Build finalize the chain and returns the StringRareTermsAggregate struct

func (*StringRareTermsAggregateBuilder) Meta ¶

type StringRareTermsBucket ¶

type StringRareTermsBucket struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Key          string                      `json:"key"`
}

StringRareTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L436-L438

type StringRareTermsBucketBuilder ¶

type StringRareTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

StringRareTermsBucketBuilder holds StringRareTermsBucket struct and provides a builder API.

func NewStringRareTermsBucketBuilder ¶

func NewStringRareTermsBucketBuilder() *StringRareTermsBucketBuilder

NewStringRareTermsBucket provides a builder for the StringRareTermsBucket struct.

func (*StringRareTermsBucketBuilder) Aggregations ¶

func (*StringRareTermsBucketBuilder) Build ¶

Build finalize the chain and returns the StringRareTermsBucket struct

func (*StringRareTermsBucketBuilder) DocCount ¶

func (*StringRareTermsBucketBuilder) Key ¶

type StringStatsAggregate ¶

type StringStatsAggregate struct {
	AvgLength         float64            `json:"avg_length,omitempty"`
	AvgLengthAsString *string            `json:"avg_length_as_string,omitempty"`
	Count             int64              `json:"count"`
	Distribution      map[string]float64 `json:"distribution,omitempty"`
	Entropy           float64            `json:"entropy,omitempty"`
	MaxLength         int                `json:"max_length,omitempty"`
	MaxLengthAsString *string            `json:"max_length_as_string,omitempty"`
	Meta              *Metadata          `json:"meta,omitempty"`
	MinLength         int                `json:"min_length,omitempty"`
	MinLengthAsString *string            `json:"min_length_as_string,omitempty"`
}

StringStatsAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L644-L655

type StringStatsAggregateBuilder ¶

type StringStatsAggregateBuilder struct {
	// contains filtered or unexported fields
}

StringStatsAggregateBuilder holds StringStatsAggregate struct and provides a builder API.

func NewStringStatsAggregateBuilder ¶

func NewStringStatsAggregateBuilder() *StringStatsAggregateBuilder

NewStringStatsAggregate provides a builder for the StringStatsAggregate struct.

func (*StringStatsAggregateBuilder) AvgLength ¶

func (*StringStatsAggregateBuilder) AvgLengthAsString ¶

func (rb *StringStatsAggregateBuilder) AvgLengthAsString(avglengthasstring string) *StringStatsAggregateBuilder

func (*StringStatsAggregateBuilder) Build ¶

Build finalize the chain and returns the StringStatsAggregate struct

func (*StringStatsAggregateBuilder) Count ¶

func (*StringStatsAggregateBuilder) Distribution ¶

func (rb *StringStatsAggregateBuilder) Distribution(distribution map[string]float64) *StringStatsAggregateBuilder

func (*StringStatsAggregateBuilder) Entropy ¶

func (*StringStatsAggregateBuilder) MaxLength ¶

func (*StringStatsAggregateBuilder) MaxLengthAsString ¶

func (rb *StringStatsAggregateBuilder) MaxLengthAsString(maxlengthasstring string) *StringStatsAggregateBuilder

func (*StringStatsAggregateBuilder) Meta ¶

func (*StringStatsAggregateBuilder) MinLength ¶

func (*StringStatsAggregateBuilder) MinLengthAsString ¶

func (rb *StringStatsAggregateBuilder) MinLengthAsString(minlengthasstring string) *StringStatsAggregateBuilder

type StringStatsAggregation ¶

type StringStatsAggregation struct {
	Field            *Field   `json:"field,omitempty"`
	Missing          *Missing `json:"missing,omitempty"`
	Script           *Script  `json:"script,omitempty"`
	ShowDistribution *bool    `json:"show_distribution,omitempty"`
}

StringStatsAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L138-L140

type StringStatsAggregationBuilder ¶

type StringStatsAggregationBuilder struct {
	// contains filtered or unexported fields
}

StringStatsAggregationBuilder holds StringStatsAggregation struct and provides a builder API.

func NewStringStatsAggregationBuilder ¶

func NewStringStatsAggregationBuilder() *StringStatsAggregationBuilder

NewStringStatsAggregation provides a builder for the StringStatsAggregation struct.

func (*StringStatsAggregationBuilder) Build ¶

Build finalize the chain and returns the StringStatsAggregation struct

func (*StringStatsAggregationBuilder) Field ¶

func (*StringStatsAggregationBuilder) Missing ¶

func (*StringStatsAggregationBuilder) Script ¶

func (*StringStatsAggregationBuilder) ShowDistribution ¶

func (rb *StringStatsAggregationBuilder) ShowDistribution(showdistribution bool) *StringStatsAggregationBuilder

type StringTermsAggregate ¶

type StringTermsAggregate struct {
	Buckets                 BucketsStringTermsBucket `json:"buckets"`
	DocCountErrorUpperBound *int64                   `json:"doc_count_error_upper_bound,omitempty"`
	Meta                    *Metadata                `json:"meta,omitempty"`
	SumOtherDocCount        int64                    `json:"sum_other_doc_count"`
}

StringTermsAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L371-L376

type StringTermsAggregateBuilder ¶

type StringTermsAggregateBuilder struct {
	// contains filtered or unexported fields
}

StringTermsAggregateBuilder holds StringTermsAggregate struct and provides a builder API.

func NewStringTermsAggregateBuilder ¶

func NewStringTermsAggregateBuilder() *StringTermsAggregateBuilder

NewStringTermsAggregate provides a builder for the StringTermsAggregate struct.

func (*StringTermsAggregateBuilder) Buckets ¶

func (*StringTermsAggregateBuilder) Build ¶

Build finalize the chain and returns the StringTermsAggregate struct

func (*StringTermsAggregateBuilder) DocCountErrorUpperBound ¶

func (rb *StringTermsAggregateBuilder) DocCountErrorUpperBound(doccounterrorupperbound int64) *StringTermsAggregateBuilder

func (*StringTermsAggregateBuilder) Meta ¶

func (*StringTermsAggregateBuilder) SumOtherDocCount ¶

func (rb *StringTermsAggregateBuilder) SumOtherDocCount(sumotherdoccount int64) *StringTermsAggregateBuilder

type StringTermsBucket ¶

type StringTermsBucket struct {
	Aggregations  map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount      int64                       `json:"doc_count"`
	DocCountError *int64                      `json:"doc_count_error,omitempty"`
	Key           string                      `json:"key"`
}

StringTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L382-L384

type StringTermsBucketBuilder ¶

type StringTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

StringTermsBucketBuilder holds StringTermsBucket struct and provides a builder API.

func NewStringTermsBucketBuilder ¶

func NewStringTermsBucketBuilder() *StringTermsBucketBuilder

NewStringTermsBucket provides a builder for the StringTermsBucket struct.

func (*StringTermsBucketBuilder) Aggregations ¶

func (*StringTermsBucketBuilder) Build ¶

Build finalize the chain and returns the StringTermsBucket struct

func (*StringTermsBucketBuilder) DocCount ¶

func (*StringTermsBucketBuilder) DocCountError ¶

func (rb *StringTermsBucketBuilder) DocCountError(doccounterror int64) *StringTermsBucketBuilder

func (*StringTermsBucketBuilder) Key ¶

type StringifiedEpochTimeUnitMillis ¶

type StringifiedEpochTimeUnitMillis interface{}

StringifiedEpochTimeUnitMillis holds the union for the following types:

EpochTimeUnitMillis
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_spec_utils/Stringified.ts#L20-L27

type StringifiedEpochTimeUnitMillisBuilder ¶

type StringifiedEpochTimeUnitMillisBuilder struct {
	// contains filtered or unexported fields
}

StringifiedEpochTimeUnitMillisBuilder holds StringifiedEpochTimeUnitMillis struct and provides a builder API.

func NewStringifiedEpochTimeUnitMillisBuilder ¶

func NewStringifiedEpochTimeUnitMillisBuilder() *StringifiedEpochTimeUnitMillisBuilder

NewStringifiedEpochTimeUnitMillis provides a builder for the StringifiedEpochTimeUnitMillis struct.

func (*StringifiedEpochTimeUnitMillisBuilder) Build ¶

Build finalize the chain and returns the StringifiedEpochTimeUnitMillis struct

func (*StringifiedEpochTimeUnitMillisBuilder) EpochTimeUnitMillis ¶

func (*StringifiedEpochTimeUnitMillisBuilder) String ¶

type StringifiedEpochTimeUnitSeconds ¶

type StringifiedEpochTimeUnitSeconds interface{}

StringifiedEpochTimeUnitSeconds holds the union for the following types:

EpochTimeUnitSeconds
string

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_spec_utils/Stringified.ts#L20-L27

type StringifiedEpochTimeUnitSecondsBuilder ¶

type StringifiedEpochTimeUnitSecondsBuilder struct {
	// contains filtered or unexported fields
}

StringifiedEpochTimeUnitSecondsBuilder holds StringifiedEpochTimeUnitSeconds struct and provides a builder API.

func NewStringifiedEpochTimeUnitSecondsBuilder ¶

func NewStringifiedEpochTimeUnitSecondsBuilder() *StringifiedEpochTimeUnitSecondsBuilder

NewStringifiedEpochTimeUnitSeconds provides a builder for the StringifiedEpochTimeUnitSeconds struct.

func (*StringifiedEpochTimeUnitSecondsBuilder) Build ¶

Build finalize the chain and returns the StringifiedEpochTimeUnitSeconds struct

func (*StringifiedEpochTimeUnitSecondsBuilder) EpochTimeUnitSeconds ¶

func (*StringifiedEpochTimeUnitSecondsBuilder) String ¶

type StupidBackoffSmoothingModelBuilder ¶

type StupidBackoffSmoothingModelBuilder struct {
	// contains filtered or unexported fields
}

StupidBackoffSmoothingModelBuilder holds StupidBackoffSmoothingModel struct and provides a builder API.

func NewStupidBackoffSmoothingModelBuilder ¶

func NewStupidBackoffSmoothingModelBuilder() *StupidBackoffSmoothingModelBuilder

NewStupidBackoffSmoothingModel provides a builder for the StupidBackoffSmoothingModel struct.

func (*StupidBackoffSmoothingModelBuilder) Build ¶

Build finalize the chain and returns the StupidBackoffSmoothingModel struct

func (*StupidBackoffSmoothingModelBuilder) Discount ¶

type Suggest ¶

type Suggest interface{}

Suggest holds the union for the following types:

CompletionSuggest
PhraseSuggest
TermSuggest

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L34-L40

type SuggestBase ¶

type SuggestBase struct {
	Length int    `json:"length"`
	Offset int    `json:"offset"`
	Text   string `json:"text"`
}

SuggestBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L42-L46

type SuggestBaseBuilder ¶

type SuggestBaseBuilder struct {
	// contains filtered or unexported fields
}

SuggestBaseBuilder holds SuggestBase struct and provides a builder API.

func NewSuggestBaseBuilder ¶

func NewSuggestBaseBuilder() *SuggestBaseBuilder

NewSuggestBase provides a builder for the SuggestBase struct.

func (*SuggestBaseBuilder) Build ¶

func (rb *SuggestBaseBuilder) Build() SuggestBase

Build finalize the chain and returns the SuggestBase struct

func (*SuggestBaseBuilder) Length ¶

func (rb *SuggestBaseBuilder) Length(length int) *SuggestBaseBuilder

func (*SuggestBaseBuilder) Offset ¶

func (rb *SuggestBaseBuilder) Offset(offset int) *SuggestBaseBuilder

func (*SuggestBaseBuilder) Text ¶

type SuggestBuilder ¶

type SuggestBuilder struct {
	// contains filtered or unexported fields
}

SuggestBuilder holds Suggest struct and provides a builder API.

func NewSuggestBuilder ¶

func NewSuggestBuilder() *SuggestBuilder

NewSuggest provides a builder for the Suggest struct.

func (*SuggestBuilder) Build ¶

func (u *SuggestBuilder) Build() Suggest

Build finalize the chain and returns the Suggest struct

func (*SuggestBuilder) CompletionSuggest ¶

func (u *SuggestBuilder) CompletionSuggest(completionsuggest *CompletionSuggestBuilder) *SuggestBuilder

func (*SuggestBuilder) PhraseSuggest ¶

func (u *SuggestBuilder) PhraseSuggest(phrasesuggest *PhraseSuggestBuilder) *SuggestBuilder

func (*SuggestBuilder) TermSuggest ¶

func (u *SuggestBuilder) TermSuggest(termsuggest *TermSuggestBuilder) *SuggestBuilder

type SuggestContext ¶

type SuggestContext struct {
	Name      Name   `json:"name"`
	Path      *Field `json:"path,omitempty"`
	Precision string `json:"precision,omitempty"`
	Type      string `json:"type"`
}

SuggestContext type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/specialized.ts#L36-L41

type SuggestContextBuilder ¶

type SuggestContextBuilder struct {
	// contains filtered or unexported fields
}

SuggestContextBuilder holds SuggestContext struct and provides a builder API.

func NewSuggestContextBuilder ¶

func NewSuggestContextBuilder() *SuggestContextBuilder

NewSuggestContext provides a builder for the SuggestContext struct.

func (*SuggestContextBuilder) Build ¶

Build finalize the chain and returns the SuggestContext struct

func (*SuggestContextBuilder) Name ¶

func (*SuggestContextBuilder) Path ¶

func (*SuggestContextBuilder) Precision ¶

func (*SuggestContextBuilder) Type_ ¶

type SuggestFuzziness ¶

type SuggestFuzziness struct {
	Fuzziness      *Fuzziness `json:"fuzziness,omitempty"`
	MinLength      *int       `json:"min_length,omitempty"`
	PrefixLength   *int       `json:"prefix_length,omitempty"`
	Transpositions *bool      `json:"transpositions,omitempty"`
	UnicodeAware   *bool      `json:"unicode_aware,omitempty"`
}

SuggestFuzziness type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L133-L139

type SuggestFuzzinessBuilder ¶

type SuggestFuzzinessBuilder struct {
	// contains filtered or unexported fields
}

SuggestFuzzinessBuilder holds SuggestFuzziness struct and provides a builder API.

func NewSuggestFuzzinessBuilder ¶

func NewSuggestFuzzinessBuilder() *SuggestFuzzinessBuilder

NewSuggestFuzziness provides a builder for the SuggestFuzziness struct.

func (*SuggestFuzzinessBuilder) Build ¶

Build finalize the chain and returns the SuggestFuzziness struct

func (*SuggestFuzzinessBuilder) Fuzziness ¶

func (*SuggestFuzzinessBuilder) MinLength ¶

func (rb *SuggestFuzzinessBuilder) MinLength(minlength int) *SuggestFuzzinessBuilder

func (*SuggestFuzzinessBuilder) PrefixLength ¶

func (rb *SuggestFuzzinessBuilder) PrefixLength(prefixlength int) *SuggestFuzzinessBuilder

func (*SuggestFuzzinessBuilder) Transpositions ¶

func (rb *SuggestFuzzinessBuilder) Transpositions(transpositions bool) *SuggestFuzzinessBuilder

func (*SuggestFuzzinessBuilder) UnicodeAware ¶

func (rb *SuggestFuzzinessBuilder) UnicodeAware(unicodeaware bool) *SuggestFuzzinessBuilder

type Suggester ¶

type Suggester struct {
	Suggesters map[string]FieldSuggester `json:"suggesters,omitempty"`
	// Text Global suggest text, to avoid repetition when the same text is used in
	// several suggesters
	Text *string `json:"text,omitempty"`
}

Suggester type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L96-L99

type SuggesterBase ¶

type SuggesterBase struct {
	Analyzer *string `json:"analyzer,omitempty"`
	Field    Field   `json:"field"`
	Size     *int    `json:"size,omitempty"`
}

SuggesterBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L117-L121

type SuggesterBaseBuilder ¶

type SuggesterBaseBuilder struct {
	// contains filtered or unexported fields
}

SuggesterBaseBuilder holds SuggesterBase struct and provides a builder API.

func NewSuggesterBaseBuilder ¶

func NewSuggesterBaseBuilder() *SuggesterBaseBuilder

NewSuggesterBase provides a builder for the SuggesterBase struct.

func (*SuggesterBaseBuilder) Analyzer ¶

func (rb *SuggesterBaseBuilder) Analyzer(analyzer string) *SuggesterBaseBuilder

func (*SuggesterBaseBuilder) Build ¶

func (rb *SuggesterBaseBuilder) Build() SuggesterBase

Build finalize the chain and returns the SuggesterBase struct

func (*SuggesterBaseBuilder) Field ¶

func (*SuggesterBaseBuilder) Size ¶

type SuggesterBuilder ¶

type SuggesterBuilder struct {
	// contains filtered or unexported fields
}

SuggesterBuilder holds Suggester struct and provides a builder API.

func NewSuggesterBuilder ¶

func NewSuggesterBuilder() *SuggesterBuilder

NewSuggester provides a builder for the Suggester struct.

func (*SuggesterBuilder) Build ¶

func (rb *SuggesterBuilder) Build() Suggester

Build finalize the chain and returns the Suggester struct

func (*SuggesterBuilder) Suggesters ¶

func (rb *SuggesterBuilder) Suggesters(values map[string]*FieldSuggesterBuilder) *SuggesterBuilder

func (*SuggesterBuilder) Text ¶

func (rb *SuggesterBuilder) Text(text string) *SuggesterBuilder

type SuggestionNameBuilder ¶

type SuggestionNameBuilder struct {
	// contains filtered or unexported fields
}

SuggestionNameBuilder holds SuggestionName struct and provides a builder API.

func NewSuggestionNameBuilder ¶

func NewSuggestionNameBuilder() *SuggestionNameBuilder

NewSuggestionName provides a builder for the SuggestionName struct.

func (*SuggestionNameBuilder) Build ¶

Build finalize the chain and returns the SuggestionName struct

func (*SuggestionNameBuilder) SuggestionName ¶

type SumAggregate ¶

type SumAggregate struct {
	Meta *Metadata `json:"meta,omitempty"`
	// Value The metric value. A missing value generally means that there was no data to
	// aggregate,
	// unless specified otherwise.
	Value         float64 `json:"value,omitempty"`
	ValueAsString *string `json:"value_as_string,omitempty"`
}

SumAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L192-L196

type SumAggregateBuilder ¶

type SumAggregateBuilder struct {
	// contains filtered or unexported fields
}

SumAggregateBuilder holds SumAggregate struct and provides a builder API.

func NewSumAggregateBuilder ¶

func NewSumAggregateBuilder() *SumAggregateBuilder

NewSumAggregate provides a builder for the SumAggregate struct.

func (*SumAggregateBuilder) Build ¶

func (rb *SumAggregateBuilder) Build() SumAggregate

Build finalize the chain and returns the SumAggregate struct

func (*SumAggregateBuilder) Meta ¶

func (*SumAggregateBuilder) Value ¶

func (*SumAggregateBuilder) ValueAsString ¶

func (rb *SumAggregateBuilder) ValueAsString(valueasstring string) *SumAggregateBuilder

type SumAggregation ¶

type SumAggregation struct {
	Field   *Field   `json:"field,omitempty"`
	Format  *string  `json:"format,omitempty"`
	Missing *Missing `json:"missing,omitempty"`
	Script  *Script  `json:"script,omitempty"`
}

SumAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L142-L142

type SumAggregationBuilder ¶

type SumAggregationBuilder struct {
	// contains filtered or unexported fields
}

SumAggregationBuilder holds SumAggregation struct and provides a builder API.

func NewSumAggregationBuilder ¶

func NewSumAggregationBuilder() *SumAggregationBuilder

NewSumAggregation provides a builder for the SumAggregation struct.

func (*SumAggregationBuilder) Build ¶

Build finalize the chain and returns the SumAggregation struct

func (*SumAggregationBuilder) Field ¶

func (*SumAggregationBuilder) Format ¶

func (*SumAggregationBuilder) Missing ¶

func (*SumAggregationBuilder) Script ¶

type SumBucketAggregation ¶

type SumBucketAggregation struct {
	// BucketsPath Path to the buckets that contain one set of values to correlate.
	BucketsPath *BucketsPath         `json:"buckets_path,omitempty"`
	Format      *string              `json:"format,omitempty"`
	GapPolicy   *gappolicy.GapPolicy `json:"gap_policy,omitempty"`
	Meta        *Metadata            `json:"meta,omitempty"`
	Name        *string              `json:"name,omitempty"`
}

SumBucketAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L274-L274

type SumBucketAggregationBuilder ¶

type SumBucketAggregationBuilder struct {
	// contains filtered or unexported fields
}

SumBucketAggregationBuilder holds SumBucketAggregation struct and provides a builder API.

func NewSumBucketAggregationBuilder ¶

func NewSumBucketAggregationBuilder() *SumBucketAggregationBuilder

NewSumBucketAggregation provides a builder for the SumBucketAggregation struct.

func (*SumBucketAggregationBuilder) BucketsPath ¶

func (*SumBucketAggregationBuilder) Build ¶

Build finalize the chain and returns the SumBucketAggregation struct

func (*SumBucketAggregationBuilder) Format ¶

func (*SumBucketAggregationBuilder) GapPolicy ¶

func (*SumBucketAggregationBuilder) Meta ¶

func (*SumBucketAggregationBuilder) Name ¶

type SummaryBuilder ¶

type SummaryBuilder struct {
	// contains filtered or unexported fields
}

SummaryBuilder holds Summary struct and provides a builder API.

func NewSummaryBuilder ¶

func NewSummaryBuilder() *SummaryBuilder

NewSummary provides a builder for the Summary struct.

func (*SummaryBuilder) Build ¶

func (rb *SummaryBuilder) Build() Summary

Build finalize the chain and returns the Summary struct

func (*SummaryBuilder) Config ¶

func (rb *SummaryBuilder) Config(config *ConfigurationBuilder) *SummaryBuilder

type SyncContainer ¶

type SyncContainer struct {
	// Time Specifies that the transform uses a time field to synchronize the source and
	// destination indices.
	Time *TimeSync `json:"time,omitempty"`
}

SyncContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/_types/Transform.ts#L157-L163

type SyncContainerBuilder ¶

type SyncContainerBuilder struct {
	// contains filtered or unexported fields
}

SyncContainerBuilder holds SyncContainer struct and provides a builder API.

func NewSyncContainerBuilder ¶

func NewSyncContainerBuilder() *SyncContainerBuilder

NewSyncContainer provides a builder for the SyncContainer struct.

func (*SyncContainerBuilder) Build ¶

func (rb *SyncContainerBuilder) Build() SyncContainer

Build finalize the chain and returns the SyncContainer struct

func (*SyncContainerBuilder) Time ¶

type SynonymGraphTokenFilter ¶

type SynonymGraphTokenFilter struct {
	Expand       *bool                        `json:"expand,omitempty"`
	Format       *synonymformat.SynonymFormat `json:"format,omitempty"`
	Lenient      *bool                        `json:"lenient,omitempty"`
	Synonyms     []string                     `json:"synonyms,omitempty"`
	SynonymsPath *string                      `json:"synonyms_path,omitempty"`
	Tokenizer    *string                      `json:"tokenizer,omitempty"`
	Type         string                       `json:"type,omitempty"`
	Updateable   *bool                        `json:"updateable,omitempty"`
	Version      *VersionString               `json:"version,omitempty"`
}

SynonymGraphTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L109-L118

type SynonymGraphTokenFilterBuilder ¶

type SynonymGraphTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

SynonymGraphTokenFilterBuilder holds SynonymGraphTokenFilter struct and provides a builder API.

func NewSynonymGraphTokenFilterBuilder ¶

func NewSynonymGraphTokenFilterBuilder() *SynonymGraphTokenFilterBuilder

NewSynonymGraphTokenFilter provides a builder for the SynonymGraphTokenFilter struct.

func (*SynonymGraphTokenFilterBuilder) Build ¶

Build finalize the chain and returns the SynonymGraphTokenFilter struct

func (*SynonymGraphTokenFilterBuilder) Expand ¶

func (*SynonymGraphTokenFilterBuilder) Format ¶

func (*SynonymGraphTokenFilterBuilder) Lenient ¶

func (*SynonymGraphTokenFilterBuilder) Synonyms ¶

func (*SynonymGraphTokenFilterBuilder) SynonymsPath ¶

func (*SynonymGraphTokenFilterBuilder) Tokenizer ¶

func (*SynonymGraphTokenFilterBuilder) Updateable ¶

func (*SynonymGraphTokenFilterBuilder) Version ¶

type SynonymTokenFilter ¶

type SynonymTokenFilter struct {
	Expand       *bool                        `json:"expand,omitempty"`
	Format       *synonymformat.SynonymFormat `json:"format,omitempty"`
	Lenient      *bool                        `json:"lenient,omitempty"`
	Synonyms     []string                     `json:"synonyms,omitempty"`
	SynonymsPath *string                      `json:"synonyms_path,omitempty"`
	Tokenizer    *string                      `json:"tokenizer,omitempty"`
	Type         string                       `json:"type,omitempty"`
	Updateable   *bool                        `json:"updateable,omitempty"`
	Version      *VersionString               `json:"version,omitempty"`
}

SynonymTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L120-L129

type SynonymTokenFilterBuilder ¶

type SynonymTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

SynonymTokenFilterBuilder holds SynonymTokenFilter struct and provides a builder API.

func NewSynonymTokenFilterBuilder ¶

func NewSynonymTokenFilterBuilder() *SynonymTokenFilterBuilder

NewSynonymTokenFilter provides a builder for the SynonymTokenFilter struct.

func (*SynonymTokenFilterBuilder) Build ¶

Build finalize the chain and returns the SynonymTokenFilter struct

func (*SynonymTokenFilterBuilder) Expand ¶

func (*SynonymTokenFilterBuilder) Format ¶

func (*SynonymTokenFilterBuilder) Lenient ¶

func (*SynonymTokenFilterBuilder) Synonyms ¶

func (rb *SynonymTokenFilterBuilder) Synonyms(synonyms ...string) *SynonymTokenFilterBuilder

func (*SynonymTokenFilterBuilder) SynonymsPath ¶

func (rb *SynonymTokenFilterBuilder) SynonymsPath(synonymspath string) *SynonymTokenFilterBuilder

func (*SynonymTokenFilterBuilder) Tokenizer ¶

func (*SynonymTokenFilterBuilder) Updateable ¶

func (rb *SynonymTokenFilterBuilder) Updateable(updateable bool) *SynonymTokenFilterBuilder

func (*SynonymTokenFilterBuilder) Version ¶

type TDigestBuilder ¶

type TDigestBuilder struct {
	// contains filtered or unexported fields
}

TDigestBuilder holds TDigest struct and provides a builder API.

func NewTDigestBuilder ¶

func NewTDigestBuilder() *TDigestBuilder

NewTDigest provides a builder for the TDigest struct.

func (*TDigestBuilder) Build ¶

func (rb *TDigestBuilder) Build() TDigest

Build finalize the chain and returns the TDigest struct

func (*TDigestBuilder) Compression ¶

func (rb *TDigestBuilder) Compression(compression int) *TDigestBuilder

type TDigestPercentileRanksAggregate ¶

type TDigestPercentileRanksAggregate struct {
	Meta   *Metadata   `json:"meta,omitempty"`
	Values Percentiles `json:"values"`
}

TDigestPercentileRanksAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L164-L165

type TDigestPercentileRanksAggregateBuilder ¶

type TDigestPercentileRanksAggregateBuilder struct {
	// contains filtered or unexported fields
}

TDigestPercentileRanksAggregateBuilder holds TDigestPercentileRanksAggregate struct and provides a builder API.

func NewTDigestPercentileRanksAggregateBuilder ¶

func NewTDigestPercentileRanksAggregateBuilder() *TDigestPercentileRanksAggregateBuilder

NewTDigestPercentileRanksAggregate provides a builder for the TDigestPercentileRanksAggregate struct.

func (*TDigestPercentileRanksAggregateBuilder) Build ¶

Build finalize the chain and returns the TDigestPercentileRanksAggregate struct

func (*TDigestPercentileRanksAggregateBuilder) Meta ¶

func (*TDigestPercentileRanksAggregateBuilder) Values ¶

type TDigestPercentilesAggregate ¶

type TDigestPercentilesAggregate struct {
	Meta   *Metadata   `json:"meta,omitempty"`
	Values Percentiles `json:"values"`
}

TDigestPercentilesAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L161-L162

type TDigestPercentilesAggregateBuilder ¶

type TDigestPercentilesAggregateBuilder struct {
	// contains filtered or unexported fields
}

TDigestPercentilesAggregateBuilder holds TDigestPercentilesAggregate struct and provides a builder API.

func NewTDigestPercentilesAggregateBuilder ¶

func NewTDigestPercentilesAggregateBuilder() *TDigestPercentilesAggregateBuilder

NewTDigestPercentilesAggregate provides a builder for the TDigestPercentilesAggregate struct.

func (*TDigestPercentilesAggregateBuilder) Build ¶

Build finalize the chain and returns the TDigestPercentilesAggregate struct

func (*TDigestPercentilesAggregateBuilder) Meta ¶

func (*TDigestPercentilesAggregateBuilder) Values ¶

type TTestAggregate ¶

type TTestAggregate struct {
	Meta          *Metadata `json:"meta,omitempty"`
	Value         float64   `json:"value,omitempty"`
	ValueAsString *string   `json:"value_as_string,omitempty"`
}

TTestAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L686-L690

type TTestAggregateBuilder ¶

type TTestAggregateBuilder struct {
	// contains filtered or unexported fields
}

TTestAggregateBuilder holds TTestAggregate struct and provides a builder API.

func NewTTestAggregateBuilder ¶

func NewTTestAggregateBuilder() *TTestAggregateBuilder

NewTTestAggregate provides a builder for the TTestAggregate struct.

func (*TTestAggregateBuilder) Build ¶

Build finalize the chain and returns the TTestAggregate struct

func (*TTestAggregateBuilder) Meta ¶

func (*TTestAggregateBuilder) Value ¶

func (*TTestAggregateBuilder) ValueAsString ¶

func (rb *TTestAggregateBuilder) ValueAsString(valueasstring string) *TTestAggregateBuilder

type TTestAggregation ¶

type TTestAggregation struct {
	A    *TestPopulation      `json:"a,omitempty"`
	B    *TestPopulation      `json:"b,omitempty"`
	Meta *Metadata            `json:"meta,omitempty"`
	Name *string              `json:"name,omitempty"`
	Type *ttesttype.TTestType `json:"type,omitempty"`
}

TTestAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L144-L148

type TTestAggregationBuilder ¶

type TTestAggregationBuilder struct {
	// contains filtered or unexported fields
}

TTestAggregationBuilder holds TTestAggregation struct and provides a builder API.

func NewTTestAggregationBuilder ¶

func NewTTestAggregationBuilder() *TTestAggregationBuilder

NewTTestAggregation provides a builder for the TTestAggregation struct.

func (*TTestAggregationBuilder) A ¶

func (*TTestAggregationBuilder) B ¶

func (*TTestAggregationBuilder) Build ¶

Build finalize the chain and returns the TTestAggregation struct

func (*TTestAggregationBuilder) Meta ¶

func (*TTestAggregationBuilder) Name ¶

func (*TTestAggregationBuilder) Type_ ¶

type TargetMeanEncodingPreprocessor ¶

type TargetMeanEncodingPreprocessor struct {
	DefaultValue float64            `json:"default_value"`
	FeatureName  string             `json:"feature_name"`
	Field        string             `json:"field"`
	TargetMap    map[string]float64 `json:"target_map"`
}

TargetMeanEncodingPreprocessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/put_trained_model/types.ts#L49-L54

type TargetMeanEncodingPreprocessorBuilder ¶

type TargetMeanEncodingPreprocessorBuilder struct {
	// contains filtered or unexported fields
}

TargetMeanEncodingPreprocessorBuilder holds TargetMeanEncodingPreprocessor struct and provides a builder API.

func NewTargetMeanEncodingPreprocessorBuilder ¶

func NewTargetMeanEncodingPreprocessorBuilder() *TargetMeanEncodingPreprocessorBuilder

NewTargetMeanEncodingPreprocessor provides a builder for the TargetMeanEncodingPreprocessor struct.

func (*TargetMeanEncodingPreprocessorBuilder) Build ¶

Build finalize the chain and returns the TargetMeanEncodingPreprocessor struct

func (*TargetMeanEncodingPreprocessorBuilder) DefaultValue ¶

func (*TargetMeanEncodingPreprocessorBuilder) FeatureName ¶

func (*TargetMeanEncodingPreprocessorBuilder) Field ¶

func (*TargetMeanEncodingPreprocessorBuilder) TargetMap ¶

type TaskFailure ¶

type TaskFailure struct {
	NodeId NodeId     `json:"node_id"`
	Reason ErrorCause `json:"reason"`
	Status string     `json:"status"`
	TaskId int64      `json:"task_id"`
}

TaskFailure type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Errors.ts#L66-L71

type TaskFailureBuilder ¶

type TaskFailureBuilder struct {
	// contains filtered or unexported fields
}

TaskFailureBuilder holds TaskFailure struct and provides a builder API.

func NewTaskFailureBuilder ¶

func NewTaskFailureBuilder() *TaskFailureBuilder

NewTaskFailure provides a builder for the TaskFailure struct.

func (*TaskFailureBuilder) Build ¶

func (rb *TaskFailureBuilder) Build() TaskFailure

Build finalize the chain and returns the TaskFailure struct

func (*TaskFailureBuilder) NodeId ¶

func (rb *TaskFailureBuilder) NodeId(nodeid NodeId) *TaskFailureBuilder

func (*TaskFailureBuilder) Reason ¶

func (*TaskFailureBuilder) Status ¶

func (rb *TaskFailureBuilder) Status(status string) *TaskFailureBuilder

func (*TaskFailureBuilder) TaskId ¶

func (rb *TaskFailureBuilder) TaskId(taskid int64) *TaskFailureBuilder

type TaskIdBuilder ¶

type TaskIdBuilder struct {
	// contains filtered or unexported fields
}

TaskIdBuilder holds TaskId struct and provides a builder API.

func NewTaskIdBuilder ¶

func NewTaskIdBuilder() *TaskIdBuilder

NewTaskId provides a builder for the TaskId struct.

func (*TaskIdBuilder) Build ¶

func (u *TaskIdBuilder) Build() TaskId

Build finalize the chain and returns the TaskId struct

func (*TaskIdBuilder) Int ¶

func (u *TaskIdBuilder) Int(int int) *TaskIdBuilder

func (*TaskIdBuilder) String ¶

func (u *TaskIdBuilder) String(string string) *TaskIdBuilder

type TaskInfo ¶

type TaskInfo struct {
	Action             string                 `json:"action"`
	Cancellable        bool                   `json:"cancellable"`
	Description        *string                `json:"description,omitempty"`
	Headers            map[string]string      `json:"headers"`
	Id                 int64                  `json:"id"`
	Node               NodeId                 `json:"node"`
	ParentTaskId       *TaskId                `json:"parent_task_id,omitempty"`
	RunningTime        *Duration              `json:"running_time,omitempty"`
	RunningTimeInNanos DurationValueUnitNanos `json:"running_time_in_nanos"`
	StartTimeInMillis  EpochTimeUnitMillis    `json:"start_time_in_millis"`
	Status             *TaskStatus            `json:"status,omitempty"`
	Type               string                 `json:"type"`
}

TaskInfo type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/tasks/_types/TaskInfo.ts#L33-L46

type TaskInfoBuilder ¶

type TaskInfoBuilder struct {
	// contains filtered or unexported fields
}

TaskInfoBuilder holds TaskInfo struct and provides a builder API.

func NewTaskInfoBuilder ¶

func NewTaskInfoBuilder() *TaskInfoBuilder

NewTaskInfo provides a builder for the TaskInfo struct.

func (*TaskInfoBuilder) Action ¶

func (rb *TaskInfoBuilder) Action(action string) *TaskInfoBuilder

func (*TaskInfoBuilder) Build ¶

func (rb *TaskInfoBuilder) Build() TaskInfo

Build finalize the chain and returns the TaskInfo struct

func (*TaskInfoBuilder) Cancellable ¶

func (rb *TaskInfoBuilder) Cancellable(cancellable bool) *TaskInfoBuilder

func (*TaskInfoBuilder) Description ¶

func (rb *TaskInfoBuilder) Description(description string) *TaskInfoBuilder

func (*TaskInfoBuilder) Headers ¶

func (rb *TaskInfoBuilder) Headers(value map[string]string) *TaskInfoBuilder

func (*TaskInfoBuilder) Id ¶

func (*TaskInfoBuilder) Node ¶

func (rb *TaskInfoBuilder) Node(node NodeId) *TaskInfoBuilder

func (*TaskInfoBuilder) ParentTaskId ¶

func (rb *TaskInfoBuilder) ParentTaskId(parenttaskid *TaskIdBuilder) *TaskInfoBuilder

func (*TaskInfoBuilder) RunningTime ¶

func (rb *TaskInfoBuilder) RunningTime(runningtime *DurationBuilder) *TaskInfoBuilder

func (*TaskInfoBuilder) RunningTimeInNanos ¶

func (rb *TaskInfoBuilder) RunningTimeInNanos(runningtimeinnanos *DurationValueUnitNanosBuilder) *TaskInfoBuilder

func (*TaskInfoBuilder) StartTimeInMillis ¶

func (rb *TaskInfoBuilder) StartTimeInMillis(starttimeinmillis *EpochTimeUnitMillisBuilder) *TaskInfoBuilder

func (*TaskInfoBuilder) Status ¶

func (rb *TaskInfoBuilder) Status(status *TaskStatusBuilder) *TaskInfoBuilder

func (*TaskInfoBuilder) Type_ ¶

func (rb *TaskInfoBuilder) Type_(type_ string) *TaskInfoBuilder

type TaskInfos ¶

type TaskInfos interface{}

TaskInfos holds the union for the following types:

map[string]ParentTaskInfo
[]TaskInfo

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/tasks/_types/TaskListResponseBase.ts#L40-L43

type TaskInfosBuilder ¶

type TaskInfosBuilder struct {
	// contains filtered or unexported fields
}

TaskInfosBuilder holds TaskInfos struct and provides a builder API.

func NewTaskInfosBuilder ¶

func NewTaskInfosBuilder() *TaskInfosBuilder

NewTaskInfos provides a builder for the TaskInfos struct.

func (*TaskInfosBuilder) Build ¶

func (u *TaskInfosBuilder) Build() TaskInfos

Build finalize the chain and returns the TaskInfos struct

func (*TaskInfosBuilder) Map ¶

func (*TaskInfosBuilder) TaskInfos ¶

func (u *TaskInfosBuilder) TaskInfos(taskinfos []TaskInfoBuilder) *TaskInfosBuilder

type TaskListResponseBase ¶

type TaskListResponseBase struct {
	NodeFailures []ErrorCause `json:"node_failures,omitempty"`
	// Nodes Task information grouped by node, if `group_by` was set to `node` (the
	// default).
	Nodes        map[string]NodeTasks `json:"nodes,omitempty"`
	TaskFailures []TaskFailure        `json:"task_failures,omitempty"`
	// Tasks Either a flat list of tasks if `group_by` was set to `none`, or grouped by
	// parents if
	// `group_by` was set to `parents`.
	Tasks *TaskInfos `json:"tasks,omitempty"`
}

TaskListResponseBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/tasks/_types/TaskListResponseBase.ts#L26-L38

type TaskListResponseBaseBuilder ¶

type TaskListResponseBaseBuilder struct {
	// contains filtered or unexported fields
}

TaskListResponseBaseBuilder holds TaskListResponseBase struct and provides a builder API.

func NewTaskListResponseBaseBuilder ¶

func NewTaskListResponseBaseBuilder() *TaskListResponseBaseBuilder

NewTaskListResponseBase provides a builder for the TaskListResponseBase struct.

func (*TaskListResponseBaseBuilder) Build ¶

Build finalize the chain and returns the TaskListResponseBase struct

func (*TaskListResponseBaseBuilder) NodeFailures ¶

func (*TaskListResponseBaseBuilder) Nodes ¶

func (*TaskListResponseBaseBuilder) TaskFailures ¶

func (*TaskListResponseBaseBuilder) Tasks ¶

type TaskStatus ¶

type TaskStatus struct {
	Batches              int64                    `json:"batches"`
	Canceled             *string                  `json:"canceled,omitempty"`
	Created              int64                    `json:"created"`
	Deleted              int64                    `json:"deleted"`
	Failures             []string                 `json:"failures,omitempty"`
	Noops                int64                    `json:"noops"`
	RequestsPerSecond    float32                  `json:"requests_per_second"`
	Retries              Retries                  `json:"retries"`
	Throttled            *Duration                `json:"throttled,omitempty"`
	ThrottledMillis      DurationValueUnitMillis  `json:"throttled_millis"`
	ThrottledUntil       *Duration                `json:"throttled_until,omitempty"`
	ThrottledUntilMillis DurationValueUnitMillis  `json:"throttled_until_millis"`
	TimedOut             *bool                    `json:"timed_out,omitempty"`
	Took                 *DurationValueUnitMillis `json:"took,omitempty"`
	Total                int64                    `json:"total"`
	Updated              int64                    `json:"updated"`
	VersionConflicts     int64                    `json:"version_conflicts"`
}

TaskStatus type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/tasks/_types/TaskStatus.ts#L24-L42

type TaskStatusBuilder ¶

type TaskStatusBuilder struct {
	// contains filtered or unexported fields
}

TaskStatusBuilder holds TaskStatus struct and provides a builder API.

func NewTaskStatusBuilder ¶

func NewTaskStatusBuilder() *TaskStatusBuilder

NewTaskStatus provides a builder for the TaskStatus struct.

func (*TaskStatusBuilder) Batches ¶

func (rb *TaskStatusBuilder) Batches(batches int64) *TaskStatusBuilder

func (*TaskStatusBuilder) Build ¶

func (rb *TaskStatusBuilder) Build() TaskStatus

Build finalize the chain and returns the TaskStatus struct

func (*TaskStatusBuilder) Canceled ¶

func (rb *TaskStatusBuilder) Canceled(canceled string) *TaskStatusBuilder

func (*TaskStatusBuilder) Created ¶

func (rb *TaskStatusBuilder) Created(created int64) *TaskStatusBuilder

func (*TaskStatusBuilder) Deleted ¶

func (rb *TaskStatusBuilder) Deleted(deleted int64) *TaskStatusBuilder

func (*TaskStatusBuilder) Failures ¶

func (rb *TaskStatusBuilder) Failures(failures ...string) *TaskStatusBuilder

func (*TaskStatusBuilder) Noops ¶

func (rb *TaskStatusBuilder) Noops(noops int64) *TaskStatusBuilder

func (*TaskStatusBuilder) RequestsPerSecond ¶

func (rb *TaskStatusBuilder) RequestsPerSecond(requestspersecond float32) *TaskStatusBuilder

func (*TaskStatusBuilder) Retries ¶

func (rb *TaskStatusBuilder) Retries(retries *RetriesBuilder) *TaskStatusBuilder

func (*TaskStatusBuilder) Throttled ¶

func (rb *TaskStatusBuilder) Throttled(throttled *DurationBuilder) *TaskStatusBuilder

func (*TaskStatusBuilder) ThrottledMillis ¶

func (rb *TaskStatusBuilder) ThrottledMillis(throttledmillis *DurationValueUnitMillisBuilder) *TaskStatusBuilder

func (*TaskStatusBuilder) ThrottledUntil ¶

func (rb *TaskStatusBuilder) ThrottledUntil(throttleduntil *DurationBuilder) *TaskStatusBuilder

func (*TaskStatusBuilder) ThrottledUntilMillis ¶

func (rb *TaskStatusBuilder) ThrottledUntilMillis(throttleduntilmillis *DurationValueUnitMillisBuilder) *TaskStatusBuilder

func (*TaskStatusBuilder) TimedOut ¶

func (rb *TaskStatusBuilder) TimedOut(timedout bool) *TaskStatusBuilder

func (*TaskStatusBuilder) Took ¶

func (*TaskStatusBuilder) Total ¶

func (rb *TaskStatusBuilder) Total(total int64) *TaskStatusBuilder

func (*TaskStatusBuilder) Updated ¶

func (rb *TaskStatusBuilder) Updated(updated int64) *TaskStatusBuilder

func (*TaskStatusBuilder) VersionConflicts ¶

func (rb *TaskStatusBuilder) VersionConflicts(versionconflicts int64) *TaskStatusBuilder

type TasksRecord ¶

type TasksRecord struct {
	// Action task action
	Action *string `json:"action,omitempty"`
	// Description task action
	Description *string `json:"description,omitempty"`
	// Id id of the task with the node
	Id *Id `json:"id,omitempty"`
	// Ip ip address
	Ip *string `json:"ip,omitempty"`
	// Node node name
	Node *string `json:"node,omitempty"`
	// NodeId unique node id
	NodeId *NodeId `json:"node_id,omitempty"`
	// ParentTaskId parent task id
	ParentTaskId *string `json:"parent_task_id,omitempty"`
	// Port bound transport port
	Port *string `json:"port,omitempty"`
	// RunningTime running time
	RunningTime *string `json:"running_time,omitempty"`
	// RunningTimeNs running time ns
	RunningTimeNs *string `json:"running_time_ns,omitempty"`
	// StartTime start time in ms
	StartTime *string `json:"start_time,omitempty"`
	// TaskId unique task id
	TaskId *Id `json:"task_id,omitempty"`
	// Timestamp start time in HH:MM:SS
	Timestamp *string `json:"timestamp,omitempty"`
	// Type task type
	Type *string `json:"type,omitempty"`
	// Version es version
	Version *VersionString `json:"version,omitempty"`
	// XOpaqueId X-Opaque-ID header
	XOpaqueId *string `json:"x_opaque_id,omitempty"`
}

TasksRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/tasks/types.ts#L22-L101

type TasksRecordBuilder ¶

type TasksRecordBuilder struct {
	// contains filtered or unexported fields
}

TasksRecordBuilder holds TasksRecord struct and provides a builder API.

func NewTasksRecordBuilder ¶

func NewTasksRecordBuilder() *TasksRecordBuilder

NewTasksRecord provides a builder for the TasksRecord struct.

func (*TasksRecordBuilder) Action ¶

func (rb *TasksRecordBuilder) Action(action string) *TasksRecordBuilder

func (*TasksRecordBuilder) Build ¶

func (rb *TasksRecordBuilder) Build() TasksRecord

Build finalize the chain and returns the TasksRecord struct

func (*TasksRecordBuilder) Description ¶

func (rb *TasksRecordBuilder) Description(description string) *TasksRecordBuilder

func (*TasksRecordBuilder) Id ¶

func (*TasksRecordBuilder) Ip ¶

func (*TasksRecordBuilder) Node ¶

func (*TasksRecordBuilder) NodeId ¶

func (rb *TasksRecordBuilder) NodeId(nodeid NodeId) *TasksRecordBuilder

func (*TasksRecordBuilder) ParentTaskId ¶

func (rb *TasksRecordBuilder) ParentTaskId(parenttaskid string) *TasksRecordBuilder

func (*TasksRecordBuilder) Port ¶

func (*TasksRecordBuilder) RunningTime ¶

func (rb *TasksRecordBuilder) RunningTime(runningtime string) *TasksRecordBuilder

func (*TasksRecordBuilder) RunningTimeNs ¶

func (rb *TasksRecordBuilder) RunningTimeNs(runningtimens string) *TasksRecordBuilder

func (*TasksRecordBuilder) StartTime ¶

func (rb *TasksRecordBuilder) StartTime(starttime string) *TasksRecordBuilder

func (*TasksRecordBuilder) TaskId ¶

func (rb *TasksRecordBuilder) TaskId(taskid Id) *TasksRecordBuilder

func (*TasksRecordBuilder) Timestamp ¶

func (rb *TasksRecordBuilder) Timestamp(timestamp string) *TasksRecordBuilder

func (*TasksRecordBuilder) Type_ ¶

func (rb *TasksRecordBuilder) Type_(type_ string) *TasksRecordBuilder

func (*TasksRecordBuilder) Version ¶

func (rb *TasksRecordBuilder) Version(version VersionString) *TasksRecordBuilder

func (*TasksRecordBuilder) XOpaqueId ¶

func (rb *TasksRecordBuilder) XOpaqueId(xopaqueid string) *TasksRecordBuilder

type TemplateBuilder ¶

type TemplateBuilder struct {
	// contains filtered or unexported fields
}

TemplateBuilder holds Template struct and provides a builder API.

func NewTemplateBuilder ¶

func NewTemplateBuilder() *TemplateBuilder

NewTemplate provides a builder for the Template struct.

func (*TemplateBuilder) Aliases ¶

func (rb *TemplateBuilder) Aliases(values map[IndexName]*AliasBuilder) *TemplateBuilder

func (*TemplateBuilder) Build ¶

func (rb *TemplateBuilder) Build() Template

Build finalize the chain and returns the Template struct

func (*TemplateBuilder) Mappings ¶

func (rb *TemplateBuilder) Mappings(mappings *TypeMappingBuilder) *TemplateBuilder

func (*TemplateBuilder) Settings ¶

func (rb *TemplateBuilder) Settings(settings *IndexSettingsBuilder) *TemplateBuilder

type TemplateMapping ¶

type TemplateMapping struct {
	Aliases       map[IndexName]Alias    `json:"aliases"`
	IndexPatterns []Name                 `json:"index_patterns"`
	Mappings      TypeMapping            `json:"mappings"`
	Order         int                    `json:"order"`
	Settings      map[string]interface{} `json:"settings"`
	Version       *VersionNumber         `json:"version,omitempty"`
}

TemplateMapping type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/TemplateMapping.ts#L27-L34

type TemplateMappingBuilder ¶

type TemplateMappingBuilder struct {
	// contains filtered or unexported fields
}

TemplateMappingBuilder holds TemplateMapping struct and provides a builder API.

func NewTemplateMappingBuilder ¶

func NewTemplateMappingBuilder() *TemplateMappingBuilder

NewTemplateMapping provides a builder for the TemplateMapping struct.

func (*TemplateMappingBuilder) Aliases ¶

func (*TemplateMappingBuilder) Build ¶

Build finalize the chain and returns the TemplateMapping struct

func (*TemplateMappingBuilder) IndexPatterns ¶

func (rb *TemplateMappingBuilder) IndexPatterns(index_patterns ...Name) *TemplateMappingBuilder

func (*TemplateMappingBuilder) Mappings ¶

func (*TemplateMappingBuilder) Order ¶

func (*TemplateMappingBuilder) Settings ¶

func (rb *TemplateMappingBuilder) Settings(value map[string]interface{}) *TemplateMappingBuilder

func (*TemplateMappingBuilder) Version ¶

type TemplatesRecord ¶

type TemplatesRecord struct {
	// ComposedOf component templates comprising index template
	ComposedOf *string `json:"composed_of,omitempty"`
	// IndexPatterns template index patterns
	IndexPatterns *string `json:"index_patterns,omitempty"`
	// Name template name
	Name *Name `json:"name,omitempty"`
	// Order template application order/priority number
	Order *string `json:"order,omitempty"`
	// Version version
	Version VersionString `json:"version,omitempty"`
}

TemplatesRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/templates/types.ts#L22-L48

type TemplatesRecordBuilder ¶

type TemplatesRecordBuilder struct {
	// contains filtered or unexported fields
}

TemplatesRecordBuilder holds TemplatesRecord struct and provides a builder API.

func NewTemplatesRecordBuilder ¶

func NewTemplatesRecordBuilder() *TemplatesRecordBuilder

NewTemplatesRecord provides a builder for the TemplatesRecord struct.

func (*TemplatesRecordBuilder) Build ¶

Build finalize the chain and returns the TemplatesRecord struct

func (*TemplatesRecordBuilder) ComposedOf ¶

func (rb *TemplatesRecordBuilder) ComposedOf(composedof string) *TemplatesRecordBuilder

func (*TemplatesRecordBuilder) IndexPatterns ¶

func (rb *TemplatesRecordBuilder) IndexPatterns(indexpatterns string) *TemplatesRecordBuilder

func (*TemplatesRecordBuilder) Name ¶

func (*TemplatesRecordBuilder) Order ¶

func (*TemplatesRecordBuilder) Version ¶

type Term ¶

type Term struct {
	DocFreq  *int     `json:"doc_freq,omitempty"`
	Score    *float64 `json:"score,omitempty"`
	TermFreq int      `json:"term_freq"`
	Tokens   []Token  `json:"tokens,omitempty"`
	Ttf      *int     `json:"ttf,omitempty"`
}

Term type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/termvectors/types.ts#L34-L40

type TermBuilder ¶

type TermBuilder struct {
	// contains filtered or unexported fields
}

TermBuilder holds Term struct and provides a builder API.

func NewTermBuilder ¶

func NewTermBuilder() *TermBuilder

NewTerm provides a builder for the Term struct.

func (*TermBuilder) Build ¶

func (rb *TermBuilder) Build() Term

Build finalize the chain and returns the Term struct

func (*TermBuilder) DocFreq ¶

func (rb *TermBuilder) DocFreq(docfreq int) *TermBuilder

func (*TermBuilder) Score ¶

func (rb *TermBuilder) Score(score float64) *TermBuilder

func (*TermBuilder) TermFreq ¶

func (rb *TermBuilder) TermFreq(termfreq int) *TermBuilder

func (*TermBuilder) Tokens ¶

func (rb *TermBuilder) Tokens(tokens []TokenBuilder) *TermBuilder

func (*TermBuilder) Ttf ¶

func (rb *TermBuilder) Ttf(ttf int) *TermBuilder

type TermQuery ¶

type TermQuery struct {
	Boost           *float32   `json:"boost,omitempty"`
	CaseInsensitive *bool      `json:"case_insensitive,omitempty"`
	QueryName_      *string    `json:"_name,omitempty"`
	Value           FieldValue `json:"value"`
}

TermQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L125-L130

type TermQueryBuilder ¶

type TermQueryBuilder struct {
	// contains filtered or unexported fields
}

TermQueryBuilder holds TermQuery struct and provides a builder API.

func NewTermQueryBuilder ¶

func NewTermQueryBuilder() *TermQueryBuilder

NewTermQuery provides a builder for the TermQuery struct.

func (*TermQueryBuilder) Boost ¶

func (rb *TermQueryBuilder) Boost(boost float32) *TermQueryBuilder

func (*TermQueryBuilder) Build ¶

func (rb *TermQueryBuilder) Build() TermQuery

Build finalize the chain and returns the TermQuery struct

func (*TermQueryBuilder) CaseInsensitive ¶

func (rb *TermQueryBuilder) CaseInsensitive(caseinsensitive bool) *TermQueryBuilder

func (*TermQueryBuilder) QueryName_ ¶

func (rb *TermQueryBuilder) QueryName_(queryname_ string) *TermQueryBuilder

func (*TermQueryBuilder) Value ¶

type TermSuggest ¶

type TermSuggest struct {
	Length  int               `json:"length"`
	Offset  int               `json:"offset"`
	Options TermSuggestOption `json:"options"`
	Text    string            `json:"text"`
}

TermSuggest type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L62-L67

type TermSuggestBuilder ¶

type TermSuggestBuilder struct {
	// contains filtered or unexported fields
}

TermSuggestBuilder holds TermSuggest struct and provides a builder API.

func NewTermSuggestBuilder ¶

func NewTermSuggestBuilder() *TermSuggestBuilder

NewTermSuggest provides a builder for the TermSuggest struct.

func (*TermSuggestBuilder) Build ¶

func (rb *TermSuggestBuilder) Build() TermSuggest

Build finalize the chain and returns the TermSuggest struct

func (*TermSuggestBuilder) Length ¶

func (rb *TermSuggestBuilder) Length(length int) *TermSuggestBuilder

func (*TermSuggestBuilder) Offset ¶

func (rb *TermSuggestBuilder) Offset(offset int) *TermSuggestBuilder

func (*TermSuggestBuilder) Options ¶

func (*TermSuggestBuilder) Text ¶

type TermSuggestOptionBuilder ¶

type TermSuggestOptionBuilder struct {
	// contains filtered or unexported fields
}

TermSuggestOptionBuilder holds TermSuggestOption struct and provides a builder API.

func NewTermSuggestOptionBuilder ¶

func NewTermSuggestOptionBuilder() *TermSuggestOptionBuilder

NewTermSuggestOption provides a builder for the TermSuggestOption struct.

func (*TermSuggestOptionBuilder) Build ¶

Build finalize the chain and returns the TermSuggestOption struct

func (*TermSuggestOptionBuilder) Freq ¶

func (*TermSuggestOptionBuilder) Score ¶

func (*TermSuggestOptionBuilder) Text ¶

type TermSuggester ¶

type TermSuggester struct {
	Analyzer       *string                        `json:"analyzer,omitempty"`
	Field          Field                          `json:"field"`
	LowercaseTerms *bool                          `json:"lowercase_terms,omitempty"`
	MaxEdits       *int                           `json:"max_edits,omitempty"`
	MaxInspections *int                           `json:"max_inspections,omitempty"`
	MaxTermFreq    *float32                       `json:"max_term_freq,omitempty"`
	MinDocFreq     *float32                       `json:"min_doc_freq,omitempty"`
	MinWordLength  *int                           `json:"min_word_length,omitempty"`
	PrefixLength   *int                           `json:"prefix_length,omitempty"`
	ShardSize      *int                           `json:"shard_size,omitempty"`
	Size           *int                           `json:"size,omitempty"`
	Sort           *suggestsort.SuggestSort       `json:"sort,omitempty"`
	StringDistance *stringdistance.StringDistance `json:"string_distance,omitempty"`
	SuggestMode    *suggestmode.SuggestMode       `json:"suggest_mode,omitempty"`
	Text           *string                        `json:"text,omitempty"`
}

TermSuggester type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L247-L260

type TermSuggesterBuilder ¶

type TermSuggesterBuilder struct {
	// contains filtered or unexported fields
}

TermSuggesterBuilder holds TermSuggester struct and provides a builder API.

func NewTermSuggesterBuilder ¶

func NewTermSuggesterBuilder() *TermSuggesterBuilder

NewTermSuggester provides a builder for the TermSuggester struct.

func (*TermSuggesterBuilder) Analyzer ¶

func (rb *TermSuggesterBuilder) Analyzer(analyzer string) *TermSuggesterBuilder

func (*TermSuggesterBuilder) Build ¶

func (rb *TermSuggesterBuilder) Build() TermSuggester

Build finalize the chain and returns the TermSuggester struct

func (*TermSuggesterBuilder) Field ¶

func (*TermSuggesterBuilder) LowercaseTerms ¶

func (rb *TermSuggesterBuilder) LowercaseTerms(lowercaseterms bool) *TermSuggesterBuilder

func (*TermSuggesterBuilder) MaxEdits ¶

func (rb *TermSuggesterBuilder) MaxEdits(maxedits int) *TermSuggesterBuilder

func (*TermSuggesterBuilder) MaxInspections ¶

func (rb *TermSuggesterBuilder) MaxInspections(maxinspections int) *TermSuggesterBuilder

func (*TermSuggesterBuilder) MaxTermFreq ¶

func (rb *TermSuggesterBuilder) MaxTermFreq(maxtermfreq float32) *TermSuggesterBuilder

func (*TermSuggesterBuilder) MinDocFreq ¶

func (rb *TermSuggesterBuilder) MinDocFreq(mindocfreq float32) *TermSuggesterBuilder

func (*TermSuggesterBuilder) MinWordLength ¶

func (rb *TermSuggesterBuilder) MinWordLength(minwordlength int) *TermSuggesterBuilder

func (*TermSuggesterBuilder) PrefixLength ¶

func (rb *TermSuggesterBuilder) PrefixLength(prefixlength int) *TermSuggesterBuilder

func (*TermSuggesterBuilder) ShardSize ¶

func (rb *TermSuggesterBuilder) ShardSize(shardsize int) *TermSuggesterBuilder

func (*TermSuggesterBuilder) Size ¶

func (*TermSuggesterBuilder) Sort ¶

func (*TermSuggesterBuilder) StringDistance ¶

func (rb *TermSuggesterBuilder) StringDistance(stringdistance stringdistance.StringDistance) *TermSuggesterBuilder

func (*TermSuggesterBuilder) SuggestMode ¶

func (rb *TermSuggesterBuilder) SuggestMode(suggestmode suggestmode.SuggestMode) *TermSuggesterBuilder

func (*TermSuggesterBuilder) Text ¶

type TermVectorBuilder ¶

type TermVectorBuilder struct {
	// contains filtered or unexported fields
}

TermVectorBuilder holds TermVector struct and provides a builder API.

func NewTermVectorBuilder ¶

func NewTermVectorBuilder() *TermVectorBuilder

NewTermVector provides a builder for the TermVector struct.

func (*TermVectorBuilder) Build ¶

func (rb *TermVectorBuilder) Build() TermVector

Build finalize the chain and returns the TermVector struct

func (*TermVectorBuilder) FieldStatistics ¶

func (rb *TermVectorBuilder) FieldStatistics(fieldstatistics *FieldStatisticsBuilder) *TermVectorBuilder

func (*TermVectorBuilder) Terms ¶

func (rb *TermVectorBuilder) Terms(values map[string]*TermBuilder) *TermVectorBuilder

type TermVectorsResult ¶

type TermVectorsResult struct {
	Error       *ErrorCause          `json:"error,omitempty"`
	Found       *bool                `json:"found,omitempty"`
	Id_         Id                   `json:"_id"`
	Index_      IndexName            `json:"_index"`
	TermVectors map[Field]TermVector `json:"term_vectors,omitempty"`
	Took        *int64               `json:"took,omitempty"`
	Version_    *VersionNumber       `json:"_version,omitempty"`
}

TermVectorsResult type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/mtermvectors/types.ts#L51-L59

type TermVectorsResultBuilder ¶

type TermVectorsResultBuilder struct {
	// contains filtered or unexported fields
}

TermVectorsResultBuilder holds TermVectorsResult struct and provides a builder API.

func NewTermVectorsResultBuilder ¶

func NewTermVectorsResultBuilder() *TermVectorsResultBuilder

NewTermVectorsResult provides a builder for the TermVectorsResult struct.

func (*TermVectorsResultBuilder) Build ¶

Build finalize the chain and returns the TermVectorsResult struct

func (*TermVectorsResultBuilder) Error ¶

func (*TermVectorsResultBuilder) Found ¶

func (*TermVectorsResultBuilder) Id_ ¶

func (*TermVectorsResultBuilder) Index_ ¶

func (*TermVectorsResultBuilder) TermVectors ¶

func (*TermVectorsResultBuilder) Took ¶

func (*TermVectorsResultBuilder) Version_ ¶

type TermsAggregateBaseDoubleTermsBucket ¶

type TermsAggregateBaseDoubleTermsBucket struct {
	Buckets                 BucketsDoubleTermsBucket `json:"buckets"`
	DocCountErrorUpperBound *int64                   `json:"doc_count_error_upper_bound,omitempty"`
	Meta                    *Metadata                `json:"meta,omitempty"`
	SumOtherDocCount        int64                    `json:"sum_other_doc_count"`
}

TermsAggregateBaseDoubleTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L364-L369

type TermsAggregateBaseDoubleTermsBucketBuilder ¶

type TermsAggregateBaseDoubleTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

TermsAggregateBaseDoubleTermsBucketBuilder holds TermsAggregateBaseDoubleTermsBucket struct and provides a builder API.

func NewTermsAggregateBaseDoubleTermsBucketBuilder ¶

func NewTermsAggregateBaseDoubleTermsBucketBuilder() *TermsAggregateBaseDoubleTermsBucketBuilder

NewTermsAggregateBaseDoubleTermsBucket provides a builder for the TermsAggregateBaseDoubleTermsBucket struct.

func (*TermsAggregateBaseDoubleTermsBucketBuilder) Buckets ¶

func (*TermsAggregateBaseDoubleTermsBucketBuilder) Build ¶

Build finalize the chain and returns the TermsAggregateBaseDoubleTermsBucket struct

func (*TermsAggregateBaseDoubleTermsBucketBuilder) DocCountErrorUpperBound ¶

func (rb *TermsAggregateBaseDoubleTermsBucketBuilder) DocCountErrorUpperBound(doccounterrorupperbound int64) *TermsAggregateBaseDoubleTermsBucketBuilder

func (*TermsAggregateBaseDoubleTermsBucketBuilder) Meta ¶

func (*TermsAggregateBaseDoubleTermsBucketBuilder) SumOtherDocCount ¶

type TermsAggregateBaseLongTermsBucket ¶

type TermsAggregateBaseLongTermsBucket struct {
	Buckets                 BucketsLongTermsBucket `json:"buckets"`
	DocCountErrorUpperBound *int64                 `json:"doc_count_error_upper_bound,omitempty"`
	Meta                    *Metadata              `json:"meta,omitempty"`
	SumOtherDocCount        int64                  `json:"sum_other_doc_count"`
}

TermsAggregateBaseLongTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L364-L369

type TermsAggregateBaseLongTermsBucketBuilder ¶

type TermsAggregateBaseLongTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

TermsAggregateBaseLongTermsBucketBuilder holds TermsAggregateBaseLongTermsBucket struct and provides a builder API.

func NewTermsAggregateBaseLongTermsBucketBuilder ¶

func NewTermsAggregateBaseLongTermsBucketBuilder() *TermsAggregateBaseLongTermsBucketBuilder

NewTermsAggregateBaseLongTermsBucket provides a builder for the TermsAggregateBaseLongTermsBucket struct.

func (*TermsAggregateBaseLongTermsBucketBuilder) Buckets ¶

func (*TermsAggregateBaseLongTermsBucketBuilder) Build ¶

Build finalize the chain and returns the TermsAggregateBaseLongTermsBucket struct

func (*TermsAggregateBaseLongTermsBucketBuilder) DocCountErrorUpperBound ¶

func (rb *TermsAggregateBaseLongTermsBucketBuilder) DocCountErrorUpperBound(doccounterrorupperbound int64) *TermsAggregateBaseLongTermsBucketBuilder

func (*TermsAggregateBaseLongTermsBucketBuilder) Meta ¶

func (*TermsAggregateBaseLongTermsBucketBuilder) SumOtherDocCount ¶

type TermsAggregateBaseMultiTermsBucket ¶

type TermsAggregateBaseMultiTermsBucket struct {
	Buckets                 BucketsMultiTermsBucket `json:"buckets"`
	DocCountErrorUpperBound *int64                  `json:"doc_count_error_upper_bound,omitempty"`
	Meta                    *Metadata               `json:"meta,omitempty"`
	SumOtherDocCount        int64                   `json:"sum_other_doc_count"`
}

TermsAggregateBaseMultiTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L364-L369

type TermsAggregateBaseMultiTermsBucketBuilder ¶

type TermsAggregateBaseMultiTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

TermsAggregateBaseMultiTermsBucketBuilder holds TermsAggregateBaseMultiTermsBucket struct and provides a builder API.

func NewTermsAggregateBaseMultiTermsBucketBuilder ¶

func NewTermsAggregateBaseMultiTermsBucketBuilder() *TermsAggregateBaseMultiTermsBucketBuilder

NewTermsAggregateBaseMultiTermsBucket provides a builder for the TermsAggregateBaseMultiTermsBucket struct.

func (*TermsAggregateBaseMultiTermsBucketBuilder) Buckets ¶

func (*TermsAggregateBaseMultiTermsBucketBuilder) Build ¶

Build finalize the chain and returns the TermsAggregateBaseMultiTermsBucket struct

func (*TermsAggregateBaseMultiTermsBucketBuilder) DocCountErrorUpperBound ¶

func (rb *TermsAggregateBaseMultiTermsBucketBuilder) DocCountErrorUpperBound(doccounterrorupperbound int64) *TermsAggregateBaseMultiTermsBucketBuilder

func (*TermsAggregateBaseMultiTermsBucketBuilder) Meta ¶

func (*TermsAggregateBaseMultiTermsBucketBuilder) SumOtherDocCount ¶

type TermsAggregateBaseStringTermsBucket ¶

type TermsAggregateBaseStringTermsBucket struct {
	Buckets                 BucketsStringTermsBucket `json:"buckets"`
	DocCountErrorUpperBound *int64                   `json:"doc_count_error_upper_bound,omitempty"`
	Meta                    *Metadata                `json:"meta,omitempty"`
	SumOtherDocCount        int64                    `json:"sum_other_doc_count"`
}

TermsAggregateBaseStringTermsBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L364-L369

type TermsAggregateBaseStringTermsBucketBuilder ¶

type TermsAggregateBaseStringTermsBucketBuilder struct {
	// contains filtered or unexported fields
}

TermsAggregateBaseStringTermsBucketBuilder holds TermsAggregateBaseStringTermsBucket struct and provides a builder API.

func NewTermsAggregateBaseStringTermsBucketBuilder ¶

func NewTermsAggregateBaseStringTermsBucketBuilder() *TermsAggregateBaseStringTermsBucketBuilder

NewTermsAggregateBaseStringTermsBucket provides a builder for the TermsAggregateBaseStringTermsBucket struct.

func (*TermsAggregateBaseStringTermsBucketBuilder) Buckets ¶

func (*TermsAggregateBaseStringTermsBucketBuilder) Build ¶

Build finalize the chain and returns the TermsAggregateBaseStringTermsBucket struct

func (*TermsAggregateBaseStringTermsBucketBuilder) DocCountErrorUpperBound ¶

func (rb *TermsAggregateBaseStringTermsBucketBuilder) DocCountErrorUpperBound(doccounterrorupperbound int64) *TermsAggregateBaseStringTermsBucketBuilder

func (*TermsAggregateBaseStringTermsBucketBuilder) Meta ¶

func (*TermsAggregateBaseStringTermsBucketBuilder) SumOtherDocCount ¶

type TermsAggregateBaseVoid ¶

type TermsAggregateBaseVoid struct {
	Buckets                 BucketsVoid `json:"buckets"`
	DocCountErrorUpperBound *int64      `json:"doc_count_error_upper_bound,omitempty"`
	Meta                    *Metadata   `json:"meta,omitempty"`
	SumOtherDocCount        int64       `json:"sum_other_doc_count"`
}

TermsAggregateBaseVoid type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L364-L369

type TermsAggregateBaseVoidBuilder ¶

type TermsAggregateBaseVoidBuilder struct {
	// contains filtered or unexported fields
}

TermsAggregateBaseVoidBuilder holds TermsAggregateBaseVoid struct and provides a builder API.

func NewTermsAggregateBaseVoidBuilder ¶

func NewTermsAggregateBaseVoidBuilder() *TermsAggregateBaseVoidBuilder

NewTermsAggregateBaseVoid provides a builder for the TermsAggregateBaseVoid struct.

func (*TermsAggregateBaseVoidBuilder) Buckets ¶

func (*TermsAggregateBaseVoidBuilder) Build ¶

Build finalize the chain and returns the TermsAggregateBaseVoid struct

func (*TermsAggregateBaseVoidBuilder) DocCountErrorUpperBound ¶

func (rb *TermsAggregateBaseVoidBuilder) DocCountErrorUpperBound(doccounterrorupperbound int64) *TermsAggregateBaseVoidBuilder

func (*TermsAggregateBaseVoidBuilder) Meta ¶

func (*TermsAggregateBaseVoidBuilder) SumOtherDocCount ¶

func (rb *TermsAggregateBaseVoidBuilder) SumOtherDocCount(sumotherdoccount int64) *TermsAggregateBaseVoidBuilder

type TermsAggregation ¶

type TermsAggregation struct {
	CollectMode           *termsaggregationcollectmode.TermsAggregationCollectMode     `json:"collect_mode,omitempty"`
	Exclude               *TermsExclude                                                `json:"exclude,omitempty"`
	ExecutionHint         *termsaggregationexecutionhint.TermsAggregationExecutionHint `json:"execution_hint,omitempty"`
	Field                 *Field                                                       `json:"field,omitempty"`
	Format                *string                                                      `json:"format,omitempty"`
	Include               *TermsInclude                                                `json:"include,omitempty"`
	Meta                  *Metadata                                                    `json:"meta,omitempty"`
	MinDocCount           *int                                                         `json:"min_doc_count,omitempty"`
	Missing               *Missing                                                     `json:"missing,omitempty"`
	MissingBucket         *bool                                                        `json:"missing_bucket,omitempty"`
	MissingOrder          *missingorder.MissingOrder                                   `json:"missing_order,omitempty"`
	Name                  *string                                                      `json:"name,omitempty"`
	Order                 *AggregateOrder                                              `json:"order,omitempty"`
	Script                *Script                                                      `json:"script,omitempty"`
	ShardSize             *int                                                         `json:"shard_size,omitempty"`
	ShowTermDocCountError *bool                                                        `json:"show_term_doc_count_error,omitempty"`
	Size                  *int                                                         `json:"size,omitempty"`
	ValueType             *string                                                      `json:"value_type,omitempty"`
}

TermsAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L376-L393

type TermsAggregationBuilder ¶

type TermsAggregationBuilder struct {
	// contains filtered or unexported fields
}

TermsAggregationBuilder holds TermsAggregation struct and provides a builder API.

func NewTermsAggregationBuilder ¶

func NewTermsAggregationBuilder() *TermsAggregationBuilder

NewTermsAggregation provides a builder for the TermsAggregation struct.

func (*TermsAggregationBuilder) Build ¶

Build finalize the chain and returns the TermsAggregation struct

func (*TermsAggregationBuilder) Exclude ¶

func (*TermsAggregationBuilder) Field ¶

func (*TermsAggregationBuilder) Format ¶

func (*TermsAggregationBuilder) Include ¶

func (*TermsAggregationBuilder) Meta ¶

func (*TermsAggregationBuilder) MinDocCount ¶

func (rb *TermsAggregationBuilder) MinDocCount(mindoccount int) *TermsAggregationBuilder

func (*TermsAggregationBuilder) Missing ¶

func (*TermsAggregationBuilder) MissingBucket ¶

func (rb *TermsAggregationBuilder) MissingBucket(missingbucket bool) *TermsAggregationBuilder

func (*TermsAggregationBuilder) MissingOrder ¶

func (*TermsAggregationBuilder) Name ¶

func (*TermsAggregationBuilder) Order ¶

func (*TermsAggregationBuilder) Script ¶

func (*TermsAggregationBuilder) ShardSize ¶

func (rb *TermsAggregationBuilder) ShardSize(shardsize int) *TermsAggregationBuilder

func (*TermsAggregationBuilder) ShowTermDocCountError ¶

func (rb *TermsAggregationBuilder) ShowTermDocCountError(showtermdoccounterror bool) *TermsAggregationBuilder

func (*TermsAggregationBuilder) Size ¶

func (*TermsAggregationBuilder) ValueType ¶

func (rb *TermsAggregationBuilder) ValueType(valuetype string) *TermsAggregationBuilder

type TermsBucketBase ¶

type TermsBucketBase struct {
	Aggregations  map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount      int64                       `json:"doc_count"`
	DocCountError *int64                      `json:"doc_count_error,omitempty"`
}

TermsBucketBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L378-L380

type TermsBucketBaseBuilder ¶

type TermsBucketBaseBuilder struct {
	// contains filtered or unexported fields
}

TermsBucketBaseBuilder holds TermsBucketBase struct and provides a builder API.

func NewTermsBucketBaseBuilder ¶

func NewTermsBucketBaseBuilder() *TermsBucketBaseBuilder

NewTermsBucketBase provides a builder for the TermsBucketBase struct.

func (*TermsBucketBaseBuilder) Aggregations ¶

func (*TermsBucketBaseBuilder) Build ¶

Build finalize the chain and returns the TermsBucketBase struct

func (*TermsBucketBaseBuilder) DocCount ¶

func (rb *TermsBucketBaseBuilder) DocCount(doccount int64) *TermsBucketBaseBuilder

func (*TermsBucketBaseBuilder) DocCountError ¶

func (rb *TermsBucketBaseBuilder) DocCountError(doccounterror int64) *TermsBucketBaseBuilder

type TermsExcludeBuilder ¶

type TermsExcludeBuilder struct {
	// contains filtered or unexported fields
}

TermsExcludeBuilder holds TermsExclude struct and provides a builder API.

func NewTermsExcludeBuilder ¶

func NewTermsExcludeBuilder() *TermsExcludeBuilder

NewTermsExclude provides a builder for the TermsExclude struct.

func (*TermsExcludeBuilder) Build ¶

func (b *TermsExcludeBuilder) Build() TermsExclude

Build finalize the chain and returns the TermsExclude struct

func (*TermsExcludeBuilder) TermsExclude ¶

func (b *TermsExcludeBuilder) TermsExclude(value TermsExclude) *TermsExcludeBuilder

type TermsGroupingBuilder ¶

type TermsGroupingBuilder struct {
	// contains filtered or unexported fields
}

TermsGroupingBuilder holds TermsGrouping struct and provides a builder API.

func NewTermsGroupingBuilder ¶

func NewTermsGroupingBuilder() *TermsGroupingBuilder

NewTermsGrouping provides a builder for the TermsGrouping struct.

func (*TermsGroupingBuilder) Build ¶

func (rb *TermsGroupingBuilder) Build() TermsGrouping

Build finalize the chain and returns the TermsGrouping struct

func (*TermsGroupingBuilder) Fields ¶

type TermsInclude ¶

type TermsInclude interface{}

TermsInclude holds the union for the following types:

string
[]string
TermsPartition

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L415-L416

type TermsIncludeBuilder ¶

type TermsIncludeBuilder struct {
	// contains filtered or unexported fields
}

TermsIncludeBuilder holds TermsInclude struct and provides a builder API.

func NewTermsIncludeBuilder ¶

func NewTermsIncludeBuilder() *TermsIncludeBuilder

NewTermsInclude provides a builder for the TermsInclude struct.

func (*TermsIncludeBuilder) Build ¶

func (u *TermsIncludeBuilder) Build() TermsInclude

Build finalize the chain and returns the TermsInclude struct

func (*TermsIncludeBuilder) String ¶

func (u *TermsIncludeBuilder) String(string string) *TermsIncludeBuilder

func (*TermsIncludeBuilder) Strings ¶

func (u *TermsIncludeBuilder) Strings(strings ...string) *TermsIncludeBuilder

func (*TermsIncludeBuilder) TermsPartition ¶

func (u *TermsIncludeBuilder) TermsPartition(termspartition *TermsPartitionBuilder) *TermsIncludeBuilder

type TermsLookup ¶

type TermsLookup struct {
	Id      Id        `json:"id"`
	Index   IndexName `json:"index"`
	Path    Field     `json:"path"`
	Routing *Routing  `json:"routing,omitempty"`
}

TermsLookup type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L141-L146

type TermsLookupBuilder ¶

type TermsLookupBuilder struct {
	// contains filtered or unexported fields
}

TermsLookupBuilder holds TermsLookup struct and provides a builder API.

func NewTermsLookupBuilder ¶

func NewTermsLookupBuilder() *TermsLookupBuilder

NewTermsLookup provides a builder for the TermsLookup struct.

func (*TermsLookupBuilder) Build ¶

func (rb *TermsLookupBuilder) Build() TermsLookup

Build finalize the chain and returns the TermsLookup struct

func (*TermsLookupBuilder) Id ¶

func (*TermsLookupBuilder) Index ¶

func (*TermsLookupBuilder) Path ¶

func (*TermsLookupBuilder) Routing ¶

func (rb *TermsLookupBuilder) Routing(routing Routing) *TermsLookupBuilder

type TermsPartition ¶

type TermsPartition struct {
	NumPartitions int64 `json:"num_partitions"`
	Partition     int64 `json:"partition"`
}

TermsPartition type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L421-L424

type TermsPartitionBuilder ¶

type TermsPartitionBuilder struct {
	// contains filtered or unexported fields
}

TermsPartitionBuilder holds TermsPartition struct and provides a builder API.

func NewTermsPartitionBuilder ¶

func NewTermsPartitionBuilder() *TermsPartitionBuilder

NewTermsPartition provides a builder for the TermsPartition struct.

func (*TermsPartitionBuilder) Build ¶

Build finalize the chain and returns the TermsPartition struct

func (*TermsPartitionBuilder) NumPartitions ¶

func (rb *TermsPartitionBuilder) NumPartitions(numpartitions int64) *TermsPartitionBuilder

func (*TermsPartitionBuilder) Partition ¶

func (rb *TermsPartitionBuilder) Partition(partition int64) *TermsPartitionBuilder

type TermsQuery ¶

type TermsQuery struct {
	Boost      *float32                  `json:"boost,omitempty"`
	QueryName_ *string                   `json:"_name,omitempty"`
	TermsQuery map[Field]TermsQueryField `json:"TermsQuery,omitempty"`
}

TermsQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L132-L134

type TermsQueryBuilder ¶

type TermsQueryBuilder struct {
	// contains filtered or unexported fields
}

TermsQueryBuilder holds TermsQuery struct and provides a builder API.

func NewTermsQueryBuilder ¶

func NewTermsQueryBuilder() *TermsQueryBuilder

NewTermsQuery provides a builder for the TermsQuery struct.

func (*TermsQueryBuilder) Boost ¶

func (rb *TermsQueryBuilder) Boost(boost float32) *TermsQueryBuilder

func (*TermsQueryBuilder) Build ¶

func (rb *TermsQueryBuilder) Build() TermsQuery

Build finalize the chain and returns the TermsQuery struct

func (*TermsQueryBuilder) QueryName_ ¶

func (rb *TermsQueryBuilder) QueryName_(queryname_ string) *TermsQueryBuilder

func (*TermsQueryBuilder) TermsQuery ¶

func (rb *TermsQueryBuilder) TermsQuery(values map[Field]*TermsQueryFieldBuilder) *TermsQueryBuilder

type TermsQueryField ¶

type TermsQueryField interface{}

TermsQueryField holds the union for the following types:

[]FieldValue
TermsLookup

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L136-L139

type TermsQueryFieldBuilder ¶

type TermsQueryFieldBuilder struct {
	// contains filtered or unexported fields
}

TermsQueryFieldBuilder holds TermsQueryField struct and provides a builder API.

func NewTermsQueryFieldBuilder ¶

func NewTermsQueryFieldBuilder() *TermsQueryFieldBuilder

NewTermsQueryField provides a builder for the TermsQueryField struct.

func (*TermsQueryFieldBuilder) Build ¶

Build finalize the chain and returns the TermsQueryField struct

func (*TermsQueryFieldBuilder) FieldValues ¶

func (u *TermsQueryFieldBuilder) FieldValues(fieldvalues ...FieldValue) *TermsQueryFieldBuilder

func (*TermsQueryFieldBuilder) TermsLookup ¶

type TermsSetQuery ¶

type TermsSetQuery struct {
	Boost                    *float32 `json:"boost,omitempty"`
	MinimumShouldMatchField  *Field   `json:"minimum_should_match_field,omitempty"`
	MinimumShouldMatchScript *Script  `json:"minimum_should_match_script,omitempty"`
	QueryName_               *string  `json:"_name,omitempty"`
	Terms                    []string `json:"terms"`
}

TermsSetQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L148-L152

type TermsSetQueryBuilder ¶

type TermsSetQueryBuilder struct {
	// contains filtered or unexported fields
}

TermsSetQueryBuilder holds TermsSetQuery struct and provides a builder API.

func NewTermsSetQueryBuilder ¶

func NewTermsSetQueryBuilder() *TermsSetQueryBuilder

NewTermsSetQuery provides a builder for the TermsSetQuery struct.

func (*TermsSetQueryBuilder) Boost ¶

func (*TermsSetQueryBuilder) Build ¶

func (rb *TermsSetQueryBuilder) Build() TermsSetQuery

Build finalize the chain and returns the TermsSetQuery struct

func (*TermsSetQueryBuilder) MinimumShouldMatchField ¶

func (rb *TermsSetQueryBuilder) MinimumShouldMatchField(minimumshouldmatchfield Field) *TermsSetQueryBuilder

func (*TermsSetQueryBuilder) MinimumShouldMatchScript ¶

func (rb *TermsSetQueryBuilder) MinimumShouldMatchScript(minimumshouldmatchscript *ScriptBuilder) *TermsSetQueryBuilder

func (*TermsSetQueryBuilder) QueryName_ ¶

func (rb *TermsSetQueryBuilder) QueryName_(queryname_ string) *TermsSetQueryBuilder

func (*TermsSetQueryBuilder) Terms ¶

func (rb *TermsSetQueryBuilder) Terms(terms ...string) *TermsSetQueryBuilder

type TestPopulation ¶

type TestPopulation struct {
	Field  Field           `json:"field"`
	Filter *QueryContainer `json:"filter,omitempty"`
	Script *Script         `json:"script,omitempty"`
}

TestPopulation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L150-L154

type TestPopulationBuilder ¶

type TestPopulationBuilder struct {
	// contains filtered or unexported fields
}

TestPopulationBuilder holds TestPopulation struct and provides a builder API.

func NewTestPopulationBuilder ¶

func NewTestPopulationBuilder() *TestPopulationBuilder

NewTestPopulation provides a builder for the TestPopulation struct.

func (*TestPopulationBuilder) Build ¶

Build finalize the chain and returns the TestPopulation struct

func (*TestPopulationBuilder) Field ¶

func (*TestPopulationBuilder) Filter ¶

func (*TestPopulationBuilder) Script ¶

type TextClassificationInferenceOptions ¶

type TextClassificationInferenceOptions struct {
	// ClassificationLabels Classification labels to apply other than the stored labels. Must have the
	// same deminsions as the default configured labels
	ClassificationLabels []string `json:"classification_labels,omitempty"`
	// NumTopClasses Specifies the number of top class predictions to return. Defaults to 0.
	NumTopClasses *int `json:"num_top_classes,omitempty"`
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string `json:"results_field,omitempty"`
	// Tokenization The tokenization options
	Tokenization *TokenizationConfigContainer `json:"tokenization,omitempty"`
}

TextClassificationInferenceOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L174-L184

type TextClassificationInferenceOptionsBuilder ¶

type TextClassificationInferenceOptionsBuilder struct {
	// contains filtered or unexported fields
}

TextClassificationInferenceOptionsBuilder holds TextClassificationInferenceOptions struct and provides a builder API.

func NewTextClassificationInferenceOptionsBuilder ¶

func NewTextClassificationInferenceOptionsBuilder() *TextClassificationInferenceOptionsBuilder

NewTextClassificationInferenceOptions provides a builder for the TextClassificationInferenceOptions struct.

func (*TextClassificationInferenceOptionsBuilder) Build ¶

Build finalize the chain and returns the TextClassificationInferenceOptions struct

func (*TextClassificationInferenceOptionsBuilder) ClassificationLabels ¶

func (rb *TextClassificationInferenceOptionsBuilder) ClassificationLabels(classification_labels ...string) *TextClassificationInferenceOptionsBuilder

func (*TextClassificationInferenceOptionsBuilder) NumTopClasses ¶

func (*TextClassificationInferenceOptionsBuilder) ResultsField ¶

func (*TextClassificationInferenceOptionsBuilder) Tokenization ¶

type TextClassificationInferenceUpdateOptions ¶

type TextClassificationInferenceUpdateOptions struct {
	// ClassificationLabels Classification labels to apply other than the stored labels. Must have the
	// same deminsions as the default configured labels
	ClassificationLabels []string `json:"classification_labels,omitempty"`
	// NumTopClasses Specifies the number of top class predictions to return. Defaults to 0.
	NumTopClasses *int `json:"num_top_classes,omitempty"`
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string `json:"results_field,omitempty"`
	// Tokenization The tokenization options to update when inferring
	Tokenization *NlpTokenizationUpdateOptions `json:"tokenization,omitempty"`
}

TextClassificationInferenceUpdateOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L322-L331

type TextClassificationInferenceUpdateOptionsBuilder ¶

type TextClassificationInferenceUpdateOptionsBuilder struct {
	// contains filtered or unexported fields
}

TextClassificationInferenceUpdateOptionsBuilder holds TextClassificationInferenceUpdateOptions struct and provides a builder API.

func NewTextClassificationInferenceUpdateOptionsBuilder ¶

func NewTextClassificationInferenceUpdateOptionsBuilder() *TextClassificationInferenceUpdateOptionsBuilder

NewTextClassificationInferenceUpdateOptions provides a builder for the TextClassificationInferenceUpdateOptions struct.

func (*TextClassificationInferenceUpdateOptionsBuilder) Build ¶

Build finalize the chain and returns the TextClassificationInferenceUpdateOptions struct

func (*TextClassificationInferenceUpdateOptionsBuilder) ClassificationLabels ¶

func (*TextClassificationInferenceUpdateOptionsBuilder) NumTopClasses ¶

func (*TextClassificationInferenceUpdateOptionsBuilder) ResultsField ¶

func (*TextClassificationInferenceUpdateOptionsBuilder) Tokenization ¶

type TextEmbeddingInferenceOptions ¶

type TextEmbeddingInferenceOptions struct {
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string `json:"results_field,omitempty"`
	// Tokenization The tokenization options
	Tokenization *TokenizationConfigContainer `json:"tokenization,omitempty"`
}

TextEmbeddingInferenceOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L217-L223

type TextEmbeddingInferenceOptionsBuilder ¶

type TextEmbeddingInferenceOptionsBuilder struct {
	// contains filtered or unexported fields
}

TextEmbeddingInferenceOptionsBuilder holds TextEmbeddingInferenceOptions struct and provides a builder API.

func NewTextEmbeddingInferenceOptionsBuilder ¶

func NewTextEmbeddingInferenceOptionsBuilder() *TextEmbeddingInferenceOptionsBuilder

NewTextEmbeddingInferenceOptions provides a builder for the TextEmbeddingInferenceOptions struct.

func (*TextEmbeddingInferenceOptionsBuilder) Build ¶

Build finalize the chain and returns the TextEmbeddingInferenceOptions struct

func (*TextEmbeddingInferenceOptionsBuilder) ResultsField ¶

func (*TextEmbeddingInferenceOptionsBuilder) Tokenization ¶

type TextEmbeddingInferenceUpdateOptions ¶

type TextEmbeddingInferenceUpdateOptions struct {
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string                       `json:"results_field,omitempty"`
	Tokenization *NlpTokenizationUpdateOptions `json:"tokenization,omitempty"`
}

TextEmbeddingInferenceUpdateOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L351-L355

type TextEmbeddingInferenceUpdateOptionsBuilder ¶

type TextEmbeddingInferenceUpdateOptionsBuilder struct {
	// contains filtered or unexported fields
}

TextEmbeddingInferenceUpdateOptionsBuilder holds TextEmbeddingInferenceUpdateOptions struct and provides a builder API.

func NewTextEmbeddingInferenceUpdateOptionsBuilder ¶

func NewTextEmbeddingInferenceUpdateOptionsBuilder() *TextEmbeddingInferenceUpdateOptionsBuilder

NewTextEmbeddingInferenceUpdateOptions provides a builder for the TextEmbeddingInferenceUpdateOptions struct.

func (*TextEmbeddingInferenceUpdateOptionsBuilder) Build ¶

Build finalize the chain and returns the TextEmbeddingInferenceUpdateOptions struct

func (*TextEmbeddingInferenceUpdateOptionsBuilder) ResultsField ¶

func (*TextEmbeddingInferenceUpdateOptionsBuilder) Tokenization ¶

type TextIndexPrefixes ¶

type TextIndexPrefixes struct {
	MaxChars int `json:"max_chars"`
	MinChars int `json:"min_chars"`
}

TextIndexPrefixes type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L231-L234

type TextIndexPrefixesBuilder ¶

type TextIndexPrefixesBuilder struct {
	// contains filtered or unexported fields
}

TextIndexPrefixesBuilder holds TextIndexPrefixes struct and provides a builder API.

func NewTextIndexPrefixesBuilder ¶

func NewTextIndexPrefixesBuilder() *TextIndexPrefixesBuilder

NewTextIndexPrefixes provides a builder for the TextIndexPrefixes struct.

func (*TextIndexPrefixesBuilder) Build ¶

Build finalize the chain and returns the TextIndexPrefixes struct

func (*TextIndexPrefixesBuilder) MaxChars ¶

func (rb *TextIndexPrefixesBuilder) MaxChars(maxchars int) *TextIndexPrefixesBuilder

func (*TextIndexPrefixesBuilder) MinChars ¶

func (rb *TextIndexPrefixesBuilder) MinChars(minchars int) *TextIndexPrefixesBuilder

type TextProperty ¶

type TextProperty struct {
	Analyzer                 *string                            `json:"analyzer,omitempty"`
	Boost                    *float64                           `json:"boost,omitempty"`
	CopyTo                   *Fields                            `json:"copy_to,omitempty"`
	Dynamic                  *dynamicmapping.DynamicMapping     `json:"dynamic,omitempty"`
	EagerGlobalOrdinals      *bool                              `json:"eager_global_ordinals,omitempty"`
	Fielddata                *bool                              `json:"fielddata,omitempty"`
	FielddataFrequencyFilter *FielddataFrequencyFilter          `json:"fielddata_frequency_filter,omitempty"`
	Fields                   map[PropertyName]Property          `json:"fields,omitempty"`
	IgnoreAbove              *int                               `json:"ignore_above,omitempty"`
	Index                    *bool                              `json:"index,omitempty"`
	IndexOptions             *indexoptions.IndexOptions         `json:"index_options,omitempty"`
	IndexPhrases             *bool                              `json:"index_phrases,omitempty"`
	IndexPrefixes            *TextIndexPrefixes                 `json:"index_prefixes,omitempty"`
	LocalMetadata            *Metadata                          `json:"local_metadata,omitempty"`
	Meta                     map[string]string                  `json:"meta,omitempty"`
	Norms                    *bool                              `json:"norms,omitempty"`
	PositionIncrementGap     *int                               `json:"position_increment_gap,omitempty"`
	Properties               map[PropertyName]Property          `json:"properties,omitempty"`
	SearchAnalyzer           *string                            `json:"search_analyzer,omitempty"`
	SearchQuoteAnalyzer      *string                            `json:"search_quote_analyzer,omitempty"`
	Similarity               *string                            `json:"similarity,omitempty"`
	Store                    *bool                              `json:"store,omitempty"`
	TermVector               *termvectoroption.TermVectorOption `json:"term_vector,omitempty"`
	Type                     string                             `json:"type,omitempty"`
}

TextProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L236-L252

type TextPropertyBuilder ¶

type TextPropertyBuilder struct {
	// contains filtered or unexported fields
}

TextPropertyBuilder holds TextProperty struct and provides a builder API.

func NewTextPropertyBuilder ¶

func NewTextPropertyBuilder() *TextPropertyBuilder

NewTextProperty provides a builder for the TextProperty struct.

func (*TextPropertyBuilder) Analyzer ¶

func (rb *TextPropertyBuilder) Analyzer(analyzer string) *TextPropertyBuilder

func (*TextPropertyBuilder) Boost ¶

func (*TextPropertyBuilder) Build ¶

func (rb *TextPropertyBuilder) Build() TextProperty

Build finalize the chain and returns the TextProperty struct

func (*TextPropertyBuilder) CopyTo ¶

func (*TextPropertyBuilder) Dynamic ¶

func (*TextPropertyBuilder) EagerGlobalOrdinals ¶

func (rb *TextPropertyBuilder) EagerGlobalOrdinals(eagerglobalordinals bool) *TextPropertyBuilder

func (*TextPropertyBuilder) Fielddata ¶

func (rb *TextPropertyBuilder) Fielddata(fielddata bool) *TextPropertyBuilder

func (*TextPropertyBuilder) FielddataFrequencyFilter ¶

func (rb *TextPropertyBuilder) FielddataFrequencyFilter(fielddatafrequencyfilter *FielddataFrequencyFilterBuilder) *TextPropertyBuilder

func (*TextPropertyBuilder) Fields ¶

func (*TextPropertyBuilder) IgnoreAbove ¶

func (rb *TextPropertyBuilder) IgnoreAbove(ignoreabove int) *TextPropertyBuilder

func (*TextPropertyBuilder) Index ¶

func (rb *TextPropertyBuilder) Index(index bool) *TextPropertyBuilder

func (*TextPropertyBuilder) IndexOptions ¶

func (rb *TextPropertyBuilder) IndexOptions(indexoptions indexoptions.IndexOptions) *TextPropertyBuilder

func (*TextPropertyBuilder) IndexPhrases ¶

func (rb *TextPropertyBuilder) IndexPhrases(indexphrases bool) *TextPropertyBuilder

func (*TextPropertyBuilder) IndexPrefixes ¶

func (rb *TextPropertyBuilder) IndexPrefixes(indexprefixes *TextIndexPrefixesBuilder) *TextPropertyBuilder

func (*TextPropertyBuilder) LocalMetadata ¶

func (rb *TextPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *TextPropertyBuilder

func (*TextPropertyBuilder) Meta ¶

func (*TextPropertyBuilder) Norms ¶

func (rb *TextPropertyBuilder) Norms(norms bool) *TextPropertyBuilder

func (*TextPropertyBuilder) PositionIncrementGap ¶

func (rb *TextPropertyBuilder) PositionIncrementGap(positionincrementgap int) *TextPropertyBuilder

func (*TextPropertyBuilder) Properties ¶

func (*TextPropertyBuilder) SearchAnalyzer ¶

func (rb *TextPropertyBuilder) SearchAnalyzer(searchanalyzer string) *TextPropertyBuilder

func (*TextPropertyBuilder) SearchQuoteAnalyzer ¶

func (rb *TextPropertyBuilder) SearchQuoteAnalyzer(searchquoteanalyzer string) *TextPropertyBuilder

func (*TextPropertyBuilder) Similarity ¶

func (rb *TextPropertyBuilder) Similarity(similarity string) *TextPropertyBuilder

func (*TextPropertyBuilder) Store ¶

func (rb *TextPropertyBuilder) Store(store bool) *TextPropertyBuilder

func (*TextPropertyBuilder) TermVector ¶

type TextToAnalyzeBuilder ¶

type TextToAnalyzeBuilder struct {
	// contains filtered or unexported fields
}

TextToAnalyzeBuilder holds TextToAnalyze struct and provides a builder API.

func NewTextToAnalyzeBuilder ¶

func NewTextToAnalyzeBuilder() *TextToAnalyzeBuilder

NewTextToAnalyze provides a builder for the TextToAnalyze struct.

func (*TextToAnalyzeBuilder) Build ¶

Build finalize the chain and returns the TextToAnalyze struct

func (*TextToAnalyzeBuilder) TextToAnalyze ¶

func (b *TextToAnalyzeBuilder) TextToAnalyze(value TextToAnalyze) *TextToAnalyzeBuilder

type ThreadCount ¶

type ThreadCount struct {
	Active    *int64 `json:"active,omitempty"`
	Completed *int64 `json:"completed,omitempty"`
	Largest   *int64 `json:"largest,omitempty"`
	Queue     *int64 `json:"queue,omitempty"`
	Rejected  *int64 `json:"rejected,omitempty"`
	Threads   *int64 `json:"threads,omitempty"`
}

ThreadCount type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L397-L404

type ThreadCountBuilder ¶

type ThreadCountBuilder struct {
	// contains filtered or unexported fields
}

ThreadCountBuilder holds ThreadCount struct and provides a builder API.

func NewThreadCountBuilder ¶

func NewThreadCountBuilder() *ThreadCountBuilder

NewThreadCount provides a builder for the ThreadCount struct.

func (*ThreadCountBuilder) Active ¶

func (rb *ThreadCountBuilder) Active(active int64) *ThreadCountBuilder

func (*ThreadCountBuilder) Build ¶

func (rb *ThreadCountBuilder) Build() ThreadCount

Build finalize the chain and returns the ThreadCount struct

func (*ThreadCountBuilder) Completed ¶

func (rb *ThreadCountBuilder) Completed(completed int64) *ThreadCountBuilder

func (*ThreadCountBuilder) Largest ¶

func (rb *ThreadCountBuilder) Largest(largest int64) *ThreadCountBuilder

func (*ThreadCountBuilder) Queue ¶

func (rb *ThreadCountBuilder) Queue(queue int64) *ThreadCountBuilder

func (*ThreadCountBuilder) Rejected ¶

func (rb *ThreadCountBuilder) Rejected(rejected int64) *ThreadCountBuilder

func (*ThreadCountBuilder) Threads ¶

func (rb *ThreadCountBuilder) Threads(threads int64) *ThreadCountBuilder

type ThreadPoolRecord ¶

type ThreadPoolRecord struct {
	// Active number of active threads
	Active *string `json:"active,omitempty"`
	// Completed number of completed tasks
	Completed *string `json:"completed,omitempty"`
	// Core core number of threads in a scaling thread pool
	Core string `json:"core,omitempty"`
	// EphemeralNodeId ephemeral node id
	EphemeralNodeId *string `json:"ephemeral_node_id,omitempty"`
	// Host host name
	Host *string `json:"host,omitempty"`
	// Ip ip address
	Ip *string `json:"ip,omitempty"`
	// KeepAlive thread keep alive time
	KeepAlive string `json:"keep_alive,omitempty"`
	// Largest highest number of seen active threads
	Largest *string `json:"largest,omitempty"`
	// Max maximum number of threads in a scaling thread pool
	Max string `json:"max,omitempty"`
	// Name thread pool name
	Name *string `json:"name,omitempty"`
	// NodeId persistent node id
	NodeId *NodeId `json:"node_id,omitempty"`
	// NodeName node name
	NodeName *string `json:"node_name,omitempty"`
	// Pid process id
	Pid *string `json:"pid,omitempty"`
	// PoolSize number of threads
	PoolSize *string `json:"pool_size,omitempty"`
	// Port bound transport port
	Port *string `json:"port,omitempty"`
	// Queue number of tasks currently in queue
	Queue *string `json:"queue,omitempty"`
	// QueueSize maximum number of tasks permitted in queue
	QueueSize *string `json:"queue_size,omitempty"`
	// Rejected number of rejected tasks
	Rejected *string `json:"rejected,omitempty"`
	// Size number of threads in a fixed thread pool
	Size string `json:"size,omitempty"`
	// Type thread pool type
	Type *string `json:"type,omitempty"`
}

ThreadPoolRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/thread_pool/types.ts#L22-L123

type ThreadPoolRecordBuilder ¶

type ThreadPoolRecordBuilder struct {
	// contains filtered or unexported fields
}

ThreadPoolRecordBuilder holds ThreadPoolRecord struct and provides a builder API.

func NewThreadPoolRecordBuilder ¶

func NewThreadPoolRecordBuilder() *ThreadPoolRecordBuilder

NewThreadPoolRecord provides a builder for the ThreadPoolRecord struct.

func (*ThreadPoolRecordBuilder) Active ¶

func (*ThreadPoolRecordBuilder) Build ¶

Build finalize the chain and returns the ThreadPoolRecord struct

func (*ThreadPoolRecordBuilder) Completed ¶

func (rb *ThreadPoolRecordBuilder) Completed(completed string) *ThreadPoolRecordBuilder

func (*ThreadPoolRecordBuilder) Core ¶

func (*ThreadPoolRecordBuilder) EphemeralNodeId ¶

func (rb *ThreadPoolRecordBuilder) EphemeralNodeId(ephemeralnodeid string) *ThreadPoolRecordBuilder

func (*ThreadPoolRecordBuilder) Host ¶

func (*ThreadPoolRecordBuilder) Ip ¶

func (*ThreadPoolRecordBuilder) KeepAlive ¶

func (rb *ThreadPoolRecordBuilder) KeepAlive(keepalive string) *ThreadPoolRecordBuilder

func (*ThreadPoolRecordBuilder) Largest ¶

func (*ThreadPoolRecordBuilder) Max ¶

func (*ThreadPoolRecordBuilder) Name ¶

func (*ThreadPoolRecordBuilder) NodeId ¶

func (*ThreadPoolRecordBuilder) NodeName ¶

func (rb *ThreadPoolRecordBuilder) NodeName(nodename string) *ThreadPoolRecordBuilder

func (*ThreadPoolRecordBuilder) Pid ¶

func (*ThreadPoolRecordBuilder) PoolSize ¶

func (rb *ThreadPoolRecordBuilder) PoolSize(poolsize string) *ThreadPoolRecordBuilder

func (*ThreadPoolRecordBuilder) Port ¶

func (*ThreadPoolRecordBuilder) Queue ¶

func (*ThreadPoolRecordBuilder) QueueSize ¶

func (rb *ThreadPoolRecordBuilder) QueueSize(queuesize string) *ThreadPoolRecordBuilder

func (*ThreadPoolRecordBuilder) Rejected ¶

func (rb *ThreadPoolRecordBuilder) Rejected(rejected string) *ThreadPoolRecordBuilder

func (*ThreadPoolRecordBuilder) Size ¶

func (*ThreadPoolRecordBuilder) Type_ ¶

type ThrottleStateBuilder ¶

type ThrottleStateBuilder struct {
	// contains filtered or unexported fields
}

ThrottleStateBuilder holds ThrottleState struct and provides a builder API.

func NewThrottleStateBuilder ¶

func NewThrottleStateBuilder() *ThrottleStateBuilder

NewThrottleState provides a builder for the ThrottleState struct.

func (*ThrottleStateBuilder) Build ¶

func (rb *ThrottleStateBuilder) Build() ThrottleState

Build finalize the chain and returns the ThrottleState struct

func (*ThrottleStateBuilder) Reason ¶

func (rb *ThrottleStateBuilder) Reason(reason string) *ThrottleStateBuilder

func (*ThrottleStateBuilder) Timestamp ¶

func (rb *ThrottleStateBuilder) Timestamp(timestamp *DateTimeBuilder) *ThrottleStateBuilder

type TimeOfDayBuilder ¶

type TimeOfDayBuilder struct {
	// contains filtered or unexported fields
}

TimeOfDayBuilder holds TimeOfDay struct and provides a builder API.

func NewTimeOfDayBuilder ¶

func NewTimeOfDayBuilder() *TimeOfDayBuilder

NewTimeOfDay provides a builder for the TimeOfDay struct.

func (*TimeOfDayBuilder) Build ¶

func (b *TimeOfDayBuilder) Build() TimeOfDay

Build finalize the chain and returns the TimeOfDay struct

func (*TimeOfDayBuilder) TimeOfDay ¶

func (b *TimeOfDayBuilder) TimeOfDay(value TimeOfDay) *TimeOfDayBuilder

type TimeOfMonthBuilder ¶

type TimeOfMonthBuilder struct {
	// contains filtered or unexported fields
}

TimeOfMonthBuilder holds TimeOfMonth struct and provides a builder API.

func NewTimeOfMonthBuilder ¶

func NewTimeOfMonthBuilder() *TimeOfMonthBuilder

NewTimeOfMonth provides a builder for the TimeOfMonth struct.

func (*TimeOfMonthBuilder) At ¶

func (*TimeOfMonthBuilder) Build ¶

func (rb *TimeOfMonthBuilder) Build() TimeOfMonth

Build finalize the chain and returns the TimeOfMonth struct

func (*TimeOfMonthBuilder) On ¶

func (rb *TimeOfMonthBuilder) On(on ...int) *TimeOfMonthBuilder

type TimeOfWeekBuilder ¶

type TimeOfWeekBuilder struct {
	// contains filtered or unexported fields
}

TimeOfWeekBuilder holds TimeOfWeek struct and provides a builder API.

func NewTimeOfWeekBuilder ¶

func NewTimeOfWeekBuilder() *TimeOfWeekBuilder

NewTimeOfWeek provides a builder for the TimeOfWeek struct.

func (*TimeOfWeekBuilder) At ¶

func (*TimeOfWeekBuilder) Build ¶

func (rb *TimeOfWeekBuilder) Build() TimeOfWeek

Build finalize the chain and returns the TimeOfWeek struct

func (*TimeOfWeekBuilder) On ¶

func (rb *TimeOfWeekBuilder) On(on ...day.Day) *TimeOfWeekBuilder

type TimeOfYearBuilder ¶

type TimeOfYearBuilder struct {
	// contains filtered or unexported fields
}

TimeOfYearBuilder holds TimeOfYear struct and provides a builder API.

func NewTimeOfYearBuilder ¶

func NewTimeOfYearBuilder() *TimeOfYearBuilder

NewTimeOfYear provides a builder for the TimeOfYear struct.

func (*TimeOfYearBuilder) At ¶

func (*TimeOfYearBuilder) Build ¶

func (rb *TimeOfYearBuilder) Build() TimeOfYear

Build finalize the chain and returns the TimeOfYear struct

func (*TimeOfYearBuilder) Int ¶

func (*TimeOfYearBuilder) On ¶

func (rb *TimeOfYearBuilder) On(on ...int) *TimeOfYearBuilder

type TimeSync ¶

type TimeSync struct {
	// Delay The time delay between the current time and the latest input data time.
	Delay *Duration `json:"delay,omitempty"`
	// Field The date field that is used to identify new documents in the source. In
	// general, it’s a good idea to use a field
	// that contains the ingest timestamp. If you use a different field, you might
	// need to set the delay such that it
	// accounts for data transmission delays.
	Field Field `json:"field"`
}

TimeSync type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/_types/Transform.ts#L165-L177

type TimeSyncBuilder ¶

type TimeSyncBuilder struct {
	// contains filtered or unexported fields
}

TimeSyncBuilder holds TimeSync struct and provides a builder API.

func NewTimeSyncBuilder ¶

func NewTimeSyncBuilder() *TimeSyncBuilder

NewTimeSync provides a builder for the TimeSync struct.

func (*TimeSyncBuilder) Build ¶

func (rb *TimeSyncBuilder) Build() TimeSync

Build finalize the chain and returns the TimeSync struct

func (*TimeSyncBuilder) Delay ¶

func (rb *TimeSyncBuilder) Delay(delay *DurationBuilder) *TimeSyncBuilder

func (*TimeSyncBuilder) Field ¶

func (rb *TimeSyncBuilder) Field(field Field) *TimeSyncBuilder

type TimeZoneBuilder ¶

type TimeZoneBuilder struct {
	// contains filtered or unexported fields
}

TimeZoneBuilder holds TimeZone struct and provides a builder API.

func NewTimeZoneBuilder ¶

func NewTimeZoneBuilder() *TimeZoneBuilder

NewTimeZone provides a builder for the TimeZone struct.

func (*TimeZoneBuilder) Build ¶

func (b *TimeZoneBuilder) Build() TimeZone

Build finalize the chain and returns the TimeZone struct

func (*TimeZoneBuilder) TimeZone ¶

func (b *TimeZoneBuilder) TimeZone(value TimeZone) *TimeZoneBuilder

type TimingStats ¶

type TimingStats struct {
	// ElapsedTime Runtime of the analysis in milliseconds.
	ElapsedTime DurationValueUnitMillis `json:"elapsed_time"`
	// IterationTime Runtime of the latest iteration of the analysis in milliseconds.
	IterationTime *DurationValueUnitMillis `json:"iteration_time,omitempty"`
}

TimingStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L421-L426

type TimingStatsBuilder ¶

type TimingStatsBuilder struct {
	// contains filtered or unexported fields
}

TimingStatsBuilder holds TimingStats struct and provides a builder API.

func NewTimingStatsBuilder ¶

func NewTimingStatsBuilder() *TimingStatsBuilder

NewTimingStats provides a builder for the TimingStats struct.

func (*TimingStatsBuilder) Build ¶

func (rb *TimingStatsBuilder) Build() TimingStats

Build finalize the chain and returns the TimingStats struct

func (*TimingStatsBuilder) ElapsedTime ¶

func (*TimingStatsBuilder) IterationTime ¶

func (rb *TimingStatsBuilder) IterationTime(iterationtime *DurationValueUnitMillisBuilder) *TimingStatsBuilder

type TokenBuilder ¶

type TokenBuilder struct {
	// contains filtered or unexported fields
}

TokenBuilder holds Token struct and provides a builder API.

func NewTokenBuilder ¶

func NewTokenBuilder() *TokenBuilder

NewToken provides a builder for the Token struct.

func (*TokenBuilder) Build ¶

func (rb *TokenBuilder) Build() Token

Build finalize the chain and returns the Token struct

func (*TokenBuilder) Name ¶

func (rb *TokenBuilder) Name(name string) *TokenBuilder

func (*TokenBuilder) Value ¶

func (rb *TokenBuilder) Value(value string) *TokenBuilder

type TokenCountProperty ¶

type TokenCountProperty struct {
	Analyzer                 *string                        `json:"analyzer,omitempty"`
	Boost                    *float64                       `json:"boost,omitempty"`
	CopyTo                   *Fields                        `json:"copy_to,omitempty"`
	DocValues                *bool                          `json:"doc_values,omitempty"`
	Dynamic                  *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	EnablePositionIncrements *bool                          `json:"enable_position_increments,omitempty"`
	Fields                   map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove              *int                           `json:"ignore_above,omitempty"`
	Index                    *bool                          `json:"index,omitempty"`
	LocalMetadata            *Metadata                      `json:"local_metadata,omitempty"`
	Meta                     map[string]string              `json:"meta,omitempty"`
	NullValue                *float64                       `json:"null_value,omitempty"`
	Properties               map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity               *string                        `json:"similarity,omitempty"`
	Store                    *bool                          `json:"store,omitempty"`
	Type                     string                         `json:"type,omitempty"`
}

TokenCountProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/specialized.ts#L70-L77

type TokenCountPropertyBuilder ¶

type TokenCountPropertyBuilder struct {
	// contains filtered or unexported fields
}

TokenCountPropertyBuilder holds TokenCountProperty struct and provides a builder API.

func NewTokenCountPropertyBuilder ¶

func NewTokenCountPropertyBuilder() *TokenCountPropertyBuilder

NewTokenCountProperty provides a builder for the TokenCountProperty struct.

func (*TokenCountPropertyBuilder) Analyzer ¶

func (*TokenCountPropertyBuilder) Boost ¶

func (*TokenCountPropertyBuilder) Build ¶

Build finalize the chain and returns the TokenCountProperty struct

func (*TokenCountPropertyBuilder) CopyTo ¶

func (*TokenCountPropertyBuilder) DocValues ¶

func (rb *TokenCountPropertyBuilder) DocValues(docvalues bool) *TokenCountPropertyBuilder

func (*TokenCountPropertyBuilder) Dynamic ¶

func (*TokenCountPropertyBuilder) EnablePositionIncrements ¶

func (rb *TokenCountPropertyBuilder) EnablePositionIncrements(enablepositionincrements bool) *TokenCountPropertyBuilder

func (*TokenCountPropertyBuilder) Fields ¶

func (*TokenCountPropertyBuilder) IgnoreAbove ¶

func (rb *TokenCountPropertyBuilder) IgnoreAbove(ignoreabove int) *TokenCountPropertyBuilder

func (*TokenCountPropertyBuilder) Index ¶

func (*TokenCountPropertyBuilder) LocalMetadata ¶

func (rb *TokenCountPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *TokenCountPropertyBuilder

func (*TokenCountPropertyBuilder) Meta ¶

func (*TokenCountPropertyBuilder) NullValue ¶

func (*TokenCountPropertyBuilder) Properties ¶

func (*TokenCountPropertyBuilder) Similarity ¶

func (rb *TokenCountPropertyBuilder) Similarity(similarity string) *TokenCountPropertyBuilder

func (*TokenCountPropertyBuilder) Store ¶

type TokenDetailBuilder ¶

type TokenDetailBuilder struct {
	// contains filtered or unexported fields
}

TokenDetailBuilder holds TokenDetail struct and provides a builder API.

func NewTokenDetailBuilder ¶

func NewTokenDetailBuilder() *TokenDetailBuilder

NewTokenDetail provides a builder for the TokenDetail struct.

func (*TokenDetailBuilder) Build ¶

func (rb *TokenDetailBuilder) Build() TokenDetail

Build finalize the chain and returns the TokenDetail struct

func (*TokenDetailBuilder) Name ¶

func (*TokenDetailBuilder) Tokens ¶

type TokenFilter ¶

type TokenFilter interface{}

TokenFilter holds the union for the following types:

string
TokenFilterDefinition

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L342-L344

type TokenFilterBaseBuilder ¶

type TokenFilterBaseBuilder struct {
	// contains filtered or unexported fields
}

TokenFilterBaseBuilder holds TokenFilterBase struct and provides a builder API.

func NewTokenFilterBaseBuilder ¶

func NewTokenFilterBaseBuilder() *TokenFilterBaseBuilder

NewTokenFilterBase provides a builder for the TokenFilterBase struct.

func (*TokenFilterBaseBuilder) Build ¶

Build finalize the chain and returns the TokenFilterBase struct

func (*TokenFilterBaseBuilder) Version ¶

type TokenFilterBuilder ¶

type TokenFilterBuilder struct {
	// contains filtered or unexported fields
}

TokenFilterBuilder holds TokenFilter struct and provides a builder API.

func NewTokenFilterBuilder ¶

func NewTokenFilterBuilder() *TokenFilterBuilder

NewTokenFilter provides a builder for the TokenFilter struct.

func (*TokenFilterBuilder) Build ¶

func (u *TokenFilterBuilder) Build() TokenFilter

Build finalize the chain and returns the TokenFilter struct

func (*TokenFilterBuilder) String ¶

func (u *TokenFilterBuilder) String(string string) *TokenFilterBuilder

func (*TokenFilterBuilder) TokenFilterDefinition ¶

func (u *TokenFilterBuilder) TokenFilterDefinition(tokenfilterdefinition *TokenFilterDefinitionBuilder) *TokenFilterBuilder

type TokenFilterDefinition ¶

type TokenFilterDefinition interface{}

TokenFilterDefinition holds the union for the following types:

AsciiFoldingTokenFilter
CommonGramsTokenFilter
ConditionTokenFilter
DelimitedPayloadTokenFilter
DictionaryDecompounderTokenFilter
EdgeNGramTokenFilter
ElisionTokenFilter
FingerprintTokenFilter
HunspellTokenFilter
HyphenationDecompounderTokenFilter
IcuCollationTokenFilter
IcuFoldingTokenFilter
IcuNormalizationTokenFilter
IcuTokenizer
IcuTransformTokenFilter
KStemTokenFilter
KeepTypesTokenFilter
KeepWordsTokenFilter
KeywordMarkerTokenFilter
KuromojiPartOfSpeechTokenFilter
KuromojiReadingFormTokenFilter
KuromojiStemmerTokenFilter
LengthTokenFilter
LimitTokenCountTokenFilter
LowercaseTokenFilter
MultiplexerTokenFilter
NGramTokenFilter
NoriPartOfSpeechTokenFilter
PatternCaptureTokenFilter
PatternReplaceTokenFilter
PhoneticTokenFilter
PorterStemTokenFilter
PredicateTokenFilter
RemoveDuplicatesTokenFilter
ReverseTokenFilter
ShingleTokenFilter
SnowballTokenFilter
StemmerOverrideTokenFilter
StemmerTokenFilter
StopTokenFilter
SynonymGraphTokenFilter
SynonymTokenFilter
TrimTokenFilter
TruncateTokenFilter
UniqueTokenFilter
UppercaseTokenFilter
WordDelimiterGraphTokenFilter
WordDelimiterTokenFilter

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L346-L399

type TokenFilterDefinitionBuilder ¶

type TokenFilterDefinitionBuilder struct {
	// contains filtered or unexported fields
}

TokenFilterDefinitionBuilder holds TokenFilterDefinition struct and provides a builder API.

func NewTokenFilterDefinitionBuilder ¶

func NewTokenFilterDefinitionBuilder() *TokenFilterDefinitionBuilder

NewTokenFilterDefinition provides a builder for the TokenFilterDefinition struct.

func (*TokenFilterDefinitionBuilder) AsciiFoldingTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) AsciiFoldingTokenFilter(asciifoldingtokenfilter *AsciiFoldingTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) Build ¶

Build finalize the chain and returns the TokenFilterDefinition struct

func (*TokenFilterDefinitionBuilder) CommonGramsTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) CommonGramsTokenFilter(commongramstokenfilter *CommonGramsTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) ConditionTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) ConditionTokenFilter(conditiontokenfilter *ConditionTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) DelimitedPayloadTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) DelimitedPayloadTokenFilter(delimitedpayloadtokenfilter *DelimitedPayloadTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) DictionaryDecompounderTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) DictionaryDecompounderTokenFilter(dictionarydecompoundertokenfilter *DictionaryDecompounderTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) EdgeNGramTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) EdgeNGramTokenFilter(edgengramtokenfilter *EdgeNGramTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) ElisionTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) ElisionTokenFilter(elisiontokenfilter *ElisionTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) FingerprintTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) FingerprintTokenFilter(fingerprinttokenfilter *FingerprintTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) HunspellTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) HunspellTokenFilter(hunspelltokenfilter *HunspellTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) HyphenationDecompounderTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) HyphenationDecompounderTokenFilter(hyphenationdecompoundertokenfilter *HyphenationDecompounderTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) IcuCollationTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) IcuCollationTokenFilter(icucollationtokenfilter *IcuCollationTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) IcuFoldingTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) IcuFoldingTokenFilter(icufoldingtokenfilter *IcuFoldingTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) IcuNormalizationTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) IcuNormalizationTokenFilter(icunormalizationtokenfilter *IcuNormalizationTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) IcuTokenizer ¶

func (*TokenFilterDefinitionBuilder) IcuTransformTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) IcuTransformTokenFilter(icutransformtokenfilter *IcuTransformTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) KStemTokenFilter ¶

func (*TokenFilterDefinitionBuilder) KeepTypesTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) KeepTypesTokenFilter(keeptypestokenfilter *KeepTypesTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) KeepWordsTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) KeepWordsTokenFilter(keepwordstokenfilter *KeepWordsTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) KeywordMarkerTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) KeywordMarkerTokenFilter(keywordmarkertokenfilter *KeywordMarkerTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) KuromojiPartOfSpeechTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) KuromojiPartOfSpeechTokenFilter(kuromojipartofspeechtokenfilter *KuromojiPartOfSpeechTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) KuromojiReadingFormTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) KuromojiReadingFormTokenFilter(kuromojireadingformtokenfilter *KuromojiReadingFormTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) KuromojiStemmerTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) KuromojiStemmerTokenFilter(kuromojistemmertokenfilter *KuromojiStemmerTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) LengthTokenFilter ¶

func (*TokenFilterDefinitionBuilder) LimitTokenCountTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) LimitTokenCountTokenFilter(limittokencounttokenfilter *LimitTokenCountTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) LowercaseTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) LowercaseTokenFilter(lowercasetokenfilter *LowercaseTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) MultiplexerTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) MultiplexerTokenFilter(multiplexertokenfilter *MultiplexerTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) NGramTokenFilter ¶

func (*TokenFilterDefinitionBuilder) NoriPartOfSpeechTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) NoriPartOfSpeechTokenFilter(noripartofspeechtokenfilter *NoriPartOfSpeechTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) PatternCaptureTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) PatternCaptureTokenFilter(patterncapturetokenfilter *PatternCaptureTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) PatternReplaceTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) PatternReplaceTokenFilter(patternreplacetokenfilter *PatternReplaceTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) PhoneticTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) PhoneticTokenFilter(phonetictokenfilter *PhoneticTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) PorterStemTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) PorterStemTokenFilter(porterstemtokenfilter *PorterStemTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) PredicateTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) PredicateTokenFilter(predicatetokenfilter *PredicateTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) RemoveDuplicatesTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) RemoveDuplicatesTokenFilter(removeduplicatestokenfilter *RemoveDuplicatesTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) ReverseTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) ReverseTokenFilter(reversetokenfilter *ReverseTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) ShingleTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) ShingleTokenFilter(shingletokenfilter *ShingleTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) SnowballTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) SnowballTokenFilter(snowballtokenfilter *SnowballTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) StemmerOverrideTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) StemmerOverrideTokenFilter(stemmeroverridetokenfilter *StemmerOverrideTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) StemmerTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) StemmerTokenFilter(stemmertokenfilter *StemmerTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) StopTokenFilter ¶

func (*TokenFilterDefinitionBuilder) SynonymGraphTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) SynonymGraphTokenFilter(synonymgraphtokenfilter *SynonymGraphTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) SynonymTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) SynonymTokenFilter(synonymtokenfilter *SynonymTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) TrimTokenFilter ¶

func (*TokenFilterDefinitionBuilder) TruncateTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) TruncateTokenFilter(truncatetokenfilter *TruncateTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) UniqueTokenFilter ¶

func (*TokenFilterDefinitionBuilder) UppercaseTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) UppercaseTokenFilter(uppercasetokenfilter *UppercaseTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) WordDelimiterGraphTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) WordDelimiterGraphTokenFilter(worddelimitergraphtokenfilter *WordDelimiterGraphTokenFilterBuilder) *TokenFilterDefinitionBuilder

func (*TokenFilterDefinitionBuilder) WordDelimiterTokenFilter ¶

func (u *TokenFilterDefinitionBuilder) WordDelimiterTokenFilter(worddelimitertokenfilter *WordDelimiterTokenFilterBuilder) *TokenFilterDefinitionBuilder

type TokenizationConfigContainer ¶

type TokenizationConfigContainer struct {
	// Bert Indicates BERT tokenization and its options
	Bert *NlpBertTokenizationConfig `json:"bert,omitempty"`
	// Mpnet Indicates MPNET tokenization and its options
	Mpnet *NlpBertTokenizationConfig `json:"mpnet,omitempty"`
	// Roberta Indicates RoBERTa tokenization and its options
	Roberta *NlpRobertaTokenizationConfig `json:"roberta,omitempty"`
}

TokenizationConfigContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L97-L114

type TokenizationConfigContainerBuilder ¶

type TokenizationConfigContainerBuilder struct {
	// contains filtered or unexported fields
}

TokenizationConfigContainerBuilder holds TokenizationConfigContainer struct and provides a builder API.

func NewTokenizationConfigContainerBuilder ¶

func NewTokenizationConfigContainerBuilder() *TokenizationConfigContainerBuilder

NewTokenizationConfigContainer provides a builder for the TokenizationConfigContainer struct.

func (*TokenizationConfigContainerBuilder) Bert ¶

func (*TokenizationConfigContainerBuilder) Build ¶

Build finalize the chain and returns the TokenizationConfigContainer struct

func (*TokenizationConfigContainerBuilder) Mpnet ¶

func (*TokenizationConfigContainerBuilder) Roberta ¶

type Tokenizer ¶

type Tokenizer interface{}

Tokenizer holds the union for the following types:

string
TokenizerDefinition

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L119-L121

type TokenizerBaseBuilder ¶

type TokenizerBaseBuilder struct {
	// contains filtered or unexported fields
}

TokenizerBaseBuilder holds TokenizerBase struct and provides a builder API.

func NewTokenizerBaseBuilder ¶

func NewTokenizerBaseBuilder() *TokenizerBaseBuilder

NewTokenizerBase provides a builder for the TokenizerBase struct.

func (*TokenizerBaseBuilder) Build ¶

func (rb *TokenizerBaseBuilder) Build() TokenizerBase

Build finalize the chain and returns the TokenizerBase struct

func (*TokenizerBaseBuilder) Version ¶

type TokenizerBuilder ¶

type TokenizerBuilder struct {
	// contains filtered or unexported fields
}

TokenizerBuilder holds Tokenizer struct and provides a builder API.

func NewTokenizerBuilder ¶

func NewTokenizerBuilder() *TokenizerBuilder

NewTokenizer provides a builder for the Tokenizer struct.

func (*TokenizerBuilder) Build ¶

func (u *TokenizerBuilder) Build() Tokenizer

Build finalize the chain and returns the Tokenizer struct

func (*TokenizerBuilder) String ¶

func (u *TokenizerBuilder) String(string string) *TokenizerBuilder

func (*TokenizerBuilder) TokenizerDefinition ¶

func (u *TokenizerBuilder) TokenizerDefinition(tokenizerdefinition *TokenizerDefinitionBuilder) *TokenizerBuilder

type TokenizerDefinition ¶

type TokenizerDefinition interface{}

TokenizerDefinition holds the union for the following types:

CharGroupTokenizer
EdgeNGramTokenizer
IcuTokenizer
KeywordTokenizer
KuromojiTokenizer
LetterTokenizer
LowercaseTokenizer
NGramTokenizer
NoriTokenizer
PathHierarchyTokenizer
PatternTokenizer
StandardTokenizer
UaxEmailUrlTokenizer
WhitespaceTokenizer

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L123-L141

type TokenizerDefinitionBuilder ¶

type TokenizerDefinitionBuilder struct {
	// contains filtered or unexported fields
}

TokenizerDefinitionBuilder holds TokenizerDefinition struct and provides a builder API.

func NewTokenizerDefinitionBuilder ¶

func NewTokenizerDefinitionBuilder() *TokenizerDefinitionBuilder

NewTokenizerDefinition provides a builder for the TokenizerDefinition struct.

func (*TokenizerDefinitionBuilder) Build ¶

Build finalize the chain and returns the TokenizerDefinition struct

func (*TokenizerDefinitionBuilder) CharGroupTokenizer ¶

func (u *TokenizerDefinitionBuilder) CharGroupTokenizer(chargrouptokenizer *CharGroupTokenizerBuilder) *TokenizerDefinitionBuilder

func (*TokenizerDefinitionBuilder) EdgeNGramTokenizer ¶

func (u *TokenizerDefinitionBuilder) EdgeNGramTokenizer(edgengramtokenizer *EdgeNGramTokenizerBuilder) *TokenizerDefinitionBuilder

func (*TokenizerDefinitionBuilder) IcuTokenizer ¶

func (*TokenizerDefinitionBuilder) KeywordTokenizer ¶

func (u *TokenizerDefinitionBuilder) KeywordTokenizer(keywordtokenizer *KeywordTokenizerBuilder) *TokenizerDefinitionBuilder

func (*TokenizerDefinitionBuilder) KuromojiTokenizer ¶

func (u *TokenizerDefinitionBuilder) KuromojiTokenizer(kuromojitokenizer *KuromojiTokenizerBuilder) *TokenizerDefinitionBuilder

func (*TokenizerDefinitionBuilder) LetterTokenizer ¶

func (*TokenizerDefinitionBuilder) LowercaseTokenizer ¶

func (u *TokenizerDefinitionBuilder) LowercaseTokenizer(lowercasetokenizer *LowercaseTokenizerBuilder) *TokenizerDefinitionBuilder

func (*TokenizerDefinitionBuilder) NGramTokenizer ¶

func (*TokenizerDefinitionBuilder) NoriTokenizer ¶

func (*TokenizerDefinitionBuilder) PathHierarchyTokenizer ¶

func (u *TokenizerDefinitionBuilder) PathHierarchyTokenizer(pathhierarchytokenizer *PathHierarchyTokenizerBuilder) *TokenizerDefinitionBuilder

func (*TokenizerDefinitionBuilder) PatternTokenizer ¶

func (u *TokenizerDefinitionBuilder) PatternTokenizer(patterntokenizer *PatternTokenizerBuilder) *TokenizerDefinitionBuilder

func (*TokenizerDefinitionBuilder) StandardTokenizer ¶

func (u *TokenizerDefinitionBuilder) StandardTokenizer(standardtokenizer *StandardTokenizerBuilder) *TokenizerDefinitionBuilder

func (*TokenizerDefinitionBuilder) UaxEmailUrlTokenizer ¶

func (u *TokenizerDefinitionBuilder) UaxEmailUrlTokenizer(uaxemailurltokenizer *UaxEmailUrlTokenizerBuilder) *TokenizerDefinitionBuilder

func (*TokenizerDefinitionBuilder) WhitespaceTokenizer ¶

func (u *TokenizerDefinitionBuilder) WhitespaceTokenizer(whitespacetokenizer *WhitespaceTokenizerBuilder) *TokenizerDefinitionBuilder

type TopClassEntry ¶

type TopClassEntry struct {
	ClassName        string  `json:"class_name"`
	ClassProbability float64 `json:"class_probability"`
	ClassScore       float64 `json:"class_score"`
}

TopClassEntry type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L393-L397

type TopClassEntryBuilder ¶

type TopClassEntryBuilder struct {
	// contains filtered or unexported fields
}

TopClassEntryBuilder holds TopClassEntry struct and provides a builder API.

func NewTopClassEntryBuilder ¶

func NewTopClassEntryBuilder() *TopClassEntryBuilder

NewTopClassEntry provides a builder for the TopClassEntry struct.

func (*TopClassEntryBuilder) Build ¶

func (rb *TopClassEntryBuilder) Build() TopClassEntry

Build finalize the chain and returns the TopClassEntry struct

func (*TopClassEntryBuilder) ClassName ¶

func (rb *TopClassEntryBuilder) ClassName(classname string) *TopClassEntryBuilder

func (*TopClassEntryBuilder) ClassProbability ¶

func (rb *TopClassEntryBuilder) ClassProbability(classprobability float64) *TopClassEntryBuilder

func (*TopClassEntryBuilder) ClassScore ¶

func (rb *TopClassEntryBuilder) ClassScore(classscore float64) *TopClassEntryBuilder

type TopHitsAggregateBuilder ¶

type TopHitsAggregateBuilder struct {
	// contains filtered or unexported fields
}

TopHitsAggregateBuilder holds TopHitsAggregate struct and provides a builder API.

func NewTopHitsAggregateBuilder ¶

func NewTopHitsAggregateBuilder() *TopHitsAggregateBuilder

NewTopHitsAggregate provides a builder for the TopHitsAggregate struct.

func (*TopHitsAggregateBuilder) Build ¶

Build finalize the chain and returns the TopHitsAggregate struct

func (*TopHitsAggregateBuilder) Hits ¶

func (*TopHitsAggregateBuilder) Meta ¶

type TopHitsAggregation ¶

type TopHitsAggregation struct {
	DocvalueFields   *Fields                `json:"docvalue_fields,omitempty"`
	Explain          *bool                  `json:"explain,omitempty"`
	Field            *Field                 `json:"field,omitempty"`
	From             *int                   `json:"from,omitempty"`
	Highlight        *Highlight             `json:"highlight,omitempty"`
	Missing          *Missing               `json:"missing,omitempty"`
	Script           *Script                `json:"script,omitempty"`
	ScriptFields     map[string]ScriptField `json:"script_fields,omitempty"`
	SeqNoPrimaryTerm *bool                  `json:"seq_no_primary_term,omitempty"`
	Size             *int                   `json:"size,omitempty"`
	Sort             *Sort                  `json:"sort,omitempty"`
	Source_          *SourceConfig          `json:"_source,omitempty"`
	StoredFields     *Fields                `json:"stored_fields,omitempty"`
	TrackScores      *bool                  `json:"track_scores,omitempty"`
	Version          *bool                  `json:"version,omitempty"`
}

TopHitsAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L162-L175

type TopHitsAggregationBuilder ¶

type TopHitsAggregationBuilder struct {
	// contains filtered or unexported fields
}

TopHitsAggregationBuilder holds TopHitsAggregation struct and provides a builder API.

func NewTopHitsAggregationBuilder ¶

func NewTopHitsAggregationBuilder() *TopHitsAggregationBuilder

NewTopHitsAggregation provides a builder for the TopHitsAggregation struct.

func (*TopHitsAggregationBuilder) Build ¶

Build finalize the chain and returns the TopHitsAggregation struct

func (*TopHitsAggregationBuilder) DocvalueFields ¶

func (rb *TopHitsAggregationBuilder) DocvalueFields(docvaluefields *FieldsBuilder) *TopHitsAggregationBuilder

func (*TopHitsAggregationBuilder) Explain ¶

func (*TopHitsAggregationBuilder) Field ¶

func (*TopHitsAggregationBuilder) From ¶

func (*TopHitsAggregationBuilder) Highlight ¶

func (*TopHitsAggregationBuilder) Missing ¶

func (*TopHitsAggregationBuilder) Script ¶

func (*TopHitsAggregationBuilder) ScriptFields ¶

func (*TopHitsAggregationBuilder) SeqNoPrimaryTerm ¶

func (rb *TopHitsAggregationBuilder) SeqNoPrimaryTerm(seqnoprimaryterm bool) *TopHitsAggregationBuilder

func (*TopHitsAggregationBuilder) Size ¶

func (*TopHitsAggregationBuilder) Sort ¶

func (*TopHitsAggregationBuilder) Source_ ¶

func (*TopHitsAggregationBuilder) StoredFields ¶

func (rb *TopHitsAggregationBuilder) StoredFields(storedfields *FieldsBuilder) *TopHitsAggregationBuilder

func (*TopHitsAggregationBuilder) TrackScores ¶

func (rb *TopHitsAggregationBuilder) TrackScores(trackscores bool) *TopHitsAggregationBuilder

func (*TopHitsAggregationBuilder) Version ¶

type TopLeftBottomRightGeoBounds ¶

type TopLeftBottomRightGeoBounds struct {
	BottomRight GeoLocation `json:"bottom_right"`
	TopLeft     GeoLocation `json:"top_left"`
}

TopLeftBottomRightGeoBounds type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Geo.ts#L142-L145

type TopLeftBottomRightGeoBoundsBuilder ¶

type TopLeftBottomRightGeoBoundsBuilder struct {
	// contains filtered or unexported fields
}

TopLeftBottomRightGeoBoundsBuilder holds TopLeftBottomRightGeoBounds struct and provides a builder API.

func NewTopLeftBottomRightGeoBoundsBuilder ¶

func NewTopLeftBottomRightGeoBoundsBuilder() *TopLeftBottomRightGeoBoundsBuilder

NewTopLeftBottomRightGeoBounds provides a builder for the TopLeftBottomRightGeoBounds struct.

func (*TopLeftBottomRightGeoBoundsBuilder) BottomRight ¶

func (*TopLeftBottomRightGeoBoundsBuilder) Build ¶

Build finalize the chain and returns the TopLeftBottomRightGeoBounds struct

func (*TopLeftBottomRightGeoBoundsBuilder) TopLeft ¶

type TopMetricsAggregateBuilder ¶

type TopMetricsAggregateBuilder struct {
	// contains filtered or unexported fields
}

TopMetricsAggregateBuilder holds TopMetricsAggregate struct and provides a builder API.

func NewTopMetricsAggregateBuilder ¶

func NewTopMetricsAggregateBuilder() *TopMetricsAggregateBuilder

NewTopMetricsAggregate provides a builder for the TopMetricsAggregate struct.

func (*TopMetricsAggregateBuilder) Build ¶

Build finalize the chain and returns the TopMetricsAggregate struct

func (*TopMetricsAggregateBuilder) Meta ¶

func (*TopMetricsAggregateBuilder) Top ¶

type TopMetricsAggregation ¶

type TopMetricsAggregation struct {
	Field   *Field            `json:"field,omitempty"`
	Metrics []TopMetricsValue `json:"metrics,omitempty"`
	Missing *Missing          `json:"missing,omitempty"`
	Script  *Script           `json:"script,omitempty"`
	Size    *int              `json:"size,omitempty"`
	Sort    *Sort             `json:"sort,omitempty"`
}

TopMetricsAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L177-L181

type TopMetricsAggregationBuilder ¶

type TopMetricsAggregationBuilder struct {
	// contains filtered or unexported fields
}

TopMetricsAggregationBuilder holds TopMetricsAggregation struct and provides a builder API.

func NewTopMetricsAggregationBuilder ¶

func NewTopMetricsAggregationBuilder() *TopMetricsAggregationBuilder

NewTopMetricsAggregation provides a builder for the TopMetricsAggregation struct.

func (*TopMetricsAggregationBuilder) Build ¶

Build finalize the chain and returns the TopMetricsAggregation struct

func (*TopMetricsAggregationBuilder) Field ¶

func (*TopMetricsAggregationBuilder) Metrics ¶

func (*TopMetricsAggregationBuilder) Missing ¶

func (*TopMetricsAggregationBuilder) Script ¶

func (*TopMetricsAggregationBuilder) Size ¶

func (*TopMetricsAggregationBuilder) Sort ¶

type TopMetricsBuilder ¶

type TopMetricsBuilder struct {
	// contains filtered or unexported fields
}

TopMetricsBuilder holds TopMetrics struct and provides a builder API.

func NewTopMetricsBuilder ¶

func NewTopMetricsBuilder() *TopMetricsBuilder

NewTopMetrics provides a builder for the TopMetrics struct.

func (*TopMetricsBuilder) Build ¶

func (rb *TopMetricsBuilder) Build() TopMetrics

Build finalize the chain and returns the TopMetrics struct

func (*TopMetricsBuilder) Metrics ¶

func (rb *TopMetricsBuilder) Metrics(value map[string]FieldValue) *TopMetricsBuilder

func (*TopMetricsBuilder) Sort ¶

func (rb *TopMetricsBuilder) Sort(sort ...FieldValue) *TopMetricsBuilder

type TopMetricsValueBuilder ¶

type TopMetricsValueBuilder struct {
	// contains filtered or unexported fields
}

TopMetricsValueBuilder holds TopMetricsValue struct and provides a builder API.

func NewTopMetricsValueBuilder ¶

func NewTopMetricsValueBuilder() *TopMetricsValueBuilder

NewTopMetricsValue provides a builder for the TopMetricsValue struct.

func (*TopMetricsValueBuilder) Build ¶

Build finalize the chain and returns the TopMetricsValue struct

func (*TopMetricsValueBuilder) Field ¶

type TopRightBottomLeftGeoBounds ¶

type TopRightBottomLeftGeoBounds struct {
	BottomLeft GeoLocation `json:"bottom_left"`
	TopRight   GeoLocation `json:"top_right"`
}

TopRightBottomLeftGeoBounds type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Geo.ts#L147-L150

type TopRightBottomLeftGeoBoundsBuilder ¶

type TopRightBottomLeftGeoBoundsBuilder struct {
	// contains filtered or unexported fields
}

TopRightBottomLeftGeoBoundsBuilder holds TopRightBottomLeftGeoBounds struct and provides a builder API.

func NewTopRightBottomLeftGeoBoundsBuilder ¶

func NewTopRightBottomLeftGeoBoundsBuilder() *TopRightBottomLeftGeoBoundsBuilder

NewTopRightBottomLeftGeoBounds provides a builder for the TopRightBottomLeftGeoBounds struct.

func (*TopRightBottomLeftGeoBoundsBuilder) BottomLeft ¶

func (*TopRightBottomLeftGeoBoundsBuilder) Build ¶

Build finalize the chain and returns the TopRightBottomLeftGeoBounds struct

func (*TopRightBottomLeftGeoBoundsBuilder) TopRight ¶

type TotalFeatureImportance ¶

type TotalFeatureImportance struct {
	// Classes If the trained model is a classification model, feature importance statistics
	// are gathered per target class value.
	Classes []TotalFeatureImportanceClass `json:"classes"`
	// FeatureName The feature for which this importance was calculated.
	FeatureName Name `json:"feature_name"`
	// Importance A collection of feature importance statistics related to the training data
	// set for this particular feature.
	Importance []TotalFeatureImportanceStatistics `json:"importance"`
}

TotalFeatureImportance type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L221-L228

type TotalFeatureImportanceBuilder ¶

type TotalFeatureImportanceBuilder struct {
	// contains filtered or unexported fields
}

TotalFeatureImportanceBuilder holds TotalFeatureImportance struct and provides a builder API.

func NewTotalFeatureImportanceBuilder ¶

func NewTotalFeatureImportanceBuilder() *TotalFeatureImportanceBuilder

NewTotalFeatureImportance provides a builder for the TotalFeatureImportance struct.

func (*TotalFeatureImportanceBuilder) Build ¶

Build finalize the chain and returns the TotalFeatureImportance struct

func (*TotalFeatureImportanceBuilder) Classes ¶

func (*TotalFeatureImportanceBuilder) FeatureName ¶

func (*TotalFeatureImportanceBuilder) Importance ¶

type TotalFeatureImportanceClass ¶

type TotalFeatureImportanceClass struct {
	// ClassName The target class value. Could be a string, boolean, or number.
	ClassName Name `json:"class_name"`
	// Importance A collection of feature importance statistics related to the training data
	// set for this particular feature.
	Importance []TotalFeatureImportanceStatistics `json:"importance"`
}

TotalFeatureImportanceClass type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L230-L235

type TotalFeatureImportanceClassBuilder ¶

type TotalFeatureImportanceClassBuilder struct {
	// contains filtered or unexported fields
}

TotalFeatureImportanceClassBuilder holds TotalFeatureImportanceClass struct and provides a builder API.

func NewTotalFeatureImportanceClassBuilder ¶

func NewTotalFeatureImportanceClassBuilder() *TotalFeatureImportanceClassBuilder

NewTotalFeatureImportanceClass provides a builder for the TotalFeatureImportanceClass struct.

func (*TotalFeatureImportanceClassBuilder) Build ¶

Build finalize the chain and returns the TotalFeatureImportanceClass struct

func (*TotalFeatureImportanceClassBuilder) ClassName ¶

func (*TotalFeatureImportanceClassBuilder) Importance ¶

type TotalFeatureImportanceStatistics ¶

type TotalFeatureImportanceStatistics struct {
	// Max The maximum importance value across all the training data for this feature.
	Max int `json:"max"`
	// MeanMagnitude The average magnitude of this feature across all the training data. This
	// value is the average of the absolute values of the importance for this
	// feature.
	MeanMagnitude float64 `json:"mean_magnitude"`
	// Min The minimum importance value across all the training data for this feature.
	Min int `json:"min"`
}

TotalFeatureImportanceStatistics type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L237-L244

type TotalFeatureImportanceStatisticsBuilder ¶

type TotalFeatureImportanceStatisticsBuilder struct {
	// contains filtered or unexported fields
}

TotalFeatureImportanceStatisticsBuilder holds TotalFeatureImportanceStatistics struct and provides a builder API.

func NewTotalFeatureImportanceStatisticsBuilder ¶

func NewTotalFeatureImportanceStatisticsBuilder() *TotalFeatureImportanceStatisticsBuilder

NewTotalFeatureImportanceStatistics provides a builder for the TotalFeatureImportanceStatistics struct.

func (*TotalFeatureImportanceStatisticsBuilder) Build ¶

Build finalize the chain and returns the TotalFeatureImportanceStatistics struct

func (*TotalFeatureImportanceStatisticsBuilder) Max ¶

func (*TotalFeatureImportanceStatisticsBuilder) MeanMagnitude ¶

func (*TotalFeatureImportanceStatisticsBuilder) Min ¶

type TotalHitsBuilder ¶

type TotalHitsBuilder struct {
	// contains filtered or unexported fields
}

TotalHitsBuilder holds TotalHits struct and provides a builder API.

func NewTotalHitsBuilder ¶

func NewTotalHitsBuilder() *TotalHitsBuilder

NewTotalHits provides a builder for the TotalHits struct.

func (*TotalHitsBuilder) Build ¶

func (rb *TotalHitsBuilder) Build() TotalHits

Build finalize the chain and returns the TotalHits struct

func (*TotalHitsBuilder) Relation ¶

func (*TotalHitsBuilder) Value ¶

func (rb *TotalHitsBuilder) Value(value int64) *TotalHitsBuilder

type TotalUserProfilesBuilder ¶

type TotalUserProfilesBuilder struct {
	// contains filtered or unexported fields
}

TotalUserProfilesBuilder holds TotalUserProfiles struct and provides a builder API.

func NewTotalUserProfilesBuilder ¶

func NewTotalUserProfilesBuilder() *TotalUserProfilesBuilder

NewTotalUserProfiles provides a builder for the TotalUserProfiles struct.

func (*TotalUserProfilesBuilder) Build ¶

Build finalize the chain and returns the TotalUserProfiles struct

func (*TotalUserProfilesBuilder) Relation ¶

func (*TotalUserProfilesBuilder) Value ¶

type TrackHitsBuilder ¶

type TrackHitsBuilder struct {
	// contains filtered or unexported fields
}

TrackHitsBuilder holds TrackHits struct and provides a builder API.

func NewTrackHitsBuilder ¶

func NewTrackHitsBuilder() *TrackHitsBuilder

NewTrackHits provides a builder for the TrackHits struct.

func (*TrackHitsBuilder) Bool ¶

func (u *TrackHitsBuilder) Bool(bool bool) *TrackHitsBuilder

func (*TrackHitsBuilder) Build ¶

func (u *TrackHitsBuilder) Build() TrackHits

Build finalize the chain and returns the TrackHits struct

func (*TrackHitsBuilder) Int ¶

func (u *TrackHitsBuilder) Int(int int) *TrackHitsBuilder

type TrainedModel ¶

type TrainedModel struct {
	// Ensemble The definition for an ensemble model
	Ensemble *Ensemble `json:"ensemble,omitempty"`
	// Tree The definition for a binary decision tree.
	Tree *TrainedModelTree `json:"tree,omitempty"`
	// TreeNode The definition of a node in a tree.
	// There are two major types of nodes: leaf nodes and not-leaf nodes.
	// - Leaf nodes only need node_index and leaf_value defined.
	// - All other nodes need split_feature, left_child, right_child, threshold,
	// decision_type, and default_left defined.
	TreeNode *TrainedModelTreeNode `json:"tree_node,omitempty"`
}

TrainedModel type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/put_trained_model/types.ts#L60-L72

type TrainedModelAllocation ¶

type TrainedModelAllocation struct {
	// AllocationState The overall allocation state.
	AllocationState deploymentallocationstate.DeploymentAllocationState `json:"allocation_state"`
	// RoutingTable The allocation state for each node.
	RoutingTable map[string]TrainedModelAllocationRoutingTable `json:"routing_table"`
	// StartTime The timestamp when the deployment started.
	StartTime      DateTime                             `json:"start_time"`
	TaskParameters TrainedModelAllocationTaskParameters `json:"task_parameters"`
}

TrainedModelAllocation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L347-L361

type TrainedModelAllocationBuilder ¶

type TrainedModelAllocationBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelAllocationBuilder holds TrainedModelAllocation struct and provides a builder API.

func NewTrainedModelAllocationBuilder ¶

func NewTrainedModelAllocationBuilder() *TrainedModelAllocationBuilder

NewTrainedModelAllocation provides a builder for the TrainedModelAllocation struct.

func (*TrainedModelAllocationBuilder) AllocationState ¶

func (*TrainedModelAllocationBuilder) Build ¶

Build finalize the chain and returns the TrainedModelAllocation struct

func (*TrainedModelAllocationBuilder) RoutingTable ¶

func (*TrainedModelAllocationBuilder) StartTime ¶

func (*TrainedModelAllocationBuilder) TaskParameters ¶

type TrainedModelAllocationRoutingTable ¶

type TrainedModelAllocationRoutingTable struct {
	// Reason The reason for the current state. It is usually populated only when the
	// `routing_state` is `failed`.
	Reason string `json:"reason"`
	// RoutingState The current routing state.
	RoutingState routingstate.RoutingState `json:"routing_state"`
}

TrainedModelAllocationRoutingTable type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L326-L336

type TrainedModelAllocationRoutingTableBuilder ¶

type TrainedModelAllocationRoutingTableBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelAllocationRoutingTableBuilder holds TrainedModelAllocationRoutingTable struct and provides a builder API.

func NewTrainedModelAllocationRoutingTableBuilder ¶

func NewTrainedModelAllocationRoutingTableBuilder() *TrainedModelAllocationRoutingTableBuilder

NewTrainedModelAllocationRoutingTable provides a builder for the TrainedModelAllocationRoutingTable struct.

func (*TrainedModelAllocationRoutingTableBuilder) Build ¶

Build finalize the chain and returns the TrainedModelAllocationRoutingTable struct

func (*TrainedModelAllocationRoutingTableBuilder) Reason ¶

func (*TrainedModelAllocationRoutingTableBuilder) RoutingState ¶

type TrainedModelAllocationTaskParameters ¶

type TrainedModelAllocationTaskParameters struct {
	// ModelBytes The size of the trained model in bytes.
	ModelBytes int `json:"model_bytes"`
	// ModelId The unique identifier for the trained model.
	ModelId Id `json:"model_id"`
}

TrainedModelAllocationTaskParameters type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L292-L301

type TrainedModelAllocationTaskParametersBuilder ¶

type TrainedModelAllocationTaskParametersBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelAllocationTaskParametersBuilder holds TrainedModelAllocationTaskParameters struct and provides a builder API.

func NewTrainedModelAllocationTaskParametersBuilder ¶

func NewTrainedModelAllocationTaskParametersBuilder() *TrainedModelAllocationTaskParametersBuilder

NewTrainedModelAllocationTaskParameters provides a builder for the TrainedModelAllocationTaskParameters struct.

func (*TrainedModelAllocationTaskParametersBuilder) Build ¶

Build finalize the chain and returns the TrainedModelAllocationTaskParameters struct

func (*TrainedModelAllocationTaskParametersBuilder) ModelBytes ¶

func (*TrainedModelAllocationTaskParametersBuilder) ModelId ¶

type TrainedModelBuilder ¶

type TrainedModelBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelBuilder holds TrainedModel struct and provides a builder API.

func NewTrainedModelBuilder ¶

func NewTrainedModelBuilder() *TrainedModelBuilder

NewTrainedModel provides a builder for the TrainedModel struct.

func (*TrainedModelBuilder) Build ¶

func (rb *TrainedModelBuilder) Build() TrainedModel

Build finalize the chain and returns the TrainedModel struct

func (*TrainedModelBuilder) Ensemble ¶

func (rb *TrainedModelBuilder) Ensemble(ensemble *EnsembleBuilder) *TrainedModelBuilder

func (*TrainedModelBuilder) Tree ¶

func (*TrainedModelBuilder) TreeNode ¶

type TrainedModelConfig ¶

type TrainedModelConfig struct {
	CompressedDefinition *string `json:"compressed_definition,omitempty"`
	// CreateTime The time when the trained model was created.
	CreateTime *DateTime `json:"create_time,omitempty"`
	// CreatedBy Information on the creator of the trained model.
	CreatedBy *string `json:"created_by,omitempty"`
	// DefaultFieldMap Any field map described in the inference configuration takes precedence.
	DefaultFieldMap map[string]string `json:"default_field_map,omitempty"`
	// Description The free-text description of the trained model.
	Description *string `json:"description,omitempty"`
	// EstimatedHeapMemoryUsageBytes The estimated heap usage in bytes to keep the trained model in memory.
	EstimatedHeapMemoryUsageBytes *int `json:"estimated_heap_memory_usage_bytes,omitempty"`
	// EstimatedOperations The estimated number of operations to use the trained model.
	EstimatedOperations *int `json:"estimated_operations,omitempty"`
	// InferenceConfig The default configuration for inference. This can be either a regression,
	// classification, or one of the many NLP focused configurations. It must match
	// the underlying definition.trained_model's target_type.
	InferenceConfig InferenceConfigCreateContainer `json:"inference_config"`
	// Input The input field names for the model definition.
	Input TrainedModelConfigInput `json:"input"`
	// LicenseLevel The license level of the trained model.
	LicenseLevel *string               `json:"license_level,omitempty"`
	Location     *TrainedModelLocation `json:"location,omitempty"`
	// Metadata An object containing metadata about the trained model. For example, models
	// created by data frame analytics contain analysis_config and input objects.
	Metadata *TrainedModelConfigMetadata `json:"metadata,omitempty"`
	// ModelId Identifier for the trained model.
	ModelId        Id        `json:"model_id"`
	ModelSizeBytes *ByteSize `json:"model_size_bytes,omitempty"`
	// ModelType The model type
	ModelType *trainedmodeltype.TrainedModelType `json:"model_type,omitempty"`
	// Tags A comma delimited string of tags. A trained model can have many tags, or
	// none.
	Tags []string `json:"tags"`
	// Version The Elasticsearch version number in which the trained model was created.
	Version *VersionString `json:"version,omitempty"`
}

TrainedModelConfig type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L156-L188

type TrainedModelConfigBuilder ¶

type TrainedModelConfigBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelConfigBuilder holds TrainedModelConfig struct and provides a builder API.

func NewTrainedModelConfigBuilder ¶

func NewTrainedModelConfigBuilder() *TrainedModelConfigBuilder

NewTrainedModelConfig provides a builder for the TrainedModelConfig struct.

func (*TrainedModelConfigBuilder) Build ¶

Build finalize the chain and returns the TrainedModelConfig struct

func (*TrainedModelConfigBuilder) CompressedDefinition ¶

func (rb *TrainedModelConfigBuilder) CompressedDefinition(compresseddefinition string) *TrainedModelConfigBuilder

func (*TrainedModelConfigBuilder) CreateTime ¶

func (*TrainedModelConfigBuilder) CreatedBy ¶

func (*TrainedModelConfigBuilder) DefaultFieldMap ¶

func (rb *TrainedModelConfigBuilder) DefaultFieldMap(value map[string]string) *TrainedModelConfigBuilder

func (*TrainedModelConfigBuilder) Description ¶

func (rb *TrainedModelConfigBuilder) Description(description string) *TrainedModelConfigBuilder

func (*TrainedModelConfigBuilder) EstimatedHeapMemoryUsageBytes ¶

func (rb *TrainedModelConfigBuilder) EstimatedHeapMemoryUsageBytes(estimatedheapmemoryusagebytes int) *TrainedModelConfigBuilder

func (*TrainedModelConfigBuilder) EstimatedOperations ¶

func (rb *TrainedModelConfigBuilder) EstimatedOperations(estimatedoperations int) *TrainedModelConfigBuilder

func (*TrainedModelConfigBuilder) InferenceConfig ¶

func (*TrainedModelConfigBuilder) Input ¶

func (*TrainedModelConfigBuilder) LicenseLevel ¶

func (rb *TrainedModelConfigBuilder) LicenseLevel(licenselevel string) *TrainedModelConfigBuilder

func (*TrainedModelConfigBuilder) Location ¶

func (*TrainedModelConfigBuilder) Metadata ¶

func (*TrainedModelConfigBuilder) ModelId ¶

func (*TrainedModelConfigBuilder) ModelSizeBytes ¶

func (rb *TrainedModelConfigBuilder) ModelSizeBytes(modelsizebytes *ByteSizeBuilder) *TrainedModelConfigBuilder

func (*TrainedModelConfigBuilder) ModelType ¶

func (*TrainedModelConfigBuilder) Tags ¶

func (*TrainedModelConfigBuilder) Version ¶

type TrainedModelConfigInput ¶

type TrainedModelConfigInput struct {
	// FieldNames An array of input field names for the model.
	FieldNames []Field `json:"field_names"`
}

TrainedModelConfigInput type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L190-L193

type TrainedModelConfigInputBuilder ¶

type TrainedModelConfigInputBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelConfigInputBuilder holds TrainedModelConfigInput struct and provides a builder API.

func NewTrainedModelConfigInputBuilder ¶

func NewTrainedModelConfigInputBuilder() *TrainedModelConfigInputBuilder

NewTrainedModelConfigInput provides a builder for the TrainedModelConfigInput struct.

func (*TrainedModelConfigInputBuilder) Build ¶

Build finalize the chain and returns the TrainedModelConfigInput struct

func (*TrainedModelConfigInputBuilder) FieldNames ¶

type TrainedModelConfigMetadata ¶

type TrainedModelConfigMetadata struct {
	// FeatureImportanceBaseline An object that contains the baseline for feature importance values. For
	// regression analysis, it is a single value. For classification analysis, there
	// is a value for each class.
	FeatureImportanceBaseline map[string]string `json:"feature_importance_baseline,omitempty"`
	// Hyperparameters List of the available hyperparameters optimized during the
	// fine_parameter_tuning phase as well as specified by the user.
	Hyperparameters []Hyperparameter `json:"hyperparameters,omitempty"`
	ModelAliases    []string         `json:"model_aliases,omitempty"`
	// TotalFeatureImportance An array of the total feature importance for each feature used from the
	// training data set. This array of objects is returned if data frame analytics
	// trained the model and the request includes total_feature_importance in the
	// include request parameter.
	TotalFeatureImportance []TotalFeatureImportance `json:"total_feature_importance,omitempty"`
}

TrainedModelConfigMetadata type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L195-L203

type TrainedModelConfigMetadataBuilder ¶

type TrainedModelConfigMetadataBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelConfigMetadataBuilder holds TrainedModelConfigMetadata struct and provides a builder API.

func NewTrainedModelConfigMetadataBuilder ¶

func NewTrainedModelConfigMetadataBuilder() *TrainedModelConfigMetadataBuilder

NewTrainedModelConfigMetadata provides a builder for the TrainedModelConfigMetadata struct.

func (*TrainedModelConfigMetadataBuilder) Build ¶

Build finalize the chain and returns the TrainedModelConfigMetadata struct

func (*TrainedModelConfigMetadataBuilder) FeatureImportanceBaseline ¶

func (rb *TrainedModelConfigMetadataBuilder) FeatureImportanceBaseline(value map[string]string) *TrainedModelConfigMetadataBuilder

func (*TrainedModelConfigMetadataBuilder) Hyperparameters ¶

func (*TrainedModelConfigMetadataBuilder) ModelAliases ¶

func (*TrainedModelConfigMetadataBuilder) TotalFeatureImportance ¶

func (rb *TrainedModelConfigMetadataBuilder) TotalFeatureImportance(total_feature_importance []TotalFeatureImportanceBuilder) *TrainedModelConfigMetadataBuilder

type TrainedModelDeploymentAllocationStatus ¶

type TrainedModelDeploymentAllocationStatus struct {
	// AllocationCount The current number of nodes where the model is allocated.
	AllocationCount int `json:"allocation_count"`
	// State The detailed allocation state related to the nodes.
	State deploymentallocationstate.DeploymentAllocationState `json:"state"`
	// TargetAllocationCount The desired number of nodes for model allocation.
	TargetAllocationCount int `json:"target_allocation_count"`
}

TrainedModelDeploymentAllocationStatus type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L338-L345

type TrainedModelDeploymentAllocationStatusBuilder ¶

type TrainedModelDeploymentAllocationStatusBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelDeploymentAllocationStatusBuilder holds TrainedModelDeploymentAllocationStatus struct and provides a builder API.

func NewTrainedModelDeploymentAllocationStatusBuilder ¶

func NewTrainedModelDeploymentAllocationStatusBuilder() *TrainedModelDeploymentAllocationStatusBuilder

NewTrainedModelDeploymentAllocationStatus provides a builder for the TrainedModelDeploymentAllocationStatus struct.

func (*TrainedModelDeploymentAllocationStatusBuilder) AllocationCount ¶

func (*TrainedModelDeploymentAllocationStatusBuilder) Build ¶

Build finalize the chain and returns the TrainedModelDeploymentAllocationStatus struct

func (*TrainedModelDeploymentAllocationStatusBuilder) TargetAllocationCount ¶

type TrainedModelDeploymentNodesStats ¶

type TrainedModelDeploymentNodesStats struct {
	// AverageInferenceTimeMs The average time for each inference call to complete on this node.
	AverageInferenceTimeMs DurationValueUnitFloatMillis `json:"average_inference_time_ms"`
	// ErrorCount The number of errors when evaluating the trained model.
	ErrorCount int `json:"error_count"`
	// InferenceCount The total number of inference calls made against this node for this model.
	InferenceCount int `json:"inference_count"`
	// LastAccess The epoch time stamp of the last inference call for the model on this node.
	LastAccess int64 `json:"last_access"`
	// Node Information pertaining to the node.
	Node DiscoveryNode `json:"node"`
	// NumberOfAllocations The number of allocations assigned to this node.
	NumberOfAllocations int `json:"number_of_allocations"`
	// NumberOfPendingRequests The number of inference requests queued to be processed.
	NumberOfPendingRequests int `json:"number_of_pending_requests"`
	// RejectionExecutionCount The number of inference requests that were not processed because the queue
	// was full.
	RejectionExecutionCount int `json:"rejection_execution_count"`
	// RoutingState The current routing state and reason for the current routing state for this
	// allocation.
	RoutingState TrainedModelAllocationRoutingTable `json:"routing_state"`
	// StartTime The epoch timestamp when the allocation started.
	StartTime EpochTimeUnitMillis `json:"start_time"`
	// ThreadsPerAllocation The number of threads used by each allocation during inference.
	ThreadsPerAllocation int `json:"threads_per_allocation"`
	// TimeoutCount The number of inference requests that timed out before being processed.
	TimeoutCount int `json:"timeout_count"`
}

TrainedModelDeploymentNodesStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L127-L154

type TrainedModelDeploymentNodesStatsBuilder ¶

type TrainedModelDeploymentNodesStatsBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelDeploymentNodesStatsBuilder holds TrainedModelDeploymentNodesStats struct and provides a builder API.

func NewTrainedModelDeploymentNodesStatsBuilder ¶

func NewTrainedModelDeploymentNodesStatsBuilder() *TrainedModelDeploymentNodesStatsBuilder

NewTrainedModelDeploymentNodesStats provides a builder for the TrainedModelDeploymentNodesStats struct.

func (*TrainedModelDeploymentNodesStatsBuilder) AverageInferenceTimeMs ¶

func (*TrainedModelDeploymentNodesStatsBuilder) Build ¶

Build finalize the chain and returns the TrainedModelDeploymentNodesStats struct

func (*TrainedModelDeploymentNodesStatsBuilder) ErrorCount ¶

func (*TrainedModelDeploymentNodesStatsBuilder) InferenceCount ¶

func (*TrainedModelDeploymentNodesStatsBuilder) LastAccess ¶

func (*TrainedModelDeploymentNodesStatsBuilder) Node ¶

func (*TrainedModelDeploymentNodesStatsBuilder) NumberOfAllocations ¶

func (rb *TrainedModelDeploymentNodesStatsBuilder) NumberOfAllocations(numberofallocations int) *TrainedModelDeploymentNodesStatsBuilder

func (*TrainedModelDeploymentNodesStatsBuilder) NumberOfPendingRequests ¶

func (rb *TrainedModelDeploymentNodesStatsBuilder) NumberOfPendingRequests(numberofpendingrequests int) *TrainedModelDeploymentNodesStatsBuilder

func (*TrainedModelDeploymentNodesStatsBuilder) RejectionExecutionCount ¶

func (rb *TrainedModelDeploymentNodesStatsBuilder) RejectionExecutionCount(rejectionexecutioncount int) *TrainedModelDeploymentNodesStatsBuilder

func (*TrainedModelDeploymentNodesStatsBuilder) RoutingState ¶

func (*TrainedModelDeploymentNodesStatsBuilder) StartTime ¶

func (*TrainedModelDeploymentNodesStatsBuilder) ThreadsPerAllocation ¶

func (rb *TrainedModelDeploymentNodesStatsBuilder) ThreadsPerAllocation(threadsperallocation int) *TrainedModelDeploymentNodesStatsBuilder

func (*TrainedModelDeploymentNodesStatsBuilder) TimeoutCount ¶

type TrainedModelDeploymentStats ¶

type TrainedModelDeploymentStats struct {
	// AllocationStatus The detailed allocation status for the deployment.
	AllocationStatus TrainedModelDeploymentAllocationStatus `json:"allocation_status"`
	// ErrorCount The sum of `error_count` for all nodes in the deployment.
	ErrorCount int `json:"error_count"`
	// InferenceCount The sum of `inference_count` for all nodes in the deployment.
	InferenceCount int `json:"inference_count"`
	// ModelId The unique identifier for the trained model.
	ModelId Id `json:"model_id"`
	// Nodes The deployent stats for each node that currently has the model allocated.
	Nodes TrainedModelDeploymentNodesStats `json:"nodes"`
	// NumberOfAllocations The number of allocations requested.
	NumberOfAllocations int `json:"number_of_allocations"`
	// QueueCapacity The number of inference requests that can be queued before new requests are
	// rejected.
	QueueCapacity int `json:"queue_capacity"`
	// Reason The reason for the current deployment state. Usually only populated when
	// the model is not deployed to a node.
	Reason string `json:"reason"`
	// RejectedExecutionCount The sum of `rejected_execution_count` for all nodes in the deployment.
	// Individual nodes reject an inference request if the inference queue is full.
	// The queue size is controlled by the `queue_capacity` setting in the start
	// trained model deployment API.
	RejectedExecutionCount int `json:"rejected_execution_count"`
	// StartTime The epoch timestamp when the deployment started.
	StartTime EpochTimeUnitMillis `json:"start_time"`
	// State The overall state of the deployment.
	State deploymentstate.DeploymentState `json:"state"`
	// ThreadsPerAllocation The number of threads used be each allocation during inference.
	ThreadsPerAllocation int `json:"threads_per_allocation"`
	// TimeoutCount The sum of `timeout_count` for all nodes in the deployment.
	TimeoutCount int `json:"timeout_count"`
}

TrainedModelDeploymentStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L62-L96

type TrainedModelDeploymentStatsBuilder ¶

type TrainedModelDeploymentStatsBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelDeploymentStatsBuilder holds TrainedModelDeploymentStats struct and provides a builder API.

func NewTrainedModelDeploymentStatsBuilder ¶

func NewTrainedModelDeploymentStatsBuilder() *TrainedModelDeploymentStatsBuilder

NewTrainedModelDeploymentStats provides a builder for the TrainedModelDeploymentStats struct.

func (*TrainedModelDeploymentStatsBuilder) AllocationStatus ¶

func (*TrainedModelDeploymentStatsBuilder) Build ¶

Build finalize the chain and returns the TrainedModelDeploymentStats struct

func (*TrainedModelDeploymentStatsBuilder) ErrorCount ¶

func (*TrainedModelDeploymentStatsBuilder) InferenceCount ¶

func (*TrainedModelDeploymentStatsBuilder) ModelId ¶

func (*TrainedModelDeploymentStatsBuilder) NumberOfAllocations ¶

func (rb *TrainedModelDeploymentStatsBuilder) NumberOfAllocations(numberofallocations int) *TrainedModelDeploymentStatsBuilder

func (*TrainedModelDeploymentStatsBuilder) QueueCapacity ¶

func (*TrainedModelDeploymentStatsBuilder) Reason ¶

func (*TrainedModelDeploymentStatsBuilder) RejectedExecutionCount ¶

func (rb *TrainedModelDeploymentStatsBuilder) RejectedExecutionCount(rejectedexecutioncount int) *TrainedModelDeploymentStatsBuilder

func (*TrainedModelDeploymentStatsBuilder) StartTime ¶

func (*TrainedModelDeploymentStatsBuilder) State ¶

func (*TrainedModelDeploymentStatsBuilder) ThreadsPerAllocation ¶

func (rb *TrainedModelDeploymentStatsBuilder) ThreadsPerAllocation(threadsperallocation int) *TrainedModelDeploymentStatsBuilder

func (*TrainedModelDeploymentStatsBuilder) TimeoutCount ¶

type TrainedModelEntities ¶

type TrainedModelEntities struct {
	ClassName        string  `json:"class_name"`
	ClassProbability float64 `json:"class_probability"`
	EndPos           int     `json:"end_pos"`
	Entity           string  `json:"entity"`
	StartPos         int     `json:"start_pos"`
}

TrainedModelEntities type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L386-L392

type TrainedModelEntitiesBuilder ¶

type TrainedModelEntitiesBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelEntitiesBuilder holds TrainedModelEntities struct and provides a builder API.

func NewTrainedModelEntitiesBuilder ¶

func NewTrainedModelEntitiesBuilder() *TrainedModelEntitiesBuilder

NewTrainedModelEntities provides a builder for the TrainedModelEntities struct.

func (*TrainedModelEntitiesBuilder) Build ¶

Build finalize the chain and returns the TrainedModelEntities struct

func (*TrainedModelEntitiesBuilder) ClassName ¶

func (*TrainedModelEntitiesBuilder) ClassProbability ¶

func (rb *TrainedModelEntitiesBuilder) ClassProbability(classprobability float64) *TrainedModelEntitiesBuilder

func (*TrainedModelEntitiesBuilder) EndPos ¶

func (*TrainedModelEntitiesBuilder) Entity ¶

func (*TrainedModelEntitiesBuilder) StartPos ¶

type TrainedModelInferenceClassImportance ¶

type TrainedModelInferenceClassImportance struct {
	ClassName  string  `json:"class_name"`
	Importance float64 `json:"importance"`
}

TrainedModelInferenceClassImportance type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L399-L402

type TrainedModelInferenceClassImportanceBuilder ¶

type TrainedModelInferenceClassImportanceBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelInferenceClassImportanceBuilder holds TrainedModelInferenceClassImportance struct and provides a builder API.

func NewTrainedModelInferenceClassImportanceBuilder ¶

func NewTrainedModelInferenceClassImportanceBuilder() *TrainedModelInferenceClassImportanceBuilder

NewTrainedModelInferenceClassImportance provides a builder for the TrainedModelInferenceClassImportance struct.

func (*TrainedModelInferenceClassImportanceBuilder) Build ¶

Build finalize the chain and returns the TrainedModelInferenceClassImportance struct

func (*TrainedModelInferenceClassImportanceBuilder) ClassName ¶

func (*TrainedModelInferenceClassImportanceBuilder) Importance ¶

type TrainedModelInferenceFeatureImportance ¶

type TrainedModelInferenceFeatureImportance struct {
	Classes     []TrainedModelInferenceClassImportance `json:"classes,omitempty"`
	FeatureName string                                 `json:"feature_name"`
	Importance  *float64                               `json:"importance,omitempty"`
}

TrainedModelInferenceFeatureImportance type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L404-L408

type TrainedModelInferenceFeatureImportanceBuilder ¶

type TrainedModelInferenceFeatureImportanceBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelInferenceFeatureImportanceBuilder holds TrainedModelInferenceFeatureImportance struct and provides a builder API.

func NewTrainedModelInferenceFeatureImportanceBuilder ¶

func NewTrainedModelInferenceFeatureImportanceBuilder() *TrainedModelInferenceFeatureImportanceBuilder

NewTrainedModelInferenceFeatureImportance provides a builder for the TrainedModelInferenceFeatureImportance struct.

func (*TrainedModelInferenceFeatureImportanceBuilder) Build ¶

Build finalize the chain and returns the TrainedModelInferenceFeatureImportance struct

func (*TrainedModelInferenceFeatureImportanceBuilder) FeatureName ¶

func (*TrainedModelInferenceFeatureImportanceBuilder) Importance ¶

type TrainedModelInferenceStats ¶

type TrainedModelInferenceStats struct {
	// CacheMissCount The number of times the model was loaded for inference and was not retrieved
	// from the cache.
	// If this number is close to the `inference_count`, the cache is not being
	// appropriately used.
	// This can be solved by increasing the cache size or its time-to-live (TTL).
	// Refer to general machine learning settings for the appropriate settings.
	CacheMissCount int `json:"cache_miss_count"`
	// FailureCount The number of failures when using the model for inference.
	FailureCount int `json:"failure_count"`
	// InferenceCount The total number of times the model has been called for inference.
	// This is across all inference contexts, including all pipelines.
	InferenceCount int `json:"inference_count"`
	// MissingAllFieldsCount The number of inference calls where all the training features for the model
	// were missing.
	MissingAllFieldsCount int `json:"missing_all_fields_count"`
	// Timestamp The time when the statistics were last updated.
	Timestamp DateTime `json:"timestamp"`
}

TrainedModelInferenceStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L98-L118

type TrainedModelInferenceStatsBuilder ¶

type TrainedModelInferenceStatsBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelInferenceStatsBuilder holds TrainedModelInferenceStats struct and provides a builder API.

func NewTrainedModelInferenceStatsBuilder ¶

func NewTrainedModelInferenceStatsBuilder() *TrainedModelInferenceStatsBuilder

NewTrainedModelInferenceStats provides a builder for the TrainedModelInferenceStats struct.

func (*TrainedModelInferenceStatsBuilder) Build ¶

Build finalize the chain and returns the TrainedModelInferenceStats struct

func (*TrainedModelInferenceStatsBuilder) CacheMissCount ¶

func (rb *TrainedModelInferenceStatsBuilder) CacheMissCount(cachemisscount int) *TrainedModelInferenceStatsBuilder

func (*TrainedModelInferenceStatsBuilder) FailureCount ¶

func (*TrainedModelInferenceStatsBuilder) InferenceCount ¶

func (rb *TrainedModelInferenceStatsBuilder) InferenceCount(inferencecount int) *TrainedModelInferenceStatsBuilder

func (*TrainedModelInferenceStatsBuilder) MissingAllFieldsCount ¶

func (rb *TrainedModelInferenceStatsBuilder) MissingAllFieldsCount(missingallfieldscount int) *TrainedModelInferenceStatsBuilder

func (*TrainedModelInferenceStatsBuilder) Timestamp ¶

type TrainedModelLocationBuilder ¶

type TrainedModelLocationBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelLocationBuilder holds TrainedModelLocation struct and provides a builder API.

func NewTrainedModelLocationBuilder ¶

func NewTrainedModelLocationBuilder() *TrainedModelLocationBuilder

NewTrainedModelLocation provides a builder for the TrainedModelLocation struct.

func (*TrainedModelLocationBuilder) Build ¶

Build finalize the chain and returns the TrainedModelLocation struct

func (*TrainedModelLocationBuilder) Index ¶

type TrainedModelLocationIndexBuilder ¶

type TrainedModelLocationIndexBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelLocationIndexBuilder holds TrainedModelLocationIndex struct and provides a builder API.

func NewTrainedModelLocationIndexBuilder ¶

func NewTrainedModelLocationIndexBuilder() *TrainedModelLocationIndexBuilder

NewTrainedModelLocationIndex provides a builder for the TrainedModelLocationIndex struct.

func (*TrainedModelLocationIndexBuilder) Build ¶

Build finalize the chain and returns the TrainedModelLocationIndex struct

func (*TrainedModelLocationIndexBuilder) Name ¶

type TrainedModelSizeStats ¶

type TrainedModelSizeStats struct {
	// ModelSizeBytes The size of the model in bytes.
	ModelSizeBytes ByteSize `json:"model_size_bytes"`
	// RequiredNativeMemoryBytes The amount of memory required to load the model in bytes.
	RequiredNativeMemoryBytes int `json:"required_native_memory_bytes"`
}

TrainedModelSizeStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L120-L125

type TrainedModelSizeStatsBuilder ¶

type TrainedModelSizeStatsBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelSizeStatsBuilder holds TrainedModelSizeStats struct and provides a builder API.

func NewTrainedModelSizeStatsBuilder ¶

func NewTrainedModelSizeStatsBuilder() *TrainedModelSizeStatsBuilder

NewTrainedModelSizeStats provides a builder for the TrainedModelSizeStats struct.

func (*TrainedModelSizeStatsBuilder) Build ¶

Build finalize the chain and returns the TrainedModelSizeStats struct

func (*TrainedModelSizeStatsBuilder) ModelSizeBytes ¶

func (rb *TrainedModelSizeStatsBuilder) ModelSizeBytes(modelsizebytes *ByteSizeBuilder) *TrainedModelSizeStatsBuilder

func (*TrainedModelSizeStatsBuilder) RequiredNativeMemoryBytes ¶

func (rb *TrainedModelSizeStatsBuilder) RequiredNativeMemoryBytes(requirednativememorybytes int) *TrainedModelSizeStatsBuilder

type TrainedModelStats ¶

type TrainedModelStats struct {
	// DeploymentStats A collection of deployment stats, which is present when the models are
	// deployed.
	DeploymentStats *TrainedModelDeploymentStats `json:"deployment_stats,omitempty"`
	// InferenceStats A collection of inference stats fields.
	InferenceStats *TrainedModelInferenceStats `json:"inference_stats,omitempty"`
	// Ingest A collection of ingest stats for the model across all nodes.
	// The values are summations of the individual node statistics.
	// The format matches the ingest section in the nodes stats API.
	Ingest map[string]interface{} `json:"ingest,omitempty"`
	// ModelId The unique identifier of the trained model.
	ModelId Id `json:"model_id"`
	// ModelSizeStats A collection of model size stats.
	ModelSizeStats TrainedModelSizeStats `json:"model_size_stats"`
	// PipelineCount The number of ingest pipelines that currently refer to the model.
	PipelineCount int `json:"pipeline_count"`
}

TrainedModelStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L42-L60

type TrainedModelStatsBuilder ¶

type TrainedModelStatsBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelStatsBuilder holds TrainedModelStats struct and provides a builder API.

func NewTrainedModelStatsBuilder ¶

func NewTrainedModelStatsBuilder() *TrainedModelStatsBuilder

NewTrainedModelStats provides a builder for the TrainedModelStats struct.

func (*TrainedModelStatsBuilder) Build ¶

Build finalize the chain and returns the TrainedModelStats struct

func (*TrainedModelStatsBuilder) DeploymentStats ¶

func (*TrainedModelStatsBuilder) InferenceStats ¶

func (*TrainedModelStatsBuilder) Ingest ¶

func (rb *TrainedModelStatsBuilder) Ingest(value map[string]interface{}) *TrainedModelStatsBuilder

func (*TrainedModelStatsBuilder) ModelId ¶

func (*TrainedModelStatsBuilder) ModelSizeStats ¶

func (*TrainedModelStatsBuilder) PipelineCount ¶

func (rb *TrainedModelStatsBuilder) PipelineCount(pipelinecount int) *TrainedModelStatsBuilder

type TrainedModelTree ¶

type TrainedModelTree struct {
	ClassificationLabels []string               `json:"classification_labels,omitempty"`
	FeatureNames         []string               `json:"feature_names"`
	TargetType           *string                `json:"target_type,omitempty"`
	TreeStructure        []TrainedModelTreeNode `json:"tree_structure"`
}

TrainedModelTree type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/put_trained_model/types.ts#L74-L79

type TrainedModelTreeBuilder ¶

type TrainedModelTreeBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelTreeBuilder holds TrainedModelTree struct and provides a builder API.

func NewTrainedModelTreeBuilder ¶

func NewTrainedModelTreeBuilder() *TrainedModelTreeBuilder

NewTrainedModelTree provides a builder for the TrainedModelTree struct.

func (*TrainedModelTreeBuilder) Build ¶

Build finalize the chain and returns the TrainedModelTree struct

func (*TrainedModelTreeBuilder) ClassificationLabels ¶

func (rb *TrainedModelTreeBuilder) ClassificationLabels(classification_labels ...string) *TrainedModelTreeBuilder

func (*TrainedModelTreeBuilder) FeatureNames ¶

func (rb *TrainedModelTreeBuilder) FeatureNames(feature_names ...string) *TrainedModelTreeBuilder

func (*TrainedModelTreeBuilder) TargetType ¶

func (rb *TrainedModelTreeBuilder) TargetType(targettype string) *TrainedModelTreeBuilder

func (*TrainedModelTreeBuilder) TreeStructure ¶

type TrainedModelTreeNode ¶

type TrainedModelTreeNode struct {
	DecisionType *string  `json:"decision_type,omitempty"`
	DefaultLeft  *bool    `json:"default_left,omitempty"`
	LeafValue    *float64 `json:"leaf_value,omitempty"`
	LeftChild    *int     `json:"left_child,omitempty"`
	NodeIndex    int      `json:"node_index"`
	RightChild   *int     `json:"right_child,omitempty"`
	SplitFeature *int     `json:"split_feature,omitempty"`
	SplitGain    *int     `json:"split_gain,omitempty"`
	Threshold    *float64 `json:"threshold,omitempty"`
}

TrainedModelTreeNode type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/put_trained_model/types.ts#L81-L91

type TrainedModelTreeNodeBuilder ¶

type TrainedModelTreeNodeBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelTreeNodeBuilder holds TrainedModelTreeNode struct and provides a builder API.

func NewTrainedModelTreeNodeBuilder ¶

func NewTrainedModelTreeNodeBuilder() *TrainedModelTreeNodeBuilder

NewTrainedModelTreeNode provides a builder for the TrainedModelTreeNode struct.

func (*TrainedModelTreeNodeBuilder) Build ¶

Build finalize the chain and returns the TrainedModelTreeNode struct

func (*TrainedModelTreeNodeBuilder) DecisionType ¶

func (rb *TrainedModelTreeNodeBuilder) DecisionType(decisiontype string) *TrainedModelTreeNodeBuilder

func (*TrainedModelTreeNodeBuilder) DefaultLeft ¶

func (rb *TrainedModelTreeNodeBuilder) DefaultLeft(defaultleft bool) *TrainedModelTreeNodeBuilder

func (*TrainedModelTreeNodeBuilder) LeafValue ¶

func (*TrainedModelTreeNodeBuilder) LeftChild ¶

func (*TrainedModelTreeNodeBuilder) NodeIndex ¶

func (*TrainedModelTreeNodeBuilder) RightChild ¶

func (rb *TrainedModelTreeNodeBuilder) RightChild(rightchild int) *TrainedModelTreeNodeBuilder

func (*TrainedModelTreeNodeBuilder) SplitFeature ¶

func (rb *TrainedModelTreeNodeBuilder) SplitFeature(splitfeature int) *TrainedModelTreeNodeBuilder

func (*TrainedModelTreeNodeBuilder) SplitGain ¶

func (*TrainedModelTreeNodeBuilder) Threshold ¶

type TrainedModelsRecord ¶

type TrainedModelsRecord struct {
	// CreateTime The time the model was created
	CreateTime *DateTime `json:"create_time,omitempty"`
	// CreatedBy who created the model
	CreatedBy *string `json:"created_by,omitempty"`
	// DataFrameAnalysis The analysis used by the data frame to build the model
	DataFrameAnalysis *string `json:"data_frame.analysis,omitempty"`
	// DataFrameCreateTime The time the data frame analytics config was created
	DataFrameCreateTime *string `json:"data_frame.create_time,omitempty"`
	// DataFrameId The data frame analytics config id that created the model (if still
	// available)
	DataFrameId *string `json:"data_frame.id,omitempty"`
	// DataFrameSourceIndex The source index used to train in the data frame analysis
	DataFrameSourceIndex *string `json:"data_frame.source_index,omitempty"`
	// Description The model description
	Description *string `json:"description,omitempty"`
	// HeapSize the estimated heap size to keep the model in memory
	HeapSize *ByteSize `json:"heap_size,omitempty"`
	// Id the trained model id
	Id *Id `json:"id,omitempty"`
	// IngestCount The total number of docs processed by the model
	IngestCount *string `json:"ingest.count,omitempty"`
	// IngestCurrent The total documents currently being handled by the model
	IngestCurrent *string `json:"ingest.current,omitempty"`
	// IngestFailed The total count of failed ingest attempts with this model
	IngestFailed *string `json:"ingest.failed,omitempty"`
	// IngestPipelines The number of pipelines referencing the model
	IngestPipelines *string `json:"ingest.pipelines,omitempty"`
	// IngestTime The total time spent processing docs with this model
	IngestTime *string `json:"ingest.time,omitempty"`
	// License The license level of the model
	License *string `json:"license,omitempty"`
	// Operations the estimated number of operations to use the model
	Operations *string `json:"operations,omitempty"`
	Type       *string `json:"type,omitempty"`
	// Version The version of Elasticsearch when the model was created
	Version *VersionString `json:"version,omitempty"`
}

TrainedModelsRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/ml_trained_models/types.ts#L23-L111

type TrainedModelsRecordBuilder ¶

type TrainedModelsRecordBuilder struct {
	// contains filtered or unexported fields
}

TrainedModelsRecordBuilder holds TrainedModelsRecord struct and provides a builder API.

func NewTrainedModelsRecordBuilder ¶

func NewTrainedModelsRecordBuilder() *TrainedModelsRecordBuilder

NewTrainedModelsRecord provides a builder for the TrainedModelsRecord struct.

func (*TrainedModelsRecordBuilder) Build ¶

Build finalize the chain and returns the TrainedModelsRecord struct

func (*TrainedModelsRecordBuilder) CreateTime ¶

func (*TrainedModelsRecordBuilder) CreatedBy ¶

func (*TrainedModelsRecordBuilder) DataFrameAnalysis ¶

func (rb *TrainedModelsRecordBuilder) DataFrameAnalysis(dataframeanalysis string) *TrainedModelsRecordBuilder

func (*TrainedModelsRecordBuilder) DataFrameCreateTime ¶

func (rb *TrainedModelsRecordBuilder) DataFrameCreateTime(dataframecreatetime string) *TrainedModelsRecordBuilder

func (*TrainedModelsRecordBuilder) DataFrameId ¶

func (rb *TrainedModelsRecordBuilder) DataFrameId(dataframeid string) *TrainedModelsRecordBuilder

func (*TrainedModelsRecordBuilder) DataFrameSourceIndex ¶

func (rb *TrainedModelsRecordBuilder) DataFrameSourceIndex(dataframesourceindex string) *TrainedModelsRecordBuilder

func (*TrainedModelsRecordBuilder) Description ¶

func (rb *TrainedModelsRecordBuilder) Description(description string) *TrainedModelsRecordBuilder

func (*TrainedModelsRecordBuilder) HeapSize ¶

func (*TrainedModelsRecordBuilder) Id ¶

func (*TrainedModelsRecordBuilder) IngestCount ¶

func (rb *TrainedModelsRecordBuilder) IngestCount(ingestcount string) *TrainedModelsRecordBuilder

func (*TrainedModelsRecordBuilder) IngestCurrent ¶

func (rb *TrainedModelsRecordBuilder) IngestCurrent(ingestcurrent string) *TrainedModelsRecordBuilder

func (*TrainedModelsRecordBuilder) IngestFailed ¶

func (rb *TrainedModelsRecordBuilder) IngestFailed(ingestfailed string) *TrainedModelsRecordBuilder

func (*TrainedModelsRecordBuilder) IngestPipelines ¶

func (rb *TrainedModelsRecordBuilder) IngestPipelines(ingestpipelines string) *TrainedModelsRecordBuilder

func (*TrainedModelsRecordBuilder) IngestTime ¶

func (rb *TrainedModelsRecordBuilder) IngestTime(ingesttime string) *TrainedModelsRecordBuilder

func (*TrainedModelsRecordBuilder) License ¶

func (*TrainedModelsRecordBuilder) Operations ¶

func (rb *TrainedModelsRecordBuilder) Operations(operations string) *TrainedModelsRecordBuilder

func (*TrainedModelsRecordBuilder) Type_ ¶

func (*TrainedModelsRecordBuilder) Version ¶

type TransformAuthorization ¶

type TransformAuthorization struct {
	// ApiKey If an API key was used for the most recent update to the transform, its name
	// and identifier are listed in the response.
	ApiKey *ApiKeyAuthorization `json:"api_key,omitempty"`
	// Roles If a user ID was used for the most recent update to the transform, its roles
	// at the time of the update are listed in the response.
	Roles []string `json:"roles,omitempty"`
	// ServiceAccount If a service account was used for the most recent update to the transform,
	// the account name is listed in the response.
	ServiceAccount *string `json:"service_account,omitempty"`
}

TransformAuthorization type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Authorization.ts#L59-L71

type TransformAuthorizationBuilder ¶

type TransformAuthorizationBuilder struct {
	// contains filtered or unexported fields
}

TransformAuthorizationBuilder holds TransformAuthorization struct and provides a builder API.

func NewTransformAuthorizationBuilder ¶

func NewTransformAuthorizationBuilder() *TransformAuthorizationBuilder

NewTransformAuthorization provides a builder for the TransformAuthorization struct.

func (*TransformAuthorizationBuilder) ApiKey ¶

func (*TransformAuthorizationBuilder) Build ¶

Build finalize the chain and returns the TransformAuthorization struct

func (*TransformAuthorizationBuilder) Roles ¶

func (*TransformAuthorizationBuilder) ServiceAccount ¶

func (rb *TransformAuthorizationBuilder) ServiceAccount(serviceaccount string) *TransformAuthorizationBuilder

type TransformContainer ¶

type TransformContainer struct {
	Chain  []TransformContainer `json:"chain,omitempty"`
	Script *ScriptTransform     `json:"script,omitempty"`
	Search *SearchTransform     `json:"search,omitempty"`
}

TransformContainer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Transform.ts#L27-L34

type TransformContainerBuilder ¶

type TransformContainerBuilder struct {
	// contains filtered or unexported fields
}

TransformContainerBuilder holds TransformContainer struct and provides a builder API.

func NewTransformContainerBuilder ¶

func NewTransformContainerBuilder() *TransformContainerBuilder

NewTransformContainer provides a builder for the TransformContainer struct.

func (*TransformContainerBuilder) Build ¶

Build finalize the chain and returns the TransformContainer struct

func (*TransformContainerBuilder) Chain ¶

func (*TransformContainerBuilder) Script ¶

func (*TransformContainerBuilder) Search ¶

type TransformIndexerStats ¶

type TransformIndexerStats struct {
	DeleteTimeInMs                     *EpochTimeUnitMillis         `json:"delete_time_in_ms,omitempty"`
	DocumentsDeleted                   *int64                       `json:"documents_deleted,omitempty"`
	DocumentsIndexed                   int64                        `json:"documents_indexed"`
	DocumentsProcessed                 int64                        `json:"documents_processed"`
	ExponentialAvgCheckpointDurationMs DurationValueUnitFloatMillis `json:"exponential_avg_checkpoint_duration_ms"`
	ExponentialAvgDocumentsIndexed     float64                      `json:"exponential_avg_documents_indexed"`
	ExponentialAvgDocumentsProcessed   float64                      `json:"exponential_avg_documents_processed"`
	IndexFailures                      int64                        `json:"index_failures"`
	IndexTimeInMs                      DurationValueUnitMillis      `json:"index_time_in_ms"`
	IndexTotal                         int64                        `json:"index_total"`
	PagesProcessed                     int64                        `json:"pages_processed"`
	ProcessingTimeInMs                 DurationValueUnitMillis      `json:"processing_time_in_ms"`
	ProcessingTotal                    int64                        `json:"processing_total"`
	SearchFailures                     int64                        `json:"search_failures"`
	SearchTimeInMs                     DurationValueUnitMillis      `json:"search_time_in_ms"`
	SearchTotal                        int64                        `json:"search_total"`
	TriggerCount                       int64                        `json:"trigger_count"`
}

TransformIndexerStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/get_transform_stats/types.ts#L48-L66

type TransformIndexerStatsBuilder ¶

type TransformIndexerStatsBuilder struct {
	// contains filtered or unexported fields
}

TransformIndexerStatsBuilder holds TransformIndexerStats struct and provides a builder API.

func NewTransformIndexerStatsBuilder ¶

func NewTransformIndexerStatsBuilder() *TransformIndexerStatsBuilder

NewTransformIndexerStats provides a builder for the TransformIndexerStats struct.

func (*TransformIndexerStatsBuilder) Build ¶

Build finalize the chain and returns the TransformIndexerStats struct

func (*TransformIndexerStatsBuilder) DeleteTimeInMs ¶

func (*TransformIndexerStatsBuilder) DocumentsDeleted ¶

func (rb *TransformIndexerStatsBuilder) DocumentsDeleted(documentsdeleted int64) *TransformIndexerStatsBuilder

func (*TransformIndexerStatsBuilder) DocumentsIndexed ¶

func (rb *TransformIndexerStatsBuilder) DocumentsIndexed(documentsindexed int64) *TransformIndexerStatsBuilder

func (*TransformIndexerStatsBuilder) DocumentsProcessed ¶

func (rb *TransformIndexerStatsBuilder) DocumentsProcessed(documentsprocessed int64) *TransformIndexerStatsBuilder

func (*TransformIndexerStatsBuilder) ExponentialAvgCheckpointDurationMs ¶

func (rb *TransformIndexerStatsBuilder) ExponentialAvgCheckpointDurationMs(exponentialavgcheckpointdurationms *DurationValueUnitFloatMillisBuilder) *TransformIndexerStatsBuilder

func (*TransformIndexerStatsBuilder) ExponentialAvgDocumentsIndexed ¶

func (rb *TransformIndexerStatsBuilder) ExponentialAvgDocumentsIndexed(exponentialavgdocumentsindexed float64) *TransformIndexerStatsBuilder

func (*TransformIndexerStatsBuilder) ExponentialAvgDocumentsProcessed ¶

func (rb *TransformIndexerStatsBuilder) ExponentialAvgDocumentsProcessed(exponentialavgdocumentsprocessed float64) *TransformIndexerStatsBuilder

func (*TransformIndexerStatsBuilder) IndexFailures ¶

func (rb *TransformIndexerStatsBuilder) IndexFailures(indexfailures int64) *TransformIndexerStatsBuilder

func (*TransformIndexerStatsBuilder) IndexTimeInMs ¶

func (*TransformIndexerStatsBuilder) IndexTotal ¶

func (*TransformIndexerStatsBuilder) PagesProcessed ¶

func (rb *TransformIndexerStatsBuilder) PagesProcessed(pagesprocessed int64) *TransformIndexerStatsBuilder

func (*TransformIndexerStatsBuilder) ProcessingTimeInMs ¶

func (*TransformIndexerStatsBuilder) ProcessingTotal ¶

func (rb *TransformIndexerStatsBuilder) ProcessingTotal(processingtotal int64) *TransformIndexerStatsBuilder

func (*TransformIndexerStatsBuilder) SearchFailures ¶

func (rb *TransformIndexerStatsBuilder) SearchFailures(searchfailures int64) *TransformIndexerStatsBuilder

func (*TransformIndexerStatsBuilder) SearchTimeInMs ¶

func (*TransformIndexerStatsBuilder) SearchTotal ¶

func (rb *TransformIndexerStatsBuilder) SearchTotal(searchtotal int64) *TransformIndexerStatsBuilder

func (*TransformIndexerStatsBuilder) TriggerCount ¶

func (rb *TransformIndexerStatsBuilder) TriggerCount(triggercount int64) *TransformIndexerStatsBuilder

type TransformProgress ¶

type TransformProgress struct {
	DocsIndexed     int64   `json:"docs_indexed"`
	DocsProcessed   int64   `json:"docs_processed"`
	DocsRemaining   int64   `json:"docs_remaining"`
	PercentComplete float64 `json:"percent_complete"`
	TotalDocs       int64   `json:"total_docs"`
}

TransformProgress type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/get_transform_stats/types.ts#L40-L46

type TransformProgressBuilder ¶

type TransformProgressBuilder struct {
	// contains filtered or unexported fields
}

TransformProgressBuilder holds TransformProgress struct and provides a builder API.

func NewTransformProgressBuilder ¶

func NewTransformProgressBuilder() *TransformProgressBuilder

NewTransformProgress provides a builder for the TransformProgress struct.

func (*TransformProgressBuilder) Build ¶

Build finalize the chain and returns the TransformProgress struct

func (*TransformProgressBuilder) DocsIndexed ¶

func (rb *TransformProgressBuilder) DocsIndexed(docsindexed int64) *TransformProgressBuilder

func (*TransformProgressBuilder) DocsProcessed ¶

func (rb *TransformProgressBuilder) DocsProcessed(docsprocessed int64) *TransformProgressBuilder

func (*TransformProgressBuilder) DocsRemaining ¶

func (rb *TransformProgressBuilder) DocsRemaining(docsremaining int64) *TransformProgressBuilder

func (*TransformProgressBuilder) PercentComplete ¶

func (rb *TransformProgressBuilder) PercentComplete(percentcomplete float64) *TransformProgressBuilder

func (*TransformProgressBuilder) TotalDocs ¶

func (rb *TransformProgressBuilder) TotalDocs(totaldocs int64) *TransformProgressBuilder

type TransformStats ¶

type TransformStats struct {
	Checkpointing Checkpointing         `json:"checkpointing"`
	Id            Id                    `json:"id"`
	Node          *NodeAttributes       `json:"node,omitempty"`
	Reason        *string               `json:"reason,omitempty"`
	State         string                `json:"state"`
	Stats         TransformIndexerStats `json:"stats"`
}

TransformStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/get_transform_stats/types.ts#L31-L38

type TransformStatsBuilder ¶

type TransformStatsBuilder struct {
	// contains filtered or unexported fields
}

TransformStatsBuilder holds TransformStats struct and provides a builder API.

func NewTransformStatsBuilder ¶

func NewTransformStatsBuilder() *TransformStatsBuilder

NewTransformStats provides a builder for the TransformStats struct.

func (*TransformStatsBuilder) Build ¶

Build finalize the chain and returns the TransformStats struct

func (*TransformStatsBuilder) Checkpointing ¶

func (rb *TransformStatsBuilder) Checkpointing(checkpointing *CheckpointingBuilder) *TransformStatsBuilder

func (*TransformStatsBuilder) Id ¶

func (*TransformStatsBuilder) Node ¶

func (*TransformStatsBuilder) Reason ¶

func (*TransformStatsBuilder) State ¶

func (*TransformStatsBuilder) Stats ¶

type TransformSummary ¶

type TransformSummary struct {
	// Authorization The security privileges that the transform uses to run its queries. If
	// Elastic Stack security features were disabled at the time of the most recent
	// update to the transform, this property is omitted.
	Authorization *TransformAuthorization `json:"authorization,omitempty"`
	// CreateTime The time the transform was created.
	CreateTime *EpochTimeUnitMillis `json:"create_time,omitempty"`
	// Description Free text description of the transform.
	Description *string `json:"description,omitempty"`
	// Dest The destination for the transform.
	Dest      Destination `json:"dest"`
	Frequency *Duration   `json:"frequency,omitempty"`
	Id        Id          `json:"id"`
	Latest    *Latest     `json:"latest,omitempty"`
	Meta_     *Metadata   `json:"_meta,omitempty"`
	// Pivot The pivot method transforms the data by aggregating and grouping it.
	Pivot           *Pivot                    `json:"pivot,omitempty"`
	RetentionPolicy *RetentionPolicyContainer `json:"retention_policy,omitempty"`
	// Settings Defines optional transform settings.
	Settings *Settings `json:"settings,omitempty"`
	// Source The source of the data for the transform.
	Source Source `json:"source"`
	// Sync Defines the properties transforms require to run continuously.
	Sync *SyncContainer `json:"sync,omitempty"`
	// Version The version of Elasticsearch that existed on the node when the transform was
	// created.
	Version *VersionString `json:"version,omitempty"`
}

TransformSummary type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/transform/get_transform/types.ts#L33-L61

type TransformSummaryBuilder ¶

type TransformSummaryBuilder struct {
	// contains filtered or unexported fields
}

TransformSummaryBuilder holds TransformSummary struct and provides a builder API.

func NewTransformSummaryBuilder ¶

func NewTransformSummaryBuilder() *TransformSummaryBuilder

NewTransformSummary provides a builder for the TransformSummary struct.

func (*TransformSummaryBuilder) Authorization ¶

func (*TransformSummaryBuilder) Build ¶

Build finalize the chain and returns the TransformSummary struct

func (*TransformSummaryBuilder) CreateTime ¶

func (*TransformSummaryBuilder) Description ¶

func (rb *TransformSummaryBuilder) Description(description string) *TransformSummaryBuilder

func (*TransformSummaryBuilder) Dest ¶

func (*TransformSummaryBuilder) Frequency ¶

func (*TransformSummaryBuilder) Id ¶

func (*TransformSummaryBuilder) Latest ¶

func (*TransformSummaryBuilder) Meta_ ¶

func (*TransformSummaryBuilder) Pivot ¶

func (*TransformSummaryBuilder) RetentionPolicy ¶

func (*TransformSummaryBuilder) Settings ¶

func (*TransformSummaryBuilder) Source ¶

func (*TransformSummaryBuilder) Sync ¶

func (*TransformSummaryBuilder) Version ¶

type TransformsRecord ¶

type TransformsRecord struct {
	// ChangesLastDetectionTime changes last detected time
	ChangesLastDetectionTime string `json:"changes_last_detection_time,omitempty"`
	// Checkpoint checkpoint
	Checkpoint *string `json:"checkpoint,omitempty"`
	// CheckpointDurationTimeExpAvg exponential average checkpoint processing time (milliseconds)
	CheckpointDurationTimeExpAvg *string `json:"checkpoint_duration_time_exp_avg,omitempty"`
	// CheckpointProgress progress of the checkpoint
	CheckpointProgress string `json:"checkpoint_progress,omitempty"`
	// CreateTime transform creation time
	CreateTime *string `json:"create_time,omitempty"`
	// DeleteTime total time spent deleting documents
	DeleteTime *string `json:"delete_time,omitempty"`
	// Description description
	Description *string `json:"description,omitempty"`
	// DestIndex destination index
	DestIndex *string `json:"dest_index,omitempty"`
	// DocsPerSecond docs per second
	DocsPerSecond *string `json:"docs_per_second,omitempty"`
	// DocumentsDeleted the number of documents deleted from the destination index
	DocumentsDeleted *string `json:"documents_deleted,omitempty"`
	// DocumentsIndexed the number of documents written to the destination index
	DocumentsIndexed *string `json:"documents_indexed,omitempty"`
	// DocumentsProcessed the number of documents read from source indices and processed
	DocumentsProcessed *string `json:"documents_processed,omitempty"`
	// Frequency frequency of transform
	Frequency *string `json:"frequency,omitempty"`
	// Id the id
	Id *Id `json:"id,omitempty"`
	// IndexFailure total number of index failures
	IndexFailure *string `json:"index_failure,omitempty"`
	// IndexTime total time spent indexing documents
	IndexTime *string `json:"index_time,omitempty"`
	// IndexTotal total number of index phases done by the transform
	IndexTotal *string `json:"index_total,omitempty"`
	// IndexedDocumentsExpAvg exponential average number of documents indexed
	IndexedDocumentsExpAvg *string `json:"indexed_documents_exp_avg,omitempty"`
	// LastSearchTime last time transform searched for updates
	LastSearchTime string `json:"last_search_time,omitempty"`
	// MaxPageSearchSize max page search size
	MaxPageSearchSize *string `json:"max_page_search_size,omitempty"`
	// PagesProcessed the number of pages processed
	PagesProcessed *string `json:"pages_processed,omitempty"`
	// Pipeline transform pipeline
	Pipeline *string `json:"pipeline,omitempty"`
	// ProcessedDocumentsExpAvg exponential average number of documents processed
	ProcessedDocumentsExpAvg *string `json:"processed_documents_exp_avg,omitempty"`
	// ProcessingTime the total time spent processing documents
	ProcessingTime *string `json:"processing_time,omitempty"`
	// Reason reason for the current state
	Reason *string `json:"reason,omitempty"`
	// SearchFailure total number of search failures
	SearchFailure *string `json:"search_failure,omitempty"`
	// SearchTime total search time
	SearchTime *string `json:"search_time,omitempty"`
	// SearchTotal total number of search phases
	SearchTotal *string `json:"search_total,omitempty"`
	// SourceIndex source index
	SourceIndex *string `json:"source_index,omitempty"`
	// State transform state
	State *string `json:"state,omitempty"`
	// TransformType batch or continuous transform
	TransformType *string `json:"transform_type,omitempty"`
	// TriggerCount the number of times the transform has been triggered
	TriggerCount *string `json:"trigger_count,omitempty"`
	// Version the version of Elasticsearch when the transform was created
	Version *VersionString `json:"version,omitempty"`
}

TransformsRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/transforms/types.ts#L22-L187

type TransformsRecordBuilder ¶

type TransformsRecordBuilder struct {
	// contains filtered or unexported fields
}

TransformsRecordBuilder holds TransformsRecord struct and provides a builder API.

func NewTransformsRecordBuilder ¶

func NewTransformsRecordBuilder() *TransformsRecordBuilder

NewTransformsRecord provides a builder for the TransformsRecord struct.

func (*TransformsRecordBuilder) Build ¶

Build finalize the chain and returns the TransformsRecord struct

func (*TransformsRecordBuilder) ChangesLastDetectionTime ¶

func (rb *TransformsRecordBuilder) ChangesLastDetectionTime(changeslastdetectiontime string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) Checkpoint ¶

func (rb *TransformsRecordBuilder) Checkpoint(checkpoint string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) CheckpointDurationTimeExpAvg ¶

func (rb *TransformsRecordBuilder) CheckpointDurationTimeExpAvg(checkpointdurationtimeexpavg string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) CheckpointProgress ¶

func (rb *TransformsRecordBuilder) CheckpointProgress(checkpointprogress string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) CreateTime ¶

func (rb *TransformsRecordBuilder) CreateTime(createtime string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) DeleteTime ¶

func (rb *TransformsRecordBuilder) DeleteTime(deletetime string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) Description ¶

func (rb *TransformsRecordBuilder) Description(description string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) DestIndex ¶

func (rb *TransformsRecordBuilder) DestIndex(destindex string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) DocsPerSecond ¶

func (rb *TransformsRecordBuilder) DocsPerSecond(docspersecond string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) DocumentsDeleted ¶

func (rb *TransformsRecordBuilder) DocumentsDeleted(documentsdeleted string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) DocumentsIndexed ¶

func (rb *TransformsRecordBuilder) DocumentsIndexed(documentsindexed string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) DocumentsProcessed ¶

func (rb *TransformsRecordBuilder) DocumentsProcessed(documentsprocessed string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) Frequency ¶

func (rb *TransformsRecordBuilder) Frequency(frequency string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) Id ¶

func (*TransformsRecordBuilder) IndexFailure ¶

func (rb *TransformsRecordBuilder) IndexFailure(indexfailure string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) IndexTime ¶

func (rb *TransformsRecordBuilder) IndexTime(indextime string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) IndexTotal ¶

func (rb *TransformsRecordBuilder) IndexTotal(indextotal string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) IndexedDocumentsExpAvg ¶

func (rb *TransformsRecordBuilder) IndexedDocumentsExpAvg(indexeddocumentsexpavg string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) LastSearchTime ¶

func (rb *TransformsRecordBuilder) LastSearchTime(lastsearchtime string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) MaxPageSearchSize ¶

func (rb *TransformsRecordBuilder) MaxPageSearchSize(maxpagesearchsize string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) PagesProcessed ¶

func (rb *TransformsRecordBuilder) PagesProcessed(pagesprocessed string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) Pipeline ¶

func (rb *TransformsRecordBuilder) Pipeline(pipeline string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) ProcessedDocumentsExpAvg ¶

func (rb *TransformsRecordBuilder) ProcessedDocumentsExpAvg(processeddocumentsexpavg string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) ProcessingTime ¶

func (rb *TransformsRecordBuilder) ProcessingTime(processingtime string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) Reason ¶

func (*TransformsRecordBuilder) SearchFailure ¶

func (rb *TransformsRecordBuilder) SearchFailure(searchfailure string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) SearchTime ¶

func (rb *TransformsRecordBuilder) SearchTime(searchtime string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) SearchTotal ¶

func (rb *TransformsRecordBuilder) SearchTotal(searchtotal string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) SourceIndex ¶

func (rb *TransformsRecordBuilder) SourceIndex(sourceindex string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) State ¶

func (*TransformsRecordBuilder) TransformType ¶

func (rb *TransformsRecordBuilder) TransformType(transformtype string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) TriggerCount ¶

func (rb *TransformsRecordBuilder) TriggerCount(triggercount string) *TransformsRecordBuilder

func (*TransformsRecordBuilder) Version ¶

type TransientMetadataConfigBuilder ¶

type TransientMetadataConfigBuilder struct {
	// contains filtered or unexported fields
}

TransientMetadataConfigBuilder holds TransientMetadataConfig struct and provides a builder API.

func NewTransientMetadataConfigBuilder ¶

func NewTransientMetadataConfigBuilder() *TransientMetadataConfigBuilder

NewTransientMetadataConfig provides a builder for the TransientMetadataConfig struct.

func (*TransientMetadataConfigBuilder) Build ¶

Build finalize the chain and returns the TransientMetadataConfig struct

func (*TransientMetadataConfigBuilder) Enabled ¶

type Translog ¶

type Translog struct {
	// Durability Whether or not to `fsync` and commit the translog after every index, delete,
	// update, or bulk request.
	Durability *translogdurability.TranslogDurability `json:"durability,omitempty"`
	// FlushThresholdSize The translog stores all operations that are not yet safely persisted in
	// Lucene (i.e., are not
	// part of a Lucene commit point). Although these operations are available for
	// reads, they will need
	// to be replayed if the shard was stopped and had to be recovered. This setting
	// controls the
	// maximum total size of these operations, to prevent recoveries from taking too
	// long. Once the
	// maximum size has been reached a flush will happen, generating a new Lucene
	// commit point.
	FlushThresholdSize *ByteSize          `json:"flush_threshold_size,omitempty"`
	Retention          *TranslogRetention `json:"retention,omitempty"`
	// SyncInterval How often the translog is fsynced to disk and committed, regardless of write
	// operations.
	// Values less than 100ms are not allowed.
	SyncInterval *Duration `json:"sync_interval,omitempty"`
}

Translog type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L332-L354

type TranslogBuilder ¶

type TranslogBuilder struct {
	// contains filtered or unexported fields
}

TranslogBuilder holds Translog struct and provides a builder API.

func NewTranslogBuilder ¶

func NewTranslogBuilder() *TranslogBuilder

NewTranslog provides a builder for the Translog struct.

func (*TranslogBuilder) Build ¶

func (rb *TranslogBuilder) Build() Translog

Build finalize the chain and returns the Translog struct

func (*TranslogBuilder) Durability ¶

func (*TranslogBuilder) FlushThresholdSize ¶

func (rb *TranslogBuilder) FlushThresholdSize(flushthresholdsize *ByteSizeBuilder) *TranslogBuilder

func (*TranslogBuilder) Retention ¶

func (rb *TranslogBuilder) Retention(retention *TranslogRetentionBuilder) *TranslogBuilder

func (*TranslogBuilder) SyncInterval ¶

func (rb *TranslogBuilder) SyncInterval(syncinterval *DurationBuilder) *TranslogBuilder

type TranslogRetention ¶

type TranslogRetention struct {
	// Age This controls the maximum duration for which translog files are kept by each
	// shard. Keeping more
	// translog files increases the chance of performing an operation based sync
	// when recovering replicas. If
	// the translog files are not sufficient, replica recovery will fall back to a
	// file based sync. This setting
	// is ignored, and should not be set, if soft deletes are enabled. Soft deletes
	// are enabled by default in
	// indices created in Elasticsearch versions 7.0.0 and later.
	Age *Duration `json:"age,omitempty"`
	// Size This controls the total size of translog files to keep for each shard.
	// Keeping more translog files increases
	// the chance of performing an operation based sync when recovering a replica.
	// If the translog files are not
	// sufficient, replica recovery will fall back to a file based sync. This
	// setting is ignored, and should not be
	// set, if soft deletes are enabled. Soft deletes are enabled by default in
	// indices created in Elasticsearch
	// versions 7.0.0 and later.
	Size *ByteSize `json:"size,omitempty"`
}

TranslogRetention type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L373-L392

type TranslogRetentionBuilder ¶

type TranslogRetentionBuilder struct {
	// contains filtered or unexported fields
}

TranslogRetentionBuilder holds TranslogRetention struct and provides a builder API.

func NewTranslogRetentionBuilder ¶

func NewTranslogRetentionBuilder() *TranslogRetentionBuilder

NewTranslogRetention provides a builder for the TranslogRetention struct.

func (*TranslogRetentionBuilder) Age ¶

func (*TranslogRetentionBuilder) Build ¶

Build finalize the chain and returns the TranslogRetention struct

func (*TranslogRetentionBuilder) Size ¶

type TranslogStats ¶

type TranslogStats struct {
	EarliestLastModifiedAge int64   `json:"earliest_last_modified_age"`
	Operations              int64   `json:"operations"`
	Size                    *string `json:"size,omitempty"`
	SizeInBytes             int64   `json:"size_in_bytes"`
	UncommittedOperations   int     `json:"uncommitted_operations"`
	UncommittedSize         *string `json:"uncommitted_size,omitempty"`
	UncommittedSizeInBytes  int64   `json:"uncommitted_size_in_bytes"`
}

TranslogStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L242-L250

type TranslogStatsBuilder ¶

type TranslogStatsBuilder struct {
	// contains filtered or unexported fields
}

TranslogStatsBuilder holds TranslogStats struct and provides a builder API.

func NewTranslogStatsBuilder ¶

func NewTranslogStatsBuilder() *TranslogStatsBuilder

NewTranslogStats provides a builder for the TranslogStats struct.

func (*TranslogStatsBuilder) Build ¶

func (rb *TranslogStatsBuilder) Build() TranslogStats

Build finalize the chain and returns the TranslogStats struct

func (*TranslogStatsBuilder) EarliestLastModifiedAge ¶

func (rb *TranslogStatsBuilder) EarliestLastModifiedAge(earliestlastmodifiedage int64) *TranslogStatsBuilder

func (*TranslogStatsBuilder) Operations ¶

func (rb *TranslogStatsBuilder) Operations(operations int64) *TranslogStatsBuilder

func (*TranslogStatsBuilder) Size ¶

func (*TranslogStatsBuilder) SizeInBytes ¶

func (rb *TranslogStatsBuilder) SizeInBytes(sizeinbytes int64) *TranslogStatsBuilder

func (*TranslogStatsBuilder) UncommittedOperations ¶

func (rb *TranslogStatsBuilder) UncommittedOperations(uncommittedoperations int) *TranslogStatsBuilder

func (*TranslogStatsBuilder) UncommittedSize ¶

func (rb *TranslogStatsBuilder) UncommittedSize(uncommittedsize string) *TranslogStatsBuilder

func (*TranslogStatsBuilder) UncommittedSizeInBytes ¶

func (rb *TranslogStatsBuilder) UncommittedSizeInBytes(uncommittedsizeinbytes int64) *TranslogStatsBuilder

type TranslogStatus ¶

type TranslogStatus struct {
	Percent           Percentage              `json:"percent"`
	Recovered         int64                   `json:"recovered"`
	Total             int64                   `json:"total"`
	TotalOnStart      int64                   `json:"total_on_start"`
	TotalTime         *Duration               `json:"total_time,omitempty"`
	TotalTimeInMillis DurationValueUnitMillis `json:"total_time_in_millis"`
}

TranslogStatus type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/recovery/types.ts#L102-L109

type TranslogStatusBuilder ¶

type TranslogStatusBuilder struct {
	// contains filtered or unexported fields
}

TranslogStatusBuilder holds TranslogStatus struct and provides a builder API.

func NewTranslogStatusBuilder ¶

func NewTranslogStatusBuilder() *TranslogStatusBuilder

NewTranslogStatus provides a builder for the TranslogStatus struct.

func (*TranslogStatusBuilder) Build ¶

Build finalize the chain and returns the TranslogStatus struct

func (*TranslogStatusBuilder) Percent ¶

func (*TranslogStatusBuilder) Recovered ¶

func (rb *TranslogStatusBuilder) Recovered(recovered int64) *TranslogStatusBuilder

func (*TranslogStatusBuilder) Total ¶

func (*TranslogStatusBuilder) TotalOnStart ¶

func (rb *TranslogStatusBuilder) TotalOnStart(totalonstart int64) *TranslogStatusBuilder

func (*TranslogStatusBuilder) TotalTime ¶

func (rb *TranslogStatusBuilder) TotalTime(totaltime *DurationBuilder) *TranslogStatusBuilder

func (*TranslogStatusBuilder) TotalTimeInMillis ¶

func (rb *TranslogStatusBuilder) TotalTimeInMillis(totaltimeinmillis *DurationValueUnitMillisBuilder) *TranslogStatusBuilder

type Transport ¶

type Transport struct {
	InboundHandlingTimeHistogram  []TransportHistogram `json:"inbound_handling_time_histogram,omitempty"`
	OutboundHandlingTimeHistogram []TransportHistogram `json:"outbound_handling_time_histogram,omitempty"`
	RxCount                       *int64               `json:"rx_count,omitempty"`
	RxSize                        *string              `json:"rx_size,omitempty"`
	RxSizeInBytes                 *int64               `json:"rx_size_in_bytes,omitempty"`
	ServerOpen                    *int                 `json:"server_open,omitempty"`
	TotalOutboundConnections      *int64               `json:"total_outbound_connections,omitempty"`
	TxCount                       *int64               `json:"tx_count,omitempty"`
	TxSize                        *string              `json:"tx_size,omitempty"`
	TxSizeInBytes                 *int64               `json:"tx_size_in_bytes,omitempty"`
}

Transport type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L413-L424

type TransportAddressBuilder ¶

type TransportAddressBuilder struct {
	// contains filtered or unexported fields
}

TransportAddressBuilder holds TransportAddress struct and provides a builder API.

func NewTransportAddressBuilder ¶

func NewTransportAddressBuilder() *TransportAddressBuilder

NewTransportAddress provides a builder for the TransportAddress struct.

func (*TransportAddressBuilder) Build ¶

Build finalize the chain and returns the TransportAddress struct

func (*TransportAddressBuilder) TransportAddress ¶

type TransportBuilder ¶

type TransportBuilder struct {
	// contains filtered or unexported fields
}

TransportBuilder holds Transport struct and provides a builder API.

func NewTransportBuilder ¶

func NewTransportBuilder() *TransportBuilder

NewTransport provides a builder for the Transport struct.

func (*TransportBuilder) Build ¶

func (rb *TransportBuilder) Build() Transport

Build finalize the chain and returns the Transport struct

func (*TransportBuilder) InboundHandlingTimeHistogram ¶

func (rb *TransportBuilder) InboundHandlingTimeHistogram(inbound_handling_time_histogram []TransportHistogramBuilder) *TransportBuilder

func (*TransportBuilder) OutboundHandlingTimeHistogram ¶

func (rb *TransportBuilder) OutboundHandlingTimeHistogram(outbound_handling_time_histogram []TransportHistogramBuilder) *TransportBuilder

func (*TransportBuilder) RxCount ¶

func (rb *TransportBuilder) RxCount(rxcount int64) *TransportBuilder

func (*TransportBuilder) RxSize ¶

func (rb *TransportBuilder) RxSize(rxsize string) *TransportBuilder

func (*TransportBuilder) RxSizeInBytes ¶

func (rb *TransportBuilder) RxSizeInBytes(rxsizeinbytes int64) *TransportBuilder

func (*TransportBuilder) ServerOpen ¶

func (rb *TransportBuilder) ServerOpen(serveropen int) *TransportBuilder

func (*TransportBuilder) TotalOutboundConnections ¶

func (rb *TransportBuilder) TotalOutboundConnections(totaloutboundconnections int64) *TransportBuilder

func (*TransportBuilder) TxCount ¶

func (rb *TransportBuilder) TxCount(txcount int64) *TransportBuilder

func (*TransportBuilder) TxSize ¶

func (rb *TransportBuilder) TxSize(txsize string) *TransportBuilder

func (*TransportBuilder) TxSizeInBytes ¶

func (rb *TransportBuilder) TxSizeInBytes(txsizeinbytes int64) *TransportBuilder

type TransportHistogram ¶

type TransportHistogram struct {
	Count    *int64 `json:"count,omitempty"`
	GeMillis *int64 `json:"ge_millis,omitempty"`
	LtMillis *int64 `json:"lt_millis,omitempty"`
}

TransportHistogram type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/nodes/_types/Stats.ts#L426-L430

type TransportHistogramBuilder ¶

type TransportHistogramBuilder struct {
	// contains filtered or unexported fields
}

TransportHistogramBuilder holds TransportHistogram struct and provides a builder API.

func NewTransportHistogramBuilder ¶

func NewTransportHistogramBuilder() *TransportHistogramBuilder

NewTransportHistogram provides a builder for the TransportHistogram struct.

func (*TransportHistogramBuilder) Build ¶

Build finalize the chain and returns the TransportHistogram struct

func (*TransportHistogramBuilder) Count ¶

func (*TransportHistogramBuilder) GeMillis ¶

func (*TransportHistogramBuilder) LtMillis ¶

type TriggerContainerBuilder ¶

type TriggerContainerBuilder struct {
	// contains filtered or unexported fields
}

TriggerContainerBuilder holds TriggerContainer struct and provides a builder API.

func NewTriggerContainerBuilder ¶

func NewTriggerContainerBuilder() *TriggerContainerBuilder

NewTriggerContainer provides a builder for the TriggerContainer struct.

func (*TriggerContainerBuilder) Build ¶

Build finalize the chain and returns the TriggerContainer struct

func (*TriggerContainerBuilder) Schedule ¶

type TriggerEventContainerBuilder ¶

type TriggerEventContainerBuilder struct {
	// contains filtered or unexported fields
}

TriggerEventContainerBuilder holds TriggerEventContainer struct and provides a builder API.

func NewTriggerEventContainerBuilder ¶

func NewTriggerEventContainerBuilder() *TriggerEventContainerBuilder

NewTriggerEventContainer provides a builder for the TriggerEventContainer struct.

func (*TriggerEventContainerBuilder) Build ¶

Build finalize the chain and returns the TriggerEventContainer struct

func (*TriggerEventContainerBuilder) Schedule ¶

type TriggerEventResult ¶

type TriggerEventResult struct {
	Manual        TriggerEventContainer `json:"manual"`
	TriggeredTime DateTime              `json:"triggered_time"`
	Type          string                `json:"type"`
}

TriggerEventResult type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Trigger.ts#L39-L43

type TriggerEventResultBuilder ¶

type TriggerEventResultBuilder struct {
	// contains filtered or unexported fields
}

TriggerEventResultBuilder holds TriggerEventResult struct and provides a builder API.

func NewTriggerEventResultBuilder ¶

func NewTriggerEventResultBuilder() *TriggerEventResultBuilder

NewTriggerEventResult provides a builder for the TriggerEventResult struct.

func (*TriggerEventResultBuilder) Build ¶

Build finalize the chain and returns the TriggerEventResult struct

func (*TriggerEventResultBuilder) Manual ¶

func (*TriggerEventResultBuilder) TriggeredTime ¶

func (rb *TriggerEventResultBuilder) TriggeredTime(triggeredtime *DateTimeBuilder) *TriggerEventResultBuilder

func (*TriggerEventResultBuilder) Type_ ¶

type TrimProcessor ¶

type TrimProcessor struct {
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing *bool                `json:"ignore_missing,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
	TargetField   *Field               `json:"target_field,omitempty"`
}

TrimProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L349-L353

type TrimProcessorBuilder ¶

type TrimProcessorBuilder struct {
	// contains filtered or unexported fields
}

TrimProcessorBuilder holds TrimProcessor struct and provides a builder API.

func NewTrimProcessorBuilder ¶

func NewTrimProcessorBuilder() *TrimProcessorBuilder

NewTrimProcessor provides a builder for the TrimProcessor struct.

func (*TrimProcessorBuilder) Build ¶

func (rb *TrimProcessorBuilder) Build() TrimProcessor

Build finalize the chain and returns the TrimProcessor struct

func (*TrimProcessorBuilder) Field ¶

func (*TrimProcessorBuilder) If_ ¶

func (*TrimProcessorBuilder) IgnoreFailure ¶

func (rb *TrimProcessorBuilder) IgnoreFailure(ignorefailure bool) *TrimProcessorBuilder

func (*TrimProcessorBuilder) IgnoreMissing ¶

func (rb *TrimProcessorBuilder) IgnoreMissing(ignoremissing bool) *TrimProcessorBuilder

func (*TrimProcessorBuilder) OnFailure ¶

func (*TrimProcessorBuilder) Tag ¶

func (*TrimProcessorBuilder) TargetField ¶

func (rb *TrimProcessorBuilder) TargetField(targetfield Field) *TrimProcessorBuilder

type TrimTokenFilter ¶

type TrimTokenFilter struct {
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

TrimTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L324-L326

type TrimTokenFilterBuilder ¶

type TrimTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

TrimTokenFilterBuilder holds TrimTokenFilter struct and provides a builder API.

func NewTrimTokenFilterBuilder ¶

func NewTrimTokenFilterBuilder() *TrimTokenFilterBuilder

NewTrimTokenFilter provides a builder for the TrimTokenFilter struct.

func (*TrimTokenFilterBuilder) Build ¶

Build finalize the chain and returns the TrimTokenFilter struct

func (*TrimTokenFilterBuilder) Version ¶

type TruncateTokenFilter ¶

type TruncateTokenFilter struct {
	Length  *int           `json:"length,omitempty"`
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

TruncateTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L328-L331

type TruncateTokenFilterBuilder ¶

type TruncateTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

TruncateTokenFilterBuilder holds TruncateTokenFilter struct and provides a builder API.

func NewTruncateTokenFilterBuilder ¶

func NewTruncateTokenFilterBuilder() *TruncateTokenFilterBuilder

NewTruncateTokenFilter provides a builder for the TruncateTokenFilter struct.

func (*TruncateTokenFilterBuilder) Build ¶

Build finalize the chain and returns the TruncateTokenFilter struct

func (*TruncateTokenFilterBuilder) Length ¶

func (*TruncateTokenFilterBuilder) Version ¶

type TypeFieldMappingsBuilder ¶

type TypeFieldMappingsBuilder struct {
	// contains filtered or unexported fields
}

TypeFieldMappingsBuilder holds TypeFieldMappings struct and provides a builder API.

func NewTypeFieldMappingsBuilder ¶

func NewTypeFieldMappingsBuilder() *TypeFieldMappingsBuilder

NewTypeFieldMappings provides a builder for the TypeFieldMappings struct.

func (*TypeFieldMappingsBuilder) Build ¶

Build finalize the chain and returns the TypeFieldMappings struct

func (*TypeFieldMappingsBuilder) Mappings ¶

type TypeMapping ¶

type TypeMapping struct {
	AllField             *AllField                      `json:"all_field,omitempty"`
	DataStreamTimestamp_ *DataStreamTimestamp           `json:"_data_stream_timestamp,omitempty"`
	DateDetection        *bool                          `json:"date_detection,omitempty"`
	Dynamic              *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	DynamicDateFormats   []string                       `json:"dynamic_date_formats,omitempty"`
	DynamicTemplates     []map[string]DynamicTemplate   `json:"dynamic_templates,omitempty"`
	Enabled              *bool                          `json:"enabled,omitempty"`
	FieldNames_          *FieldNamesField               `json:"_field_names,omitempty"`
	IndexField           *IndexField                    `json:"index_field,omitempty"`
	Meta_                *Metadata                      `json:"_meta,omitempty"`
	NumericDetection     *bool                          `json:"numeric_detection,omitempty"`
	Properties           map[PropertyName]Property      `json:"properties,omitempty"`
	Routing_             *RoutingField                  `json:"_routing,omitempty"`
	Runtime              map[string]RuntimeField        `json:"runtime,omitempty"`
	Size_                *SizeField                     `json:"_size,omitempty"`
	Source_              *SourceField                   `json:"_source,omitempty"`
}

TypeMapping type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/TypeMapping.ts#L34-L55

type TypeMappingBuilder ¶

type TypeMappingBuilder struct {
	// contains filtered or unexported fields
}

TypeMappingBuilder holds TypeMapping struct and provides a builder API.

func NewTypeMappingBuilder ¶

func NewTypeMappingBuilder() *TypeMappingBuilder

NewTypeMapping provides a builder for the TypeMapping struct.

func (*TypeMappingBuilder) AllField ¶

func (rb *TypeMappingBuilder) AllField(allfield *AllFieldBuilder) *TypeMappingBuilder

func (*TypeMappingBuilder) Build ¶

func (rb *TypeMappingBuilder) Build() TypeMapping

Build finalize the chain and returns the TypeMapping struct

func (*TypeMappingBuilder) DataStreamTimestamp_ ¶

func (rb *TypeMappingBuilder) DataStreamTimestamp_(datastreamtimestamp_ *DataStreamTimestampBuilder) *TypeMappingBuilder

func (*TypeMappingBuilder) DateDetection ¶

func (rb *TypeMappingBuilder) DateDetection(datedetection bool) *TypeMappingBuilder

func (*TypeMappingBuilder) Dynamic ¶

func (*TypeMappingBuilder) DynamicDateFormats ¶

func (rb *TypeMappingBuilder) DynamicDateFormats(dynamic_date_formats ...string) *TypeMappingBuilder

func (*TypeMappingBuilder) DynamicTemplates ¶

func (rb *TypeMappingBuilder) DynamicTemplates(arg []map[string]DynamicTemplate) *TypeMappingBuilder

func (*TypeMappingBuilder) Enabled ¶

func (rb *TypeMappingBuilder) Enabled(enabled bool) *TypeMappingBuilder

func (*TypeMappingBuilder) FieldNames_ ¶

func (rb *TypeMappingBuilder) FieldNames_(fieldnames_ *FieldNamesFieldBuilder) *TypeMappingBuilder

func (*TypeMappingBuilder) IndexField ¶

func (rb *TypeMappingBuilder) IndexField(indexfield *IndexFieldBuilder) *TypeMappingBuilder

func (*TypeMappingBuilder) Meta_ ¶

func (*TypeMappingBuilder) NumericDetection ¶

func (rb *TypeMappingBuilder) NumericDetection(numericdetection bool) *TypeMappingBuilder

func (*TypeMappingBuilder) Properties ¶

func (*TypeMappingBuilder) Routing_ ¶

func (*TypeMappingBuilder) Runtime ¶

func (*TypeMappingBuilder) Size_ ¶

func (*TypeMappingBuilder) Source_ ¶

type TypeQuery ¶

type TypeQuery struct {
	Boost      *float32 `json:"boost,omitempty"`
	QueryName_ *string  `json:"_name,omitempty"`
	Value      string   `json:"value"`
}

TypeQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L154-L156

type TypeQueryBuilder ¶

type TypeQueryBuilder struct {
	// contains filtered or unexported fields
}

TypeQueryBuilder holds TypeQuery struct and provides a builder API.

func NewTypeQueryBuilder ¶

func NewTypeQueryBuilder() *TypeQueryBuilder

NewTypeQuery provides a builder for the TypeQuery struct.

func (*TypeQueryBuilder) Boost ¶

func (rb *TypeQueryBuilder) Boost(boost float32) *TypeQueryBuilder

func (*TypeQueryBuilder) Build ¶

func (rb *TypeQueryBuilder) Build() TypeQuery

Build finalize the chain and returns the TypeQuery struct

func (*TypeQueryBuilder) QueryName_ ¶

func (rb *TypeQueryBuilder) QueryName_(queryname_ string) *TypeQueryBuilder

func (*TypeQueryBuilder) Value ¶

func (rb *TypeQueryBuilder) Value(value string) *TypeQueryBuilder

type UaxEmailUrlTokenizer ¶

type UaxEmailUrlTokenizer struct {
	MaxTokenLength *int           `json:"max_token_length,omitempty"`
	Type           string         `json:"type,omitempty"`
	Version        *VersionString `json:"version,omitempty"`
}

UaxEmailUrlTokenizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L109-L112

type UaxEmailUrlTokenizerBuilder ¶

type UaxEmailUrlTokenizerBuilder struct {
	// contains filtered or unexported fields
}

UaxEmailUrlTokenizerBuilder holds UaxEmailUrlTokenizer struct and provides a builder API.

func NewUaxEmailUrlTokenizerBuilder ¶

func NewUaxEmailUrlTokenizerBuilder() *UaxEmailUrlTokenizerBuilder

NewUaxEmailUrlTokenizer provides a builder for the UaxEmailUrlTokenizer struct.

func (*UaxEmailUrlTokenizerBuilder) Build ¶

Build finalize the chain and returns the UaxEmailUrlTokenizer struct

func (*UaxEmailUrlTokenizerBuilder) MaxTokenLength ¶

func (rb *UaxEmailUrlTokenizerBuilder) MaxTokenLength(maxtokenlength int) *UaxEmailUrlTokenizerBuilder

func (*UaxEmailUrlTokenizerBuilder) Version ¶

type UnassignedInformation ¶

type UnassignedInformation struct {
	AllocationStatus         *string                                                 `json:"allocation_status,omitempty"`
	At                       DateTime                                                `json:"at"`
	Delayed                  *bool                                                   `json:"delayed,omitempty"`
	Details                  *string                                                 `json:"details,omitempty"`
	FailedAllocationAttempts *int                                                    `json:"failed_allocation_attempts,omitempty"`
	LastAllocationStatus     *string                                                 `json:"last_allocation_status,omitempty"`
	Reason                   unassignedinformationreason.UnassignedInformationReason `json:"reason"`
}

UnassignedInformation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/allocation_explain/types.ts#L117-L125

type UnassignedInformationBuilder ¶

type UnassignedInformationBuilder struct {
	// contains filtered or unexported fields
}

UnassignedInformationBuilder holds UnassignedInformation struct and provides a builder API.

func NewUnassignedInformationBuilder ¶

func NewUnassignedInformationBuilder() *UnassignedInformationBuilder

NewUnassignedInformation provides a builder for the UnassignedInformation struct.

func (*UnassignedInformationBuilder) AllocationStatus ¶

func (rb *UnassignedInformationBuilder) AllocationStatus(allocationstatus string) *UnassignedInformationBuilder

func (*UnassignedInformationBuilder) At ¶

func (*UnassignedInformationBuilder) Build ¶

Build finalize the chain and returns the UnassignedInformation struct

func (*UnassignedInformationBuilder) Delayed ¶

func (*UnassignedInformationBuilder) Details ¶

func (*UnassignedInformationBuilder) FailedAllocationAttempts ¶

func (rb *UnassignedInformationBuilder) FailedAllocationAttempts(failedallocationattempts int) *UnassignedInformationBuilder

func (*UnassignedInformationBuilder) LastAllocationStatus ¶

func (rb *UnassignedInformationBuilder) LastAllocationStatus(lastallocationstatus string) *UnassignedInformationBuilder

type UniqueTokenFilter ¶

type UniqueTokenFilter struct {
	OnlyOnSamePosition *bool          `json:"only_on_same_position,omitempty"`
	Type               string         `json:"type,omitempty"`
	Version            *VersionString `json:"version,omitempty"`
}

UniqueTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L333-L336

type UniqueTokenFilterBuilder ¶

type UniqueTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

UniqueTokenFilterBuilder holds UniqueTokenFilter struct and provides a builder API.

func NewUniqueTokenFilterBuilder ¶

func NewUniqueTokenFilterBuilder() *UniqueTokenFilterBuilder

NewUniqueTokenFilter provides a builder for the UniqueTokenFilter struct.

func (*UniqueTokenFilterBuilder) Build ¶

Build finalize the chain and returns the UniqueTokenFilter struct

func (*UniqueTokenFilterBuilder) OnlyOnSamePosition ¶

func (rb *UniqueTokenFilterBuilder) OnlyOnSamePosition(onlyonsameposition bool) *UniqueTokenFilterBuilder

func (*UniqueTokenFilterBuilder) Version ¶

type UnitFloatMillisBuilder ¶

type UnitFloatMillisBuilder struct {
	// contains filtered or unexported fields
}

UnitFloatMillisBuilder holds UnitFloatMillis struct and provides a builder API.

func NewUnitFloatMillisBuilder ¶

func NewUnitFloatMillisBuilder() *UnitFloatMillisBuilder

NewUnitFloatMillis provides a builder for the UnitFloatMillis struct.

func (*UnitFloatMillisBuilder) Build ¶

Build finalize the chain and returns the UnitFloatMillis struct

func (*UnitFloatMillisBuilder) UnitFloatMillis ¶

type UnitMillisBuilder ¶

type UnitMillisBuilder struct {
	// contains filtered or unexported fields
}

UnitMillisBuilder holds UnitMillis struct and provides a builder API.

func NewUnitMillisBuilder ¶

func NewUnitMillisBuilder() *UnitMillisBuilder

NewUnitMillis provides a builder for the UnitMillis struct.

func (*UnitMillisBuilder) Build ¶

func (b *UnitMillisBuilder) Build() UnitMillis

Build finalize the chain and returns the UnitMillis struct

func (*UnitMillisBuilder) UnitMillis ¶

func (b *UnitMillisBuilder) UnitMillis(value UnitMillis) *UnitMillisBuilder

type UnitNanosBuilder ¶

type UnitNanosBuilder struct {
	// contains filtered or unexported fields
}

UnitNanosBuilder holds UnitNanos struct and provides a builder API.

func NewUnitNanosBuilder ¶

func NewUnitNanosBuilder() *UnitNanosBuilder

NewUnitNanos provides a builder for the UnitNanos struct.

func (*UnitNanosBuilder) Build ¶

func (b *UnitNanosBuilder) Build() UnitNanos

Build finalize the chain and returns the UnitNanos struct

func (*UnitNanosBuilder) UnitNanos ¶

func (b *UnitNanosBuilder) UnitNanos(value UnitNanos) *UnitNanosBuilder

type UnitSecondsBuilder ¶

type UnitSecondsBuilder struct {
	// contains filtered or unexported fields
}

UnitSecondsBuilder holds UnitSeconds struct and provides a builder API.

func NewUnitSecondsBuilder ¶

func NewUnitSecondsBuilder() *UnitSecondsBuilder

NewUnitSeconds provides a builder for the UnitSeconds struct.

func (*UnitSecondsBuilder) Build ¶

func (b *UnitSecondsBuilder) Build() UnitSeconds

Build finalize the chain and returns the UnitSeconds struct

func (*UnitSecondsBuilder) UnitSeconds ¶

func (b *UnitSecondsBuilder) UnitSeconds(value UnitSeconds) *UnitSecondsBuilder

type UnmappedRareTermsAggregate ¶

type UnmappedRareTermsAggregate struct {
	Buckets BucketsVoid `json:"buckets"`
	Meta    *Metadata   `json:"meta,omitempty"`
}

UnmappedRareTermsAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L440-L446

type UnmappedRareTermsAggregateBuilder ¶

type UnmappedRareTermsAggregateBuilder struct {
	// contains filtered or unexported fields
}

UnmappedRareTermsAggregateBuilder holds UnmappedRareTermsAggregate struct and provides a builder API.

func NewUnmappedRareTermsAggregateBuilder ¶

func NewUnmappedRareTermsAggregateBuilder() *UnmappedRareTermsAggregateBuilder

NewUnmappedRareTermsAggregate provides a builder for the UnmappedRareTermsAggregate struct.

func (*UnmappedRareTermsAggregateBuilder) Buckets ¶

func (*UnmappedRareTermsAggregateBuilder) Build ¶

Build finalize the chain and returns the UnmappedRareTermsAggregate struct

func (*UnmappedRareTermsAggregateBuilder) Meta ¶

type UnmappedSamplerAggregate ¶

type UnmappedSamplerAggregate struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Meta         *Metadata                   `json:"meta,omitempty"`
}

UnmappedSamplerAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L488-L489

type UnmappedSamplerAggregateBuilder ¶

type UnmappedSamplerAggregateBuilder struct {
	// contains filtered or unexported fields
}

UnmappedSamplerAggregateBuilder holds UnmappedSamplerAggregate struct and provides a builder API.

func NewUnmappedSamplerAggregateBuilder ¶

func NewUnmappedSamplerAggregateBuilder() *UnmappedSamplerAggregateBuilder

NewUnmappedSamplerAggregate provides a builder for the UnmappedSamplerAggregate struct.

func (*UnmappedSamplerAggregateBuilder) Aggregations ¶

func (*UnmappedSamplerAggregateBuilder) Build ¶

Build finalize the chain and returns the UnmappedSamplerAggregate struct

func (*UnmappedSamplerAggregateBuilder) DocCount ¶

func (*UnmappedSamplerAggregateBuilder) Meta ¶

type UnmappedSignificantTermsAggregate ¶

type UnmappedSignificantTermsAggregate struct {
	Buckets BucketsVoid `json:"buckets"`
	Meta    *Metadata   `json:"meta,omitempty"`
}

UnmappedSignificantTermsAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L580-L586

type UnmappedSignificantTermsAggregateBuilder ¶

type UnmappedSignificantTermsAggregateBuilder struct {
	// contains filtered or unexported fields
}

UnmappedSignificantTermsAggregateBuilder holds UnmappedSignificantTermsAggregate struct and provides a builder API.

func NewUnmappedSignificantTermsAggregateBuilder ¶

func NewUnmappedSignificantTermsAggregateBuilder() *UnmappedSignificantTermsAggregateBuilder

NewUnmappedSignificantTermsAggregate provides a builder for the UnmappedSignificantTermsAggregate struct.

func (*UnmappedSignificantTermsAggregateBuilder) Buckets ¶

func (*UnmappedSignificantTermsAggregateBuilder) Build ¶

Build finalize the chain and returns the UnmappedSignificantTermsAggregate struct

func (*UnmappedSignificantTermsAggregateBuilder) Meta ¶

type UnmappedTermsAggregate ¶

type UnmappedTermsAggregate struct {
	Buckets                 BucketsVoid `json:"buckets"`
	DocCountErrorUpperBound *int64      `json:"doc_count_error_upper_bound,omitempty"`
	Meta                    *Metadata   `json:"meta,omitempty"`
	SumOtherDocCount        int64       `json:"sum_other_doc_count"`
}

UnmappedTermsAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L410-L416

type UnmappedTermsAggregateBuilder ¶

type UnmappedTermsAggregateBuilder struct {
	// contains filtered or unexported fields
}

UnmappedTermsAggregateBuilder holds UnmappedTermsAggregate struct and provides a builder API.

func NewUnmappedTermsAggregateBuilder ¶

func NewUnmappedTermsAggregateBuilder() *UnmappedTermsAggregateBuilder

NewUnmappedTermsAggregate provides a builder for the UnmappedTermsAggregate struct.

func (*UnmappedTermsAggregateBuilder) Buckets ¶

func (*UnmappedTermsAggregateBuilder) Build ¶

Build finalize the chain and returns the UnmappedTermsAggregate struct

func (*UnmappedTermsAggregateBuilder) DocCountErrorUpperBound ¶

func (rb *UnmappedTermsAggregateBuilder) DocCountErrorUpperBound(doccounterrorupperbound int64) *UnmappedTermsAggregateBuilder

func (*UnmappedTermsAggregateBuilder) Meta ¶

func (*UnmappedTermsAggregateBuilder) SumOtherDocCount ¶

func (rb *UnmappedTermsAggregateBuilder) SumOtherDocCount(sumotherdoccount int64) *UnmappedTermsAggregateBuilder

type UnratedDocumentBuilder ¶

type UnratedDocumentBuilder struct {
	// contains filtered or unexported fields
}

UnratedDocumentBuilder holds UnratedDocument struct and provides a builder API.

func NewUnratedDocumentBuilder ¶

func NewUnratedDocumentBuilder() *UnratedDocumentBuilder

NewUnratedDocument provides a builder for the UnratedDocument struct.

func (*UnratedDocumentBuilder) Build ¶

Build finalize the chain and returns the UnratedDocument struct

func (*UnratedDocumentBuilder) Id_ ¶

func (*UnratedDocumentBuilder) Index_ ¶

type UnsignedLongNumberProperty ¶

type UnsignedLongNumberProperty struct {
	CopyTo           *Fields                                    `json:"copy_to,omitempty"`
	DocValues        *bool                                      `json:"doc_values,omitempty"`
	Dynamic          *dynamicmapping.DynamicMapping             `json:"dynamic,omitempty"`
	Fields           map[PropertyName]Property                  `json:"fields,omitempty"`
	IgnoreAbove      *int                                       `json:"ignore_above,omitempty"`
	IgnoreMalformed  *bool                                      `json:"ignore_malformed,omitempty"`
	Index            *bool                                      `json:"index,omitempty"`
	LocalMetadata    *Metadata                                  `json:"local_metadata,omitempty"`
	Meta             map[string]string                          `json:"meta,omitempty"`
	NullValue        *uint64                                    `json:"null_value,omitempty"`
	Properties       map[PropertyName]Property                  `json:"properties,omitempty"`
	Similarity       *string                                    `json:"similarity,omitempty"`
	Store            *bool                                      `json:"store,omitempty"`
	TimeSeriesMetric *timeseriesmetrictype.TimeSeriesMetricType `json:"time_series_metric,omitempty"`
	Type             string                                     `json:"type,omitempty"`
}

UnsignedLongNumberProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L154-L157

type UnsignedLongNumberPropertyBuilder ¶

type UnsignedLongNumberPropertyBuilder struct {
	// contains filtered or unexported fields
}

UnsignedLongNumberPropertyBuilder holds UnsignedLongNumberProperty struct and provides a builder API.

func NewUnsignedLongNumberPropertyBuilder ¶

func NewUnsignedLongNumberPropertyBuilder() *UnsignedLongNumberPropertyBuilder

NewUnsignedLongNumberProperty provides a builder for the UnsignedLongNumberProperty struct.

func (*UnsignedLongNumberPropertyBuilder) Build ¶

Build finalize the chain and returns the UnsignedLongNumberProperty struct

func (*UnsignedLongNumberPropertyBuilder) CopyTo ¶

func (*UnsignedLongNumberPropertyBuilder) DocValues ¶

func (*UnsignedLongNumberPropertyBuilder) Dynamic ¶

func (*UnsignedLongNumberPropertyBuilder) Fields ¶

func (*UnsignedLongNumberPropertyBuilder) IgnoreAbove ¶

func (*UnsignedLongNumberPropertyBuilder) IgnoreMalformed ¶

func (rb *UnsignedLongNumberPropertyBuilder) IgnoreMalformed(ignoremalformed bool) *UnsignedLongNumberPropertyBuilder

func (*UnsignedLongNumberPropertyBuilder) Index ¶

func (*UnsignedLongNumberPropertyBuilder) LocalMetadata ¶

func (*UnsignedLongNumberPropertyBuilder) Meta ¶

func (*UnsignedLongNumberPropertyBuilder) NullValue ¶

func (*UnsignedLongNumberPropertyBuilder) Properties ¶

func (*UnsignedLongNumberPropertyBuilder) Similarity ¶

func (*UnsignedLongNumberPropertyBuilder) Store ¶

func (*UnsignedLongNumberPropertyBuilder) TimeSeriesMetric ¶

type UpdateByQueryRethrottleNode ¶

type UpdateByQueryRethrottleNode struct {
	Attributes       map[string]string   `json:"attributes"`
	Host             Host                `json:"host"`
	Ip               Ip                  `json:"ip"`
	Name             Name                `json:"name"`
	Roles            *NodeRoles          `json:"roles,omitempty"`
	Tasks            map[TaskId]TaskInfo `json:"tasks"`
	TransportAddress TransportAddress    `json:"transport_address"`
}

UpdateByQueryRethrottleNode type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/update_by_query_rethrottle/UpdateByQueryRethrottleNode.ts#L25-L27

type UpdateByQueryRethrottleNodeBuilder ¶

type UpdateByQueryRethrottleNodeBuilder struct {
	// contains filtered or unexported fields
}

UpdateByQueryRethrottleNodeBuilder holds UpdateByQueryRethrottleNode struct and provides a builder API.

func NewUpdateByQueryRethrottleNodeBuilder ¶

func NewUpdateByQueryRethrottleNodeBuilder() *UpdateByQueryRethrottleNodeBuilder

NewUpdateByQueryRethrottleNode provides a builder for the UpdateByQueryRethrottleNode struct.

func (*UpdateByQueryRethrottleNodeBuilder) Attributes ¶

func (*UpdateByQueryRethrottleNodeBuilder) Build ¶

Build finalize the chain and returns the UpdateByQueryRethrottleNode struct

func (*UpdateByQueryRethrottleNodeBuilder) Host ¶

func (*UpdateByQueryRethrottleNodeBuilder) Ip ¶

func (*UpdateByQueryRethrottleNodeBuilder) Name ¶

func (*UpdateByQueryRethrottleNodeBuilder) Roles ¶

func (*UpdateByQueryRethrottleNodeBuilder) Tasks ¶

func (*UpdateByQueryRethrottleNodeBuilder) TransportAddress ¶

type UpdateWriteResponseBase ¶

type UpdateWriteResponseBase struct {
	ForcedRefresh *bool           `json:"forced_refresh,omitempty"`
	Get           *InlineGet      `json:"get,omitempty"`
	Id_           Id              `json:"_id"`
	Index_        IndexName       `json:"_index"`
	PrimaryTerm_  int64           `json:"_primary_term"`
	Result        result.Result   `json:"result"`
	SeqNo_        SequenceNumber  `json:"_seq_no"`
	Shards_       ShardStatistics `json:"_shards"`
	Version_      VersionNumber   `json:"_version"`
}

UpdateWriteResponseBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/update/UpdateResponse.ts#L23-L25

type UpdateWriteResponseBaseBuilder ¶

type UpdateWriteResponseBaseBuilder struct {
	// contains filtered or unexported fields
}

UpdateWriteResponseBaseBuilder holds UpdateWriteResponseBase struct and provides a builder API.

func NewUpdateWriteResponseBaseBuilder ¶

func NewUpdateWriteResponseBaseBuilder() *UpdateWriteResponseBaseBuilder

NewUpdateWriteResponseBase provides a builder for the UpdateWriteResponseBase struct.

func (*UpdateWriteResponseBaseBuilder) Build ¶

Build finalize the chain and returns the UpdateWriteResponseBase struct

func (*UpdateWriteResponseBaseBuilder) ForcedRefresh ¶

func (rb *UpdateWriteResponseBaseBuilder) ForcedRefresh(forcedrefresh bool) *UpdateWriteResponseBaseBuilder

func (*UpdateWriteResponseBaseBuilder) Get ¶

func (*UpdateWriteResponseBaseBuilder) Id_ ¶

func (*UpdateWriteResponseBaseBuilder) Index_ ¶

func (*UpdateWriteResponseBaseBuilder) PrimaryTerm_ ¶

func (*UpdateWriteResponseBaseBuilder) Result ¶

func (*UpdateWriteResponseBaseBuilder) SeqNo_ ¶

func (*UpdateWriteResponseBaseBuilder) Shards_ ¶

func (*UpdateWriteResponseBaseBuilder) Version_ ¶

type UppercaseProcessor ¶

type UppercaseProcessor struct {
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing *bool                `json:"ignore_missing,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
	TargetField   *Field               `json:"target_field,omitempty"`
}

UppercaseProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L355-L359

type UppercaseProcessorBuilder ¶

type UppercaseProcessorBuilder struct {
	// contains filtered or unexported fields
}

UppercaseProcessorBuilder holds UppercaseProcessor struct and provides a builder API.

func NewUppercaseProcessorBuilder ¶

func NewUppercaseProcessorBuilder() *UppercaseProcessorBuilder

NewUppercaseProcessor provides a builder for the UppercaseProcessor struct.

func (*UppercaseProcessorBuilder) Build ¶

Build finalize the chain and returns the UppercaseProcessor struct

func (*UppercaseProcessorBuilder) Field ¶

func (*UppercaseProcessorBuilder) If_ ¶

func (*UppercaseProcessorBuilder) IgnoreFailure ¶

func (rb *UppercaseProcessorBuilder) IgnoreFailure(ignorefailure bool) *UppercaseProcessorBuilder

func (*UppercaseProcessorBuilder) IgnoreMissing ¶

func (rb *UppercaseProcessorBuilder) IgnoreMissing(ignoremissing bool) *UppercaseProcessorBuilder

func (*UppercaseProcessorBuilder) OnFailure ¶

func (*UppercaseProcessorBuilder) Tag ¶

func (*UppercaseProcessorBuilder) TargetField ¶

func (rb *UppercaseProcessorBuilder) TargetField(targetfield Field) *UppercaseProcessorBuilder

type UppercaseTokenFilter ¶

type UppercaseTokenFilter struct {
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

UppercaseTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L338-L340

type UppercaseTokenFilterBuilder ¶

type UppercaseTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

UppercaseTokenFilterBuilder holds UppercaseTokenFilter struct and provides a builder API.

func NewUppercaseTokenFilterBuilder ¶

func NewUppercaseTokenFilterBuilder() *UppercaseTokenFilterBuilder

NewUppercaseTokenFilter provides a builder for the UppercaseTokenFilter struct.

func (*UppercaseTokenFilterBuilder) Build ¶

Build finalize the chain and returns the UppercaseTokenFilter struct

func (*UppercaseTokenFilterBuilder) Version ¶

type UrlDecodeProcessor ¶

type UrlDecodeProcessor struct {
	Field         Field                `json:"field"`
	If            *string              `json:"if,omitempty"`
	IgnoreFailure *bool                `json:"ignore_failure,omitempty"`
	IgnoreMissing *bool                `json:"ignore_missing,omitempty"`
	OnFailure     []ProcessorContainer `json:"on_failure,omitempty"`
	Tag           *string              `json:"tag,omitempty"`
	TargetField   *Field               `json:"target_field,omitempty"`
}

UrlDecodeProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L361-L365

type UrlDecodeProcessorBuilder ¶

type UrlDecodeProcessorBuilder struct {
	// contains filtered or unexported fields
}

UrlDecodeProcessorBuilder holds UrlDecodeProcessor struct and provides a builder API.

func NewUrlDecodeProcessorBuilder ¶

func NewUrlDecodeProcessorBuilder() *UrlDecodeProcessorBuilder

NewUrlDecodeProcessor provides a builder for the UrlDecodeProcessor struct.

func (*UrlDecodeProcessorBuilder) Build ¶

Build finalize the chain and returns the UrlDecodeProcessor struct

func (*UrlDecodeProcessorBuilder) Field ¶

func (*UrlDecodeProcessorBuilder) If_ ¶

func (*UrlDecodeProcessorBuilder) IgnoreFailure ¶

func (rb *UrlDecodeProcessorBuilder) IgnoreFailure(ignorefailure bool) *UrlDecodeProcessorBuilder

func (*UrlDecodeProcessorBuilder) IgnoreMissing ¶

func (rb *UrlDecodeProcessorBuilder) IgnoreMissing(ignoremissing bool) *UrlDecodeProcessorBuilder

func (*UrlDecodeProcessorBuilder) OnFailure ¶

func (*UrlDecodeProcessorBuilder) Tag ¶

func (*UrlDecodeProcessorBuilder) TargetField ¶

func (rb *UrlDecodeProcessorBuilder) TargetField(targetfield Field) *UrlDecodeProcessorBuilder

type UsageStatsIndexBuilder ¶

type UsageStatsIndexBuilder struct {
	// contains filtered or unexported fields
}

UsageStatsIndexBuilder holds UsageStatsIndex struct and provides a builder API.

func NewUsageStatsIndexBuilder ¶

func NewUsageStatsIndexBuilder() *UsageStatsIndexBuilder

NewUsageStatsIndex provides a builder for the UsageStatsIndex struct.

func (*UsageStatsIndexBuilder) Build ¶

Build finalize the chain and returns the UsageStatsIndex struct

func (*UsageStatsIndexBuilder) Shards ¶

type UsageStatsShards ¶

type UsageStatsShards struct {
	Routing                 ShardRouting        `json:"routing"`
	Stats                   ShardsStats         `json:"stats"`
	TrackingId              string              `json:"tracking_id"`
	TrackingStartedAtMillis EpochTimeUnitMillis `json:"tracking_started_at_millis"`
}

UsageStatsShards type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/field_usage_stats/IndicesFieldUsageStatsResponse.ts#L42-L47

type UsageStatsShardsBuilder ¶

type UsageStatsShardsBuilder struct {
	// contains filtered or unexported fields
}

UsageStatsShardsBuilder holds UsageStatsShards struct and provides a builder API.

func NewUsageStatsShardsBuilder ¶

func NewUsageStatsShardsBuilder() *UsageStatsShardsBuilder

NewUsageStatsShards provides a builder for the UsageStatsShards struct.

func (*UsageStatsShardsBuilder) Build ¶

Build finalize the chain and returns the UsageStatsShards struct

func (*UsageStatsShardsBuilder) Routing ¶

func (*UsageStatsShardsBuilder) Stats ¶

func (*UsageStatsShardsBuilder) TrackingId ¶

func (rb *UsageStatsShardsBuilder) TrackingId(trackingid string) *UsageStatsShardsBuilder

func (*UsageStatsShardsBuilder) TrackingStartedAtMillis ¶

func (rb *UsageStatsShardsBuilder) TrackingStartedAtMillis(trackingstartedatmillis *EpochTimeUnitMillisBuilder) *UsageStatsShardsBuilder

type User ¶

type User struct {
	Email    string   `json:"email,omitempty"`
	Enabled  bool     `json:"enabled"`
	FullName Name     `json:"full_name,omitempty"`
	Metadata Metadata `json:"metadata"`
	Roles    []string `json:"roles"`
	Username Username `json:"username"`
}

User type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/User.ts#L22-L29

type UserAgentProcessor ¶

type UserAgentProcessor struct {
	Field         Field                                 `json:"field"`
	If            *string                               `json:"if,omitempty"`
	IgnoreFailure *bool                                 `json:"ignore_failure,omitempty"`
	IgnoreMissing bool                                  `json:"ignore_missing"`
	OnFailure     []ProcessorContainer                  `json:"on_failure,omitempty"`
	Options       []useragentproperty.UserAgentProperty `json:"options"`
	RegexFile     string                                `json:"regex_file"`
	Tag           *string                               `json:"tag,omitempty"`
	TargetField   Field                                 `json:"target_field"`
}

UserAgentProcessor type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L114-L120

type UserAgentProcessorBuilder ¶

type UserAgentProcessorBuilder struct {
	// contains filtered or unexported fields
}

UserAgentProcessorBuilder holds UserAgentProcessor struct and provides a builder API.

func NewUserAgentProcessorBuilder ¶

func NewUserAgentProcessorBuilder() *UserAgentProcessorBuilder

NewUserAgentProcessor provides a builder for the UserAgentProcessor struct.

func (*UserAgentProcessorBuilder) Build ¶

Build finalize the chain and returns the UserAgentProcessor struct

func (*UserAgentProcessorBuilder) Field ¶

func (*UserAgentProcessorBuilder) If_ ¶

func (*UserAgentProcessorBuilder) IgnoreFailure ¶

func (rb *UserAgentProcessorBuilder) IgnoreFailure(ignorefailure bool) *UserAgentProcessorBuilder

func (*UserAgentProcessorBuilder) IgnoreMissing ¶

func (rb *UserAgentProcessorBuilder) IgnoreMissing(ignoremissing bool) *UserAgentProcessorBuilder

func (*UserAgentProcessorBuilder) OnFailure ¶

func (*UserAgentProcessorBuilder) Options ¶

func (*UserAgentProcessorBuilder) RegexFile ¶

func (*UserAgentProcessorBuilder) Tag ¶

func (*UserAgentProcessorBuilder) TargetField ¶

func (rb *UserAgentProcessorBuilder) TargetField(targetfield Field) *UserAgentProcessorBuilder

type UserBuilder ¶

type UserBuilder struct {
	// contains filtered or unexported fields
}

UserBuilder holds User struct and provides a builder API.

func NewUserBuilder ¶

func NewUserBuilder() *UserBuilder

NewUser provides a builder for the User struct.

func (*UserBuilder) Build ¶

func (rb *UserBuilder) Build() User

Build finalize the chain and returns the User struct

func (*UserBuilder) Email ¶

func (rb *UserBuilder) Email(email string) *UserBuilder

func (*UserBuilder) Enabled ¶

func (rb *UserBuilder) Enabled(enabled bool) *UserBuilder

func (*UserBuilder) FullName ¶

func (rb *UserBuilder) FullName(fullname Name) *UserBuilder

func (*UserBuilder) Metadata ¶

func (rb *UserBuilder) Metadata(metadata *MetadataBuilder) *UserBuilder

func (*UserBuilder) Roles ¶

func (rb *UserBuilder) Roles(roles ...string) *UserBuilder

func (*UserBuilder) Username ¶

func (rb *UserBuilder) Username(username Username) *UserBuilder

type UserProfile ¶

type UserProfile struct {
	Data    map[string]interface{} `json:"data"`
	Enabled *bool                  `json:"enabled,omitempty"`
	Labels  map[string]interface{} `json:"labels"`
	Uid     UserProfileId          `json:"uid"`
	User    UserProfileUser        `json:"user"`
}

UserProfile type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/UserProfile.ts#L43-L49

type UserProfileBuilder ¶

type UserProfileBuilder struct {
	// contains filtered or unexported fields
}

UserProfileBuilder holds UserProfile struct and provides a builder API.

func NewUserProfileBuilder ¶

func NewUserProfileBuilder() *UserProfileBuilder

NewUserProfile provides a builder for the UserProfile struct.

func (*UserProfileBuilder) Build ¶

func (rb *UserProfileBuilder) Build() UserProfile

Build finalize the chain and returns the UserProfile struct

func (*UserProfileBuilder) Data ¶

func (rb *UserProfileBuilder) Data(value map[string]interface{}) *UserProfileBuilder

func (*UserProfileBuilder) Enabled ¶

func (rb *UserProfileBuilder) Enabled(enabled bool) *UserProfileBuilder

func (*UserProfileBuilder) Labels ¶

func (rb *UserProfileBuilder) Labels(value map[string]interface{}) *UserProfileBuilder

func (*UserProfileBuilder) Uid ¶

func (*UserProfileBuilder) User ¶

type UserProfileHitMetadata ¶

type UserProfileHitMetadata struct {
	PrimaryTerm_ int64          `json:"_primary_term"`
	SeqNo_       SequenceNumber `json:"_seq_no"`
}

UserProfileHitMetadata type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/UserProfile.ts#L29-L32

type UserProfileHitMetadataBuilder ¶

type UserProfileHitMetadataBuilder struct {
	// contains filtered or unexported fields
}

UserProfileHitMetadataBuilder holds UserProfileHitMetadata struct and provides a builder API.

func NewUserProfileHitMetadataBuilder ¶

func NewUserProfileHitMetadataBuilder() *UserProfileHitMetadataBuilder

NewUserProfileHitMetadata provides a builder for the UserProfileHitMetadata struct.

func (*UserProfileHitMetadataBuilder) Build ¶

Build finalize the chain and returns the UserProfileHitMetadata struct

func (*UserProfileHitMetadataBuilder) PrimaryTerm_ ¶

func (rb *UserProfileHitMetadataBuilder) PrimaryTerm_(primaryterm_ int64) *UserProfileHitMetadataBuilder

func (*UserProfileHitMetadataBuilder) SeqNo_ ¶

type UserProfileIdBuilder ¶

type UserProfileIdBuilder struct {
	// contains filtered or unexported fields
}

UserProfileIdBuilder holds UserProfileId struct and provides a builder API.

func NewUserProfileIdBuilder ¶

func NewUserProfileIdBuilder() *UserProfileIdBuilder

NewUserProfileId provides a builder for the UserProfileId struct.

func (*UserProfileIdBuilder) Build ¶

Build finalize the chain and returns the UserProfileId struct

func (*UserProfileIdBuilder) UserProfileId ¶

func (b *UserProfileIdBuilder) UserProfileId(value UserProfileId) *UserProfileIdBuilder

type UserProfileUser ¶

type UserProfileUser struct {
	Email       string   `json:"email,omitempty"`
	FullName    Name     `json:"full_name,omitempty"`
	RealmDomain *Name    `json:"realm_domain,omitempty"`
	RealmName   Name     `json:"realm_name"`
	Roles       []string `json:"roles"`
	Username    Username `json:"username"`
}

UserProfileUser type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/UserProfile.ts#L34-L41

type UserProfileUserBuilder ¶

type UserProfileUserBuilder struct {
	// contains filtered or unexported fields
}

UserProfileUserBuilder holds UserProfileUser struct and provides a builder API.

func NewUserProfileUserBuilder ¶

func NewUserProfileUserBuilder() *UserProfileUserBuilder

NewUserProfileUser provides a builder for the UserProfileUser struct.

func (*UserProfileUserBuilder) Build ¶

Build finalize the chain and returns the UserProfileUser struct

func (*UserProfileUserBuilder) Email ¶

func (*UserProfileUserBuilder) FullName ¶

func (rb *UserProfileUserBuilder) FullName(fullname Name) *UserProfileUserBuilder

func (*UserProfileUserBuilder) RealmDomain ¶

func (rb *UserProfileUserBuilder) RealmDomain(realmdomain Name) *UserProfileUserBuilder

func (*UserProfileUserBuilder) RealmName ¶

func (rb *UserProfileUserBuilder) RealmName(realmname Name) *UserProfileUserBuilder

func (*UserProfileUserBuilder) Roles ¶

func (*UserProfileUserBuilder) Username ¶

func (rb *UserProfileUserBuilder) Username(username Username) *UserProfileUserBuilder

type UserProfileWithMetadata ¶

type UserProfileWithMetadata struct {
	Data             map[string]interface{} `json:"data"`
	Doc_             UserProfileHitMetadata `json:"_doc"`
	Enabled          *bool                  `json:"enabled,omitempty"`
	Labels           map[string]interface{} `json:"labels"`
	LastSynchronized int64                  `json:"last_synchronized"`
	Uid              UserProfileId          `json:"uid"`
	User             UserProfileUser        `json:"user"`
}

UserProfileWithMetadata type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/UserProfile.ts#L51-L54

type UserProfileWithMetadataBuilder ¶

type UserProfileWithMetadataBuilder struct {
	// contains filtered or unexported fields
}

UserProfileWithMetadataBuilder holds UserProfileWithMetadata struct and provides a builder API.

func NewUserProfileWithMetadataBuilder ¶

func NewUserProfileWithMetadataBuilder() *UserProfileWithMetadataBuilder

NewUserProfileWithMetadata provides a builder for the UserProfileWithMetadata struct.

func (*UserProfileWithMetadataBuilder) Build ¶

Build finalize the chain and returns the UserProfileWithMetadata struct

func (*UserProfileWithMetadataBuilder) Data ¶

func (rb *UserProfileWithMetadataBuilder) Data(value map[string]interface{}) *UserProfileWithMetadataBuilder

func (*UserProfileWithMetadataBuilder) Doc_ ¶

func (*UserProfileWithMetadataBuilder) Enabled ¶

func (*UserProfileWithMetadataBuilder) Labels ¶

func (rb *UserProfileWithMetadataBuilder) Labels(value map[string]interface{}) *UserProfileWithMetadataBuilder

func (*UserProfileWithMetadataBuilder) LastSynchronized ¶

func (rb *UserProfileWithMetadataBuilder) LastSynchronized(lastsynchronized int64) *UserProfileWithMetadataBuilder

func (*UserProfileWithMetadataBuilder) Uid ¶

func (*UserProfileWithMetadataBuilder) User ¶

type UserRealmBuilder ¶

type UserRealmBuilder struct {
	// contains filtered or unexported fields
}

UserRealmBuilder holds UserRealm struct and provides a builder API.

func NewUserRealmBuilder ¶

func NewUserRealmBuilder() *UserRealmBuilder

NewUserRealm provides a builder for the UserRealm struct.

func (*UserRealmBuilder) Build ¶

func (rb *UserRealmBuilder) Build() UserRealm

Build finalize the chain and returns the UserRealm struct

func (*UserRealmBuilder) Name ¶

func (rb *UserRealmBuilder) Name(name Name) *UserRealmBuilder

func (*UserRealmBuilder) Type_ ¶

func (rb *UserRealmBuilder) Type_(type_ string) *UserRealmBuilder

type UsernameBuilder ¶

type UsernameBuilder struct {
	// contains filtered or unexported fields
}

UsernameBuilder holds Username struct and provides a builder API.

func NewUsernameBuilder ¶

func NewUsernameBuilder() *UsernameBuilder

NewUsername provides a builder for the Username struct.

func (*UsernameBuilder) Build ¶

func (b *UsernameBuilder) Build() Username

Build finalize the chain and returns the Username struct

func (*UsernameBuilder) Username ¶

func (b *UsernameBuilder) Username(value Username) *UsernameBuilder

type UuidBuilder ¶

type UuidBuilder struct {
	// contains filtered or unexported fields
}

UuidBuilder holds Uuid struct and provides a builder API.

func NewUuidBuilder ¶

func NewUuidBuilder() *UuidBuilder

NewUuid provides a builder for the Uuid struct.

func (*UuidBuilder) Build ¶

func (b *UuidBuilder) Build() Uuid

Build finalize the chain and returns the Uuid struct

func (*UuidBuilder) Uuid ¶

func (b *UuidBuilder) Uuid(value Uuid) *UuidBuilder

type ValidationLoss ¶

type ValidationLoss struct {
	// FoldValues Validation loss values for every added decision tree during the forest
	// growing procedure.
	FoldValues []string `json:"fold_values"`
	// LossType The type of the loss metric. For example, binomial_logistic.
	LossType string `json:"loss_type"`
}

ValidationLoss type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/DataframeAnalytics.ts#L428-L433

type ValidationLossBuilder ¶

type ValidationLossBuilder struct {
	// contains filtered or unexported fields
}

ValidationLossBuilder holds ValidationLoss struct and provides a builder API.

func NewValidationLossBuilder ¶

func NewValidationLossBuilder() *ValidationLossBuilder

NewValidationLoss provides a builder for the ValidationLoss struct.

func (*ValidationLossBuilder) Build ¶

Build finalize the chain and returns the ValidationLoss struct

func (*ValidationLossBuilder) FoldValues ¶

func (rb *ValidationLossBuilder) FoldValues(fold_values ...string) *ValidationLossBuilder

func (*ValidationLossBuilder) LossType ¶

func (rb *ValidationLossBuilder) LossType(losstype string) *ValidationLossBuilder

type ValueCountAggregate ¶

type ValueCountAggregate struct {
	Meta *Metadata `json:"meta,omitempty"`
	// Value The metric value. A missing value generally means that there was no data to
	// aggregate,
	// unless specified otherwise.
	Value         float64 `json:"value,omitempty"`
	ValueAsString *string `json:"value_as_string,omitempty"`
}

ValueCountAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L207-L211

type ValueCountAggregateBuilder ¶

type ValueCountAggregateBuilder struct {
	// contains filtered or unexported fields
}

ValueCountAggregateBuilder holds ValueCountAggregate struct and provides a builder API.

func NewValueCountAggregateBuilder ¶

func NewValueCountAggregateBuilder() *ValueCountAggregateBuilder

NewValueCountAggregate provides a builder for the ValueCountAggregate struct.

func (*ValueCountAggregateBuilder) Build ¶

Build finalize the chain and returns the ValueCountAggregate struct

func (*ValueCountAggregateBuilder) Meta ¶

func (*ValueCountAggregateBuilder) Value ¶

func (*ValueCountAggregateBuilder) ValueAsString ¶

func (rb *ValueCountAggregateBuilder) ValueAsString(valueasstring string) *ValueCountAggregateBuilder

type ValueCountAggregation ¶

type ValueCountAggregation struct {
	Field   *Field   `json:"field,omitempty"`
	Format  *string  `json:"format,omitempty"`
	Missing *Missing `json:"missing,omitempty"`
	Script  *Script  `json:"script,omitempty"`
}

ValueCountAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L187-L187

type ValueCountAggregationBuilder ¶

type ValueCountAggregationBuilder struct {
	// contains filtered or unexported fields
}

ValueCountAggregationBuilder holds ValueCountAggregation struct and provides a builder API.

func NewValueCountAggregationBuilder ¶

func NewValueCountAggregationBuilder() *ValueCountAggregationBuilder

NewValueCountAggregation provides a builder for the ValueCountAggregation struct.

func (*ValueCountAggregationBuilder) Build ¶

Build finalize the chain and returns the ValueCountAggregation struct

func (*ValueCountAggregationBuilder) Field ¶

func (*ValueCountAggregationBuilder) Format ¶

func (*ValueCountAggregationBuilder) Missing ¶

func (*ValueCountAggregationBuilder) Script ¶

type VariableWidthHistogramAggregateBuilder ¶

type VariableWidthHistogramAggregateBuilder struct {
	// contains filtered or unexported fields
}

VariableWidthHistogramAggregateBuilder holds VariableWidthHistogramAggregate struct and provides a builder API.

func NewVariableWidthHistogramAggregateBuilder ¶

func NewVariableWidthHistogramAggregateBuilder() *VariableWidthHistogramAggregateBuilder

NewVariableWidthHistogramAggregate provides a builder for the VariableWidthHistogramAggregate struct.

func (*VariableWidthHistogramAggregateBuilder) Build ¶

Build finalize the chain and returns the VariableWidthHistogramAggregate struct

func (*VariableWidthHistogramAggregateBuilder) Meta ¶

type VariableWidthHistogramAggregation ¶

type VariableWidthHistogramAggregation struct {
	Buckets       *int   `json:"buckets,omitempty"`
	Field         *Field `json:"field,omitempty"`
	InitialBuffer *int   `json:"initial_buffer,omitempty"`
	ShardSize     *int   `json:"shard_size,omitempty"`
}

VariableWidthHistogramAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L426-L431

type VariableWidthHistogramAggregationBuilder ¶

type VariableWidthHistogramAggregationBuilder struct {
	// contains filtered or unexported fields
}

VariableWidthHistogramAggregationBuilder holds VariableWidthHistogramAggregation struct and provides a builder API.

func NewVariableWidthHistogramAggregationBuilder ¶

func NewVariableWidthHistogramAggregationBuilder() *VariableWidthHistogramAggregationBuilder

NewVariableWidthHistogramAggregation provides a builder for the VariableWidthHistogramAggregation struct.

func (*VariableWidthHistogramAggregationBuilder) Buckets ¶

func (*VariableWidthHistogramAggregationBuilder) Build ¶

Build finalize the chain and returns the VariableWidthHistogramAggregation struct

func (*VariableWidthHistogramAggregationBuilder) Field ¶

func (*VariableWidthHistogramAggregationBuilder) InitialBuffer ¶

func (*VariableWidthHistogramAggregationBuilder) ShardSize ¶

type VariableWidthHistogramBucket ¶

type VariableWidthHistogramBucket struct {
	Aggregations map[AggregateName]Aggregate `json:"aggregations,omitempty"`
	DocCount     int64                       `json:"doc_count"`
	Key          float64                     `json:"key"`
	KeyAsString  *string                     `json:"key_as_string,omitempty"`
	Max          float64                     `json:"max"`
	MaxAsString  *string                     `json:"max_as_string,omitempty"`
	Min          float64                     `json:"min"`
	MinAsString  *string                     `json:"min_as_string,omitempty"`
}

VariableWidthHistogramBucket type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L353-L360

type VariableWidthHistogramBucketBuilder ¶

type VariableWidthHistogramBucketBuilder struct {
	// contains filtered or unexported fields
}

VariableWidthHistogramBucketBuilder holds VariableWidthHistogramBucket struct and provides a builder API.

func NewVariableWidthHistogramBucketBuilder ¶

func NewVariableWidthHistogramBucketBuilder() *VariableWidthHistogramBucketBuilder

NewVariableWidthHistogramBucket provides a builder for the VariableWidthHistogramBucket struct.

func (*VariableWidthHistogramBucketBuilder) Aggregations ¶

func (*VariableWidthHistogramBucketBuilder) Build ¶

Build finalize the chain and returns the VariableWidthHistogramBucket struct

func (*VariableWidthHistogramBucketBuilder) DocCount ¶

func (*VariableWidthHistogramBucketBuilder) Key ¶

func (*VariableWidthHistogramBucketBuilder) KeyAsString ¶

func (*VariableWidthHistogramBucketBuilder) Max ¶

func (*VariableWidthHistogramBucketBuilder) MaxAsString ¶

func (*VariableWidthHistogramBucketBuilder) Min ¶

func (*VariableWidthHistogramBucketBuilder) MinAsString ¶

type Vector ¶

type Vector struct {
	Available               bool `json:"available"`
	DenseVectorDimsAvgCount int  `json:"dense_vector_dims_avg_count"`
	DenseVectorFieldsCount  int  `json:"dense_vector_fields_count"`
	Enabled                 bool `json:"enabled"`
	SparseVectorFieldsCount *int `json:"sparse_vector_fields_count,omitempty"`
}

Vector type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L443-L447

type VectorBuilder ¶

type VectorBuilder struct {
	// contains filtered or unexported fields
}

VectorBuilder holds Vector struct and provides a builder API.

func NewVectorBuilder ¶

func NewVectorBuilder() *VectorBuilder

NewVector provides a builder for the Vector struct.

func (*VectorBuilder) Available ¶

func (rb *VectorBuilder) Available(available bool) *VectorBuilder

func (*VectorBuilder) Build ¶

func (rb *VectorBuilder) Build() Vector

Build finalize the chain and returns the Vector struct

func (*VectorBuilder) DenseVectorDimsAvgCount ¶

func (rb *VectorBuilder) DenseVectorDimsAvgCount(densevectordimsavgcount int) *VectorBuilder

func (*VectorBuilder) DenseVectorFieldsCount ¶

func (rb *VectorBuilder) DenseVectorFieldsCount(densevectorfieldscount int) *VectorBuilder

func (*VectorBuilder) Enabled ¶

func (rb *VectorBuilder) Enabled(enabled bool) *VectorBuilder

func (*VectorBuilder) SparseVectorFieldsCount ¶

func (rb *VectorBuilder) SparseVectorFieldsCount(sparsevectorfieldscount int) *VectorBuilder

type VerifyIndex ¶

type VerifyIndex struct {
	CheckIndexTime         *Duration               `json:"check_index_time,omitempty"`
	CheckIndexTimeInMillis DurationValueUnitMillis `json:"check_index_time_in_millis"`
	TotalTime              *Duration               `json:"total_time,omitempty"`
	TotalTimeInMillis      DurationValueUnitMillis `json:"total_time_in_millis"`
}

VerifyIndex type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/recovery/types.ts#L111-L116

type VerifyIndexBuilder ¶

type VerifyIndexBuilder struct {
	// contains filtered or unexported fields
}

VerifyIndexBuilder holds VerifyIndex struct and provides a builder API.

func NewVerifyIndexBuilder ¶

func NewVerifyIndexBuilder() *VerifyIndexBuilder

NewVerifyIndex provides a builder for the VerifyIndex struct.

func (*VerifyIndexBuilder) Build ¶

func (rb *VerifyIndexBuilder) Build() VerifyIndex

Build finalize the chain and returns the VerifyIndex struct

func (*VerifyIndexBuilder) CheckIndexTime ¶

func (rb *VerifyIndexBuilder) CheckIndexTime(checkindextime *DurationBuilder) *VerifyIndexBuilder

func (*VerifyIndexBuilder) CheckIndexTimeInMillis ¶

func (rb *VerifyIndexBuilder) CheckIndexTimeInMillis(checkindextimeinmillis *DurationValueUnitMillisBuilder) *VerifyIndexBuilder

func (*VerifyIndexBuilder) TotalTime ¶

func (rb *VerifyIndexBuilder) TotalTime(totaltime *DurationBuilder) *VerifyIndexBuilder

func (*VerifyIndexBuilder) TotalTimeInMillis ¶

func (rb *VerifyIndexBuilder) TotalTimeInMillis(totaltimeinmillis *DurationValueUnitMillisBuilder) *VerifyIndexBuilder

type VersionNumberBuilder ¶

type VersionNumberBuilder struct {
	// contains filtered or unexported fields
}

VersionNumberBuilder holds VersionNumber struct and provides a builder API.

func NewVersionNumberBuilder ¶

func NewVersionNumberBuilder() *VersionNumberBuilder

NewVersionNumber provides a builder for the VersionNumber struct.

func (*VersionNumberBuilder) Build ¶

Build finalize the chain and returns the VersionNumber struct

func (*VersionNumberBuilder) VersionNumber ¶

func (b *VersionNumberBuilder) VersionNumber(value VersionNumber) *VersionNumberBuilder

type VersionProperty ¶

type VersionProperty struct {
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	DocValues     *bool                          `json:"doc_values,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

VersionProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L254-L256

type VersionPropertyBuilder ¶

type VersionPropertyBuilder struct {
	// contains filtered or unexported fields
}

VersionPropertyBuilder holds VersionProperty struct and provides a builder API.

func NewVersionPropertyBuilder ¶

func NewVersionPropertyBuilder() *VersionPropertyBuilder

NewVersionProperty provides a builder for the VersionProperty struct.

func (*VersionPropertyBuilder) Build ¶

Build finalize the chain and returns the VersionProperty struct

func (*VersionPropertyBuilder) CopyTo ¶

func (*VersionPropertyBuilder) DocValues ¶

func (rb *VersionPropertyBuilder) DocValues(docvalues bool) *VersionPropertyBuilder

func (*VersionPropertyBuilder) Dynamic ¶

func (*VersionPropertyBuilder) Fields ¶

func (*VersionPropertyBuilder) IgnoreAbove ¶

func (rb *VersionPropertyBuilder) IgnoreAbove(ignoreabove int) *VersionPropertyBuilder

func (*VersionPropertyBuilder) LocalMetadata ¶

func (rb *VersionPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *VersionPropertyBuilder

func (*VersionPropertyBuilder) Meta ¶

func (*VersionPropertyBuilder) Properties ¶

func (*VersionPropertyBuilder) Similarity ¶

func (rb *VersionPropertyBuilder) Similarity(similarity string) *VersionPropertyBuilder

func (*VersionPropertyBuilder) Store ¶

type VersionStringBuilder ¶

type VersionStringBuilder struct {
	// contains filtered or unexported fields
}

VersionStringBuilder holds VersionString struct and provides a builder API.

func NewVersionStringBuilder ¶

func NewVersionStringBuilder() *VersionStringBuilder

NewVersionString provides a builder for the VersionString struct.

func (*VersionStringBuilder) Build ¶

Build finalize the chain and returns the VersionString struct

func (*VersionStringBuilder) VersionString ¶

func (b *VersionStringBuilder) VersionString(value VersionString) *VersionStringBuilder

type Vertex ¶

type Vertex struct {
	Depth  int64   `json:"depth"`
	Field  Field   `json:"field"`
	Term   string  `json:"term"`
	Weight float64 `json:"weight"`
}

Vertex type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/graph/_types/Vertex.ts#L23-L28

type VertexBuilder ¶

type VertexBuilder struct {
	// contains filtered or unexported fields
}

VertexBuilder holds Vertex struct and provides a builder API.

func NewVertexBuilder ¶

func NewVertexBuilder() *VertexBuilder

NewVertex provides a builder for the Vertex struct.

func (*VertexBuilder) Build ¶

func (rb *VertexBuilder) Build() Vertex

Build finalize the chain and returns the Vertex struct

func (*VertexBuilder) Depth ¶

func (rb *VertexBuilder) Depth(depth int64) *VertexBuilder

func (*VertexBuilder) Field ¶

func (rb *VertexBuilder) Field(field Field) *VertexBuilder

func (*VertexBuilder) Term ¶

func (rb *VertexBuilder) Term(term string) *VertexBuilder

func (*VertexBuilder) Weight ¶

func (rb *VertexBuilder) Weight(weight float64) *VertexBuilder

type VertexDefinition ¶

type VertexDefinition struct {
	Exclude          []string        `json:"exclude,omitempty"`
	Field            Field           `json:"field"`
	Include          []VertexInclude `json:"include,omitempty"`
	MinDocCount      *int64          `json:"min_doc_count,omitempty"`
	ShardMinDocCount *int64          `json:"shard_min_doc_count,omitempty"`
	Size             *int            `json:"size,omitempty"`
}

VertexDefinition type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/graph/_types/Vertex.ts#L30-L37

type VertexDefinitionBuilder ¶

type VertexDefinitionBuilder struct {
	// contains filtered or unexported fields
}

VertexDefinitionBuilder holds VertexDefinition struct and provides a builder API.

func NewVertexDefinitionBuilder ¶

func NewVertexDefinitionBuilder() *VertexDefinitionBuilder

NewVertexDefinition provides a builder for the VertexDefinition struct.

func (*VertexDefinitionBuilder) Build ¶

Build finalize the chain and returns the VertexDefinition struct

func (*VertexDefinitionBuilder) Exclude ¶

func (rb *VertexDefinitionBuilder) Exclude(exclude ...string) *VertexDefinitionBuilder

func (*VertexDefinitionBuilder) Field ¶

func (*VertexDefinitionBuilder) Include ¶

func (*VertexDefinitionBuilder) MinDocCount ¶

func (rb *VertexDefinitionBuilder) MinDocCount(mindoccount int64) *VertexDefinitionBuilder

func (*VertexDefinitionBuilder) ShardMinDocCount ¶

func (rb *VertexDefinitionBuilder) ShardMinDocCount(shardmindoccount int64) *VertexDefinitionBuilder

func (*VertexDefinitionBuilder) Size ¶

type VertexIncludeBuilder ¶

type VertexIncludeBuilder struct {
	// contains filtered or unexported fields
}

VertexIncludeBuilder holds VertexInclude struct and provides a builder API.

func NewVertexIncludeBuilder ¶

func NewVertexIncludeBuilder() *VertexIncludeBuilder

NewVertexInclude provides a builder for the VertexInclude struct.

func (*VertexIncludeBuilder) Boost ¶

func (*VertexIncludeBuilder) Build ¶

func (rb *VertexIncludeBuilder) Build() VertexInclude

Build finalize the chain and returns the VertexInclude struct

func (*VertexIncludeBuilder) Term ¶

type VoidBuilder ¶

type VoidBuilder struct {
	// contains filtered or unexported fields
}

VoidBuilder holds Void struct and provides a builder API.

func NewVoidBuilder ¶

func NewVoidBuilder() *VoidBuilder

NewVoid provides a builder for the Void struct.

func (*VoidBuilder) Build ¶

func (b *VoidBuilder) Build() Void

Build finalize the chain and returns the Void struct

func (*VoidBuilder) Void ¶

func (b *VoidBuilder) Void(value Void) *VoidBuilder

type WaitForActiveShards ¶

type WaitForActiveShards interface{}

WaitForActiveShards holds the union for the following types:

int
waitforactiveshardoptions.WaitForActiveShardOptions

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L115-L116

type WaitForActiveShardsBuilder ¶

type WaitForActiveShardsBuilder struct {
	// contains filtered or unexported fields
}

WaitForActiveShardsBuilder holds WaitForActiveShards struct and provides a builder API.

func NewWaitForActiveShardsBuilder ¶

func NewWaitForActiveShardsBuilder() *WaitForActiveShardsBuilder

NewWaitForActiveShards provides a builder for the WaitForActiveShards struct.

func (*WaitForActiveShardsBuilder) Build ¶

Build finalize the chain and returns the WaitForActiveShards struct

func (*WaitForActiveShardsBuilder) Int ¶

func (*WaitForActiveShardsBuilder) WaitForActiveShardOptions ¶

func (u *WaitForActiveShardsBuilder) WaitForActiveShardOptions(waitforactiveshardoptions waitforactiveshardoptions.WaitForActiveShardOptions) *WaitForActiveShardsBuilder

type WarmerStats ¶

type WarmerStats struct {
	Current           int64                   `json:"current"`
	Total             int64                   `json:"total"`
	TotalTime         *Duration               `json:"total_time,omitempty"`
	TotalTimeInMillis DurationValueUnitMillis `json:"total_time_in_millis"`
}

WarmerStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Stats.ts#L252-L257

type WarmerStatsBuilder ¶

type WarmerStatsBuilder struct {
	// contains filtered or unexported fields
}

WarmerStatsBuilder holds WarmerStats struct and provides a builder API.

func NewWarmerStatsBuilder ¶

func NewWarmerStatsBuilder() *WarmerStatsBuilder

NewWarmerStats provides a builder for the WarmerStats struct.

func (*WarmerStatsBuilder) Build ¶

func (rb *WarmerStatsBuilder) Build() WarmerStats

Build finalize the chain and returns the WarmerStats struct

func (*WarmerStatsBuilder) Current ¶

func (rb *WarmerStatsBuilder) Current(current int64) *WarmerStatsBuilder

func (*WarmerStatsBuilder) Total ¶

func (rb *WarmerStatsBuilder) Total(total int64) *WarmerStatsBuilder

func (*WarmerStatsBuilder) TotalTime ¶

func (rb *WarmerStatsBuilder) TotalTime(totaltime *DurationBuilder) *WarmerStatsBuilder

func (*WarmerStatsBuilder) TotalTimeInMillis ¶

func (rb *WarmerStatsBuilder) TotalTimeInMillis(totaltimeinmillis *DurationValueUnitMillisBuilder) *WarmerStatsBuilder

type Watch ¶

type Watch struct {
	Actions                map[IndexName]Action     `json:"actions"`
	Condition              ConditionContainer       `json:"condition"`
	Input                  InputContainer           `json:"input"`
	Metadata               *Metadata                `json:"metadata,omitempty"`
	Status                 *WatchStatus             `json:"status,omitempty"`
	ThrottlePeriod         *Duration                `json:"throttle_period,omitempty"`
	ThrottlePeriodInMillis *DurationValueUnitMillis `json:"throttle_period_in_millis,omitempty"`
	Transform              *TransformContainer      `json:"transform,omitempty"`
	Trigger                TriggerContainer         `json:"trigger"`
}

Watch type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Watch.ts#L37-L47

type WatchBuilder ¶

type WatchBuilder struct {
	// contains filtered or unexported fields
}

WatchBuilder holds Watch struct and provides a builder API.

func NewWatchBuilder ¶

func NewWatchBuilder() *WatchBuilder

NewWatch provides a builder for the Watch struct.

func (*WatchBuilder) Actions ¶

func (rb *WatchBuilder) Actions(values map[IndexName]*ActionBuilder) *WatchBuilder

func (*WatchBuilder) Build ¶

func (rb *WatchBuilder) Build() Watch

Build finalize the chain and returns the Watch struct

func (*WatchBuilder) Condition ¶

func (rb *WatchBuilder) Condition(condition *ConditionContainerBuilder) *WatchBuilder

func (*WatchBuilder) Input ¶

func (rb *WatchBuilder) Input(input *InputContainerBuilder) *WatchBuilder

func (*WatchBuilder) Metadata ¶

func (rb *WatchBuilder) Metadata(metadata *MetadataBuilder) *WatchBuilder

func (*WatchBuilder) Status ¶

func (rb *WatchBuilder) Status(status *WatchStatusBuilder) *WatchBuilder

func (*WatchBuilder) ThrottlePeriod ¶

func (rb *WatchBuilder) ThrottlePeriod(throttleperiod *DurationBuilder) *WatchBuilder

func (*WatchBuilder) ThrottlePeriodInMillis ¶

func (rb *WatchBuilder) ThrottlePeriodInMillis(throttleperiodinmillis *DurationValueUnitMillisBuilder) *WatchBuilder

func (*WatchBuilder) Transform ¶

func (rb *WatchBuilder) Transform(transform *TransformContainerBuilder) *WatchBuilder

func (*WatchBuilder) Trigger ¶

func (rb *WatchBuilder) Trigger(trigger *TriggerContainerBuilder) *WatchBuilder

type WatchRecord ¶

type WatchRecord struct {
	Condition    ConditionContainer              `json:"condition"`
	Input        InputContainer                  `json:"input"`
	Messages     []string                        `json:"messages"`
	Metadata     *Metadata                       `json:"metadata,omitempty"`
	Node         string                          `json:"node"`
	Result       ExecutionResult                 `json:"result"`
	State        executionstatus.ExecutionStatus `json:"state"`
	Status       *WatchStatus                    `json:"status,omitempty"`
	TriggerEvent TriggerEventResult              `json:"trigger_event"`
	User         Username                        `json:"user"`
	WatchId      Id                              `json:"watch_id"`
}

WatchRecord type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/execute_watch/types.ts#L27-L39

type WatchRecordBuilder ¶

type WatchRecordBuilder struct {
	// contains filtered or unexported fields
}

WatchRecordBuilder holds WatchRecord struct and provides a builder API.

func NewWatchRecordBuilder ¶

func NewWatchRecordBuilder() *WatchRecordBuilder

NewWatchRecord provides a builder for the WatchRecord struct.

func (*WatchRecordBuilder) Build ¶

func (rb *WatchRecordBuilder) Build() WatchRecord

Build finalize the chain and returns the WatchRecord struct

func (*WatchRecordBuilder) Condition ¶

func (*WatchRecordBuilder) Input ¶

func (*WatchRecordBuilder) Messages ¶

func (rb *WatchRecordBuilder) Messages(messages ...string) *WatchRecordBuilder

func (*WatchRecordBuilder) Metadata ¶

func (rb *WatchRecordBuilder) Metadata(metadata *MetadataBuilder) *WatchRecordBuilder

func (*WatchRecordBuilder) Node ¶

func (*WatchRecordBuilder) Result ¶

func (*WatchRecordBuilder) State ¶

func (*WatchRecordBuilder) Status ¶

func (*WatchRecordBuilder) TriggerEvent ¶

func (rb *WatchRecordBuilder) TriggerEvent(triggerevent *TriggerEventResultBuilder) *WatchRecordBuilder

func (*WatchRecordBuilder) User ¶

func (*WatchRecordBuilder) WatchId ¶

func (rb *WatchRecordBuilder) WatchId(watchid Id) *WatchRecordBuilder

type WatchRecordQueuedStatsBuilder ¶

type WatchRecordQueuedStatsBuilder struct {
	// contains filtered or unexported fields
}

WatchRecordQueuedStatsBuilder holds WatchRecordQueuedStats struct and provides a builder API.

func NewWatchRecordQueuedStatsBuilder ¶

func NewWatchRecordQueuedStatsBuilder() *WatchRecordQueuedStatsBuilder

NewWatchRecordQueuedStats provides a builder for the WatchRecordQueuedStats struct.

func (*WatchRecordQueuedStatsBuilder) Build ¶

Build finalize the chain and returns the WatchRecordQueuedStats struct

func (*WatchRecordQueuedStatsBuilder) ExecutionTime ¶

type WatchRecordStats ¶

type WatchRecordStats struct {
	ExecutedActions []string                      `json:"executed_actions,omitempty"`
	ExecutionPhase  executionphase.ExecutionPhase `json:"execution_phase"`
	ExecutionTime   DateTime                      `json:"execution_time"`
	TriggeredTime   DateTime                      `json:"triggered_time"`
	WatchId         Id                            `json:"watch_id"`
	WatchRecordId   Id                            `json:"watch_record_id"`
}

WatchRecordStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/stats/types.ts#L54-L60

type WatchRecordStatsBuilder ¶

type WatchRecordStatsBuilder struct {
	// contains filtered or unexported fields
}

WatchRecordStatsBuilder holds WatchRecordStats struct and provides a builder API.

func NewWatchRecordStatsBuilder ¶

func NewWatchRecordStatsBuilder() *WatchRecordStatsBuilder

NewWatchRecordStats provides a builder for the WatchRecordStats struct.

func (*WatchRecordStatsBuilder) Build ¶

Build finalize the chain and returns the WatchRecordStats struct

func (*WatchRecordStatsBuilder) ExecutedActions ¶

func (rb *WatchRecordStatsBuilder) ExecutedActions(executed_actions ...string) *WatchRecordStatsBuilder

func (*WatchRecordStatsBuilder) ExecutionPhase ¶

func (*WatchRecordStatsBuilder) ExecutionTime ¶

func (rb *WatchRecordStatsBuilder) ExecutionTime(executiontime *DateTimeBuilder) *WatchRecordStatsBuilder

func (*WatchRecordStatsBuilder) TriggeredTime ¶

func (rb *WatchRecordStatsBuilder) TriggeredTime(triggeredtime *DateTimeBuilder) *WatchRecordStatsBuilder

func (*WatchRecordStatsBuilder) WatchId ¶

func (rb *WatchRecordStatsBuilder) WatchId(watchid Id) *WatchRecordStatsBuilder

func (*WatchRecordStatsBuilder) WatchRecordId ¶

func (rb *WatchRecordStatsBuilder) WatchRecordId(watchrecordid Id) *WatchRecordStatsBuilder

type WatchStatus ¶

type WatchStatus struct {
	Actions          Actions         `json:"actions"`
	ExecutionState   *string         `json:"execution_state,omitempty"`
	LastChecked      *DateTime       `json:"last_checked,omitempty"`
	LastMetCondition *DateTime       `json:"last_met_condition,omitempty"`
	State            ActivationState `json:"state"`
	Version          VersionNumber   `json:"version"`
}

WatchStatus type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Watch.ts#L49-L56

type WatchStatusBuilder ¶

type WatchStatusBuilder struct {
	// contains filtered or unexported fields
}

WatchStatusBuilder holds WatchStatus struct and provides a builder API.

func NewWatchStatusBuilder ¶

func NewWatchStatusBuilder() *WatchStatusBuilder

NewWatchStatus provides a builder for the WatchStatus struct.

func (*WatchStatusBuilder) Actions ¶

func (rb *WatchStatusBuilder) Actions(actions *ActionsBuilder) *WatchStatusBuilder

func (*WatchStatusBuilder) Build ¶

func (rb *WatchStatusBuilder) Build() WatchStatus

Build finalize the chain and returns the WatchStatus struct

func (*WatchStatusBuilder) ExecutionState ¶

func (rb *WatchStatusBuilder) ExecutionState(executionstate string) *WatchStatusBuilder

func (*WatchStatusBuilder) LastChecked ¶

func (rb *WatchStatusBuilder) LastChecked(lastchecked *DateTimeBuilder) *WatchStatusBuilder

func (*WatchStatusBuilder) LastMetCondition ¶

func (rb *WatchStatusBuilder) LastMetCondition(lastmetcondition *DateTimeBuilder) *WatchStatusBuilder

func (*WatchStatusBuilder) State ¶

func (*WatchStatusBuilder) Version ¶

func (rb *WatchStatusBuilder) Version(version VersionNumber) *WatchStatusBuilder

type Watcher ¶

type Watcher struct {
	Available bool           `json:"available"`
	Count     Counter        `json:"count"`
	Enabled   bool           `json:"enabled"`
	Execution WatcherActions `json:"execution"`
	Watch     WatcherWatch   `json:"watch"`
}

Watcher type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L449-L453

type WatcherActionTotals ¶

type WatcherActionTotals struct {
	Total         Duration                `json:"total"`
	TotalTimeInMs DurationValueUnitMillis `json:"total_time_in_ms"`
}

WatcherActionTotals type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L401-L404

type WatcherActionTotalsBuilder ¶

type WatcherActionTotalsBuilder struct {
	// contains filtered or unexported fields
}

WatcherActionTotalsBuilder holds WatcherActionTotals struct and provides a builder API.

func NewWatcherActionTotalsBuilder ¶

func NewWatcherActionTotalsBuilder() *WatcherActionTotalsBuilder

NewWatcherActionTotals provides a builder for the WatcherActionTotals struct.

func (*WatcherActionTotalsBuilder) Build ¶

Build finalize the chain and returns the WatcherActionTotals struct

func (*WatcherActionTotalsBuilder) Total ¶

func (*WatcherActionTotalsBuilder) TotalTimeInMs ¶

type WatcherActionsBuilder ¶

type WatcherActionsBuilder struct {
	// contains filtered or unexported fields
}

WatcherActionsBuilder holds WatcherActions struct and provides a builder API.

func NewWatcherActionsBuilder ¶

func NewWatcherActionsBuilder() *WatcherActionsBuilder

NewWatcherActions provides a builder for the WatcherActions struct.

func (*WatcherActionsBuilder) Actions ¶

func (*WatcherActionsBuilder) Build ¶

Build finalize the chain and returns the WatcherActions struct

type WatcherBuilder ¶

type WatcherBuilder struct {
	// contains filtered or unexported fields
}

WatcherBuilder holds Watcher struct and provides a builder API.

func NewWatcherBuilder ¶

func NewWatcherBuilder() *WatcherBuilder

NewWatcher provides a builder for the Watcher struct.

func (*WatcherBuilder) Available ¶

func (rb *WatcherBuilder) Available(available bool) *WatcherBuilder

func (*WatcherBuilder) Build ¶

func (rb *WatcherBuilder) Build() Watcher

Build finalize the chain and returns the Watcher struct

func (*WatcherBuilder) Count ¶

func (rb *WatcherBuilder) Count(count *CounterBuilder) *WatcherBuilder

func (*WatcherBuilder) Enabled ¶

func (rb *WatcherBuilder) Enabled(enabled bool) *WatcherBuilder

func (*WatcherBuilder) Execution ¶

func (rb *WatcherBuilder) Execution(execution *WatcherActionsBuilder) *WatcherBuilder

func (*WatcherBuilder) Watch ¶

type WatcherNodeStats ¶

type WatcherNodeStats struct {
	CurrentWatches      []WatchRecordStats        `json:"current_watches,omitempty"`
	ExecutionThreadPool ExecutionThreadPool       `json:"execution_thread_pool"`
	NodeId              Id                        `json:"node_id"`
	QueuedWatches       []WatchRecordQueuedStats  `json:"queued_watches,omitempty"`
	WatchCount          int64                     `json:"watch_count"`
	WatcherState        watcherstate.WatcherState `json:"watcher_state"`
}

WatcherNodeStats type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/stats/types.ts#L33-L40

type WatcherNodeStatsBuilder ¶

type WatcherNodeStatsBuilder struct {
	// contains filtered or unexported fields
}

WatcherNodeStatsBuilder holds WatcherNodeStats struct and provides a builder API.

func NewWatcherNodeStatsBuilder ¶

func NewWatcherNodeStatsBuilder() *WatcherNodeStatsBuilder

NewWatcherNodeStats provides a builder for the WatcherNodeStats struct.

func (*WatcherNodeStatsBuilder) Build ¶

Build finalize the chain and returns the WatcherNodeStats struct

func (*WatcherNodeStatsBuilder) CurrentWatches ¶

func (rb *WatcherNodeStatsBuilder) CurrentWatches(current_watches []WatchRecordStatsBuilder) *WatcherNodeStatsBuilder

func (*WatcherNodeStatsBuilder) ExecutionThreadPool ¶

func (rb *WatcherNodeStatsBuilder) ExecutionThreadPool(executionthreadpool *ExecutionThreadPoolBuilder) *WatcherNodeStatsBuilder

func (*WatcherNodeStatsBuilder) NodeId ¶

func (*WatcherNodeStatsBuilder) QueuedWatches ¶

func (*WatcherNodeStatsBuilder) WatchCount ¶

func (rb *WatcherNodeStatsBuilder) WatchCount(watchcount int64) *WatcherNodeStatsBuilder

func (*WatcherNodeStatsBuilder) WatcherState ¶

type WatcherWatch ¶

type WatcherWatch struct {
	Action    map[Name]Counter    `json:"action,omitempty"`
	Condition map[Name]Counter    `json:"condition,omitempty"`
	Input     map[Name]Counter    `json:"input"`
	Trigger   WatcherWatchTrigger `json:"trigger"`
}

WatcherWatch type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L389-L394

type WatcherWatchBuilder ¶

type WatcherWatchBuilder struct {
	// contains filtered or unexported fields
}

WatcherWatchBuilder holds WatcherWatch struct and provides a builder API.

func NewWatcherWatchBuilder ¶

func NewWatcherWatchBuilder() *WatcherWatchBuilder

NewWatcherWatch provides a builder for the WatcherWatch struct.

func (*WatcherWatchBuilder) Action ¶

func (*WatcherWatchBuilder) Build ¶

func (rb *WatcherWatchBuilder) Build() WatcherWatch

Build finalize the chain and returns the WatcherWatch struct

func (*WatcherWatchBuilder) Condition ¶

func (rb *WatcherWatchBuilder) Condition(values map[Name]*CounterBuilder) *WatcherWatchBuilder

func (*WatcherWatchBuilder) Input ¶

func (*WatcherWatchBuilder) Trigger ¶

type WatcherWatchTriggerBuilder ¶

type WatcherWatchTriggerBuilder struct {
	// contains filtered or unexported fields
}

WatcherWatchTriggerBuilder holds WatcherWatchTrigger struct and provides a builder API.

func NewWatcherWatchTriggerBuilder ¶

func NewWatcherWatchTriggerBuilder() *WatcherWatchTriggerBuilder

NewWatcherWatchTrigger provides a builder for the WatcherWatchTrigger struct.

func (*WatcherWatchTriggerBuilder) All_ ¶

func (*WatcherWatchTriggerBuilder) Build ¶

Build finalize the chain and returns the WatcherWatchTrigger struct

func (*WatcherWatchTriggerBuilder) Schedule ¶

type WatcherWatchTriggerSchedule ¶

type WatcherWatchTriggerSchedule struct {
	Active int64   `json:"active"`
	All_   Counter `json:"_all"`
	Cron   Counter `json:"cron"`
	Total  int64   `json:"total"`
}

WatcherWatchTriggerSchedule type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/xpack/usage/types.ts#L455-L458

type WatcherWatchTriggerScheduleBuilder ¶

type WatcherWatchTriggerScheduleBuilder struct {
	// contains filtered or unexported fields
}

WatcherWatchTriggerScheduleBuilder holds WatcherWatchTriggerSchedule struct and provides a builder API.

func NewWatcherWatchTriggerScheduleBuilder ¶

func NewWatcherWatchTriggerScheduleBuilder() *WatcherWatchTriggerScheduleBuilder

NewWatcherWatchTriggerSchedule provides a builder for the WatcherWatchTriggerSchedule struct.

func (*WatcherWatchTriggerScheduleBuilder) Active ¶

func (*WatcherWatchTriggerScheduleBuilder) All_ ¶

func (*WatcherWatchTriggerScheduleBuilder) Build ¶

Build finalize the chain and returns the WatcherWatchTriggerSchedule struct

func (*WatcherWatchTriggerScheduleBuilder) Cron ¶

func (*WatcherWatchTriggerScheduleBuilder) Total ¶

type WebhookAction ¶

type WebhookAction struct {
	Auth              *HttpInputAuthentication           `json:"auth,omitempty"`
	Body              *string                            `json:"body,omitempty"`
	ConnectionTimeout *Duration                          `json:"connection_timeout,omitempty"`
	Headers           map[string]string                  `json:"headers,omitempty"`
	Host              *Host                              `json:"host,omitempty"`
	Method            *httpinputmethod.HttpInputMethod   `json:"method,omitempty"`
	Params            map[string]string                  `json:"params,omitempty"`
	Path              *string                            `json:"path,omitempty"`
	Port              *uint                              `json:"port,omitempty"`
	Proxy             *HttpInputProxy                    `json:"proxy,omitempty"`
	ReadTimeout       *Duration                          `json:"read_timeout,omitempty"`
	Scheme            *connectionscheme.ConnectionScheme `json:"scheme,omitempty"`
	Url               *string                            `json:"url,omitempty"`
}

WebhookAction type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L293-L293

type WebhookActionBuilder ¶

type WebhookActionBuilder struct {
	// contains filtered or unexported fields
}

WebhookActionBuilder holds WebhookAction struct and provides a builder API.

func NewWebhookActionBuilder ¶

func NewWebhookActionBuilder() *WebhookActionBuilder

NewWebhookAction provides a builder for the WebhookAction struct.

func (*WebhookActionBuilder) Auth ¶

func (*WebhookActionBuilder) Body ¶

func (*WebhookActionBuilder) Build ¶

func (rb *WebhookActionBuilder) Build() WebhookAction

Build finalize the chain and returns the WebhookAction struct

func (*WebhookActionBuilder) ConnectionTimeout ¶

func (rb *WebhookActionBuilder) ConnectionTimeout(connectiontimeout *DurationBuilder) *WebhookActionBuilder

func (*WebhookActionBuilder) Headers ¶

func (rb *WebhookActionBuilder) Headers(value map[string]string) *WebhookActionBuilder

func (*WebhookActionBuilder) Host ¶

func (*WebhookActionBuilder) Method ¶

func (*WebhookActionBuilder) Params ¶

func (rb *WebhookActionBuilder) Params(value map[string]string) *WebhookActionBuilder

func (*WebhookActionBuilder) Path ¶

func (*WebhookActionBuilder) Port ¶

func (*WebhookActionBuilder) Proxy ¶

func (*WebhookActionBuilder) ReadTimeout ¶

func (rb *WebhookActionBuilder) ReadTimeout(readtimeout *DurationBuilder) *WebhookActionBuilder

func (*WebhookActionBuilder) Scheme ¶

func (*WebhookActionBuilder) Url ¶

type WebhookResultBuilder ¶

type WebhookResultBuilder struct {
	// contains filtered or unexported fields
}

WebhookResultBuilder holds WebhookResult struct and provides a builder API.

func NewWebhookResultBuilder ¶

func NewWebhookResultBuilder() *WebhookResultBuilder

NewWebhookResult provides a builder for the WebhookResult struct.

func (*WebhookResultBuilder) Build ¶

func (rb *WebhookResultBuilder) Build() WebhookResult

Build finalize the chain and returns the WebhookResult struct

func (*WebhookResultBuilder) Request ¶

func (*WebhookResultBuilder) Response ¶

type WeightedAverageAggregation ¶

type WeightedAverageAggregation struct {
	Format    *string               `json:"format,omitempty"`
	Meta      *Metadata             `json:"meta,omitempty"`
	Name      *string               `json:"name,omitempty"`
	Value     *WeightedAverageValue `json:"value,omitempty"`
	ValueType *valuetype.ValueType  `json:"value_type,omitempty"`
	Weight    *WeightedAverageValue `json:"weight,omitempty"`
}

WeightedAverageAggregation type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L202-L207

type WeightedAverageAggregationBuilder ¶

type WeightedAverageAggregationBuilder struct {
	// contains filtered or unexported fields
}

WeightedAverageAggregationBuilder holds WeightedAverageAggregation struct and provides a builder API.

func NewWeightedAverageAggregationBuilder ¶

func NewWeightedAverageAggregationBuilder() *WeightedAverageAggregationBuilder

NewWeightedAverageAggregation provides a builder for the WeightedAverageAggregation struct.

func (*WeightedAverageAggregationBuilder) Build ¶

Build finalize the chain and returns the WeightedAverageAggregation struct

func (*WeightedAverageAggregationBuilder) Format ¶

func (*WeightedAverageAggregationBuilder) Meta ¶

func (*WeightedAverageAggregationBuilder) Name ¶

func (*WeightedAverageAggregationBuilder) Value ¶

func (*WeightedAverageAggregationBuilder) ValueType ¶

func (*WeightedAverageAggregationBuilder) Weight ¶

type WeightedAverageValue ¶

type WeightedAverageValue struct {
	Field   *Field   `json:"field,omitempty"`
	Missing *float64 `json:"missing,omitempty"`
	Script  *Script  `json:"script,omitempty"`
}

WeightedAverageValue type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L209-L213

type WeightedAverageValueBuilder ¶

type WeightedAverageValueBuilder struct {
	// contains filtered or unexported fields
}

WeightedAverageValueBuilder holds WeightedAverageValue struct and provides a builder API.

func NewWeightedAverageValueBuilder ¶

func NewWeightedAverageValueBuilder() *WeightedAverageValueBuilder

NewWeightedAverageValue provides a builder for the WeightedAverageValue struct.

func (*WeightedAverageValueBuilder) Build ¶

Build finalize the chain and returns the WeightedAverageValue struct

func (*WeightedAverageValueBuilder) Field ¶

func (*WeightedAverageValueBuilder) Missing ¶

func (*WeightedAverageValueBuilder) Script ¶

type WeightedAvgAggregate ¶

type WeightedAvgAggregate struct {
	Meta *Metadata `json:"meta,omitempty"`
	// Value The metric value. A missing value generally means that there was no data to
	// aggregate,
	// unless specified otherwise.
	Value         float64 `json:"value,omitempty"`
	ValueAsString *string `json:"value_as_string,omitempty"`
}

WeightedAvgAggregate type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/Aggregate.ts#L201-L205

type WeightedAvgAggregateBuilder ¶

type WeightedAvgAggregateBuilder struct {
	// contains filtered or unexported fields
}

WeightedAvgAggregateBuilder holds WeightedAvgAggregate struct and provides a builder API.

func NewWeightedAvgAggregateBuilder ¶

func NewWeightedAvgAggregateBuilder() *WeightedAvgAggregateBuilder

NewWeightedAvgAggregate provides a builder for the WeightedAvgAggregate struct.

func (*WeightedAvgAggregateBuilder) Build ¶

Build finalize the chain and returns the WeightedAvgAggregate struct

func (*WeightedAvgAggregateBuilder) Meta ¶

func (*WeightedAvgAggregateBuilder) Value ¶

func (*WeightedAvgAggregateBuilder) ValueAsString ¶

func (rb *WeightedAvgAggregateBuilder) ValueAsString(valueasstring string) *WeightedAvgAggregateBuilder

type WeightsBuilder ¶

type WeightsBuilder struct {
	// contains filtered or unexported fields
}

WeightsBuilder holds Weights struct and provides a builder API.

func NewWeightsBuilder ¶

func NewWeightsBuilder() *WeightsBuilder

NewWeights provides a builder for the Weights struct.

func (*WeightsBuilder) Build ¶

func (rb *WeightsBuilder) Build() Weights

Build finalize the chain and returns the Weights struct

func (*WeightsBuilder) Weights ¶

func (rb *WeightsBuilder) Weights(weights float64) *WeightsBuilder

type WhitespaceAnalyzer ¶

type WhitespaceAnalyzer struct {
	Type    string         `json:"type,omitempty"`
	Version *VersionString `json:"version,omitempty"`
}

WhitespaceAnalyzer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/analyzers.ts#L108-L111

type WhitespaceAnalyzerBuilder ¶

type WhitespaceAnalyzerBuilder struct {
	// contains filtered or unexported fields
}

WhitespaceAnalyzerBuilder holds WhitespaceAnalyzer struct and provides a builder API.

func NewWhitespaceAnalyzerBuilder ¶

func NewWhitespaceAnalyzerBuilder() *WhitespaceAnalyzerBuilder

NewWhitespaceAnalyzer provides a builder for the WhitespaceAnalyzer struct.

func (*WhitespaceAnalyzerBuilder) Build ¶

Build finalize the chain and returns the WhitespaceAnalyzer struct

func (*WhitespaceAnalyzerBuilder) Version ¶

type WhitespaceTokenizer ¶

type WhitespaceTokenizer struct {
	MaxTokenLength *int           `json:"max_token_length,omitempty"`
	Type           string         `json:"type,omitempty"`
	Version        *VersionString `json:"version,omitempty"`
}

WhitespaceTokenizer type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L114-L117

type WhitespaceTokenizerBuilder ¶

type WhitespaceTokenizerBuilder struct {
	// contains filtered or unexported fields
}

WhitespaceTokenizerBuilder holds WhitespaceTokenizer struct and provides a builder API.

func NewWhitespaceTokenizerBuilder ¶

func NewWhitespaceTokenizerBuilder() *WhitespaceTokenizerBuilder

NewWhitespaceTokenizer provides a builder for the WhitespaceTokenizer struct.

func (*WhitespaceTokenizerBuilder) Build ¶

Build finalize the chain and returns the WhitespaceTokenizer struct

func (*WhitespaceTokenizerBuilder) MaxTokenLength ¶

func (rb *WhitespaceTokenizerBuilder) MaxTokenLength(maxtokenlength int) *WhitespaceTokenizerBuilder

func (*WhitespaceTokenizerBuilder) Version ¶

type WildcardProperty ¶

type WildcardProperty struct {
	CopyTo        *Fields                        `json:"copy_to,omitempty"`
	DocValues     *bool                          `json:"doc_values,omitempty"`
	Dynamic       *dynamicmapping.DynamicMapping `json:"dynamic,omitempty"`
	Fields        map[PropertyName]Property      `json:"fields,omitempty"`
	IgnoreAbove   *int                           `json:"ignore_above,omitempty"`
	LocalMetadata *Metadata                      `json:"local_metadata,omitempty"`
	Meta          map[string]string              `json:"meta,omitempty"`
	NullValue     *string                        `json:"null_value,omitempty"`
	Properties    map[PropertyName]Property      `json:"properties,omitempty"`
	Similarity    *string                        `json:"similarity,omitempty"`
	Store         *bool                          `json:"store,omitempty"`
	Type          string                         `json:"type,omitempty"`
}

WildcardProperty type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L258-L262

type WildcardPropertyBuilder ¶

type WildcardPropertyBuilder struct {
	// contains filtered or unexported fields
}

WildcardPropertyBuilder holds WildcardProperty struct and provides a builder API.

func NewWildcardPropertyBuilder ¶

func NewWildcardPropertyBuilder() *WildcardPropertyBuilder

NewWildcardProperty provides a builder for the WildcardProperty struct.

func (*WildcardPropertyBuilder) Build ¶

Build finalize the chain and returns the WildcardProperty struct

func (*WildcardPropertyBuilder) CopyTo ¶

func (*WildcardPropertyBuilder) DocValues ¶

func (rb *WildcardPropertyBuilder) DocValues(docvalues bool) *WildcardPropertyBuilder

func (*WildcardPropertyBuilder) Dynamic ¶

func (*WildcardPropertyBuilder) Fields ¶

func (*WildcardPropertyBuilder) IgnoreAbove ¶

func (rb *WildcardPropertyBuilder) IgnoreAbove(ignoreabove int) *WildcardPropertyBuilder

func (*WildcardPropertyBuilder) LocalMetadata ¶

func (rb *WildcardPropertyBuilder) LocalMetadata(localmetadata *MetadataBuilder) *WildcardPropertyBuilder

func (*WildcardPropertyBuilder) Meta ¶

func (*WildcardPropertyBuilder) NullValue ¶

func (rb *WildcardPropertyBuilder) NullValue(nullvalue string) *WildcardPropertyBuilder

func (*WildcardPropertyBuilder) Properties ¶

func (*WildcardPropertyBuilder) Similarity ¶

func (rb *WildcardPropertyBuilder) Similarity(similarity string) *WildcardPropertyBuilder

func (*WildcardPropertyBuilder) Store ¶

type WildcardQuery ¶

type WildcardQuery struct {
	Boost *float32 `json:"boost,omitempty"`
	// CaseInsensitive Allows case insensitive matching of the pattern with the indexed field values
	// when set to true. Default is false which means the case sensitivity of
	// matching depends on the underlying field’s mapping.
	CaseInsensitive *bool   `json:"case_insensitive,omitempty"`
	QueryName_      *string `json:"_name,omitempty"`
	// Rewrite Method used to rewrite the query
	Rewrite *MultiTermQueryRewrite `json:"rewrite,omitempty"`
	// Value Wildcard pattern for terms you wish to find in the provided field. Required,
	// when wildcard is not set.
	Value *string `json:"value,omitempty"`
	// Wildcard Wildcard pattern for terms you wish to find in the provided field. Required,
	// when value is not set.
	Wildcard *string `json:"wildcard,omitempty"`
}

WildcardQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L158-L171

type WildcardQueryBuilder ¶

type WildcardQueryBuilder struct {
	// contains filtered or unexported fields
}

WildcardQueryBuilder holds WildcardQuery struct and provides a builder API.

func NewWildcardQueryBuilder ¶

func NewWildcardQueryBuilder() *WildcardQueryBuilder

NewWildcardQuery provides a builder for the WildcardQuery struct.

func (*WildcardQueryBuilder) Boost ¶

func (*WildcardQueryBuilder) Build ¶

func (rb *WildcardQueryBuilder) Build() WildcardQuery

Build finalize the chain and returns the WildcardQuery struct

func (*WildcardQueryBuilder) CaseInsensitive ¶

func (rb *WildcardQueryBuilder) CaseInsensitive(caseinsensitive bool) *WildcardQueryBuilder

func (*WildcardQueryBuilder) QueryName_ ¶

func (rb *WildcardQueryBuilder) QueryName_(queryname_ string) *WildcardQueryBuilder

func (*WildcardQueryBuilder) Rewrite ¶

func (*WildcardQueryBuilder) Value ¶

func (*WildcardQueryBuilder) Wildcard ¶

func (rb *WildcardQueryBuilder) Wildcard(wildcard string) *WildcardQueryBuilder

type WktGeoBoundsBuilder ¶

type WktGeoBoundsBuilder struct {
	// contains filtered or unexported fields
}

WktGeoBoundsBuilder holds WktGeoBounds struct and provides a builder API.

func NewWktGeoBoundsBuilder ¶

func NewWktGeoBoundsBuilder() *WktGeoBoundsBuilder

NewWktGeoBounds provides a builder for the WktGeoBounds struct.

func (*WktGeoBoundsBuilder) Build ¶

func (rb *WktGeoBoundsBuilder) Build() WktGeoBounds

Build finalize the chain and returns the WktGeoBounds struct

func (*WktGeoBoundsBuilder) Wkt ¶

type WordDelimiterGraphTokenFilter ¶

type WordDelimiterGraphTokenFilter struct {
	AdjustOffsets         *bool          `json:"adjust_offsets,omitempty"`
	CatenateAll           *bool          `json:"catenate_all,omitempty"`
	CatenateNumbers       *bool          `json:"catenate_numbers,omitempty"`
	CatenateWords         *bool          `json:"catenate_words,omitempty"`
	GenerateNumberParts   *bool          `json:"generate_number_parts,omitempty"`
	GenerateWordParts     *bool          `json:"generate_word_parts,omitempty"`
	IgnoreKeywords        *bool          `json:"ignore_keywords,omitempty"`
	PreserveOriginal      *bool          `json:"preserve_original,omitempty"`
	ProtectedWords        []string       `json:"protected_words,omitempty"`
	ProtectedWordsPath    *string        `json:"protected_words_path,omitempty"`
	SplitOnCaseChange     *bool          `json:"split_on_case_change,omitempty"`
	SplitOnNumerics       *bool          `json:"split_on_numerics,omitempty"`
	StemEnglishPossessive *bool          `json:"stem_english_possessive,omitempty"`
	Type                  string         `json:"type,omitempty"`
	TypeTable             []string       `json:"type_table,omitempty"`
	TypeTablePath         *string        `json:"type_table_path,omitempty"`
	Version               *VersionString `json:"version,omitempty"`
}

WordDelimiterGraphTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L148-L165

type WordDelimiterGraphTokenFilterBuilder ¶

type WordDelimiterGraphTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

WordDelimiterGraphTokenFilterBuilder holds WordDelimiterGraphTokenFilter struct and provides a builder API.

func NewWordDelimiterGraphTokenFilterBuilder ¶

func NewWordDelimiterGraphTokenFilterBuilder() *WordDelimiterGraphTokenFilterBuilder

NewWordDelimiterGraphTokenFilter provides a builder for the WordDelimiterGraphTokenFilter struct.

func (*WordDelimiterGraphTokenFilterBuilder) AdjustOffsets ¶

func (*WordDelimiterGraphTokenFilterBuilder) Build ¶

Build finalize the chain and returns the WordDelimiterGraphTokenFilter struct

func (*WordDelimiterGraphTokenFilterBuilder) CatenateAll ¶

func (*WordDelimiterGraphTokenFilterBuilder) CatenateNumbers ¶

func (*WordDelimiterGraphTokenFilterBuilder) CatenateWords ¶

func (*WordDelimiterGraphTokenFilterBuilder) GenerateNumberParts ¶

func (rb *WordDelimiterGraphTokenFilterBuilder) GenerateNumberParts(generatenumberparts bool) *WordDelimiterGraphTokenFilterBuilder

func (*WordDelimiterGraphTokenFilterBuilder) GenerateWordParts ¶

func (rb *WordDelimiterGraphTokenFilterBuilder) GenerateWordParts(generatewordparts bool) *WordDelimiterGraphTokenFilterBuilder

func (*WordDelimiterGraphTokenFilterBuilder) IgnoreKeywords ¶

func (*WordDelimiterGraphTokenFilterBuilder) PreserveOriginal ¶

func (rb *WordDelimiterGraphTokenFilterBuilder) PreserveOriginal(preserveoriginal bool) *WordDelimiterGraphTokenFilterBuilder

func (*WordDelimiterGraphTokenFilterBuilder) ProtectedWords ¶

func (*WordDelimiterGraphTokenFilterBuilder) ProtectedWordsPath ¶

func (rb *WordDelimiterGraphTokenFilterBuilder) ProtectedWordsPath(protectedwordspath string) *WordDelimiterGraphTokenFilterBuilder

func (*WordDelimiterGraphTokenFilterBuilder) SplitOnCaseChange ¶

func (rb *WordDelimiterGraphTokenFilterBuilder) SplitOnCaseChange(splitoncasechange bool) *WordDelimiterGraphTokenFilterBuilder

func (*WordDelimiterGraphTokenFilterBuilder) SplitOnNumerics ¶

func (*WordDelimiterGraphTokenFilterBuilder) StemEnglishPossessive ¶

func (rb *WordDelimiterGraphTokenFilterBuilder) StemEnglishPossessive(stemenglishpossessive bool) *WordDelimiterGraphTokenFilterBuilder

func (*WordDelimiterGraphTokenFilterBuilder) TypeTable ¶

func (*WordDelimiterGraphTokenFilterBuilder) TypeTablePath ¶

func (*WordDelimiterGraphTokenFilterBuilder) Version ¶

type WordDelimiterTokenFilter ¶

type WordDelimiterTokenFilter struct {
	CatenateAll           *bool          `json:"catenate_all,omitempty"`
	CatenateNumbers       *bool          `json:"catenate_numbers,omitempty"`
	CatenateWords         *bool          `json:"catenate_words,omitempty"`
	GenerateNumberParts   *bool          `json:"generate_number_parts,omitempty"`
	GenerateWordParts     *bool          `json:"generate_word_parts,omitempty"`
	PreserveOriginal      *bool          `json:"preserve_original,omitempty"`
	ProtectedWords        []string       `json:"protected_words,omitempty"`
	ProtectedWordsPath    *string        `json:"protected_words_path,omitempty"`
	SplitOnCaseChange     *bool          `json:"split_on_case_change,omitempty"`
	SplitOnNumerics       *bool          `json:"split_on_numerics,omitempty"`
	StemEnglishPossessive *bool          `json:"stem_english_possessive,omitempty"`
	Type                  string         `json:"type,omitempty"`
	TypeTable             []string       `json:"type_table,omitempty"`
	TypeTablePath         *string        `json:"type_table_path,omitempty"`
	Version               *VersionString `json:"version,omitempty"`
}

WordDelimiterTokenFilter type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L131-L146

type WordDelimiterTokenFilterBuilder ¶

type WordDelimiterTokenFilterBuilder struct {
	// contains filtered or unexported fields
}

WordDelimiterTokenFilterBuilder holds WordDelimiterTokenFilter struct and provides a builder API.

func NewWordDelimiterTokenFilterBuilder ¶

func NewWordDelimiterTokenFilterBuilder() *WordDelimiterTokenFilterBuilder

NewWordDelimiterTokenFilter provides a builder for the WordDelimiterTokenFilter struct.

func (*WordDelimiterTokenFilterBuilder) Build ¶

Build finalize the chain and returns the WordDelimiterTokenFilter struct

func (*WordDelimiterTokenFilterBuilder) CatenateAll ¶

func (*WordDelimiterTokenFilterBuilder) CatenateNumbers ¶

func (rb *WordDelimiterTokenFilterBuilder) CatenateNumbers(catenatenumbers bool) *WordDelimiterTokenFilterBuilder

func (*WordDelimiterTokenFilterBuilder) CatenateWords ¶

func (rb *WordDelimiterTokenFilterBuilder) CatenateWords(catenatewords bool) *WordDelimiterTokenFilterBuilder

func (*WordDelimiterTokenFilterBuilder) GenerateNumberParts ¶

func (rb *WordDelimiterTokenFilterBuilder) GenerateNumberParts(generatenumberparts bool) *WordDelimiterTokenFilterBuilder

func (*WordDelimiterTokenFilterBuilder) GenerateWordParts ¶

func (rb *WordDelimiterTokenFilterBuilder) GenerateWordParts(generatewordparts bool) *WordDelimiterTokenFilterBuilder

func (*WordDelimiterTokenFilterBuilder) PreserveOriginal ¶

func (rb *WordDelimiterTokenFilterBuilder) PreserveOriginal(preserveoriginal bool) *WordDelimiterTokenFilterBuilder

func (*WordDelimiterTokenFilterBuilder) ProtectedWords ¶

func (rb *WordDelimiterTokenFilterBuilder) ProtectedWords(protected_words ...string) *WordDelimiterTokenFilterBuilder

func (*WordDelimiterTokenFilterBuilder) ProtectedWordsPath ¶

func (rb *WordDelimiterTokenFilterBuilder) ProtectedWordsPath(protectedwordspath string) *WordDelimiterTokenFilterBuilder

func (*WordDelimiterTokenFilterBuilder) SplitOnCaseChange ¶

func (rb *WordDelimiterTokenFilterBuilder) SplitOnCaseChange(splitoncasechange bool) *WordDelimiterTokenFilterBuilder

func (*WordDelimiterTokenFilterBuilder) SplitOnNumerics ¶

func (rb *WordDelimiterTokenFilterBuilder) SplitOnNumerics(splitonnumerics bool) *WordDelimiterTokenFilterBuilder

func (*WordDelimiterTokenFilterBuilder) StemEnglishPossessive ¶

func (rb *WordDelimiterTokenFilterBuilder) StemEnglishPossessive(stemenglishpossessive bool) *WordDelimiterTokenFilterBuilder

func (*WordDelimiterTokenFilterBuilder) TypeTable ¶

func (*WordDelimiterTokenFilterBuilder) TypeTablePath ¶

func (*WordDelimiterTokenFilterBuilder) Version ¶

type WrapperQuery ¶

type WrapperQuery struct {
	Boost *float32 `json:"boost,omitempty"`
	// Query A base64 encoded query. The binary data format can be any of JSON, YAML, CBOR
	// or SMILE encodings
	Query      string  `json:"query"`
	QueryName_ *string `json:"_name,omitempty"`
}

WrapperQuery type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/abstractions.ts#L199-L202

type WrapperQueryBuilder ¶

type WrapperQueryBuilder struct {
	// contains filtered or unexported fields
}

WrapperQueryBuilder holds WrapperQuery struct and provides a builder API.

func NewWrapperQueryBuilder ¶

func NewWrapperQueryBuilder() *WrapperQueryBuilder

NewWrapperQuery provides a builder for the WrapperQuery struct.

func (*WrapperQueryBuilder) Boost ¶

func (*WrapperQueryBuilder) Build ¶

func (rb *WrapperQueryBuilder) Build() WrapperQuery

Build finalize the chain and returns the WrapperQuery struct

func (*WrapperQueryBuilder) Query ¶

func (*WrapperQueryBuilder) QueryName_ ¶

func (rb *WrapperQueryBuilder) QueryName_(queryname_ string) *WrapperQueryBuilder

type WriteResponseBase ¶

type WriteResponseBase struct {
	ForcedRefresh *bool           `json:"forced_refresh,omitempty"`
	Id_           Id              `json:"_id"`
	Index_        IndexName       `json:"_index"`
	PrimaryTerm_  int64           `json:"_primary_term"`
	Result        result.Result   `json:"result"`
	SeqNo_        SequenceNumber  `json:"_seq_no"`
	Shards_       ShardStatistics `json:"_shards"`
	Version_      VersionNumber   `json:"_version"`
}

WriteResponseBase type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Base.ts#L36-L45

type WriteResponseBaseBuilder ¶

type WriteResponseBaseBuilder struct {
	// contains filtered or unexported fields
}

WriteResponseBaseBuilder holds WriteResponseBase struct and provides a builder API.

func NewWriteResponseBaseBuilder ¶

func NewWriteResponseBaseBuilder() *WriteResponseBaseBuilder

NewWriteResponseBase provides a builder for the WriteResponseBase struct.

func (*WriteResponseBaseBuilder) Build ¶

Build finalize the chain and returns the WriteResponseBase struct

func (*WriteResponseBaseBuilder) ForcedRefresh ¶

func (rb *WriteResponseBaseBuilder) ForcedRefresh(forcedrefresh bool) *WriteResponseBaseBuilder

func (*WriteResponseBaseBuilder) Id_ ¶

func (*WriteResponseBaseBuilder) Index_ ¶

func (*WriteResponseBaseBuilder) PrimaryTerm_ ¶

func (rb *WriteResponseBaseBuilder) PrimaryTerm_(primaryterm_ int64) *WriteResponseBaseBuilder

func (*WriteResponseBaseBuilder) Result ¶

func (*WriteResponseBaseBuilder) SeqNo_ ¶

func (*WriteResponseBaseBuilder) Shards_ ¶

func (*WriteResponseBaseBuilder) Version_ ¶

type ZeroShotClassificationInferenceOptions ¶

type ZeroShotClassificationInferenceOptions struct {
	// ClassificationLabels The zero shot classification labels indicating entailment, neutral, and
	// contradiction
	// Must contain exactly and only entailment, neutral, and contradiction
	ClassificationLabels []string `json:"classification_labels"`
	// HypothesisTemplate Hypothesis template used when tokenizing labels for prediction
	HypothesisTemplate *string `json:"hypothesis_template,omitempty"`
	// Labels The labels to predict.
	Labels []string `json:"labels,omitempty"`
	// MultiLabel Indicates if more than one true label exists.
	MultiLabel *bool `json:"multi_label,omitempty"`
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string `json:"results_field,omitempty"`
	// Tokenization The tokenization options to update when inferring
	Tokenization *TokenizationConfigContainer `json:"tokenization,omitempty"`
}

ZeroShotClassificationInferenceOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L186-L207

type ZeroShotClassificationInferenceOptionsBuilder ¶

type ZeroShotClassificationInferenceOptionsBuilder struct {
	// contains filtered or unexported fields
}

ZeroShotClassificationInferenceOptionsBuilder holds ZeroShotClassificationInferenceOptions struct and provides a builder API.

func NewZeroShotClassificationInferenceOptionsBuilder ¶

func NewZeroShotClassificationInferenceOptionsBuilder() *ZeroShotClassificationInferenceOptionsBuilder

NewZeroShotClassificationInferenceOptions provides a builder for the ZeroShotClassificationInferenceOptions struct.

func (*ZeroShotClassificationInferenceOptionsBuilder) Build ¶

Build finalize the chain and returns the ZeroShotClassificationInferenceOptions struct

func (*ZeroShotClassificationInferenceOptionsBuilder) ClassificationLabels ¶

func (*ZeroShotClassificationInferenceOptionsBuilder) HypothesisTemplate ¶

func (*ZeroShotClassificationInferenceOptionsBuilder) Labels ¶

func (*ZeroShotClassificationInferenceOptionsBuilder) MultiLabel ¶

func (*ZeroShotClassificationInferenceOptionsBuilder) ResultsField ¶

func (*ZeroShotClassificationInferenceOptionsBuilder) Tokenization ¶

type ZeroShotClassificationInferenceUpdateOptions ¶

type ZeroShotClassificationInferenceUpdateOptions struct {
	// Labels The labels to predict.
	Labels []string `json:"labels"`
	// MultiLabel Update the configured multi label option. Indicates if more than one true
	// label exists. Defaults to the configured value.
	MultiLabel *bool `json:"multi_label,omitempty"`
	// ResultsField The field that is added to incoming documents to contain the inference
	// prediction. Defaults to predicted_value.
	ResultsField *string `json:"results_field,omitempty"`
	// Tokenization The tokenization options to update when inferring
	Tokenization *NlpTokenizationUpdateOptions `json:"tokenization,omitempty"`
}

ZeroShotClassificationInferenceUpdateOptions type.

https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L333-L342

type ZeroShotClassificationInferenceUpdateOptionsBuilder ¶

type ZeroShotClassificationInferenceUpdateOptionsBuilder struct {
	// contains filtered or unexported fields
}

ZeroShotClassificationInferenceUpdateOptionsBuilder holds ZeroShotClassificationInferenceUpdateOptions struct and provides a builder API.

func NewZeroShotClassificationInferenceUpdateOptionsBuilder ¶

func NewZeroShotClassificationInferenceUpdateOptionsBuilder() *ZeroShotClassificationInferenceUpdateOptionsBuilder

NewZeroShotClassificationInferenceUpdateOptions provides a builder for the ZeroShotClassificationInferenceUpdateOptions struct.

func (*ZeroShotClassificationInferenceUpdateOptionsBuilder) Build ¶

Build finalize the chain and returns the ZeroShotClassificationInferenceUpdateOptions struct

func (*ZeroShotClassificationInferenceUpdateOptionsBuilder) Labels ¶

func (*ZeroShotClassificationInferenceUpdateOptionsBuilder) MultiLabel ¶

func (*ZeroShotClassificationInferenceUpdateOptionsBuilder) ResultsField ¶

func (*ZeroShotClassificationInferenceUpdateOptionsBuilder) Tokenization ¶

type ZoomLevelBuilder ¶

type ZoomLevelBuilder struct {
	// contains filtered or unexported fields
}

ZoomLevelBuilder holds ZoomLevel struct and provides a builder API.

func NewZoomLevelBuilder ¶

func NewZoomLevelBuilder() *ZoomLevelBuilder

NewZoomLevel provides a builder for the ZoomLevel struct.

func (*ZoomLevelBuilder) Build ¶

func (b *ZoomLevelBuilder) Build() ZoomLevel

Build finalize the chain and returns the ZoomLevel struct

func (*ZoomLevelBuilder) ZoomLevel ¶

func (b *ZoomLevelBuilder) ZoomLevel(value ZoomLevel) *ZoomLevelBuilder

Source Files ¶

Directories ¶

Path Synopsis
enums
accesstokengranttype
Package accesstokengranttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/get_token/types.ts#L23-L28
Package accesstokengranttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/get_token/types.ts#L23-L28
acknowledgementoptions
Package acknowledgementoptions https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Action.ts#L106-L110
Package acknowledgementoptions https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Action.ts#L106-L110
actionexecutionmode
Package actionexecutionmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Action.ts#L70-L91
Package actionexecutionmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Action.ts#L70-L91
actionstatusoptions
Package actionstatusoptions https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Action.ts#L99-L104
Package actionstatusoptions https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Action.ts#L99-L104
actiontype
Package actiontype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Action.ts#L61-L68
Package actiontype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Action.ts#L61-L68
allocationexplaindecision
Package allocationexplaindecision https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/allocation_explain/types.ts#L32-L37
Package allocationexplaindecision https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/allocation_explain/types.ts#L32-L37
apikeygranttype
Package apikeygranttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/grant_api_key/types.ts#L31-L34
Package apikeygranttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/grant_api_key/types.ts#L31-L34
appliesto
Package appliesto https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Rule.ts#L67-L72
Package appliesto https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Rule.ts#L67-L72
boundaryscanner
Package boundaryscanner https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L26-L30
Package boundaryscanner https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L26-L30
bytes
Package bytes https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L142-L160
Package bytes https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L142-L160
calendarinterval
Package calendarinterval https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L109-L126
Package calendarinterval https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L109-L126
catanomalydetectorcolumn
Package catanomalydetectorcolumn https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/_types/CatBase.ts#L32-L401
Package catanomalydetectorcolumn https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/_types/CatBase.ts#L32-L401
catdatafeedcolumn
Package catdatafeedcolumn https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/_types/CatBase.ts#L405-L471
Package catdatafeedcolumn https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/_types/CatBase.ts#L405-L471
catdfacolumn
Package catdfacolumn https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/_types/CatBase.ts#L472-L557
Package catdfacolumn https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/_types/CatBase.ts#L472-L557
categorizationstatus
Package categorizationstatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Model.ts#L80-L83
Package categorizationstatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Model.ts#L80-L83
cattrainedmodelscolumn
Package cattrainedmodelscolumn https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/_types/CatBase.ts#L561-L635
Package cattrainedmodelscolumn https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/_types/CatBase.ts#L561-L635
cattransformcolumn
Package cattransformcolumn https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/_types/CatBase.ts#L640-L844
Package cattransformcolumn https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cat/_types/CatBase.ts#L640-L844
childscoremode
Package childscoremode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/joining.ts#L25-L39
Package childscoremode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/joining.ts#L25-L39
chunkingmode
Package chunkingmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Datafeed.ts#L171-L175
Package chunkingmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Datafeed.ts#L171-L175
clusterprivilege
Package clusterprivilege https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/Privileges.ts#L41-L79
Package clusterprivilege https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/Privileges.ts#L41-L79
combinedfieldsoperator
Package combinedfieldsoperator https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/abstractions.ts#L204-L207
Package combinedfieldsoperator https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/abstractions.ts#L204-L207
combinedfieldszeroterms
Package combinedfieldszeroterms https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/abstractions.ts#L209-L212
Package combinedfieldszeroterms https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/abstractions.ts#L209-L212
conditionoperator
Package conditionoperator https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Rule.ts#L74-L79
Package conditionoperator https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Rule.ts#L74-L79
conditiontype
Package conditiontype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Conditions.ts#L62-L68
Package conditiontype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Conditions.ts#L62-L68
conflicts
Package conflicts https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L162-L165
Package conflicts https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L162-L165
connectionscheme
Package connectionscheme https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L40-L43
Package connectionscheme https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L40-L43
converttype
Package converttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L136-L144
Package converttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L136-L144
dataattachmentformat
Package dataattachmentformat https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L187-L190
Package dataattachmentformat https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L187-L190
datafeedstate
Package datafeedstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Datafeed.ts#L133-L138
Package datafeedstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Datafeed.ts#L133-L138
dataframestate
Package dataframestate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Dataframe.ts#L20-L26
Package dataframestate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Dataframe.ts#L20-L26
day
Package day https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Schedule.ts#L37-L45
Package day https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Schedule.ts#L37-L45
decision
Package decision https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/allocation_explain/types.ts#L86-L95
Package decision https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/allocation_explain/types.ts#L86-L95
delimitedpayloadencoding
Package delimitedpayloadencoding https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L61-L65
Package delimitedpayloadencoding https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L61-L65
deploymentallocationstate
Package deploymentallocationstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L277-L290
Package deploymentallocationstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L277-L290
deploymentstate
Package deploymentstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L262-L275
Package deploymentstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L262-L275
deprecationlevel
Package deprecationlevel https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/migration/deprecations/types.ts#L20-L27
Package deprecationlevel https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/migration/deprecations/types.ts#L20-L27
dfiindependencemeasure
Package dfiindependencemeasure https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Similarity.ts#L20-L24
Package dfiindependencemeasure https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Similarity.ts#L20-L24
dfraftereffect
Package dfraftereffect https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Similarity.ts#L26-L30
Package dfraftereffect https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Similarity.ts#L26-L30
dfrbasicmodel
Package dfrbasicmodel https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Similarity.ts#L32-L40
Package dfrbasicmodel https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Similarity.ts#L32-L40
distanceunit
Package distanceunit https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Geo.ts#L30-L49
Package distanceunit https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Geo.ts#L30-L49
dynamicmapping
Package dynamicmapping https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/dynamic-template.ts#L37-L46
Package dynamicmapping https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/dynamic-template.ts#L37-L46
edgengramside
Package edgengramside https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L73-L76
Package edgengramside https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L73-L76
emailpriority
Package emailpriority https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L197-L203
Package emailpriority https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L197-L203
enrichpolicyphase
Package enrichpolicyphase https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/enrich/execute_policy/types.ts#L24-L29
Package enrichpolicyphase https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/enrich/execute_policy/types.ts#L24-L29
excludefrequent
Package excludefrequent https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Detector.ts#L82-L87
Package excludefrequent https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Detector.ts#L82-L87
executionphase
Package executionphase https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Execution.ts#L49-L58
Package executionphase https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Execution.ts#L49-L58
executionstatus
Package executionstatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Execution.ts#L38-L47
Package executionstatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Execution.ts#L38-L47
expandwildcard
Package expandwildcard https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L174-L188
Package expandwildcard https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L174-L188
feature
Package feature https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/get/IndicesGetRequest.ts#L89-L93
Package feature https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/get/IndicesGetRequest.ts#L89-L93
fieldsortnumerictype
Package fieldsortnumerictype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/sort.ts#L36-L41
Package fieldsortnumerictype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/sort.ts#L36-L41
fieldtype
Package fieldtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/Property.ts#L156-L199
Package fieldtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/Property.ts#L156-L199
fieldvaluefactormodifier
Package fieldvaluefactormodifier https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L147-L158
Package fieldvaluefactormodifier https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L147-L158
filtertype
Package filtertype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Filter.ts#L43-L46
Package filtertype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Filter.ts#L43-L46
followerindexstatus
Package followerindexstatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ccr/follow_info/types.ts#L30-L33
Package followerindexstatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ccr/follow_info/types.ts#L30-L33
functionboostmode
Package functionboostmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L138-L145
Package functionboostmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L138-L145
functionscoremode
Package functionscoremode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L129-L136
Package functionscoremode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L129-L136
gappolicy
Package gappolicy https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L52-L55
Package gappolicy https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L52-L55
geodistancetype
Package geodistancetype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Geo.ts#L51-L54
Package geodistancetype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Geo.ts#L51-L54
geoexecution
Package geoexecution https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/geo.ts#L43-L46
Package geoexecution https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/geo.ts#L43-L46
geoorientation
Package geoorientation https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/geo.ts#L30-L35
Package geoorientation https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/geo.ts#L30-L35
geoshaperelation
Package geoshaperelation https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Geo.ts#L67-L72
Package geoshaperelation https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Geo.ts#L67-L72
geostrategy
Package geostrategy https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/geo.ts#L52-L55
Package geostrategy https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/geo.ts#L52-L55
geovalidationmethod
Package geovalidationmethod https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/geo.ts#L107-L111
Package geovalidationmethod https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/geo.ts#L107-L111
granttype
Package granttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/GrantType.ts#L20-L23
Package granttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/GrantType.ts#L20-L23
gridtype
Package gridtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search_mvt/_types/GridType.ts#L20-L25
Package gridtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search_mvt/_types/GridType.ts#L20-L25
groupby
Package groupby https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/tasks/_types/GroupBy.ts#L20-L27
Package groupby https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/tasks/_types/GroupBy.ts#L20-L27
healthstatus
Package healthstatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L192-L212
Package healthstatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L192-L212
highlighterencoder
Package highlighterencoder https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L61-L64
Package highlighterencoder https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L61-L64
highlighterfragmenter
Package highlighterfragmenter https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L66-L69
Package highlighterfragmenter https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L66-L69
highlighterorder
Package highlighterorder https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L71-L73
Package highlighterorder https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L71-L73
highlightertagsschema
Package highlightertagsschema https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L75-L77
Package highlightertagsschema https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L75-L77
highlightertype
Package highlightertype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L79-L85
Package highlightertype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/highlighting.ts#L79-L85
holtwinterstype
Package holtwinterstype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L231-L236
Package holtwinterstype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L231-L236
httpinputmethod
Package httpinputmethod https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L61-L67
Package httpinputmethod https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L61-L67
ibdistribution
Package ibdistribution https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Similarity.ts#L42-L45
Package ibdistribution https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Similarity.ts#L42-L45
iblambda
Package iblambda https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Similarity.ts#L47-L50
Package iblambda https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Similarity.ts#L47-L50
icucollationalternate
Package icucollationalternate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L88-L91
Package icucollationalternate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L88-L91
icucollationcasefirst
Package icucollationcasefirst https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L93-L96
Package icucollationcasefirst https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L93-L96
icucollationdecomposition
Package icucollationdecomposition https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L98-L101
Package icucollationdecomposition https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L98-L101
icucollationstrength
Package icucollationstrength https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L103-L109
Package icucollationstrength https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L103-L109
icunormalizationmode
Package icunormalizationmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L77-L80
Package icunormalizationmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L77-L80
icunormalizationtype
Package icunormalizationtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L82-L86
Package icunormalizationtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L82-L86
icutransformdirection
Package icutransformdirection https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L72-L75
Package icutransformdirection https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/icu-plugin.ts#L72-L75
include
Package include https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Include.ts#L20-L42
Package include https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Include.ts#L20-L42
indexcheckonstartup
Package indexcheckonstartup https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L253-L260
Package indexcheckonstartup https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L253-L260
indexingjobstate
Package indexingjobstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/rollup/get_jobs/types.ts#L66-L72
Package indexingjobstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/rollup/get_jobs/types.ts#L66-L72
indexmetadatastate
Package indexmetadatastate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L203-L209
Package indexmetadatastate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L203-L209
indexoptions
Package indexoptions https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L224-L229
Package indexoptions https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L224-L229
indexprivilege
Package indexprivilege https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/Privileges.ts#L138-L158
Package indexprivilege https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/_types/Privileges.ts#L138-L158
indexroutingallocationoptions
Package indexroutingallocationoptions https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexRouting.ts#L38-L43
Package indexroutingallocationoptions https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexRouting.ts#L38-L43
indexroutingrebalanceoptions
Package indexroutingrebalanceoptions https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexRouting.ts#L45-L50
Package indexroutingrebalanceoptions https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexRouting.ts#L45-L50
indicesblockoptions
Package indicesblockoptions https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/add_block/IndicesAddBlockRequest.ts#L43-L48
Package indicesblockoptions https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/add_block/IndicesAddBlockRequest.ts#L43-L48
inputtype
Package inputtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L102-L106
Package inputtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L102-L106
jobblockedreason
Package jobblockedreason https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Job.ts#L174-L178
Package jobblockedreason https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Job.ts#L174-L178
jobstate
Package jobstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Job.ts#L36-L42
Package jobstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Job.ts#L36-L42
keeptypesmode
Package keeptypesmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L212-L215
Package keeptypesmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L212-L215
kuromojitokenizationmode
Package kuromojitokenizationmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/kuromoji-plugin.ts#L52-L56
Package kuromojitokenizationmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/kuromoji-plugin.ts#L52-L56
language
Package language https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/languages.ts#L20-L55
Package language https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/languages.ts#L20-L55
level
Package level https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L222-L226
Package level https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L222-L226
licensestatus
Package licensestatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/license/_types/License.ts#L35-L40
Package licensestatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/license/_types/License.ts#L35-L40
licensetype
Package licensetype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/license/_types/License.ts#L23-L33
Package licensetype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/license/_types/License.ts#L23-L33
lifecycleoperationmode
Package lifecycleoperationmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Lifecycle.ts#L20-L24
Package lifecycleoperationmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Lifecycle.ts#L20-L24
matchtype
Package matchtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/dynamic-template.ts#L32-L35
Package matchtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/dynamic-template.ts#L32-L35
memorystatus
Package memorystatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Model.ts#L85-L89
Package memorystatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Model.ts#L85-L89
metric
Package metric https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/rollup/_types/Metric.ts#L22-L28
Package metric https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/rollup/_types/Metric.ts#L22-L28
migrationstatus
Package migrationstatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/migration/get_feature_upgrade_status/GetFeatureUpgradeStatusResponse.ts#L30-L35
Package migrationstatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/migration/get_feature_upgrade_status/GetFeatureUpgradeStatusResponse.ts#L30-L35
minimuminterval
Package minimuminterval https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L64-L71
Package minimuminterval https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L64-L71
missingorder
Package missingorder https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/AggregationContainer.ts#L210-L214
Package missingorder https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/AggregationContainer.ts#L210-L214
month
Package month https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Schedule.ts#L70-L83
Package month https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Schedule.ts#L70-L83
multivaluemode
Package multivaluemode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L160-L165
Package multivaluemode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L160-L165
noderole
Package noderole https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Node.ts#L67-L85
Package noderole https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Node.ts#L67-L85
noridecompoundmode
Package noridecompoundmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L74-L78
Package noridecompoundmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L74-L78
normalization
Package normalization https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Similarity.ts#L52-L58
Package normalization https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Similarity.ts#L52-L58
normalizemethod
Package normalizemethod https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L254-L262
Package normalizemethod https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/pipeline.ts#L254-L262
numericfielddataformat
Package numericfielddataformat https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/NumericFielddataFormat.ts#L20-L23
Package numericfielddataformat https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/NumericFielddataFormat.ts#L20-L23
onscripterror
Package onscripterror https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L108-L111
Package onscripterror https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/core.ts#L108-L111
operator
Package operator https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/Operator.ts#L22-L27
Package operator https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/Operator.ts#L22-L27
optype
Package optype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L228-L231
Package optype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L228-L231
pagerdutycontexttype
Package pagerdutycontexttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L67-L70
Package pagerdutycontexttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L67-L70
pagerdutyeventtype
Package pagerdutyeventtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L72-L76
Package pagerdutyeventtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Actions.ts#L72-L76
phoneticencoder
Package phoneticencoder https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/phonetic-plugin.ts#L23-L36
Package phoneticencoder https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/phonetic-plugin.ts#L23-L36
phoneticlanguage
Package phoneticlanguage https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/phonetic-plugin.ts#L38-L51
Package phoneticlanguage https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/phonetic-plugin.ts#L38-L51
phoneticnametype
Package phoneticnametype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/phonetic-plugin.ts#L53-L57
Package phoneticnametype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/phonetic-plugin.ts#L53-L57
phoneticruletype
Package phoneticruletype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/phonetic-plugin.ts#L59-L62
Package phoneticruletype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/phonetic-plugin.ts#L59-L62
quantifier
Package quantifier https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Conditions.ts#L72-L75
Package quantifier https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Conditions.ts#L72-L75
rangerelation
Package rangerelation https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L105-L109
Package rangerelation https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/term.ts#L105-L109
ratemode
Package ratemode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L123-L126
Package ratemode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L123-L126
refresh
Package refresh https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L233-L240
Package refresh https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L233-L240
responsecontenttype
Package responsecontenttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L108-L112
Package responsecontenttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/_types/Input.ts#L108-L112
result
Package result https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Result.ts#L20-L27
Package result https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Result.ts#L20-L27
resultposition
Package resultposition https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/eql/search/types.ts#L20-L32
Package resultposition https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/eql/search/types.ts#L20-L32
routingstate
Package routingstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L303-L324
Package routingstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L303-L324
ruleaction
Package ruleaction https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Rule.ts#L41-L50
Package ruleaction https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Rule.ts#L41-L50
runtimefieldtype
Package runtimefieldtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/RuntimeFields.ts#L32-L40
Package runtimefieldtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/RuntimeFields.ts#L32-L40
sampleraggregationexecutionhint
Package sampleraggregationexecutionhint https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L160-L164
Package sampleraggregationexecutionhint https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L160-L164
scoremode
Package scoremode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/rescoring.ts#L36-L42
Package scoremode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/rescoring.ts#L36-L42
scriptlanguage
Package scriptlanguage https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Scripting.ts#L24-L33
Package scriptlanguage https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Scripting.ts#L24-L33
scriptsorttype
Package scriptsorttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/sort.ts#L75-L78
Package scriptsorttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/sort.ts#L75-L78
searchtype
Package searchtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L242-L247
Package searchtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L242-L247
segmentsortmissing
Package segmentsortmissing https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSegmentSort.ts#L43-L48
Package segmentsortmissing https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSegmentSort.ts#L43-L48
segmentsortmode
Package segmentsortmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSegmentSort.ts#L36-L41
Package segmentsortmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSegmentSort.ts#L36-L41
segmentsortorder
Package segmentsortorder https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSegmentSort.ts#L29-L34
Package segmentsortorder https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSegmentSort.ts#L29-L34
shapetype
Package shapetype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L330-L333
Package shapetype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L330-L333
shardroutingstate
Package shardroutingstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L157-L162
Package shardroutingstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/stats/types.ts#L157-L162
shardsstatsstage
Package shardsstatsstage https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/SnapshotShardsStatsStage.ts#L20-L31
Package shardsstatsstage https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/SnapshotShardsStatsStage.ts#L20-L31
shardstoreallocation
Package shardstoreallocation https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/shard_stores/types.ts#L40-L44
Package shardstoreallocation https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/shard_stores/types.ts#L40-L44
shardstorestatus
Package shardstorestatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/shard_stores/types.ts#L55-L64
Package shardstorestatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/shard_stores/types.ts#L55-L64
shutdownstatus
Package shutdownstatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/shutdown/get_node/ShutdownGetNodeResponse.ts#L45-L50
Package shutdownstatus https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/shutdown/get_node/ShutdownGetNodeResponse.ts#L45-L50
shutdowntype
Package shutdowntype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/shutdown/get_node/ShutdownGetNodeResponse.ts#L40-L43
Package shutdowntype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/shutdown/get_node/ShutdownGetNodeResponse.ts#L40-L43
simplequerystringflag
Package simplequerystringflag https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L278-L292
Package simplequerystringflag https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L278-L292
slicescalculation
Package slicescalculation https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L326-L334
Package slicescalculation https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L326-L334
snapshotsort
Package snapshotsort https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/SnapshotInfo.ts#L67-L78
Package snapshotsort https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/snapshot/_types/SnapshotInfo.ts#L67-L78
snapshotupgradestate
Package snapshotupgradestate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Model.ts#L91-L96
Package snapshotupgradestate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/Model.ts#L91-L96
snowballlanguage
Package snowballlanguage https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/languages.ts#L57-L80
Package snowballlanguage https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/languages.ts#L57-L80
sortmode
Package sortmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/sort.ts#L101-L110
Package sortmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/sort.ts#L101-L110
sortorder
Package sortorder https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/sort.ts#L112-L115
Package sortorder https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/sort.ts#L112-L115
statslevel
Package statslevel https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/searchable_snapshots/_types/stats.ts#L20-L24
Package statslevel https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/searchable_snapshots/_types/stats.ts#L20-L24
storagetype
Package storagetype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L507-L534
Package storagetype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L507-L534
stringdistance
Package stringdistance https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L234-L240
Package stringdistance https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L234-L240
suggestmode
Package suggestmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L249-L253
Package suggestmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L249-L253
suggestsort
Package suggestsort https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L242-L245
Package suggestsort https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/suggester.ts#L242-L245
synonymformat
Package synonymformat https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L104-L107
Package synonymformat https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/token_filters.ts#L104-L107
templateformat
Package templateformat https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/get_role/types.ts#L41-L44
Package templateformat https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/security/get_role/types.ts#L41-L44
termsaggregationcollectmode
Package termsaggregationcollectmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L403-L406
Package termsaggregationcollectmode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L403-L406
termsaggregationexecutionhint
Package termsaggregationexecutionhint https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L408-L413
Package termsaggregationexecutionhint https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/bucket.ts#L408-L413
termvectoroption
Package termvectoroption https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/TermVectorOption.ts#L20-L28
Package termvectoroption https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/TermVectorOption.ts#L20-L28
textquerytype
Package textquerytype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L219-L226
Package textquerytype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L219-L226
threadtype
Package threadtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L255-L261
Package threadtype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L255-L261
timeseriesmetrictype
Package timeseriesmetrictype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/TimeSeriesMetricType.ts#L20-L25
Package timeseriesmetrictype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/mapping/TimeSeriesMetricType.ts#L20-L25
timeunit
Package timeunit https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Time.ts#L69-L84
Package timeunit https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/Time.ts#L69-L84
tokenchar
Package tokenchar https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L46-L53
Package tokenchar https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/analysis/tokenizers.ts#L46-L53
tokenizationtruncate
Package tokenizationtruncate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L309-L313
Package tokenizationtruncate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/inference.ts#L309-L313
totalhitsrelation
Package totalhitsrelation https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/hits.ts#L95-L100
Package totalhitsrelation https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_global/search/_types/hits.ts#L95-L100
trainedmodeltype
Package trainedmodeltype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L246-L260
Package trainedmodeltype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ml/_types/TrainedModel.ts#L246-L260
translogdurability
Package translogdurability https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L356-L371
Package translogdurability https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/indices/_types/IndexSettings.ts#L356-L371
ttesttype
Package ttesttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L156-L160
Package ttesttype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L156-L160
type_
Package type_ https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/shutdown/_types/types.ts#L20-L24
Package type_ https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/shutdown/_types/types.ts#L20-L24
unassignedinformationreason
Package unassignedinformationreason https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/allocation_explain/types.ts#L127-L146
Package unassignedinformationreason https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/cluster/allocation_explain/types.ts#L127-L146
useragentproperty
Package useragentproperty https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L76-L87
Package useragentproperty https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/ingest/_types/Processors.ts#L76-L87
valuetype
Package valuetype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L189-L200
Package valuetype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/aggregations/metric.ts#L189-L200
versiontype
Package versiontype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L91-L96
Package versiontype https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L91-L96
waitforactiveshardoptions
Package waitforactiveshardoptions https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L263-L267
Package waitforactiveshardoptions https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L263-L267
waitforevents
Package waitforevents https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L269-L276
Package waitforevents https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/common.ts#L269-L276
watchermetric
Package watchermetric https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/stats/types.ts#L42-L48
Package watchermetric https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/stats/types.ts#L42-L48
watcherstate
Package watcherstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/stats/types.ts#L26-L31
Package watcherstate https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/watcher/stats/types.ts#L26-L31
zerotermsquery
Package zerotermsquery https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L228-L231
Package zerotermsquery https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/fulltext.ts#L228-L231

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL