esdsl

package
v9.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 151 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func NewAccess ¶

func NewAccess() *_access

func NewAcknowledgeState ¶

func NewAcknowledgeState(state acknowledgementoptions.AcknowledgementOptions) *_acknowledgeState

func NewActionStatus ¶

func NewActionStatus(ack types.AcknowledgeStateVariant) *_actionStatus

func NewActivationState ¶

func NewActivationState(active bool) *_activationState

func NewAdaptiveAllocations ¶

func NewAdaptiveAllocations() *_adaptiveAllocations

func NewAdaptiveAllocationsSettings ¶

func NewAdaptiveAllocationsSettings(enabled bool) *_adaptiveAllocationsSettings

func NewAddAction ¶

func NewAddAction() *_addAction

Adds a data stream or index to an alias. If the alias doesn’t exist, the `add` action creates it.

func NewAdjacencyMatrixAggregation ¶

func NewAdjacencyMatrixAggregation() *_adjacencyMatrixAggregation

A bucket aggregation returning a form of adjacency matrix. The request provides a collection of named filter expressions, similar to the `filters` aggregation. Each bucket in the response represents a non-empty cell in the matrix of intersecting filters.

func NewAggregateMetricDoubleProperty ¶

func NewAggregateMetricDoubleProperty(defaultmetric string) *_aggregateMetricDoubleProperty

func NewAggregateOrder ¶

func NewAggregateOrder() *_aggregateOrder

func NewAggregateOutput ¶

func NewAggregateOutput() *_aggregateOutput

func NewAggregationRange ¶

func NewAggregationRange() *_aggregationRange

func NewAggregations ¶

func NewAggregations() *_aggregations

func NewAlias ¶

func NewAlias() *_alias

func NewAliasDefinition ¶

func NewAliasDefinition() *_aliasDefinition

func NewAlibabaCloudServiceSettings ¶

func NewAlibabaCloudServiceSettings(apikey string, host string, serviceid string, workspace string) *_alibabaCloudServiceSettings

func NewAlibabaCloudTaskSettings ¶

func NewAlibabaCloudTaskSettings() *_alibabaCloudTaskSettings

func NewAllField ¶

func NewAllField(analyzer string, enabled bool, omitnorms bool, searchanalyzer string, similarity string, store bool, storetermvectoroffsets bool, storetermvectorpayloads bool, storetermvectorpositions bool, storetermvectors bool) *_allField

func NewAllocateAction ¶

func NewAllocateAction() *_allocateAction

func NewAlwaysCondition ¶

func NewAlwaysCondition() *_alwaysCondition

func NewAmazonBedrockServiceSettings ¶

func NewAmazonBedrockServiceSettings(accesskey string, model string, region string, secretkey string) *_amazonBedrockServiceSettings

func NewAmazonBedrockTaskSettings ¶

func NewAmazonBedrockTaskSettings() *_amazonBedrockTaskSettings

func NewAnalysisConfig ¶

func NewAnalysisConfig() *_analysisConfig

func NewAnalysisLimits ¶

func NewAnalysisLimits() *_analysisLimits

func NewAnalysisMemoryLimit ¶

func NewAnalysisMemoryLimit(modelmemorylimit string) *_analysisMemoryLimit

func NewAnalyzer ¶

func NewAnalyzer() *_analyzer

func NewAnthropicServiceSettings ¶

func NewAnthropicServiceSettings(apikey string, modelid string) *_anthropicServiceSettings

func NewAnthropicTaskSettings ¶

func NewAnthropicTaskSettings(maxtokens int) *_anthropicTaskSettings

func NewApiKeyAggregationContainer ¶

func NewApiKeyAggregationContainer() *_apiKeyAggregationContainer

func NewApiKeyFiltersAggregation ¶

func NewApiKeyFiltersAggregation() *_apiKeyFiltersAggregation

A multi-bucket aggregation where each bucket contains the documents that match a query.

func NewApiKeyQueryContainer ¶

func NewApiKeyQueryContainer() *_apiKeyQueryContainer

func NewAppendProcessor ¶

func NewAppendProcessor() *_appendProcessor

Appends one or more values to an existing array if the field already exists and it is an array. Converts a scalar to an array and appends one or more values to it if the field exists and it is a scalar. Creates an array containing the provided values if the field doesn’t exist. Accepts a single value or an array of values.

func NewApplicationGlobalUserPrivileges ¶

func NewApplicationGlobalUserPrivileges(manage types.ManageUserPrivilegesVariant) *_applicationGlobalUserPrivileges

func NewApplicationPrivileges ¶

func NewApplicationPrivileges(application string) *_applicationPrivileges

func NewApplicationPrivilegesCheck ¶

func NewApplicationPrivilegesCheck(application string) *_applicationPrivilegesCheck

func NewArabicAnalyzer ¶

func NewArabicAnalyzer() *_arabicAnalyzer

func NewArmenianAnalyzer ¶

func NewArmenianAnalyzer() *_armenianAnalyzer

func NewArrayCompareCondition ¶

func NewArrayCompareCondition(key string) *_arrayCompareCondition

func NewArrayCompareOpParams ¶

func NewArrayCompareOpParams(quantifier quantifier.Quantifier) *_arrayCompareOpParams

func NewAsciiFoldingTokenFilter ¶

func NewAsciiFoldingTokenFilter() *_asciiFoldingTokenFilter

func NewAttachmentProcessor ¶

func NewAttachmentProcessor() *_attachmentProcessor

The attachment processor lets Elasticsearch extract file attachments in common formats (such as PPT, XLS, and PDF) by using the Apache text extraction library Tika.

func NewAutoDateHistogramAggregation ¶

func NewAutoDateHistogramAggregation() *_autoDateHistogramAggregation

A multi-bucket aggregation similar to the date histogram, except instead of providing an interval to use as the width of each bucket, a target number of buckets is provided.

func NewAutoscalingPolicy ¶

func NewAutoscalingPolicy() *_autoscalingPolicy

func NewAverageAggregation ¶

func NewAverageAggregation() *_averageAggregation

A single-value metrics aggregation that computes the average of numeric values that are extracted from the aggregated documents.

func NewAverageBucketAggregation ¶

func NewAverageBucketAggregation() *_averageBucketAggregation

A sibling pipeline aggregation which calculates the mean value of a specified metric in a sibling aggregation. The specified metric must be numeric and the sibling aggregation must be a multi-bucket aggregation.

func NewAzureAiStudioServiceSettings ¶

func NewAzureAiStudioServiceSettings(apikey string, endpointtype string, provider string, target string) *_azureAiStudioServiceSettings

func NewAzureAiStudioTaskSettings ¶

func NewAzureAiStudioTaskSettings() *_azureAiStudioTaskSettings

func NewAzureOpenAIServiceSettings ¶

func NewAzureOpenAIServiceSettings(apiversion string, deploymentid string, resourcename string) *_azureOpenAIServiceSettings

func NewAzureOpenAITaskSettings ¶

func NewAzureOpenAITaskSettings() *_azureOpenAITaskSettings

func NewAzureRepository ¶

func NewAzureRepository() *_azureRepository

func NewAzureRepositorySettings ¶

func NewAzureRepositorySettings() *_azureRepositorySettings

func NewBasqueAnalyzer ¶

func NewBasqueAnalyzer() *_basqueAnalyzer

func NewBengaliAnalyzer ¶

func NewBengaliAnalyzer() *_bengaliAnalyzer

func NewBinaryProperty ¶

func NewBinaryProperty() *_binaryProperty

func NewBoolQuery ¶

func NewBoolQuery() *_boolQuery

matches users matching boolean combinations of other queries.

func NewBooleanProperty ¶

func NewBooleanProperty() *_booleanProperty

func NewBoostingQuery ¶

func NewBoostingQuery(negative types.QueryVariant, negativeboost types.Float64, positive types.QueryVariant) *_boostingQuery

Returns documents matching a `positive` query while reducing the relevance score of documents that also match a `negative` query.

func NewBoxplotAggregation ¶

func NewBoxplotAggregation() *_boxplotAggregation

A metrics aggregation that computes a box plot of numeric values extracted from the aggregated documents.

func NewBrazilianAnalyzer ¶

func NewBrazilianAnalyzer() *_brazilianAnalyzer

func NewBucketCorrelationAggregation ¶

func NewBucketCorrelationAggregation(function types.BucketCorrelationFunctionVariant) *_bucketCorrelationAggregation

A sibling pipeline aggregation which runs a correlation function on the configured sibling multi-bucket aggregation.

func NewBucketCorrelationFunction ¶

func NewBucketCorrelationFunction(countcorrelation types.BucketCorrelationFunctionCountCorrelationVariant) *_bucketCorrelationFunction

func NewBucketCorrelationFunctionCountCorrelation ¶

func NewBucketCorrelationFunctionCountCorrelation(indicator types.BucketCorrelationFunctionCountCorrelationIndicatorVariant) *_bucketCorrelationFunctionCountCorrelation

func NewBucketCorrelationFunctionCountCorrelationIndicator ¶

func NewBucketCorrelationFunctionCountCorrelationIndicator(doccount int) *_bucketCorrelationFunctionCountCorrelationIndicator

func NewBucketKsAggregation ¶

func NewBucketKsAggregation() *_bucketKsAggregation

A sibling pipeline aggregation which runs a two sample Kolmogorov–Smirnov test ("K-S test") against a provided distribution and the distribution implied by the documents counts in the configured sibling aggregation.

func NewBucketScriptAggregation ¶

func NewBucketScriptAggregation() *_bucketScriptAggregation

A parent pipeline aggregation which runs a script which can perform per bucket computations on metrics in the parent multi-bucket aggregation.

func NewBucketSelectorAggregation ¶

func NewBucketSelectorAggregation() *_bucketSelectorAggregation

A parent pipeline aggregation which runs a script to determine whether the current bucket will be retained in the parent multi-bucket aggregation.

func NewBucketSortAggregation ¶

func NewBucketSortAggregation() *_bucketSortAggregation

A parent pipeline aggregation which sorts the buckets of its parent multi-bucket aggregation.

func NewBucketsApiKeyQueryContainer ¶

func NewBucketsApiKeyQueryContainer() *_bucketsApiKeyQueryContainer

func NewBucketsPath ¶

func NewBucketsPath() *_bucketsPath

func NewBucketsQuery ¶

func NewBucketsQuery() *_bucketsQuery

func NewBulgarianAnalyzer ¶

func NewBulgarianAnalyzer() *_bulgarianAnalyzer

func NewByteNumberProperty ¶

func NewByteNumberProperty() *_byteNumberProperty

func NewByteSize ¶

func NewByteSize() *_byteSize

func NewBytesProcessor ¶

func NewBytesProcessor() *_bytesProcessor

Converts a human readable byte value (for example `1kb`) to its value in bytes (for example `1024`). If the field is an array of strings, all members of the array will be converted. Supported human readable units are "b", "kb", "mb", "gb", "tb", "pb" case insensitive. An error will occur if the field is not a supported format or resultant value exceeds 2^63.

func NewCacheQueries ¶

func NewCacheQueries(enabled bool) *_cacheQueries

func NewCalendarEvent ¶

func NewCalendarEvent(description string) *_calendarEvent

func NewCardinalityAggregation ¶

func NewCardinalityAggregation() *_cardinalityAggregation

A single-value metrics aggregation that calculates an approximate count of distinct values.

func NewCatalanAnalyzer ¶

func NewCatalanAnalyzer() *_catalanAnalyzer

func NewCategorizationAnalyzer ¶

func NewCategorizationAnalyzer() *_categorizationAnalyzer

func NewCategorizationAnalyzerDefinition ¶

func NewCategorizationAnalyzerDefinition() *_categorizationAnalyzerDefinition

func NewCategorizeTextAggregation ¶

func NewCategorizeTextAggregation() *_categorizeTextAggregation

A multi-bucket aggregation that groups semi-structured text into buckets.

func NewCategorizeTextAnalyzer ¶

func NewCategorizeTextAnalyzer() *_categorizeTextAnalyzer

func NewChainInput ¶

func NewChainInput() *_chainInput

func NewCharFilter ¶

func NewCharFilter() *_charFilter

func NewCharFilterDefinition ¶

func NewCharFilterDefinition() *_charFilterDefinition

func NewCharGroupTokenizer ¶

func NewCharGroupTokenizer() *_charGroupTokenizer

func NewChiSquareHeuristic ¶

func NewChiSquareHeuristic(backgroundissuperset bool, includenegatives bool) *_chiSquareHeuristic

func NewChildrenAggregation ¶

func NewChildrenAggregation() *_childrenAggregation

A single bucket aggregation that selects child documents that have the specified type, as defined in a `join` field.

func NewChineseAnalyzer ¶

func NewChineseAnalyzer() *_chineseAnalyzer

func NewChunkingConfig ¶

func NewChunkingConfig(mode chunkingmode.ChunkingMode) *_chunkingConfig

func NewCircleProcessor ¶

func NewCircleProcessor(errordistance types.Float64, shapetype shapetype.ShapeType) *_circleProcessor

Converts circle definitions of shapes to regular polygons which approximate them.

func NewCjkAnalyzer ¶

func NewCjkAnalyzer() *_cjkAnalyzer

func NewClassicTokenizer ¶

func NewClassicTokenizer() *_classicTokenizer

func NewClassificationInferenceOptions ¶

func NewClassificationInferenceOptions() *_classificationInferenceOptions

Classification configuration for inference.

func NewCohereServiceSettings ¶

func NewCohereServiceSettings(apikey string) *_cohereServiceSettings

func NewCohereTaskSettings ¶

func NewCohereTaskSettings() *_cohereTaskSettings

func NewCombinedFieldsQuery ¶

func NewCombinedFieldsQuery(query string) *_combinedFieldsQuery

The `combined_fields` query supports searching multiple text fields as if their contents had been indexed into one combined field.

func NewCommand ¶

func NewCommand() *_command

func NewCommandAllocatePrimaryAction ¶

func NewCommandAllocatePrimaryAction(acceptdataloss bool, node string, shard int) *_commandAllocatePrimaryAction

func NewCommandAllocateReplicaAction ¶

func NewCommandAllocateReplicaAction(node string, shard int) *_commandAllocateReplicaAction

func NewCommandCancelAction ¶

func NewCommandCancelAction(node string, shard int) *_commandCancelAction

func NewCommandMoveAction ¶

func NewCommandMoveAction(fromnode string, shard int, tonode string) *_commandMoveAction

func NewCommonGramsTokenFilter ¶

func NewCommonGramsTokenFilter() *_commonGramsTokenFilter

func NewCommonTermsQuery ¶

func NewCommonTermsQuery(field string, query string) *_commonTermsQuery

func NewCommunityIDProcessor ¶

func NewCommunityIDProcessor() *_communityIDProcessor

Computes the Community ID for network flow data as defined in the Community ID Specification. You can use a community ID to correlate network events related to a single flow.

func NewCompletionContext ¶

func NewCompletionContext() *_completionContext

func NewCompletionProperty ¶

func NewCompletionProperty() *_completionProperty

func NewCompletionSuggester ¶

func NewCompletionSuggester() *_completionSuggester

Provides auto-complete/search-as-you-type functionality.

func NewCompletionTool ¶

func NewCompletionTool(function types.CompletionToolFunctionVariant, type_ string) *_completionTool

func NewCompletionToolChoice ¶

func NewCompletionToolChoice(function types.CompletionToolChoiceFunctionVariant, type_ string) *_completionToolChoice

func NewCompletionToolChoiceFunction ¶

func NewCompletionToolChoiceFunction(name string) *_completionToolChoiceFunction

func NewCompletionToolFunction ¶

func NewCompletionToolFunction(name string) *_completionToolFunction

func NewCompletionToolType ¶

func NewCompletionToolType() *_completionToolType

func NewComponentTemplateNode ¶

func NewComponentTemplateNode(template types.ComponentTemplateSummaryVariant) *_componentTemplateNode

func NewComponentTemplateSummary ¶

func NewComponentTemplateSummary() *_componentTemplateSummary

func NewCompositeAggregateKey ¶

func NewCompositeAggregateKey(compositeaggregatekey map[string]types.FieldValue) *_compositeAggregateKey

func NewCompositeAggregation ¶

func NewCompositeAggregation() *_compositeAggregation

A multi-bucket aggregation that creates composite buckets from different sources. Unlike the other multi-bucket aggregations, you can use the `composite` aggregation to paginate *all* buckets from a multi-level aggregation efficiently.

func NewCompositeAggregationSource ¶

func NewCompositeAggregationSource() *_compositeAggregationSource

func NewCompositeDateHistogramAggregation ¶

func NewCompositeDateHistogramAggregation() *_compositeDateHistogramAggregation

func NewCompositeGeoTileGridAggregation ¶

func NewCompositeGeoTileGridAggregation() *_compositeGeoTileGridAggregation

func NewCompositeHistogramAggregation ¶

func NewCompositeHistogramAggregation(interval types.Float64) *_compositeHistogramAggregation

func NewCompositeSubField ¶

func NewCompositeSubField(type_ runtimefieldtype.RuntimeFieldType) *_compositeSubField

func NewCompositeTermsAggregation ¶

func NewCompositeTermsAggregation() *_compositeTermsAggregation

func NewConditionTokenFilter ¶

func NewConditionTokenFilter(script types.ScriptVariant) *_conditionTokenFilter

func NewConfiguration ¶

func NewConfiguration() *_configuration

func NewConnectorConfigProperties ¶

func NewConnectorConfigProperties(display displaytype.DisplayType, label string, required bool, sensitive bool, value json.RawMessage) *_connectorConfigProperties

func NewConnectorConfiguration ¶

func NewConnectorConfiguration(connectorconfiguration map[string]types.ConnectorConfigProperties) *_connectorConfiguration

func NewConnectorFeatures ¶

func NewConnectorFeatures() *_connectorFeatures

func NewConnectorScheduling ¶

func NewConnectorScheduling(enabled bool, interval string) *_connectorScheduling

func NewConstantKeywordProperty ¶

func NewConstantKeywordProperty() *_constantKeywordProperty

func NewConstantScoreQuery ¶

func NewConstantScoreQuery(filter types.QueryVariant) *_constantScoreQuery

Wraps a filter query and returns every matching document with a relevance score equal to the `boost` parameter value.

func NewContentObject ¶

func NewContentObject(text string, type_ string) *_contentObject

func NewContext ¶

func NewContext() *_context

func NewConvertProcessor ¶

func NewConvertProcessor(type_ converttype.ConvertType) *_convertProcessor

Converts a field in the currently ingested document to a different type, such as converting a string to an integer. If the field value is an array, all members will be converted.

func NewCoordsGeoBounds ¶

func NewCoordsGeoBounds(bottom types.Float64, left types.Float64, right types.Float64, top types.Float64) *_coordsGeoBounds

func NewCountedKeywordProperty ¶

func NewCountedKeywordProperty() *_countedKeywordProperty

func NewCreateFrom ¶

func NewCreateFrom() *_createFrom

func NewCreateOperation ¶

func NewCreateOperation() *_createOperation

Index the specified document if it does not already exist. The following line must contain the source data to be indexed.

func NewCsvProcessor ¶

func NewCsvProcessor() *_csvProcessor

Extracts fields from CSV line out of a single text field within a document. Any empty field in CSV will be skipped.

func NewCumulativeCardinalityAggregation ¶

func NewCumulativeCardinalityAggregation() *_cumulativeCardinalityAggregation

A parent pipeline aggregation which calculates the cumulative cardinality in a parent `histogram` or `date_histogram` aggregation.

func NewCumulativeSumAggregation ¶

func NewCumulativeSumAggregation() *_cumulativeSumAggregation

A parent pipeline aggregation which calculates the cumulative sum of a specified metric in a parent `histogram` or `date_histogram` aggregation.

func NewCustomAnalyzer ¶

func NewCustomAnalyzer(tokenizer string) *_customAnalyzer

func NewCustomCategorizeTextAnalyzer ¶

func NewCustomCategorizeTextAnalyzer() *_customCategorizeTextAnalyzer

func NewCustomNormalizer ¶

func NewCustomNormalizer() *_customNormalizer

func NewCzechAnalyzer ¶

func NewCzechAnalyzer() *_czechAnalyzer

func NewDailySchedule ¶

func NewDailySchedule() *_dailySchedule

func NewDanishAnalyzer ¶

func NewDanishAnalyzer() *_danishAnalyzer

func NewDataDescription ¶

func NewDataDescription() *_dataDescription

func NewDataEmailAttachment ¶

func NewDataEmailAttachment() *_dataEmailAttachment

func NewDataStreamLifecycle ¶

func NewDataStreamLifecycle() *_dataStreamLifecycle

func NewDataStreamLifecycleDownsampling ¶

func NewDataStreamLifecycleDownsampling() *_dataStreamLifecycleDownsampling

func NewDataStreamLifecycleRolloverConditions ¶

func NewDataStreamLifecycleRolloverConditions() *_dataStreamLifecycleRolloverConditions

func NewDataStreamLifecycleWithRollover ¶

func NewDataStreamLifecycleWithRollover() *_dataStreamLifecycleWithRollover

func NewDataStreamTimestamp ¶

func NewDataStreamTimestamp(enabled bool) *_dataStreamTimestamp

func NewDataStreamVisibility ¶

func NewDataStreamVisibility() *_dataStreamVisibility

func NewDatabaseConfiguration ¶

func NewDatabaseConfiguration() *_databaseConfiguration

func NewDatafeedConfig ¶

func NewDatafeedConfig() *_datafeedConfig

func NewDataframeAnalysisAnalyzedFields ¶

func NewDataframeAnalysisAnalyzedFields() *_dataframeAnalysisAnalyzedFields

func NewDataframeAnalysisClassification ¶

func NewDataframeAnalysisClassification(dependentvariable string) *_dataframeAnalysisClassification

The configuration information necessary to perform classification.

func NewDataframeAnalysisContainer ¶

func NewDataframeAnalysisContainer() *_dataframeAnalysisContainer

func NewDataframeAnalysisFeatureProcessor ¶

func NewDataframeAnalysisFeatureProcessor() *_dataframeAnalysisFeatureProcessor

func NewDataframeAnalysisFeatureProcessorFrequencyEncoding ¶

func NewDataframeAnalysisFeatureProcessorFrequencyEncoding() *_dataframeAnalysisFeatureProcessorFrequencyEncoding

The configuration information necessary to perform frequency encoding.

func NewDataframeAnalysisFeatureProcessorMultiEncoding ¶

func NewDataframeAnalysisFeatureProcessorMultiEncoding() *_dataframeAnalysisFeatureProcessorMultiEncoding

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.

func NewDataframeAnalysisFeatureProcessorNGramEncoding ¶

func NewDataframeAnalysisFeatureProcessorNGramEncoding() *_dataframeAnalysisFeatureProcessorNGramEncoding

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.

func NewDataframeAnalysisFeatureProcessorOneHotEncoding ¶

func NewDataframeAnalysisFeatureProcessorOneHotEncoding(hotmap string) *_dataframeAnalysisFeatureProcessorOneHotEncoding

The configuration information necessary to perform one hot encoding.

func NewDataframeAnalysisFeatureProcessorTargetMeanEncoding ¶

func NewDataframeAnalysisFeatureProcessorTargetMeanEncoding(defaultvalue int) *_dataframeAnalysisFeatureProcessorTargetMeanEncoding

The configuration information necessary to perform target mean encoding.

func NewDataframeAnalysisOutlierDetection ¶

func NewDataframeAnalysisOutlierDetection() *_dataframeAnalysisOutlierDetection

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.

func NewDataframeAnalysisRegression ¶

func NewDataframeAnalysisRegression(dependentvariable string) *_dataframeAnalysisRegression

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.

func NewDataframeAnalyticsDestination ¶

func NewDataframeAnalyticsDestination() *_dataframeAnalyticsDestination

func NewDataframeAnalyticsSource ¶

func NewDataframeAnalyticsSource() *_dataframeAnalyticsSource

func NewDataframeEvaluationClassification ¶

func NewDataframeEvaluationClassification() *_dataframeEvaluationClassification

Classification evaluation evaluates the results of a classification analysis which outputs a prediction that identifies to which of the classes each document belongs.

func NewDataframeEvaluationClassificationMetrics ¶

func NewDataframeEvaluationClassificationMetrics() *_dataframeEvaluationClassificationMetrics

func NewDataframeEvaluationClassificationMetricsAucRoc ¶

func NewDataframeEvaluationClassificationMetricsAucRoc() *_dataframeEvaluationClassificationMetricsAucRoc

func NewDataframeEvaluationContainer ¶

func NewDataframeEvaluationContainer() *_dataframeEvaluationContainer

func NewDataframeEvaluationOutlierDetection ¶

func NewDataframeEvaluationOutlierDetection() *_dataframeEvaluationOutlierDetection

Outlier detection evaluates the results of an outlier detection analysis which outputs the probability that each document is an outlier.

func NewDataframeEvaluationOutlierDetectionMetrics ¶

func NewDataframeEvaluationOutlierDetectionMetrics() *_dataframeEvaluationOutlierDetectionMetrics

func NewDataframeEvaluationRegression ¶

func NewDataframeEvaluationRegression() *_dataframeEvaluationRegression

Regression evaluation evaluates the results of a regression analysis which outputs a prediction of values.

func NewDataframeEvaluationRegressionMetrics ¶

func NewDataframeEvaluationRegressionMetrics() *_dataframeEvaluationRegressionMetrics

func NewDataframeEvaluationRegressionMetricsHuber ¶

func NewDataframeEvaluationRegressionMetricsHuber() *_dataframeEvaluationRegressionMetricsHuber

func NewDataframeEvaluationRegressionMetricsMsle ¶

func NewDataframeEvaluationRegressionMetricsMsle() *_dataframeEvaluationRegressionMetricsMsle

func NewDataframePreviewConfig ¶

func NewDataframePreviewConfig(analysis types.DataframeAnalysisContainerVariant, source types.DataframeAnalyticsSourceVariant) *_dataframePreviewConfig

func NewDateDecayFunction ¶

func NewDateDecayFunction() *_dateDecayFunction

Function that scores a document with a linear decay, depending on the distance of a numeric field value of the document from an origin.

func NewDateDistanceFeatureQuery ¶

func NewDateDistanceFeatureQuery() *_dateDistanceFeatureQuery

Boosts the relevance score of documents closer to a provided origin date or point. For example, you can use this query to give more weight to documents closer to a certain date or location.

func NewDateHistogramAggregation ¶

func NewDateHistogramAggregation() *_dateHistogramAggregation

A multi-bucket values source based aggregation that can be applied on date values or date range values extracted from the documents. It dynamically builds fixed size (interval) buckets over the values.

func NewDateHistogramGrouping ¶

func NewDateHistogramGrouping() *_dateHistogramGrouping

func NewDateIndexNameProcessor ¶

func NewDateIndexNameProcessor(daterounding string) *_dateIndexNameProcessor

The purpose of this processor is to point documents to the right time based index based on a date or timestamp field in a document by using the date math index name support.

func NewDateNanosProperty ¶

func NewDateNanosProperty() *_dateNanosProperty

func NewDateProcessor ¶

func NewDateProcessor() *_dateProcessor

Parses dates from fields, and then uses the date or timestamp as the timestamp for the document.

func NewDateProperty ¶

func NewDateProperty() *_dateProperty

func NewDateRangeAggregation ¶

func NewDateRangeAggregation() *_dateRangeAggregation

A multi-bucket value source based aggregation that enables the user to define a set of date ranges - each representing a bucket.

func NewDateRangeExpression ¶

func NewDateRangeExpression() *_dateRangeExpression

func NewDateRangeProperty ¶

func NewDateRangeProperty() *_dateRangeProperty

func NewDateRangeQuery ¶

func NewDateRangeQuery(key string) *_dateRangeQuery

Returns documents that contain terms within a provided range.

func NewDateTime ¶

func NewDateTime() *_dateTime

func NewDecayFunction ¶

func NewDecayFunction() *_decayFunction

func NewDecayPlacement ¶

func NewDecayPlacement() *_decayPlacement

func NewDecayPlacementDateMathDuration ¶

func NewDecayPlacementDateMathDuration() *_decayPlacementDateMathDuration

func NewDecayPlacementGeoLocationDistance ¶

func NewDecayPlacementGeoLocationDistance() *_decayPlacementGeoLocationDistance

func NewDecayPlacementdoubledouble ¶

func NewDecayPlacementdoubledouble() *_decayPlacementdoubledouble

func NewDefinition ¶

func NewDefinition(trainedmodel types.TrainedModelVariant) *_definition

func NewDelayedDataCheckConfig ¶

func NewDelayedDataCheckConfig(enabled bool) *_delayedDataCheckConfig

func NewDeleteAction ¶

func NewDeleteAction() *_deleteAction

func NewDeleteOperation ¶

func NewDeleteOperation() *_deleteOperation

Remove the specified document from the index.

func NewDelimitedPayloadTokenFilter ¶

func NewDelimitedPayloadTokenFilter() *_delimitedPayloadTokenFilter

func NewDenseVectorIndexOptions ¶

func NewDenseVectorIndexOptions(type_ densevectorindexoptionstype.DenseVectorIndexOptionsType) *_denseVectorIndexOptions

func NewDenseVectorProperty ¶

func NewDenseVectorProperty() *_denseVectorProperty

func NewDependency ¶

func NewDependency(field string) *_dependency

func NewDerivativeAggregation ¶

func NewDerivativeAggregation() *_derivativeAggregation

A parent pipeline aggregation which calculates the derivative of a specified metric in a parent `histogram` or `date_histogram` aggregation.

func NewDetectionRule ¶

func NewDetectionRule() *_detectionRule

func NewDetector ¶

func NewDetector() *_detector

func NewDetectorUpdate ¶

func NewDetectorUpdate(detectorindex int) *_detectorUpdate

func NewDictionaryDecompounderTokenFilter ¶

func NewDictionaryDecompounderTokenFilter() *_dictionaryDecompounderTokenFilter

func NewDirectGenerator ¶

func NewDirectGenerator() *_directGenerator

func NewDisMaxQuery ¶

func NewDisMaxQuery() *_disMaxQuery

Returns documents matching one or more wrapped queries, called query clauses or clauses. If a returned document matches multiple query clauses, the `dis_max` query assigns the document the highest relevance score from any matching clause, plus a tie breaking increment for any additional matching subqueries.

func NewDissectProcessor ¶

func NewDissectProcessor(pattern string) *_dissectProcessor

Extracts structured fields out of a single text field by matching the text field against a delimiter-based pattern.

func NewDistanceFeatureQuery ¶

func NewDistanceFeatureQuery() *_distanceFeatureQuery

func NewDiversifiedSamplerAggregation ¶

func NewDiversifiedSamplerAggregation() *_diversifiedSamplerAggregation

A filtering aggregation used to limit any sub aggregations' processing to a sample of the top-scoring documents. Similar to the `sampler` aggregation, but adds the ability to limit the number of matches that share a common value.

func NewDocument ¶

func NewDocument(source_ json.RawMessage) *_document

func NewDocumentRating ¶

func NewDocumentRating(rating int) *_documentRating

func NewDotExpanderProcessor ¶

func NewDotExpanderProcessor() *_dotExpanderProcessor

Expands a field with dots into an object field. This processor allows fields with dots in the name to be accessible by other processors in the pipeline. Otherwise these fields can’t be accessed by any processor.

func NewDoubleNumberProperty ¶

func NewDoubleNumberProperty() *_doubleNumberProperty

func NewDoubleRangeProperty ¶

func NewDoubleRangeProperty() *_doubleRangeProperty

func NewDownsampleAction ¶

func NewDownsampleAction() *_downsampleAction

func NewDownsampleConfig ¶

func NewDownsampleConfig() *_downsampleConfig

func NewDownsamplingRound ¶

func NewDownsamplingRound(config types.DownsampleConfigVariant) *_downsamplingRound

func NewDropProcessor ¶

func NewDropProcessor() *_dropProcessor

Drops the document without raising any errors. This is useful to prevent the document from getting indexed based on some condition.

func NewDuration ¶

func NewDuration() *_duration

func NewDurationValueUnitMillis ¶

func NewDurationValueUnitMillis(durationvalueunitmillis int64) *_durationValueUnitMillis

func NewDutchAnalyzer ¶

func NewDutchAnalyzer() *_dutchAnalyzer

func NewDynamicProperty ¶

func NewDynamicProperty() *_dynamicProperty

func NewDynamicTemplate ¶

func NewDynamicTemplate() *_dynamicTemplate

func NewEdgeNGramTokenFilter ¶

func NewEdgeNGramTokenFilter() *_edgeNGramTokenFilter

func NewEdgeNGramTokenizer ¶

func NewEdgeNGramTokenizer() *_edgeNGramTokenizer

func NewElasticsearchServiceSettings ¶

func NewElasticsearchServiceSettings(modelid string, numthreads int) *_elasticsearchServiceSettings

func NewElasticsearchTaskSettings ¶

func NewElasticsearchTaskSettings() *_elasticsearchTaskSettings

func NewElisionTokenFilter ¶

func NewElisionTokenFilter() *_elisionTokenFilter

func NewElserServiceSettings ¶

func NewElserServiceSettings(numallocations int, numthreads int) *_elserServiceSettings

func NewEmailAction ¶

func NewEmailAction(subject string) *_emailAction

func NewEmailAttachmentContainer ¶

func NewEmailAttachmentContainer() *_emailAttachmentContainer

func NewEmailBody ¶

func NewEmailBody() *_emailBody

func NewEmptyObject ¶

func NewEmptyObject() *_emptyObject

func NewEnglishAnalyzer ¶

func NewEnglishAnalyzer() *_englishAnalyzer

func NewEnrichPolicy ¶

func NewEnrichPolicy() *_enrichPolicy

func NewEnrichProcessor ¶

func NewEnrichProcessor(policyname string) *_enrichProcessor

The `enrich` processor can enrich documents with data from another index.

func NewEnsemble ¶

func NewEnsemble() *_ensemble

func NewEpochTimeUnitMillis ¶

func NewEpochTimeUnitMillis(epochtimeunitmillis int64) *_epochTimeUnitMillis

func NewEpochTimeUnitSeconds ¶

func NewEpochTimeUnitSeconds(epochtimeunitseconds int64) *_epochTimeUnitSeconds

func NewEstonianAnalyzer ¶

func NewEstonianAnalyzer() *_estonianAnalyzer

func NewEwmaModelSettings ¶

func NewEwmaModelSettings() *_ewmaModelSettings

func NewEwmaMovingAverageAggregation ¶

func NewEwmaMovingAverageAggregation(settings types.EwmaModelSettingsVariant) *_ewmaMovingAverageAggregation

func NewExecutionState ¶

func NewExecutionState(successful bool) *_executionState

func NewExistsQuery ¶

func NewExistsQuery() *_existsQuery

Returns documents that contain an indexed value for a field.

func NewExpandWildcards ¶

func NewExpandWildcards() *_expandWildcards

func NewExploreControls ¶

func NewExploreControls(usesignificance bool) *_exploreControls

func NewExtendedBoundsFieldDateMath ¶

func NewExtendedBoundsFieldDateMath() *_extendedBoundsFieldDateMath

func NewExtendedBoundsdouble ¶

func NewExtendedBoundsdouble() *_extendedBoundsdouble

func NewExtendedStatsAggregation ¶

func NewExtendedStatsAggregation() *_extendedStatsAggregation

A multi-value metrics aggregation that computes stats over numeric values extracted from the aggregated documents.

func NewExtendedStatsBucketAggregation ¶

func NewExtendedStatsBucketAggregation() *_extendedStatsBucketAggregation

A sibling pipeline aggregation which calculates a variety of stats across all bucket of a specified metric in a sibling aggregation.

func NewFailProcessor ¶

func NewFailProcessor(message string) *_failProcessor

Raises an exception. This is useful for when you expect a pipeline to fail and want to relay a specific message to the requester.

func NewFeatureEnabled ¶

func NewFeatureEnabled(enabled bool) *_featureEnabled

func NewFeatureExtractor ¶

func NewFeatureExtractor(featureextractor types.QueryFeatureExtractor) *_featureExtractor

func NewFieldAliasProperty ¶

func NewFieldAliasProperty() *_fieldAliasProperty

func NewFieldAndFormat ¶

func NewFieldAndFormat() *_fieldAndFormat

func NewFieldCollapse ¶

func NewFieldCollapse() *_fieldCollapse

func NewFieldDateMath ¶

func NewFieldDateMath() *_fieldDateMath

func NewFieldLookup ¶

func NewFieldLookup() *_fieldLookup

func NewFieldMetric ¶

func NewFieldMetric() *_fieldMetric

func NewFieldNamesField ¶

func NewFieldNamesField(enabled bool) *_fieldNamesField

func NewFieldSecurity ¶

func NewFieldSecurity() *_fieldSecurity

func NewFieldSort ¶

func NewFieldSort(order sortorder.SortOrder) *_fieldSort

func NewFieldSuggester ¶

func NewFieldSuggester() *_fieldSuggester

func NewFieldValue ¶

func NewFieldValue() *_fieldValue

func NewFieldValueFactorScoreFunction ¶

func NewFieldValueFactorScoreFunction() *_fieldValueFactorScoreFunction

Function allows you to use a field from a document to influence the score. It’s similar to using the script_score function, however, it avoids the overhead of scripting.

func NewFielddataFrequencyFilter ¶

func NewFielddataFrequencyFilter(max types.Float64, min types.Float64, minsegmentsize int) *_fielddataFrequencyFilter

func NewFields ¶

func NewFields() *_fields

func NewFillMaskInferenceOptions ¶

func NewFillMaskInferenceOptions(vocabulary types.VocabularyVariant) *_fillMaskInferenceOptions

Fill mask configuration for inference.

func NewFillMaskInferenceUpdateOptions ¶

func NewFillMaskInferenceUpdateOptions() *_fillMaskInferenceUpdateOptions

Fill mask configuration for inference.

func NewFilterRef ¶

func NewFilterRef() *_filterRef

func NewFilteringAdvancedSnippet ¶

func NewFilteringAdvancedSnippet(value json.RawMessage) *_filteringAdvancedSnippet

func NewFilteringConfig ¶

func NewFilteringConfig(active types.FilteringRulesVariant, draft types.FilteringRulesVariant) *_filteringConfig

func NewFilteringRule ¶

func NewFilteringRule(order int, policy filteringpolicy.FilteringPolicy, rule filteringrulerule.FilteringRuleRule, value string) *_filteringRule

func NewFilteringRules ¶

func NewFilteringRules(advancedsnippet types.FilteringAdvancedSnippetVariant, validation types.FilteringRulesValidationVariant) *_filteringRules

func NewFilteringRulesValidation ¶

func NewFilteringRulesValidation(state filteringvalidationstate.FilteringValidationState) *_filteringRulesValidation

func NewFilteringValidation ¶

func NewFilteringValidation() *_filteringValidation

func NewFiltersAggregation ¶

func NewFiltersAggregation() *_filtersAggregation

A multi-bucket aggregation where each bucket contains the documents that match a query.

func NewFingerprintAnalyzer ¶

func NewFingerprintAnalyzer() *_fingerprintAnalyzer

func NewFingerprintProcessor ¶

func NewFingerprintProcessor() *_fingerprintProcessor

Computes a hash of the document’s content. You can use this hash for content fingerprinting.

func NewFingerprintTokenFilter ¶

func NewFingerprintTokenFilter() *_fingerprintTokenFilter

func NewFinnishAnalyzer ¶

func NewFinnishAnalyzer() *_finnishAnalyzer

func NewFlattenedProperty ¶

func NewFlattenedProperty() *_flattenedProperty

func NewFloatNumberProperty ¶

func NewFloatNumberProperty() *_floatNumberProperty

func NewFloatRangeProperty ¶

func NewFloatRangeProperty() *_floatRangeProperty

func NewForceMergeAction ¶

func NewForceMergeAction(maxnumsegments int) *_forceMergeAction

func NewForeachProcessor ¶

func NewForeachProcessor(processor types.ProcessorContainerVariant) *_foreachProcessor

Runs an ingest processor on each element of an array or object.

func NewFrenchAnalyzer ¶

func NewFrenchAnalyzer() *_frenchAnalyzer

func NewFrequencyEncodingPreprocessor ¶

func NewFrequencyEncodingPreprocessor(featurename string, field string) *_frequencyEncodingPreprocessor

func NewFrequentItemSetsAggregation ¶

func NewFrequentItemSetsAggregation() *_frequentItemSetsAggregation

A bucket aggregation which finds frequent item sets, a form of association rules mining that identifies items that often occur together.

func NewFrequentItemSetsField ¶

func NewFrequentItemSetsField() *_frequentItemSetsField

func NewFunctionScore ¶

func NewFunctionScore() *_functionScore

func NewFunctionScoreQuery ¶

func NewFunctionScoreQuery() *_functionScoreQuery

The `function_score` enables you to modify the score of documents that are retrieved by a query.

func NewFuzziness ¶

func NewFuzziness() *_fuzziness

func NewFuzzyQuery ¶

func NewFuzzyQuery(field string, value string) *_fuzzyQuery

Returns documents that contain terms similar to the search term, as measured by a Levenshtein edit distance.

func NewGalicianAnalyzer ¶

func NewGalicianAnalyzer() *_galicianAnalyzer

func NewGcsRepository ¶

func NewGcsRepository(settings types.GcsRepositorySettingsVariant) *_gcsRepository

func NewGcsRepositorySettings ¶

func NewGcsRepositorySettings(bucket string) *_gcsRepositorySettings

func NewGeoBoundingBoxQuery ¶

func NewGeoBoundingBoxQuery() *_geoBoundingBoxQuery

Matches geo_point and geo_shape values that intersect a bounding box.

func NewGeoBounds ¶

func NewGeoBounds() *_geoBounds

func NewGeoBoundsAggregation ¶

func NewGeoBoundsAggregation() *_geoBoundsAggregation

A metric aggregation that computes the geographic bounding box containing all values for a Geopoint or Geoshape field.

func NewGeoCentroidAggregation ¶

func NewGeoCentroidAggregation() *_geoCentroidAggregation

A metric aggregation that computes the weighted centroid from all coordinate values for geo fields.

func NewGeoDecayFunction ¶

func NewGeoDecayFunction() *_geoDecayFunction

Function that scores a document with a linear decay, depending on the distance of a numeric field value of the document from an origin.

func NewGeoDistanceAggregation ¶

func NewGeoDistanceAggregation() *_geoDistanceAggregation

A multi-bucket aggregation that works on `geo_point` fields. Evaluates the distance of each document value from an origin point and determines the buckets it belongs to, based on ranges defined in the request.

func NewGeoDistanceFeatureQuery ¶

func NewGeoDistanceFeatureQuery() *_geoDistanceFeatureQuery

Boosts the relevance score of documents closer to a provided origin date or point. For example, you can use this query to give more weight to documents closer to a certain date or location.

func NewGeoDistanceQuery ¶

func NewGeoDistanceQuery() *_geoDistanceQuery

Matches `geo_point` and `geo_shape` values within a given distance of a geopoint.

func NewGeoDistanceSort ¶

func NewGeoDistanceSort() *_geoDistanceSort

func NewGeoGridProcessor ¶

func NewGeoGridProcessor(field string, tiletype geogridtiletype.GeoGridTileType) *_geoGridProcessor

Converts geo-grid definitions of grid tiles or cells to regular bounding boxes or polygons which describe their shape. This is useful if there is a need to interact with the tile shapes as spatially indexable fields.

func NewGeoGridQuery ¶

func NewGeoGridQuery() *_geoGridQuery

func NewGeoHashGridAggregation ¶

func NewGeoHashGridAggregation() *_geoHashGridAggregation

A multi-bucket aggregation that groups `geo_point` and `geo_shape` values into buckets that represent a grid. Each cell is labeled using a geohash which is of user-definable precision.

func NewGeoHashLocation ¶

func NewGeoHashLocation() *_geoHashLocation

func NewGeoHashPrecision ¶

func NewGeoHashPrecision() *_geoHashPrecision

func NewGeoIpProcessor ¶

func NewGeoIpProcessor() *_geoIpProcessor

The `geoip` processor adds information about the geographical location of an IPv4 or IPv6 address.

func NewGeoLineAggregation ¶

func NewGeoLineAggregation(point types.GeoLinePointVariant, sort types.GeoLineSortVariant) *_geoLineAggregation

func NewGeoLinePoint ¶

func NewGeoLinePoint() *_geoLinePoint

func NewGeoLineSort ¶

func NewGeoLineSort() *_geoLineSort

func NewGeoLocation ¶

func NewGeoLocation() *_geoLocation

func NewGeoPointProperty ¶

func NewGeoPointProperty() *_geoPointProperty

func NewGeoPolygonPoints ¶

func NewGeoPolygonPoints() *_geoPolygonPoints

func NewGeoPolygonQuery ¶

func NewGeoPolygonQuery() *_geoPolygonQuery

func NewGeoShapeFieldQuery ¶

func NewGeoShapeFieldQuery() *_geoShapeFieldQuery

func NewGeoShapeProperty ¶

func NewGeoShapeProperty() *_geoShapeProperty

func NewGeoShapeQuery ¶

func NewGeoShapeQuery() *_geoShapeQuery

Filter documents indexed using either the `geo_shape` or the `geo_point` type.

func NewGeoTileGridAggregation ¶

func NewGeoTileGridAggregation() *_geoTileGridAggregation

A multi-bucket aggregation that groups `geo_point` and `geo_shape` values into buckets that represent a grid. Each cell corresponds to a map tile as used by many online map sites.

func NewGeohexGridAggregation ¶

func NewGeohexGridAggregation() *_geohexGridAggregation

A multi-bucket aggregation that groups `geo_point` and `geo_shape` values into buckets that represent a grid. Each cell corresponds to a H3 cell index and is labeled using the H3Index representation.

func NewGermanAnalyzer ¶

func NewGermanAnalyzer() *_germanAnalyzer

func NewGlobalAggregation ¶

func NewGlobalAggregation() *_globalAggregation

Defines a single bucket of all the documents within the search execution context. This context is defined by the indices and the document types you’re searching on, but is not influenced by the search query itself.

func NewGlobalPrivilege ¶

func NewGlobalPrivilege(application types.ApplicationGlobalUserPrivilegesVariant) *_globalPrivilege

func NewGoogleAiStudioServiceSettings ¶

func NewGoogleAiStudioServiceSettings(apikey string, modelid string) *_googleAiStudioServiceSettings

func NewGoogleNormalizedDistanceHeuristic ¶

func NewGoogleNormalizedDistanceHeuristic() *_googleNormalizedDistanceHeuristic

func NewGoogleVertexAIServiceSettings ¶

func NewGoogleVertexAIServiceSettings(location string, modelid string, projectid string, serviceaccountjson string) *_googleVertexAIServiceSettings

func NewGoogleVertexAITaskSettings ¶

func NewGoogleVertexAITaskSettings() *_googleVertexAITaskSettings

func NewGrantApiKey ¶

func NewGrantApiKey() *_grantApiKey

func NewGreaterThanValidation ¶

func NewGreaterThanValidation(constraint types.Float64) *_greaterThanValidation

func NewGreekAnalyzer ¶

func NewGreekAnalyzer() *_greekAnalyzer

func NewGrokProcessor ¶

func NewGrokProcessor() *_grokProcessor

Extracts structured fields out of a single text field within a document. You choose which field to extract matched fields from, as well as the grok pattern you expect will match. A grok pattern is like a regular expression that supports aliased expressions that can be reused.

func NewGroupings ¶

func NewGroupings() *_groupings

func NewGsubProcessor ¶

func NewGsubProcessor(pattern string, replacement string) *_gsubProcessor

Converts a string field by applying a regular expression and a replacement. If the field is an array of string, all members of the array will be converted. If any non-string values are encountered, the processor will throw an exception.

func NewHalfFloatNumberProperty ¶

func NewHalfFloatNumberProperty() *_halfFloatNumberProperty

func NewHasChildQuery ¶

func NewHasChildQuery(query types.QueryVariant) *_hasChildQuery

Returns parent documents whose joined child documents match a provided query.

func NewHasParentQuery ¶

func NewHasParentQuery(query types.QueryVariant) *_hasParentQuery

Returns child documents whose joined parent document matches a provided query.

func NewHdrMethod ¶

func NewHdrMethod() *_hdrMethod

func NewHighlight ¶

func NewHighlight() *_highlight

func NewHighlightField ¶

func NewHighlightField() *_highlightField

func NewHindiAnalyzer ¶

func NewHindiAnalyzer() *_hindiAnalyzer

func NewHint ¶

func NewHint() *_hint

func NewHistogramAggregation ¶

func NewHistogramAggregation() *_histogramAggregation

A multi-bucket values source based aggregation that can be applied on numeric values or numeric range values extracted from the documents. It dynamically builds fixed size (interval) buckets over the values.

func NewHistogramGrouping ¶

func NewHistogramGrouping(interval int64) *_histogramGrouping

func NewHistogramProperty ¶

func NewHistogramProperty() *_histogramProperty

func NewHoltLinearModelSettings ¶

func NewHoltLinearModelSettings() *_holtLinearModelSettings

func NewHoltMovingAverageAggregation ¶

func NewHoltMovingAverageAggregation(settings types.HoltLinearModelSettingsVariant) *_holtMovingAverageAggregation

func NewHoltWintersModelSettings ¶

func NewHoltWintersModelSettings() *_holtWintersModelSettings

func NewHoltWintersMovingAverageAggregation ¶

func NewHoltWintersMovingAverageAggregation(settings types.HoltWintersModelSettingsVariant) *_holtWintersMovingAverageAggregation

func NewHop ¶

func NewHop() *_hop

func NewHourAndMinute ¶

func NewHourAndMinute() *_hourAndMinute

func NewHourlySchedule ¶

func NewHourlySchedule() *_hourlySchedule

func NewHtmlStripCharFilter ¶

func NewHtmlStripCharFilter() *_htmlStripCharFilter

func NewHtmlStripProcessor ¶

func NewHtmlStripProcessor() *_htmlStripProcessor

Removes HTML tags from the field. If the field is an array of strings, HTML tags will be removed from all members of the array.

func NewHttpEmailAttachment ¶

func NewHttpEmailAttachment() *_httpEmailAttachment

func NewHttpHeaders ¶

func NewHttpHeaders(httpheaders map[string][]string) *_httpHeaders

func NewHttpInput ¶

func NewHttpInput() *_httpInput

func NewHttpInputAuthentication ¶

func NewHttpInputAuthentication(basic types.HttpInputBasicAuthenticationVariant) *_httpInputAuthentication

func NewHttpInputBasicAuthentication ¶

func NewHttpInputBasicAuthentication() *_httpInputBasicAuthentication

func NewHttpInputProxy ¶

func NewHttpInputProxy(port uint) *_httpInputProxy

func NewHttpInputRequestDefinition ¶

func NewHttpInputRequestDefinition() *_httpInputRequestDefinition

func NewHuggingFaceServiceSettings ¶

func NewHuggingFaceServiceSettings(apikey string, url string) *_huggingFaceServiceSettings

func NewHungarianAnalyzer ¶

func NewHungarianAnalyzer() *_hungarianAnalyzer

func NewHunspellTokenFilter ¶

func NewHunspellTokenFilter(locale string) *_hunspellTokenFilter

func NewHyphenationDecompounderTokenFilter ¶

func NewHyphenationDecompounderTokenFilter() *_hyphenationDecompounderTokenFilter

func NewIcuCollationProperty ¶

func NewIcuCollationProperty() *_icuCollationProperty

func NewIcuCollationTokenFilter ¶

func NewIcuCollationTokenFilter() *_icuCollationTokenFilter

func NewIcuFoldingTokenFilter ¶

func NewIcuFoldingTokenFilter(unicodesetfilter string) *_icuFoldingTokenFilter

func NewIcuNormalizationCharFilter ¶

func NewIcuNormalizationCharFilter() *_icuNormalizationCharFilter

func NewIcuNormalizationTokenFilter ¶

func NewIcuNormalizationTokenFilter(name icunormalizationtype.IcuNormalizationType) *_icuNormalizationTokenFilter

func NewIcuTokenizer ¶

func NewIcuTokenizer(rulefiles string) *_icuTokenizer

func NewIcuTransformTokenFilter ¶

func NewIcuTransformTokenFilter(id string) *_icuTransformTokenFilter

func NewIds ¶

func NewIds() *_ids

func NewIdsQuery ¶

func NewIdsQuery() *_idsQuery

Returns users based on their IDs. This query uses the user document IDs stored in the `_id` field.

func NewIlmActions ¶

func NewIlmActions() *_ilmActions

func NewIlmPolicy ¶

func NewIlmPolicy(phases types.PhasesVariant) *_ilmPolicy

func NewIncludedInValidation ¶

func NewIncludedInValidation() *_includedInValidation

func NewIndexAction ¶

func NewIndexAction() *_indexAction

func NewIndexAndDataStreamAction ¶

func NewIndexAndDataStreamAction() *_indexAndDataStreamAction

Removes a backing index from a data stream. The index is unhidden as part of this operation. A data stream’s write index cannot be removed.

func NewIndexField ¶

func NewIndexField(enabled bool) *_indexField

func NewIndexOperation ¶

func NewIndexOperation() *_indexOperation

Index the specified document. If the document exists, it replaces the document and increments the version. The following line must contain the source data to be indexed.

func NewIndexPrivilegesCheck ¶

func NewIndexPrivilegesCheck() *_indexPrivilegesCheck

func NewIndexRouting ¶

func NewIndexRouting() *_indexRouting

func NewIndexRoutingAllocation ¶

func NewIndexRoutingAllocation() *_indexRoutingAllocation

func NewIndexRoutingAllocationDisk ¶

func NewIndexRoutingAllocationDisk() *_indexRoutingAllocationDisk

func NewIndexRoutingAllocationInclude ¶

func NewIndexRoutingAllocationInclude() *_indexRoutingAllocationInclude

func NewIndexRoutingAllocationInitialRecovery ¶

func NewIndexRoutingAllocationInitialRecovery() *_indexRoutingAllocationInitialRecovery

func NewIndexRoutingRebalance ¶

func NewIndexRoutingRebalance(enable indexroutingrebalanceoptions.IndexRoutingRebalanceOptions) *_indexRoutingRebalance

func NewIndexSegmentSort ¶

func NewIndexSegmentSort() *_indexSegmentSort

func NewIndexSettingBlocks ¶

func NewIndexSettingBlocks() *_indexSettingBlocks

func NewIndexSettings ¶

func NewIndexSettings() *_indexSettings

func NewIndexSettingsAnalysis ¶

func NewIndexSettingsAnalysis() *_indexSettingsAnalysis

func NewIndexSettingsLifecycle ¶

func NewIndexSettingsLifecycle() *_indexSettingsLifecycle

func NewIndexSettingsLifecycleStep ¶

func NewIndexSettingsLifecycleStep() *_indexSettingsLifecycleStep

func NewIndexSettingsTimeSeries ¶

func NewIndexSettingsTimeSeries() *_indexSettingsTimeSeries

func NewIndexState ¶

func NewIndexState() *_indexState

func NewIndexTemplate ¶

func NewIndexTemplate() *_indexTemplate

func NewIndexTemplateDataStreamConfiguration ¶

func NewIndexTemplateDataStreamConfiguration() *_indexTemplateDataStreamConfiguration

func NewIndexTemplateMapping ¶

func NewIndexTemplateMapping() *_indexTemplateMapping

func NewIndexTemplateSummary ¶

func NewIndexTemplateSummary() *_indexTemplateSummary

func NewIndexVersioning ¶

func NewIndexVersioning() *_indexVersioning

func NewIndexingSlowlogSettings ¶

func NewIndexingSlowlogSettings() *_indexingSlowlogSettings

func NewIndexingSlowlogTresholds ¶

func NewIndexingSlowlogTresholds() *_indexingSlowlogTresholds

func NewIndices ¶

func NewIndices() *_indices

func NewIndicesAction ¶

func NewIndicesAction() *_indicesAction

func NewIndicesIndexingPressure ¶

func NewIndicesIndexingPressure(memory types.IndicesIndexingPressureMemoryVariant) *_indicesIndexingPressure

func NewIndicesIndexingPressureMemory ¶

func NewIndicesIndexingPressureMemory() *_indicesIndexingPressureMemory

func NewIndicesModifyAction ¶

func NewIndicesModifyAction() *_indicesModifyAction

func NewIndicesOptions ¶

func NewIndicesOptions() *_indicesOptions

func NewIndicesPrivileges ¶

func NewIndicesPrivileges() *_indicesPrivileges

func NewIndicesPrivilegesQuery ¶

func NewIndicesPrivilegesQuery() *_indicesPrivilegesQuery

func NewIndonesianAnalyzer ¶

func NewIndonesianAnalyzer() *_indonesianAnalyzer

func NewInferenceAggregation ¶

func NewInferenceAggregation() *_inferenceAggregation

A parent pipeline aggregation which loads a pre-trained model and performs inference on the collated result fields from the parent bucket aggregation.

func NewInferenceChunkingSettings ¶

func NewInferenceChunkingSettings() *_inferenceChunkingSettings

func NewInferenceConfig ¶

func NewInferenceConfig() *_inferenceConfig

func NewInferenceConfigClassification ¶

func NewInferenceConfigClassification() *_inferenceConfigClassification

Classification configuration for inference.

func NewInferenceConfigContainer ¶

func NewInferenceConfigContainer() *_inferenceConfigContainer

func NewInferenceConfigCreateContainer ¶

func NewInferenceConfigCreateContainer() *_inferenceConfigCreateContainer

func NewInferenceConfigRegression ¶

func NewInferenceConfigRegression() *_inferenceConfigRegression

Regression configuration for inference.

func NewInferenceConfigUpdateContainer ¶

func NewInferenceConfigUpdateContainer() *_inferenceConfigUpdateContainer

func NewInferenceEndpoint ¶

func NewInferenceEndpoint(service string) *_inferenceEndpoint

func NewInferenceProcessor ¶

func NewInferenceProcessor() *_inferenceProcessor

Uses a pre-trained data frame analytics model or a model deployed for natural language processing tasks to infer against the data that is being ingested in the pipeline.

func NewIngestPipeline ¶

func NewIngestPipeline() *_ingestPipeline

func NewIngestPipelineParams ¶

func NewIngestPipelineParams(extractbinarycontent bool, name string, reducewhitespace bool, runmlinference bool) *_ingestPipelineParams

func NewInnerHits ¶

func NewInnerHits() *_innerHits

func NewInput ¶

func NewInput() *_input

func NewInputConfig ¶

func NewInputConfig(inputfield string, outputfield string) *_inputConfig

func NewIntegerNumberProperty ¶

func NewIntegerNumberProperty() *_integerNumberProperty

func NewIntegerRangeProperty ¶

func NewIntegerRangeProperty() *_integerRangeProperty

func NewIntervals ¶

func NewIntervals() *_intervals

func NewIntervalsAllOf ¶

func NewIntervalsAllOf() *_intervalsAllOf

Returns matches that span a combination of other rules.

func NewIntervalsAnyOf ¶

func NewIntervalsAnyOf() *_intervalsAnyOf

Returns intervals produced by any of its sub-rules.

func NewIntervalsFilter ¶

func NewIntervalsFilter() *_intervalsFilter

func NewIntervalsFuzzy ¶

func NewIntervalsFuzzy(term string) *_intervalsFuzzy

Matches analyzed text.

func NewIntervalsMatch ¶

func NewIntervalsMatch(query string) *_intervalsMatch

Matches analyzed text.

func NewIntervalsPrefix ¶

func NewIntervalsPrefix(prefix string) *_intervalsPrefix

Matches terms that start with a specified set of characters.

func NewIntervalsQuery ¶

func NewIntervalsQuery() *_intervalsQuery

func NewIntervalsWildcard ¶

func NewIntervalsWildcard(pattern string) *_intervalsWildcard

Matches terms using a wildcard pattern.

func NewIpLocationProcessor ¶

func NewIpLocationProcessor() *_ipLocationProcessor

Currently an undocumented alias for GeoIP Processor.

func NewIpPrefixAggregation ¶

func NewIpPrefixAggregation(prefixlength int) *_ipPrefixAggregation

A bucket aggregation that groups documents based on the network or sub-network of an IP address.

func NewIpProperty ¶

func NewIpProperty() *_ipProperty

func NewIpRangeAggregation ¶

func NewIpRangeAggregation() *_ipRangeAggregation

A multi-bucket value source based aggregation that enables the user to define a set of IP ranges - each representing a bucket.

func NewIpRangeAggregationRange ¶

func NewIpRangeAggregationRange() *_ipRangeAggregationRange

func NewIpRangeProperty ¶

func NewIpRangeProperty() *_ipRangeProperty

func NewIpinfo ¶

func NewIpinfo() *_ipinfo

func NewIrishAnalyzer ¶

func NewIrishAnalyzer() *_irishAnalyzer

func NewItalianAnalyzer ¶

func NewItalianAnalyzer() *_italianAnalyzer

func NewJinaAIServiceSettings ¶

func NewJinaAIServiceSettings(apikey string) *_jinaAIServiceSettings

func NewJinaAITaskSettings ¶

func NewJinaAITaskSettings() *_jinaAITaskSettings

func NewJobConfig ¶

func NewJobConfig(analysisconfig types.AnalysisConfigVariant, datadescription types.DataDescriptionVariant) *_jobConfig

func NewJoinProcessor ¶

func NewJoinProcessor(separator string) *_joinProcessor

Joins each element of an array into a single string using a separator character between each element. Throws an error when the field is not an array.

func NewJoinProperty ¶

func NewJoinProperty() *_joinProperty

func NewJsonProcessor ¶

func NewJsonProcessor() *_jsonProcessor

Converts a JSON string into a structured JSON object.

func NewKStemTokenFilter ¶

func NewKStemTokenFilter() *_kStemTokenFilter

func NewKeepTypesTokenFilter ¶

func NewKeepTypesTokenFilter() *_keepTypesTokenFilter

func NewKeepWordsTokenFilter ¶

func NewKeepWordsTokenFilter() *_keepWordsTokenFilter

func NewKeyValueProcessor ¶

func NewKeyValueProcessor(fieldsplit string, valuesplit string) *_keyValueProcessor

This processor helps automatically parse messages (or specific event fields) which are of the `foo=bar` variety.

func NewKeywordAnalyzer ¶

func NewKeywordAnalyzer() *_keywordAnalyzer

func NewKeywordMarkerTokenFilter ¶

func NewKeywordMarkerTokenFilter() *_keywordMarkerTokenFilter

func NewKeywordProperty ¶

func NewKeywordProperty() *_keywordProperty

func NewKeywordTokenizer ¶

func NewKeywordTokenizer() *_keywordTokenizer

func NewKnnQuery ¶

func NewKnnQuery() *_knnQuery

Finds the k nearest vectors to a query vector, as measured by a similarity metric. knn query finds nearest vectors through approximate search on indexed dense_vectors.

func NewKnnRetriever ¶

func NewKnnRetriever(field string, k int, numcandidates int) *_knnRetriever

A retriever that replaces the functionality of a knn search.

func NewKnnSearch ¶

func NewKnnSearch() *_knnSearch

func NewKuromojiAnalyzer ¶

func NewKuromojiAnalyzer(mode kuromojitokenizationmode.KuromojiTokenizationMode) *_kuromojiAnalyzer

func NewKuromojiIterationMarkCharFilter ¶

func NewKuromojiIterationMarkCharFilter(normalizekana bool, normalizekanji bool) *_kuromojiIterationMarkCharFilter

func NewKuromojiPartOfSpeechTokenFilter ¶

func NewKuromojiPartOfSpeechTokenFilter() *_kuromojiPartOfSpeechTokenFilter

func NewKuromojiReadingFormTokenFilter ¶

func NewKuromojiReadingFormTokenFilter(useromaji bool) *_kuromojiReadingFormTokenFilter

func NewKuromojiStemmerTokenFilter ¶

func NewKuromojiStemmerTokenFilter(minimumlength int) *_kuromojiStemmerTokenFilter

func NewKuromojiTokenizer ¶

func NewKuromojiTokenizer(mode kuromojitokenizationmode.KuromojiTokenizationMode) *_kuromojiTokenizer

func NewLaplaceSmoothingModel ¶

func NewLaplaceSmoothingModel(alpha types.Float64) *_laplaceSmoothingModel

A smoothing model that uses an additive smoothing where a constant (typically `1.0` or smaller) is added to all counts to balance weights.

func NewLatLonGeoLocation ¶

func NewLatLonGeoLocation(lat types.Float64, lon types.Float64) *_latLonGeoLocation

func NewLatest ¶

func NewLatest() *_latest

func NewLatvianAnalyzer ¶

func NewLatvianAnalyzer() *_latvianAnalyzer

func NewLearningToRank ¶

func NewLearningToRank(modelid string) *_learningToRank

func NewLearningToRankConfig ¶

func NewLearningToRankConfig(numtopfeatureimportancevalues int) *_learningToRankConfig

func NewLengthTokenFilter ¶

func NewLengthTokenFilter() *_lengthTokenFilter

func NewLessThanValidation ¶

func NewLessThanValidation(constraint types.Float64) *_lessThanValidation

func NewLetterTokenizer ¶

func NewLetterTokenizer() *_letterTokenizer

func NewLicense ¶

func NewLicense(issuedto string, issuer string, signature string, type_ licensetype.LicenseType, uid string) *_license

func NewLike ¶

func NewLike() *_like

func NewLikeDocument ¶

func NewLikeDocument() *_likeDocument

func NewLimitTokenCountTokenFilter ¶

func NewLimitTokenCountTokenFilter() *_limitTokenCountTokenFilter

func NewLinearInterpolationSmoothingModel ¶

func NewLinearInterpolationSmoothingModel(bigramlambda types.Float64, trigramlambda types.Float64, unigramlambda types.Float64) *_linearInterpolationSmoothingModel

A smoothing model that takes the weighted mean of the unigrams, bigrams, and trigrams based on user supplied weights (lambdas).

func NewLinearMovingAverageAggregation ¶

func NewLinearMovingAverageAggregation(settings types.EmptyObjectVariant) *_linearMovingAverageAggregation

func NewListTypeValidation ¶

func NewListTypeValidation(constraint string) *_listTypeValidation

func NewLithuanianAnalyzer ¶

func NewLithuanianAnalyzer() *_lithuanianAnalyzer

func NewLoggingAction ¶

func NewLoggingAction(text string) *_loggingAction

func NewLogstashPipeline ¶

func NewLogstashPipeline(description string, pipeline string, pipelinemetadata types.PipelineMetadataVariant, pipelinesettings types.PipelineSettingsVariant, username string) *_logstashPipeline

func NewLongNumberProperty ¶

func NewLongNumberProperty() *_longNumberProperty

func NewLongRangeProperty ¶

func NewLongRangeProperty() *_longRangeProperty

func NewLowercaseNormalizer ¶

func NewLowercaseNormalizer() *_lowercaseNormalizer

func NewLowercaseProcessor ¶

func NewLowercaseProcessor() *_lowercaseProcessor

Converts a string to its lowercase equivalent. If the field is an array of strings, all members of the array will be converted.

func NewLowercaseTokenFilter ¶

func NewLowercaseTokenFilter() *_lowercaseTokenFilter

func NewLowercaseTokenizer ¶

func NewLowercaseTokenizer() *_lowercaseTokenizer

func NewMTermVectorsOperation ¶

func NewMTermVectorsOperation() *_mTermVectorsOperation

func NewManageUserPrivileges ¶

func NewManageUserPrivileges() *_manageUserPrivileges

func NewMappingCharFilter ¶

func NewMappingCharFilter() *_mappingCharFilter

func NewMappingLimitSettings ¶

func NewMappingLimitSettings() *_mappingLimitSettings

func NewMappingLimitSettingsDepth ¶

func NewMappingLimitSettingsDepth() *_mappingLimitSettingsDepth

func NewMappingLimitSettingsDimensionFields ¶

func NewMappingLimitSettingsDimensionFields() *_mappingLimitSettingsDimensionFields

func NewMappingLimitSettingsFieldNameLength ¶

func NewMappingLimitSettingsFieldNameLength() *_mappingLimitSettingsFieldNameLength

func NewMappingLimitSettingsNestedFields ¶

func NewMappingLimitSettingsNestedFields() *_mappingLimitSettingsNestedFields

func NewMappingLimitSettingsNestedObjects ¶

func NewMappingLimitSettingsNestedObjects() *_mappingLimitSettingsNestedObjects

func NewMappingLimitSettingsSourceFields ¶

func NewMappingLimitSettingsSourceFields(mode sourcemode.SourceMode) *_mappingLimitSettingsSourceFields

func NewMappingLimitSettingsTotalFields ¶

func NewMappingLimitSettingsTotalFields() *_mappingLimitSettingsTotalFields

func NewMatchAllQuery ¶

func NewMatchAllQuery() *_matchAllQuery

Matches all documents, giving them all a `_score` of 1.0.

func NewMatchBoolPrefixQuery ¶

func NewMatchBoolPrefixQuery(field string, query string) *_matchBoolPrefixQuery

Analyzes its input and constructs a `bool` query from the terms. Each term except the last is used in a `term` query. The last term is used in a prefix query.

func NewMatchNoneQuery ¶

func NewMatchNoneQuery() *_matchNoneQuery

Matches no documents.

func NewMatchOnlyTextProperty ¶

func NewMatchOnlyTextProperty() *_matchOnlyTextProperty

func NewMatchPhrasePrefixQuery ¶

func NewMatchPhrasePrefixQuery(field string, query string) *_matchPhrasePrefixQuery

Returns documents that contain the words of a provided text, in the same order as provided. The last term of the provided text is treated as a prefix, matching any words that begin with that term.

func NewMatchPhraseQuery ¶

func NewMatchPhraseQuery(field string, query string) *_matchPhraseQuery

Analyzes the text and creates a phrase query out of the analyzed text.

func NewMatchQuery ¶

func NewMatchQuery(field string, query string) *_matchQuery

Returns documents that match a provided text, number, date or boolean value. The provided text is analyzed before matching.

func NewMatrixStatsAggregation ¶

func NewMatrixStatsAggregation() *_matrixStatsAggregation

A numeric aggregation that computes the following statistics over a set of document fields: `count`, `mean`, `variance`, `skewness`, `kurtosis`, `covariance`, and `covariance`.

func NewMaxAggregation ¶

func NewMaxAggregation() *_maxAggregation

A single-value metrics aggregation that returns the maximum value among the numeric values extracted from the aggregated documents.

func NewMaxBucketAggregation ¶

func NewMaxBucketAggregation() *_maxBucketAggregation

A sibling pipeline aggregation which identifies the bucket(s) with the maximum value of a specified metric in a sibling aggregation and outputs both the value and the key(s) of the bucket(s).

func NewMaxmind ¶

func NewMaxmind() *_maxmind

func NewMedianAbsoluteDeviationAggregation ¶

func NewMedianAbsoluteDeviationAggregation() *_medianAbsoluteDeviationAggregation

A single-value aggregation that approximates the median absolute deviation of its search results.

func NewMerge ¶

func NewMerge() *_merge

func NewMergeScheduler ¶

func NewMergeScheduler() *_mergeScheduler

func NewMessage ¶

func NewMessage(role string) *_message

func NewMessageContent ¶

func NewMessageContent() *_messageContent

func NewMetadata ¶

func NewMetadata(metadata map[string]json.RawMessage) *_metadata

func NewMgetOperation ¶

func NewMgetOperation() *_mgetOperation

func NewMigrateAction ¶

func NewMigrateAction() *_migrateAction

func NewMigrateReindex ¶

func NewMigrateReindex(mode modeenum.ModeEnum, source types.SourceIndexVariant) *_migrateReindex

func NewMinAggregation ¶

func NewMinAggregation() *_minAggregation

A single-value metrics aggregation that returns the minimum value among numeric values extracted from the aggregated documents.

func NewMinBucketAggregation ¶

func NewMinBucketAggregation() *_minBucketAggregation

A sibling pipeline aggregation which identifies the bucket(s) with the minimum value of a specified metric in a sibling aggregation and outputs both the value and the key(s) of the bucket(s).

func NewMinimumShouldMatch ¶

func NewMinimumShouldMatch() *_minimumShouldMatch

func NewMissing ¶

func NewMissing() *_missing

func NewMissingAggregation ¶

func NewMissingAggregation() *_missingAggregation

A field data based single bucket aggregation, that creates a bucket of all documents in the current document set context that are missing a field value (effectively, missing a field or having the configured NULL value set).

func NewMistralServiceSettings ¶

func NewMistralServiceSettings(apikey string, model string) *_mistralServiceSettings

func NewModelPlotConfig ¶

func NewModelPlotConfig() *_modelPlotConfig

func NewMoreLikeThisQuery ¶

func NewMoreLikeThisQuery() *_moreLikeThisQuery

Returns documents that are "like" a given set of documents.

func NewMovingAverageAggregation ¶

func NewMovingAverageAggregation() *_movingAverageAggregation

func NewMovingFunctionAggregation ¶

func NewMovingFunctionAggregation() *_movingFunctionAggregation

Given an ordered series of data, "slides" a window across the data and runs a custom script on each window of data. For convenience, a number of common functions are predefined such as `min`, `max`, and moving averages.

func NewMovingPercentilesAggregation ¶

func NewMovingPercentilesAggregation() *_movingPercentilesAggregation

Given an ordered series of percentiles, "slides" a window across those percentiles and computes cumulative percentiles.

func NewMsearchRequestItem ¶

func NewMsearchRequestItem() *_msearchRequestItem

func NewMultiMatchQuery ¶

func NewMultiMatchQuery(query string) *_multiMatchQuery

Enables you to search for a provided text, number, date or boolean value across multiple fields. The provided text is analyzed before matching.

func NewMultiTermLookup ¶

func NewMultiTermLookup() *_multiTermLookup

func NewMultiTermsAggregation ¶

func NewMultiTermsAggregation() *_multiTermsAggregation

A multi-bucket value source based aggregation where buckets are dynamically built - one per unique set of values.

func NewMultiplexerTokenFilter ¶

func NewMultiplexerTokenFilter() *_multiplexerTokenFilter

func NewMultisearchHeader ¶

func NewMultisearchHeader() *_multisearchHeader

func NewMurmur3HashProperty ¶

func NewMurmur3HashProperty() *_murmur3HashProperty

func NewMutualInformationHeuristic ¶

func NewMutualInformationHeuristic() *_mutualInformationHeuristic

func NewNGramTokenFilter ¶

func NewNGramTokenFilter() *_nGramTokenFilter

func NewNGramTokenizer ¶

func NewNGramTokenizer() *_nGramTokenizer

func NewNames ¶

func NewNames() *_names

func NewNerInferenceOptions ¶

func NewNerInferenceOptions() *_nerInferenceOptions

Named entity recognition configuration for inference.

func NewNerInferenceUpdateOptions ¶

func NewNerInferenceUpdateOptions() *_nerInferenceUpdateOptions

Named entity recognition configuration for inference.

func NewNestedAggregation ¶

func NewNestedAggregation() *_nestedAggregation

A special single bucket aggregation that enables aggregating nested documents.

func NewNestedProperty ¶

func NewNestedProperty() *_nestedProperty

func NewNestedQuery ¶

func NewNestedQuery(query types.QueryVariant) *_nestedQuery

Wraps another query to search nested fields. If an object matches the search, the nested query returns the root parent document.

func NewNestedSortValue ¶

func NewNestedSortValue() *_nestedSortValue

func NewNetworkDirectionProcessor ¶

func NewNetworkDirectionProcessor() *_networkDirectionProcessor

Calculates the network direction given a source IP address, destination IP address, and a list of internal networks.

func NewNeverCondition ¶

func NewNeverCondition() *_neverCondition

func NewNlpBertTokenizationConfig ¶

func NewNlpBertTokenizationConfig() *_nlpBertTokenizationConfig

Indicates MPNET tokenization and its options

func NewNlpRobertaTokenizationConfig ¶

func NewNlpRobertaTokenizationConfig() *_nlpRobertaTokenizationConfig

Indicates RoBERTa tokenization and its options

func NewNlpTokenizationUpdateOptions ¶

func NewNlpTokenizationUpdateOptions() *_nlpTokenizationUpdateOptions

func NewNoriAnalyzer ¶

func NewNoriAnalyzer() *_noriAnalyzer

func NewNoriPartOfSpeechTokenFilter ¶

func NewNoriPartOfSpeechTokenFilter() *_noriPartOfSpeechTokenFilter

func NewNoriTokenizer ¶

func NewNoriTokenizer() *_noriTokenizer

func NewNormalizeAggregation ¶

func NewNormalizeAggregation() *_normalizeAggregation

A parent pipeline aggregation which calculates the specific normalized/rescaled value for a specific bucket value.

func NewNormalizer ¶

func NewNormalizer() *_normalizer

func NewNorwegianAnalyzer ¶

func NewNorwegianAnalyzer() *_norwegianAnalyzer

func NewNumberRangeQuery ¶

func NewNumberRangeQuery(key string) *_numberRangeQuery

Returns documents that contain terms within a provided range.

func NewNumericDecayFunction ¶

func NewNumericDecayFunction() *_numericDecayFunction

Function that scores a document with a linear decay, depending on the distance of a numeric field value of the document from an origin.

func NewNumericFielddata ¶

func NewNumericFielddata(format numericfielddataformat.NumericFielddataFormat) *_numericFielddata

func NewObjectProperty ¶

func NewObjectProperty() *_objectProperty

func NewOneHotEncodingPreprocessor ¶

func NewOneHotEncodingPreprocessor(field string) *_oneHotEncodingPreprocessor

func NewOpenAIServiceSettings ¶

func NewOpenAIServiceSettings(apikey string, modelid string) *_openAIServiceSettings

func NewOpenAITaskSettings ¶

func NewOpenAITaskSettings() *_openAITaskSettings

func NewOperationContainer ¶

func NewOperationContainer() *_operationContainer

func NewPage ¶

func NewPage() *_page

func NewPagerDutyAction ¶

func NewPagerDutyAction(attachpayload bool, description string, incidentkey string) *_pagerDutyAction

func NewPagerDutyContext ¶

func NewPagerDutyContext(type_ pagerdutycontexttype.PagerDutyContextType) *_pagerDutyContext

func NewPagerDutyEventProxy ¶

func NewPagerDutyEventProxy() *_pagerDutyEventProxy

func NewPainlessContextSetup ¶

func NewPainlessContextSetup(document json.RawMessage) *_painlessContextSetup

func NewParentAggregation ¶

func NewParentAggregation() *_parentAggregation

A special single bucket aggregation that selects parent documents that have the specified type, as defined in a `join` field.

func NewParentIdQuery ¶

func NewParentIdQuery() *_parentIdQuery

Returns child documents joined to a specific parent document.

func NewPassThroughInferenceOptions ¶

func NewPassThroughInferenceOptions() *_passThroughInferenceOptions

Pass through configuration for inference.

func NewPassThroughInferenceUpdateOptions ¶

func NewPassThroughInferenceUpdateOptions() *_passThroughInferenceUpdateOptions

Pass through configuration for inference.

func NewPassthroughObjectProperty ¶

func NewPassthroughObjectProperty() *_passthroughObjectProperty

func NewPathHierarchyTokenizer ¶

func NewPathHierarchyTokenizer() *_pathHierarchyTokenizer

func NewPatternAnalyzer ¶

func NewPatternAnalyzer() *_patternAnalyzer

func NewPatternCaptureTokenFilter ¶

func NewPatternCaptureTokenFilter() *_patternCaptureTokenFilter

func NewPatternReplaceCharFilter ¶

func NewPatternReplaceCharFilter(pattern string) *_patternReplaceCharFilter

func NewPatternReplaceTokenFilter ¶

func NewPatternReplaceTokenFilter(pattern string) *_patternReplaceTokenFilter

func NewPatternTokenizer ¶

func NewPatternTokenizer() *_patternTokenizer

func NewPerPartitionCategorization ¶

func NewPerPartitionCategorization() *_perPartitionCategorization

func NewPercentage ¶

func NewPercentage() *_percentage

func NewPercentageScoreHeuristic ¶

func NewPercentageScoreHeuristic() *_percentageScoreHeuristic

func NewPercentileRanksAggregation ¶

func NewPercentileRanksAggregation() *_percentileRanksAggregation

A multi-value metrics aggregation that calculates one or more percentile ranks over numeric values extracted from the aggregated documents.

func NewPercentilesAggregation ¶

func NewPercentilesAggregation() *_percentilesAggregation

A multi-value metrics aggregation that calculates one or more percentiles over numeric values extracted from the aggregated documents.

func NewPercentilesBucketAggregation ¶

func NewPercentilesBucketAggregation() *_percentilesBucketAggregation

A sibling pipeline aggregation which calculates percentiles across all bucket of a specified metric in a sibling aggregation.

func NewPercolateQuery ¶

func NewPercolateQuery() *_percolateQuery

Matches queries stored in an index.

func NewPercolatorProperty ¶

func NewPercolatorProperty() *_percolatorProperty

func NewPersianAnalyzer ¶

func NewPersianAnalyzer() *_persianAnalyzer

func NewPhase ¶

func NewPhase() *_phase

func NewPhases ¶

func NewPhases() *_phases

func NewPhoneticTokenFilter ¶

func NewPhoneticTokenFilter(encoder phoneticencoder.PhoneticEncoder) *_phoneticTokenFilter

func NewPhraseSuggestCollate ¶

func NewPhraseSuggestCollate(query types.PhraseSuggestCollateQueryVariant) *_phraseSuggestCollate

func NewPhraseSuggestCollateQuery ¶

func NewPhraseSuggestCollateQuery() *_phraseSuggestCollateQuery

func NewPhraseSuggestHighlight ¶

func NewPhraseSuggestHighlight(posttag string, pretag string) *_phraseSuggestHighlight

func NewPhraseSuggester ¶

func NewPhraseSuggester() *_phraseSuggester

Provides access to word alternatives on a per token basis within a certain string distance.

func NewPinnedDoc ¶

func NewPinnedDoc() *_pinnedDoc

Documents listed in the order they are to appear in results. Required if `ids` is not specified.

func NewPinnedQuery ¶

func NewPinnedQuery() *_pinnedQuery

func NewPipeSeparatedFlagsSimpleQueryStringFlag ¶

func NewPipeSeparatedFlagsSimpleQueryStringFlag() *_pipeSeparatedFlagsSimpleQueryStringFlag

func NewPipelineMetadata ¶

func NewPipelineMetadata(type_ string, version string) *_pipelineMetadata

func NewPipelineProcessor ¶

func NewPipelineProcessor() *_pipelineProcessor

Executes another pipeline.

func NewPipelineSettings ¶

func NewPipelineSettings(pipelinebatchdelay int, pipelinebatchsize int, pipelineworkers int, queuecheckpointwrites int, queuemaxbytes string, queuetype string) *_pipelineSettings

func NewPivot ¶

func NewPivot() *_pivot

func NewPivotGroupByContainer ¶

func NewPivotGroupByContainer() *_pivotGroupByContainer

func NewPointInTimeReference ¶

func NewPointInTimeReference() *_pointInTimeReference

func NewPointProperty ¶

func NewPointProperty() *_pointProperty

func NewPorterStemTokenFilter ¶

func NewPorterStemTokenFilter() *_porterStemTokenFilter

func NewPortugueseAnalyzer ¶

func NewPortugueseAnalyzer() *_portugueseAnalyzer

func NewPredicateTokenFilter ¶

func NewPredicateTokenFilter(script types.ScriptVariant) *_predicateTokenFilter

func NewPrefixQuery ¶

func NewPrefixQuery(field string, value string) *_prefixQuery

Returns documents that contain a specific prefix in a provided field.

func NewPreprocessor ¶

func NewPreprocessor() *_preprocessor

func NewPrivilegesActions ¶

func NewPrivilegesActions() *_privilegesActions

func NewPrivilegesCheck ¶

func NewPrivilegesCheck() *_privilegesCheck

func NewProcessorContainer ¶

func NewProcessorContainer() *_processorContainer

func NewProperty ¶

func NewProperty() *_property

func NewQueries ¶

func NewQueries() *_queries

func NewQuery ¶

func NewQuery() *_query

func NewQueryFeatureExtractor ¶

func NewQueryFeatureExtractor(featurename string, query types.QueryVariant) *_queryFeatureExtractor

func NewQueryRule ¶

func NewQueryRule(actions types.QueryRuleActionsVariant, type_ queryruletype.QueryRuleType) *_queryRule

func NewQueryRuleActions ¶

func NewQueryRuleActions() *_queryRuleActions

func NewQueryRuleCriteria ¶

func NewQueryRuleCriteria(type_ queryrulecriteriatype.QueryRuleCriteriaType) *_queryRuleCriteria

func NewQueryStringQuery ¶

func NewQueryStringQuery(query string) *_queryStringQuery

Returns documents based on a provided query string, using a parser with a strict syntax.

func NewQueryVectorBuilder ¶

func NewQueryVectorBuilder() *_queryVectorBuilder

func NewQuestionAnsweringInferenceOptions ¶

func NewQuestionAnsweringInferenceOptions() *_questionAnsweringInferenceOptions

Question answering configuration for inference.

func NewQuestionAnsweringInferenceUpdateOptions ¶

func NewQuestionAnsweringInferenceUpdateOptions(question string) *_questionAnsweringInferenceUpdateOptions

Question answering configuration for inference

func NewRRFRetriever ¶

func NewRRFRetriever() *_rRFRetriever

A retriever that produces top documents from reciprocal rank fusion (RRF).

func NewRandomSamplerAggregation ¶

func NewRandomSamplerAggregation(probability types.Float64) *_randomSamplerAggregation

A single bucket aggregation that randomly includes documents in the aggregated results. Sampling provides significant speed improvement at the cost of accuracy.

func NewRandomScoreFunction ¶

func NewRandomScoreFunction() *_randomScoreFunction

Generates scores that are uniformly distributed from 0 up to but not including 1. In case you want scores to be reproducible, it is possible to provide a `seed` and `field`.

func NewRangeAggregation ¶

func NewRangeAggregation() *_rangeAggregation

A multi-bucket value source based aggregation that enables the user to define a set of ranges - each representing a bucket.

func NewRangeQuery ¶

func NewRangeQuery() *_rangeQuery

func NewRankContainer ¶

func NewRankContainer() *_rankContainer

func NewRankEvalMetric ¶

func NewRankEvalMetric() *_rankEvalMetric

func NewRankEvalMetricDiscountedCumulativeGain ¶

func NewRankEvalMetricDiscountedCumulativeGain() *_rankEvalMetricDiscountedCumulativeGain

func NewRankEvalMetricExpectedReciprocalRank ¶

func NewRankEvalMetricExpectedReciprocalRank(maximumrelevance int) *_rankEvalMetricExpectedReciprocalRank

func NewRankEvalMetricMeanReciprocalRank ¶

func NewRankEvalMetricMeanReciprocalRank() *_rankEvalMetricMeanReciprocalRank

func NewRankEvalMetricPrecision ¶

func NewRankEvalMetricPrecision() *_rankEvalMetricPrecision

func NewRankEvalMetricRecall ¶

func NewRankEvalMetricRecall() *_rankEvalMetricRecall

func NewRankEvalQuery ¶

func NewRankEvalQuery(query types.QueryVariant) *_rankEvalQuery

func NewRankEvalRequestItem ¶

func NewRankEvalRequestItem() *_rankEvalRequestItem

func NewRankFeatureFunctionLinear ¶

func NewRankFeatureFunctionLinear() *_rankFeatureFunctionLinear

func NewRankFeatureFunctionLogarithm ¶

func NewRankFeatureFunctionLogarithm(scalingfactor float32) *_rankFeatureFunctionLogarithm

func NewRankFeatureFunctionSaturation ¶

func NewRankFeatureFunctionSaturation() *_rankFeatureFunctionSaturation

func NewRankFeatureFunctionSigmoid ¶

func NewRankFeatureFunctionSigmoid(exponent float32, pivot float32) *_rankFeatureFunctionSigmoid

func NewRankFeatureProperty ¶

func NewRankFeatureProperty() *_rankFeatureProperty

func NewRankFeatureQuery ¶

func NewRankFeatureQuery() *_rankFeatureQuery

Boosts the relevance score of documents based on the numeric value of a `rank_feature` or `rank_features` field.

func NewRankFeaturesProperty ¶

func NewRankFeaturesProperty() *_rankFeaturesProperty

func NewRareTermsAggregation ¶

func NewRareTermsAggregation() *_rareTermsAggregation

A multi-bucket value source based aggregation which finds "rare" terms — terms that are at the long-tail of the distribution and are not frequent.

func NewRateAggregation ¶

func NewRateAggregation() *_rateAggregation

Calculates a rate of documents or a field in each bucket. Can only be used inside a `date_histogram` or `composite` aggregation.

func NewRateLimitSetting ¶

func NewRateLimitSetting() *_rateLimitSetting

func NewReadOnlyUrlRepository ¶

func NewReadOnlyUrlRepository(settings types.ReadOnlyUrlRepositorySettingsVariant) *_readOnlyUrlRepository

func NewReadOnlyUrlRepositorySettings ¶

func NewReadOnlyUrlRepositorySettings(url string) *_readOnlyUrlRepositorySettings

func NewRedactProcessor ¶

func NewRedactProcessor() *_redactProcessor

The Redact processor uses the Grok rules engine to obscure text in the input document matching the given Grok patterns. The processor can be used to obscure Personal Identifying Information (PII) by configuring it to detect known patterns such as email or IP addresses. Text that matches a Grok pattern is replaced with a configurable string such as `<EMAIL>` where an email address is matched or simply replace all matches with the text `<REDACTED>` if preferred.

func NewRegexOptions ¶

func NewRegexOptions() *_regexOptions

func NewRegexValidation ¶

func NewRegexValidation(constraint string) *_regexValidation

func NewRegexpQuery ¶

func NewRegexpQuery(field string, value string) *_regexpQuery

Returns documents that contain terms matching a regular expression.

func NewRegisteredDomainProcessor ¶

func NewRegisteredDomainProcessor() *_registeredDomainProcessor

Extracts the registered domain (also known as the effective top-level domain or eTLD), sub-domain, and top-level domain from a fully qualified domain name (FQDN). Uses the registered domains defined in the Mozilla Public Suffix List.

func NewRegressionInferenceOptions ¶

func NewRegressionInferenceOptions() *_regressionInferenceOptions

Regression configuration for inference.

func NewReindexDestination ¶

func NewReindexDestination() *_reindexDestination

func NewReindexSource ¶

func NewReindexSource() *_reindexSource

func NewRemoteClusterPrivileges ¶

func NewRemoteClusterPrivileges() *_remoteClusterPrivileges

func NewRemoteIndicesPrivileges ¶

func NewRemoteIndicesPrivileges() *_remoteIndicesPrivileges

func NewRemoteSource ¶

func NewRemoteSource() *_remoteSource

func NewRemoveAction ¶

func NewRemoveAction() *_removeAction

Removes a data stream or index from an alias.

func NewRemoveDuplicatesTokenFilter ¶

func NewRemoveDuplicatesTokenFilter() *_removeDuplicatesTokenFilter

func NewRemoveIndexAction ¶

func NewRemoveIndexAction() *_removeIndexAction

Deletes an index. You cannot use this action on aliases or data streams.

func NewRemoveProcessor ¶

func NewRemoveProcessor() *_removeProcessor

Removes existing fields. If one field doesn’t exist, an exception will be thrown.

func NewRenameProcessor ¶

func NewRenameProcessor() *_renameProcessor

Renames an existing field. If the field doesn’t exist or the new name is already used, an exception will be thrown.

func NewReplicationAccess ¶

func NewReplicationAccess() *_replicationAccess

func NewReportingEmailAttachment ¶

func NewReportingEmailAttachment(url string) *_reportingEmailAttachment

func NewRepository ¶

func NewRepository() *_repository

func NewRequestChatCompletion ¶

func NewRequestChatCompletion() *_requestChatCompletion

func NewRequestItem ¶

func NewRequestItem() *_requestItem

func NewRerouteProcessor ¶

func NewRerouteProcessor() *_rerouteProcessor

Routes a document to another target index or data stream. When setting the `destination` option, the target is explicitly specified and the dataset and namespace options can’t be set. When the `destination` option is not set, this processor is in a data stream mode. Note that in this mode, the reroute processor can only be used on data streams that follow the data stream naming scheme.

func NewRescore ¶

func NewRescore() *_rescore

func NewRescoreQuery ¶

func NewRescoreQuery(query types.QueryVariant) *_rescoreQuery

func NewRescoreVector ¶

func NewRescoreVector(oversample float32) *_rescoreVector

func NewRestriction ¶

func NewRestriction() *_restriction

func NewRetention ¶

func NewRetention(maxcount int, mincount int) *_retention

func NewRetentionLease ¶

func NewRetentionLease() *_retentionLease

func NewRetentionPolicy ¶

func NewRetentionPolicy() *_retentionPolicy

Specifies that the transform uses a time field to set the retention policy.

func NewRetentionPolicyContainer ¶

func NewRetentionPolicyContainer() *_retentionPolicyContainer

func NewRetrieverContainer ¶

func NewRetrieverContainer() *_retrieverContainer

func NewReverseNestedAggregation ¶

func NewReverseNestedAggregation() *_reverseNestedAggregation

A special single bucket aggregation that enables aggregating on parent documents from nested documents. Should only be defined inside a `nested` aggregation.

func NewReverseTokenFilter ¶

func NewReverseTokenFilter() *_reverseTokenFilter

func NewRoleDescriptor ¶

func NewRoleDescriptor() *_roleDescriptor

func NewRoleMappingRule ¶

func NewRoleMappingRule() *_roleMappingRule

func NewRoleQueryContainer ¶

func NewRoleQueryContainer() *_roleQueryContainer

func NewRoleTemplate ¶

func NewRoleTemplate(template types.ScriptVariant) *_roleTemplate

func NewRoleTemplateInlineQuery ¶

func NewRoleTemplateInlineQuery() *_roleTemplateInlineQuery

func NewRoleTemplateQuery ¶

func NewRoleTemplateQuery() *_roleTemplateQuery

func NewRoleTemplateScript ¶

func NewRoleTemplateScript() *_roleTemplateScript

func NewRolloverAction ¶

func NewRolloverAction() *_rolloverAction

func NewRolloverConditions ¶

func NewRolloverConditions() *_rolloverConditions

func NewRomanianAnalyzer ¶

func NewRomanianAnalyzer() *_romanianAnalyzer

func NewRoutingField ¶

func NewRoutingField(required bool) *_routingField

func NewRrfRank ¶

func NewRrfRank() *_rrfRank

The reciprocal rank fusion parameters

func NewRuleCondition ¶

func NewRuleCondition(appliesto appliesto.AppliesTo, operator conditionoperator.ConditionOperator, value types.Float64) *_ruleCondition

func NewRuleQuery ¶

func NewRuleQuery(matchcriteria json.RawMessage, organic types.QueryVariant) *_ruleQuery

func NewRuleRetriever ¶

func NewRuleRetriever(matchcriteria json.RawMessage, retriever types.RetrieverContainerVariant) *_ruleRetriever

A retriever that replaces the functionality of a rule query.

func NewRuntimeField ¶

func NewRuntimeField(type_ runtimefieldtype.RuntimeFieldType) *_runtimeField

func NewRuntimeFieldFetchFields ¶

func NewRuntimeFieldFetchFields() *_runtimeFieldFetchFields

func NewRuntimeFields ¶

func NewRuntimeFields(runtimefields map[string]types.RuntimeField) *_runtimeFields

func NewRussianAnalyzer ¶

func NewRussianAnalyzer() *_russianAnalyzer

func NewS3Repository ¶

func NewS3Repository(settings types.S3RepositorySettingsVariant) *_s3Repository

func NewS3RepositorySettings ¶

func NewS3RepositorySettings(bucket string) *_s3RepositorySettings

func NewSampleDiversity ¶

func NewSampleDiversity(maxdocspervalue int) *_sampleDiversity

func NewSamplerAggregation ¶

func NewSamplerAggregation() *_samplerAggregation

A filtering aggregation used to limit any sub aggregations' processing to a sample of the top-scoring documents.

func NewScalarValue ¶

func NewScalarValue() *_scalarValue

func NewScaledFloatNumberProperty ¶

func NewScaledFloatNumberProperty() *_scaledFloatNumberProperty

func NewScheduleContainer ¶

func NewScheduleContainer() *_scheduleContainer

func NewScheduleTimeOfDay ¶

func NewScheduleTimeOfDay() *_scheduleTimeOfDay

func NewScheduleTriggerEvent ¶

func NewScheduleTriggerEvent() *_scheduleTriggerEvent

func NewSchedulingConfiguration ¶

func NewSchedulingConfiguration() *_schedulingConfiguration

func NewScoreSort ¶

func NewScoreSort() *_scoreSort

func NewScript ¶

func NewScript() *_script

Script used to return matching documents. This script must return a boolean value: `true` or `false`.

func NewScriptCondition ¶

func NewScriptCondition() *_scriptCondition

func NewScriptField ¶

func NewScriptField(script types.ScriptVariant) *_scriptField

func NewScriptProcessor ¶

func NewScriptProcessor() *_scriptProcessor

Runs an inline or stored script on incoming documents. The script runs in the `ingest` context.

func NewScriptQuery ¶

func NewScriptQuery(script types.ScriptVariant) *_scriptQuery

Filters documents based on a provided script. The script query is typically used in a filter context.

func NewScriptScoreFunction ¶

func NewScriptScoreFunction(script types.ScriptVariant) *_scriptScoreFunction

Enables you to wrap another query and customize the scoring of it optionally with a computation derived from other numeric field values in the doc using a script expression.

func NewScriptScoreQuery ¶

func NewScriptScoreQuery(query types.QueryVariant, script types.ScriptVariant) *_scriptScoreQuery

Uses a script to provide a custom score for returned documents.

func NewScriptSort ¶

func NewScriptSort(script types.ScriptVariant) *_scriptSort

func NewScriptSource ¶

func NewScriptSource() *_scriptSource

func NewScriptTransform ¶

func NewScriptTransform() *_scriptTransform

func NewScriptedHeuristic ¶

func NewScriptedHeuristic(script types.ScriptVariant) *_scriptedHeuristic

func NewScriptedMetricAggregation ¶

func NewScriptedMetricAggregation() *_scriptedMetricAggregation

A metric aggregation that uses scripts to provide a metric output.

func NewScrollIds ¶

func NewScrollIds() *_scrollIds

func NewSearchAccess ¶

func NewSearchAccess() *_searchAccess

func NewSearchApplicationParameters ¶

func NewSearchApplicationParameters() *_searchApplicationParameters

func NewSearchApplicationTemplate ¶

func NewSearchApplicationTemplate(script types.ScriptVariant) *_searchApplicationTemplate

func NewSearchAsYouTypeProperty ¶

func NewSearchAsYouTypeProperty() *_searchAsYouTypeProperty

func NewSearchIdle ¶

func NewSearchIdle() *_searchIdle

func NewSearchInput ¶

func NewSearchInput(request types.SearchInputRequestDefinitionVariant) *_searchInput

func NewSearchInputRequestBody ¶

func NewSearchInputRequestBody(query types.QueryVariant) *_searchInputRequestBody

func NewSearchInputRequestDefinition ¶

func NewSearchInputRequestDefinition() *_searchInputRequestDefinition

func NewSearchRequestBody ¶

func NewSearchRequestBody() *_searchRequestBody

func NewSearchTemplateRequestBody ¶

func NewSearchTemplateRequestBody() *_searchTemplateRequestBody

func NewSearchTransform ¶

func NewSearchTransform(request types.SearchInputRequestDefinitionVariant) *_searchTransform

func NewSearchableSnapshotAction ¶

func NewSearchableSnapshotAction(snapshotrepository string) *_searchableSnapshotAction

func NewSecuritySettings ¶

func NewSecuritySettings() *_securitySettings

func NewSelectOption ¶

func NewSelectOption(label string) *_selectOption

func NewSemanticQuery ¶

func NewSemanticQuery(field string, query string) *_semanticQuery

A semantic query to semantic_text field types

func NewSemanticTextProperty ¶

func NewSemanticTextProperty() *_semanticTextProperty

func NewSerbianAnalyzer ¶

func NewSerbianAnalyzer() *_serbianAnalyzer

func NewSerialDifferencingAggregation ¶

func NewSerialDifferencingAggregation() *_serialDifferencingAggregation

An aggregation that subtracts values in a time series from themselves at different time lags or periods.

func NewSetPriorityAction ¶

func NewSetPriorityAction() *_setPriorityAction

func NewSetProcessor ¶

func NewSetProcessor() *_setProcessor

Adds a field with the specified value. If the field already exists, its value will be replaced with the provided one.

func NewSetSecurityUserProcessor ¶

func NewSetSecurityUserProcessor() *_setSecurityUserProcessor

Sets user-related details (such as `username`, `roles`, `email`, `full_name`, `metadata`, `api_key`, `realm` and `authentication_type`) from the current authenticated user to the current document by pre-processing the ingest.

func NewSettings ¶

func NewSettings() *_settings

func NewSettingsAnalyze ¶

func NewSettingsAnalyze() *_settingsAnalyze

func NewSettingsHighlight ¶

func NewSettingsHighlight() *_settingsHighlight

func NewSettingsQueryString ¶

func NewSettingsQueryString() *_settingsQueryString

func NewSettingsSearch ¶

func NewSettingsSearch() *_settingsSearch

func NewSettingsSimilarity ¶

func NewSettingsSimilarity() *_settingsSimilarity

func NewSettingsSimilarityBm25 ¶

func NewSettingsSimilarityBm25() *_settingsSimilarityBm25

func NewSettingsSimilarityBoolean ¶

func NewSettingsSimilarityBoolean() *_settingsSimilarityBoolean

func NewSettingsSimilarityDfi ¶

func NewSettingsSimilarityDfi(independencemeasure dfiindependencemeasure.DFIIndependenceMeasure) *_settingsSimilarityDfi

func NewSettingsSimilarityDfr ¶

func NewSettingsSimilarityDfr(aftereffect dfraftereffect.DFRAfterEffect, basicmodel dfrbasicmodel.DFRBasicModel, normalization normalization.Normalization) *_settingsSimilarityDfr

func NewSettingsSimilarityIb ¶

func NewSettingsSimilarityIb(distribution ibdistribution.IBDistribution, lambda iblambda.IBLambda, normalization normalization.Normalization) *_settingsSimilarityIb

func NewSettingsSimilarityLmd ¶

func NewSettingsSimilarityLmd() *_settingsSimilarityLmd

func NewSettingsSimilarityLmj ¶

func NewSettingsSimilarityLmj() *_settingsSimilarityLmj

func NewSettingsSimilarityScripted ¶

func NewSettingsSimilarityScripted(script types.ScriptVariant) *_settingsSimilarityScripted

func NewShapeFieldQuery ¶

func NewShapeFieldQuery() *_shapeFieldQuery

func NewShapeProperty ¶

func NewShapeProperty() *_shapeProperty

func NewShapeQuery ¶

func NewShapeQuery() *_shapeQuery

Queries documents that contain fields indexed using the `shape` type.

func NewSharedFileSystemRepository ¶

func NewSharedFileSystemRepository(settings types.SharedFileSystemRepositorySettingsVariant) *_sharedFileSystemRepository

func NewSharedFileSystemRepositorySettings ¶

func NewSharedFileSystemRepositorySettings(location string) *_sharedFileSystemRepositorySettings

func NewShingleTokenFilter ¶

func NewShingleTokenFilter() *_shingleTokenFilter

func NewShortNumberProperty ¶

func NewShortNumberProperty() *_shortNumberProperty

func NewShrinkAction ¶

func NewShrinkAction() *_shrinkAction

func NewSignificantTermsAggregation ¶

func NewSignificantTermsAggregation() *_significantTermsAggregation

Returns interesting or unusual occurrences of terms in a set.

func NewSignificantTextAggregation ¶

func NewSignificantTextAggregation() *_significantTextAggregation

Returns interesting or unusual occurrences of free-text terms in a set.

func NewSimpleAnalyzer ¶

func NewSimpleAnalyzer() *_simpleAnalyzer

func NewSimpleMovingAverageAggregation ¶

func NewSimpleMovingAverageAggregation(settings types.EmptyObjectVariant) *_simpleMovingAverageAggregation

func NewSimplePatternSplitTokenizer ¶

func NewSimplePatternSplitTokenizer() *_simplePatternSplitTokenizer

func NewSimplePatternTokenizer ¶

func NewSimplePatternTokenizer() *_simplePatternTokenizer

func NewSimpleQueryStringFlags ¶

func NewSimpleQueryStringFlags(simplequerystringflags types.PipeSeparatedFlagsSimpleQueryStringFlag) *_simpleQueryStringFlags

func NewSimpleQueryStringQuery ¶

func NewSimpleQueryStringQuery(query string) *_simpleQueryStringQuery

Returns documents based on a provided query string, using a parser with a limited but fault-tolerant syntax.

func NewSimulatedActions ¶

func NewSimulatedActions(all types.SimulatedActionsVariant, useall bool) *_simulatedActions

func NewSingleArrayCompareCondition ¶

func NewSingleArrayCompareCondition() *_arrayCompareCondition

NewSingleArrayCompareCondition should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleCommonTermsQuery ¶

func NewSingleCommonTermsQuery() *_commonTermsQuery

NewSingleCommonTermsQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleDateRangeQuery ¶

func NewSingleDateRangeQuery() *_dateRangeQuery

NewSingleDateRangeQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleFuzzyQuery ¶

func NewSingleFuzzyQuery() *_fuzzyQuery

NewSingleFuzzyQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleMatchBoolPrefixQuery ¶

func NewSingleMatchBoolPrefixQuery() *_matchBoolPrefixQuery

NewSingleMatchBoolPrefixQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleMatchPhrasePrefixQuery ¶

func NewSingleMatchPhrasePrefixQuery() *_matchPhrasePrefixQuery

NewSingleMatchPhrasePrefixQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleMatchPhraseQuery ¶

func NewSingleMatchPhraseQuery() *_matchPhraseQuery

NewSingleMatchPhraseQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleMatchQuery ¶

func NewSingleMatchQuery() *_matchQuery

NewSingleMatchQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleNumberRangeQuery ¶

func NewSingleNumberRangeQuery() *_numberRangeQuery

NewSingleNumberRangeQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSinglePrefixQuery ¶

func NewSinglePrefixQuery() *_prefixQuery

NewSinglePrefixQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleRegexpQuery ¶

func NewSingleRegexpQuery() *_regexpQuery

NewSingleRegexpQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleSpanTermQuery ¶

func NewSingleSpanTermQuery() *_spanTermQuery

NewSingleSpanTermQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleTermQuery ¶

func NewSingleTermQuery() *_termQuery

NewSingleTermQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleTermRangeQuery ¶

func NewSingleTermRangeQuery() *_termRangeQuery

NewSingleTermRangeQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleTermsSetQuery ¶

func NewSingleTermsSetQuery() *_termsSetQuery

NewSingleTermsSetQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleTextExpansionQuery ¶

func NewSingleTextExpansionQuery() *_textExpansionQuery

NewSingleTextExpansionQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleUntypedRangeQuery ¶

func NewSingleUntypedRangeQuery() *_untypedRangeQuery

NewSingleUntypedRangeQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleWeightedTokensQuery ¶

func NewSingleWeightedTokensQuery() *_weightedTokensQuery

NewSingleWeightedTokensQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSingleWildcardQuery ¶

func NewSingleWildcardQuery() *_wildcardQuery

NewSingleWildcardQuery should be used when you want to create a single key dictionary without specifying the key in the constructor. Usually key is already defined within the parent container.

func NewSizeField ¶

func NewSizeField(enabled bool) *_sizeField

func NewSlackAction ¶

func NewSlackAction(message types.SlackMessageVariant) *_slackAction

func NewSlackAttachment ¶

func NewSlackAttachment(authorname string, title string) *_slackAttachment

func NewSlackAttachmentField ¶

func NewSlackAttachmentField(int bool, title string, value string) *_slackAttachmentField

func NewSlackDynamicAttachment ¶

func NewSlackDynamicAttachment(attachmenttemplate types.SlackAttachmentVariant, listpath string) *_slackDynamicAttachment

func NewSlackMessage ¶

func NewSlackMessage(from string, text string) *_slackMessage

func NewSlicedScroll ¶

func NewSlicedScroll(max int) *_slicedScroll

func NewSlowlogSettings ¶

func NewSlowlogSettings() *_slowlogSettings

func NewSlowlogTresholdLevels ¶

func NewSlowlogTresholdLevels() *_slowlogTresholdLevels

func NewSlowlogTresholds ¶

func NewSlowlogTresholds() *_slowlogTresholds

func NewSmoothingModelContainer ¶

func NewSmoothingModelContainer() *_smoothingModelContainer

func NewSnowballAnalyzer ¶

func NewSnowballAnalyzer(language snowballlanguage.SnowballLanguage) *_snowballAnalyzer

func NewSnowballTokenFilter ¶

func NewSnowballTokenFilter() *_snowballTokenFilter

func NewSoftDeletes ¶

func NewSoftDeletes() *_softDeletes

func NewSoraniAnalyzer ¶

func NewSoraniAnalyzer() *_soraniAnalyzer

func NewSort ¶

func NewSort() *_sort

func NewSortCombinations ¶

func NewSortCombinations() *_sortCombinations

func NewSortOptions ¶

func NewSortOptions() *_sortOptions

func NewSortProcessor ¶

func NewSortProcessor() *_sortProcessor

Sorts the elements of an array ascending or descending. Homogeneous arrays of numbers will be sorted numerically, while arrays of strings or heterogeneous arrays of strings + numbers will be sorted lexicographically. Throws an error when the field is not an array.

func NewSourceConfig ¶

func NewSourceConfig() *_sourceConfig

func NewSourceField ¶

func NewSourceField() *_sourceField

func NewSourceFilter ¶

func NewSourceFilter() *_sourceFilter

func NewSourceIndex ¶

func NewSourceIndex() *_sourceIndex

func NewSourceOnlyRepository ¶

func NewSourceOnlyRepository(settings types.SourceOnlyRepositorySettingsVariant) *_sourceOnlyRepository

func NewSourceOnlyRepositorySettings ¶

func NewSourceOnlyRepositorySettings() *_sourceOnlyRepositorySettings

func NewSpanContainingQuery ¶

func NewSpanContainingQuery(big types.SpanQueryVariant, little types.SpanQueryVariant) *_spanContainingQuery

Returns matches which enclose another span query.

func NewSpanFieldMaskingQuery ¶

func NewSpanFieldMaskingQuery(query types.SpanQueryVariant) *_spanFieldMaskingQuery

Wrapper to allow span queries to participate in composite single-field span queries by _lying_ about their search field.

func NewSpanFirstQuery ¶

func NewSpanFirstQuery(end int, match types.SpanQueryVariant) *_spanFirstQuery

Matches spans near the beginning of a field.

func NewSpanGapQuery ¶

func NewSpanGapQuery(spangapquery map[string]int) *_spanGapQuery

func NewSpanMultiTermQuery ¶

func NewSpanMultiTermQuery(match types.QueryVariant) *_spanMultiTermQuery

Allows you to wrap a multi term query (one of `wildcard`, `fuzzy`, `prefix`, `range`, or `regexp` query) as a `span` query, so it can be nested.

func NewSpanNearQuery ¶

func NewSpanNearQuery() *_spanNearQuery

Matches spans which are near one another. You can specify `slop`, the maximum number of intervening unmatched positions, as well as whether matches are required to be in-order.

func NewSpanNotQuery ¶

func NewSpanNotQuery(exclude types.SpanQueryVariant, include types.SpanQueryVariant) *_spanNotQuery

Removes matches which overlap with another span query or which are within x tokens before (controlled by the parameter `pre`) or y tokens after (controlled by the parameter `post`) another span query.

func NewSpanOrQuery ¶

func NewSpanOrQuery() *_spanOrQuery

Matches the union of its span clauses.

func NewSpanQuery ¶

func NewSpanQuery() *_spanQuery

func NewSpanTermQuery ¶

func NewSpanTermQuery(field string, value types.FieldValueVariant) *_spanTermQuery

Matches spans containing a term.

func NewSpanWithinQuery ¶

func NewSpanWithinQuery(big types.SpanQueryVariant, little types.SpanQueryVariant) *_spanWithinQuery

Returns matches which are enclosed inside another span query.

func NewSpanishAnalyzer ¶

func NewSpanishAnalyzer() *_spanishAnalyzer

func NewSparseVectorProperty ¶

func NewSparseVectorProperty() *_sparseVectorProperty

func NewSparseVectorQuery ¶

func NewSparseVectorQuery() *_sparseVectorQuery

func NewSplitProcessor ¶

func NewSplitProcessor(separator string) *_splitProcessor

Splits a field into an array using a separator character. Only works on string fields.

func NewStandardAnalyzer ¶

func NewStandardAnalyzer() *_standardAnalyzer

func NewStandardRetriever ¶

func NewStandardRetriever() *_standardRetriever

A retriever that replaces the functionality of a traditional query.

func NewStandardTokenizer ¶

func NewStandardTokenizer() *_standardTokenizer

func NewStatsAggregation ¶

func NewStatsAggregation() *_statsAggregation

A multi-value metrics aggregation that computes stats over numeric values extracted from the aggregated documents.

func NewStatsBucketAggregation ¶

func NewStatsBucketAggregation() *_statsBucketAggregation

A sibling pipeline aggregation which calculates a variety of stats across all bucket of a specified metric in a sibling aggregation.

func NewStemmerOverrideTokenFilter ¶

func NewStemmerOverrideTokenFilter() *_stemmerOverrideTokenFilter

func NewStemmerTokenFilter ¶

func NewStemmerTokenFilter() *_stemmerTokenFilter

func NewStepKey ¶

func NewStepKey(phase string) *_stepKey

func NewStopAnalyzer ¶

func NewStopAnalyzer() *_stopAnalyzer

func NewStopTokenFilter ¶

func NewStopTokenFilter() *_stopTokenFilter

func NewStopWords ¶

func NewStopWords() *_stopWords

func NewStorage ¶

func NewStorage(type_ storagetype.StorageType) *_storage

func NewStoredScript ¶

func NewStoredScript(lang scriptlanguage.ScriptLanguage) *_storedScript

func NewStringStatsAggregation ¶

func NewStringStatsAggregation() *_stringStatsAggregation

A multi-value metrics aggregation that computes statistics over string values extracted from the aggregated documents.

func NewStringifiedEpochTimeUnitMillis ¶

func NewStringifiedEpochTimeUnitMillis() *_stringifiedEpochTimeUnitMillis

func NewStringifiedboolean ¶

func NewStringifiedboolean() *_stringifiedboolean

func NewStringifiedinteger ¶

func NewStringifiedinteger() *_stringifiedinteger

func NewStupidBackoffSmoothingModel ¶

func NewStupidBackoffSmoothingModel(discount types.Float64) *_stupidBackoffSmoothingModel

A simple backoff model that backs off to lower order n-gram models if the higher order count is `0` and discounts the lower order n-gram model by a constant factor.

func NewSuggestContext ¶

func NewSuggestContext(type_ string) *_suggestContext

func NewSuggestFuzziness ¶

func NewSuggestFuzziness() *_suggestFuzziness

func NewSuggester ¶

func NewSuggester() *_suggester

func NewSumAggregation ¶

func NewSumAggregation() *_sumAggregation

A single-value metrics aggregation that sums numeric values that are extracted from the aggregated documents.

func NewSumBucketAggregation ¶

func NewSumBucketAggregation() *_sumBucketAggregation

A sibling pipeline aggregation which calculates the sum of a specified metric across all buckets in a sibling aggregation.

func NewSwedishAnalyzer ¶

func NewSwedishAnalyzer() *_swedishAnalyzer

func NewSyncContainer ¶

func NewSyncContainer() *_syncContainer

func NewSyncRulesFeature ¶

func NewSyncRulesFeature() *_syncRulesFeature

func NewSynonymGraphTokenFilter ¶

func NewSynonymGraphTokenFilter() *_synonymGraphTokenFilter

func NewSynonymRule ¶

func NewSynonymRule() *_synonymRule

func NewSynonymTokenFilter ¶

func NewSynonymTokenFilter() *_synonymTokenFilter

func NewTDigest ¶

func NewTDigest() *_tDigest

func NewTTestAggregation ¶

func NewTTestAggregation() *_tTestAggregation

A metrics aggregation that performs a statistical hypothesis test in which the test statistic follows a Student’s t-distribution under the null hypothesis on numeric values extracted from the aggregated documents.

func NewTableValuesContainer ¶

func NewTableValuesContainer() *_tableValuesContainer

func NewTableValuesIntegerValue ¶

func NewTableValuesIntegerValue() *_tableValuesIntegerValue

func NewTableValuesKeywordValue ¶

func NewTableValuesKeywordValue() *_tableValuesKeywordValue

func NewTableValuesLongDouble ¶

func NewTableValuesLongDouble() *_tableValuesLongDouble

func NewTableValuesLongValue ¶

func NewTableValuesLongValue() *_tableValuesLongValue

func NewTargetMeanEncodingPreprocessor ¶

func NewTargetMeanEncodingPreprocessor(defaultvalue types.Float64, featurename string, field string) *_targetMeanEncodingPreprocessor

func NewTemplateConfig ¶

func NewTemplateConfig() *_templateConfig

func NewTermQuery ¶

func NewTermQuery(field string, value types.FieldValueVariant) *_termQuery

Returns documents that contain an exact term in a provided field. To return a document, the query term must exactly match the queried field's value, including whitespace and capitalization.

func NewTermRangeQuery ¶

func NewTermRangeQuery(key string) *_termRangeQuery

Returns documents that contain terms within a provided range.

func NewTermSuggester ¶

func NewTermSuggester() *_termSuggester

Suggests terms based on edit distance.

func NewTermVectorsFilter ¶

func NewTermVectorsFilter() *_termVectorsFilter

func NewTerminateProcessor ¶

func NewTerminateProcessor() *_terminateProcessor

Terminates the current ingest pipeline, causing no further processors to be run. This will normally be executed conditionally, using the `if` option.

func NewTermsAggregation ¶

func NewTermsAggregation() *_termsAggregation

A multi-bucket value source based aggregation where buckets are dynamically built - one per unique value.

func NewTermsExclude ¶

func NewTermsExclude() *_termsExclude

func NewTermsGrouping ¶

func NewTermsGrouping() *_termsGrouping

func NewTermsInclude ¶

func NewTermsInclude() *_termsInclude

func NewTermsLookup ¶

func NewTermsLookup() *_termsLookup

func NewTermsPartition ¶

func NewTermsPartition(numpartitions int64, partition int64) *_termsPartition

func NewTermsQuery ¶

func NewTermsQuery() *_termsQuery

Returns documents that contain one or more exact terms in a provided field. To return a document, one or more terms must exactly match a field value, including whitespace and capitalization.

func NewTermsQueryField ¶

func NewTermsQueryField() *_termsQueryField

func NewTermsSetQuery ¶

func NewTermsSetQuery(key string) *_termsSetQuery

Returns documents that contain a minimum number of exact terms in a provided field. To return a document, a required number of terms must exactly match the field values, including whitespace and capitalization.

func NewTestPopulation ¶

func NewTestPopulation() *_testPopulation

func NewTextClassificationInferenceOptions ¶

func NewTextClassificationInferenceOptions() *_textClassificationInferenceOptions

Text classification configuration for inference.

func NewTextClassificationInferenceUpdateOptions ¶

func NewTextClassificationInferenceUpdateOptions() *_textClassificationInferenceUpdateOptions

Text classification configuration for inference.

func NewTextEmbedding ¶

func NewTextEmbedding(modelid string, modeltext string) *_textEmbedding

func NewTextEmbeddingInferenceOptions ¶

func NewTextEmbeddingInferenceOptions(vocabulary types.VocabularyVariant) *_textEmbeddingInferenceOptions

Text embedding configuration for inference.

func NewTextEmbeddingInferenceUpdateOptions ¶

func NewTextEmbeddingInferenceUpdateOptions() *_textEmbeddingInferenceUpdateOptions

Text embedding configuration for inference.

func NewTextExpansionInferenceOptions ¶

func NewTextExpansionInferenceOptions(vocabulary types.VocabularyVariant) *_textExpansionInferenceOptions

Text expansion configuration for inference.

func NewTextExpansionInferenceUpdateOptions ¶

func NewTextExpansionInferenceUpdateOptions() *_textExpansionInferenceUpdateOptions

Text expansion configuration for inference.

func NewTextExpansionQuery ¶

func NewTextExpansionQuery(key string) *_textExpansionQuery

Uses a natural language processing model to convert the query text into a list of token-weight pairs which are then used in a query against a sparse vector or rank features field.

func NewTextIndexPrefixes ¶

func NewTextIndexPrefixes(maxchars int, minchars int) *_textIndexPrefixes

func NewTextProperty ¶

func NewTextProperty() *_textProperty

func NewTextSimilarityReranker ¶

func NewTextSimilarityReranker(retriever types.RetrieverContainerVariant) *_textSimilarityReranker

A retriever that reranks the top documents based on a reranking model using the InferenceAPI

func NewTextToAnalyze ¶

func NewTextToAnalyze() *_textToAnalyze

func NewThaiAnalyzer ¶

func NewThaiAnalyzer() *_thaiAnalyzer

func NewThaiTokenizer ¶

func NewThaiTokenizer() *_thaiTokenizer

func NewThrottleState ¶

func NewThrottleState(reason string) *_throttleState

func NewTimeOfMonth ¶

func NewTimeOfMonth() *_timeOfMonth

func NewTimeOfWeek ¶

func NewTimeOfWeek() *_timeOfWeek

func NewTimeOfYear ¶

func NewTimeOfYear() *_timeOfYear

func NewTimeSeriesAggregation ¶

func NewTimeSeriesAggregation() *_timeSeriesAggregation

The time series aggregation queries data created using a time series index. This is typically data such as metrics or other data streams with a time component, and requires creating an index using the time series mode.

func NewTimeSync ¶

func NewTimeSync() *_timeSync

Specifies that the transform uses a time field to synchronize the source and destination indices.

func NewTokenCountProperty ¶

func NewTokenCountProperty() *_tokenCountProperty

func NewTokenFilter ¶

func NewTokenFilter() *_tokenFilter

func NewTokenFilterDefinition ¶

func NewTokenFilterDefinition() *_tokenFilterDefinition

func NewTokenPruningConfig ¶

func NewTokenPruningConfig() *_tokenPruningConfig

Optional pruning configuration. If enabled, this will omit non-significant tokens from the query in order to improve query performance. This is only used if prune is set to true. If prune is set to true but pruning_config is not specified, default values will be used.

func NewTokenizationConfigContainer ¶

func NewTokenizationConfigContainer() *_tokenizationConfigContainer

func NewTokenizer ¶

func NewTokenizer() *_tokenizer

func NewTokenizerDefinition ¶

func NewTokenizerDefinition() *_tokenizerDefinition

func NewToolCall ¶

func NewToolCall(function types.ToolCallFunctionVariant, type_ string) *_toolCall

func NewToolCallFunction ¶

func NewToolCallFunction(arguments string, name string) *_toolCallFunction

func NewTopHitsAggregation ¶

func NewTopHitsAggregation() *_topHitsAggregation

A metric aggregation that returns the top matching documents per bucket.

func NewTopLeftBottomRightGeoBounds ¶

func NewTopLeftBottomRightGeoBounds() *_topLeftBottomRightGeoBounds

func NewTopMetricsAggregation ¶

func NewTopMetricsAggregation() *_topMetricsAggregation

A metric aggregation that selects metrics from the document with the largest or smallest sort value.

func NewTopMetricsValue ¶

func NewTopMetricsValue() *_topMetricsValue

func NewTopRightBottomLeftGeoBounds ¶

func NewTopRightBottomLeftGeoBounds() *_topRightBottomLeftGeoBounds

func NewTrackHits ¶

func NewTrackHits() *_trackHits

func NewTrainedModel ¶

func NewTrainedModel() *_trainedModel

func NewTrainedModelPrefixStrings ¶

func NewTrainedModelPrefixStrings() *_trainedModelPrefixStrings

func NewTrainedModelTree ¶

func NewTrainedModelTree() *_trainedModelTree

func NewTrainedModelTreeNode ¶

func NewTrainedModelTreeNode(nodeindex int) *_trainedModelTreeNode

func NewTransformContainer ¶

func NewTransformContainer() *_transformContainer

func NewTransformDestination ¶

func NewTransformDestination() *_transformDestination

func NewTransformSource ¶

func NewTransformSource() *_transformSource

func NewTranslog ¶

func NewTranslog() *_translog

func NewTranslogRetention ¶

func NewTranslogRetention() *_translogRetention

func NewTriggerContainer ¶

func NewTriggerContainer() *_triggerContainer

func NewTrimProcessor ¶

func NewTrimProcessor() *_trimProcessor

Trims whitespace from a field. If the field is an array of strings, all members of the array will be trimmed. This only works on leading and trailing whitespace.

func NewTrimTokenFilter ¶

func NewTrimTokenFilter() *_trimTokenFilter

func NewTruncateTokenFilter ¶

func NewTruncateTokenFilter() *_truncateTokenFilter

func NewTurkishAnalyzer ¶

func NewTurkishAnalyzer() *_turkishAnalyzer

func NewTypeMapping ¶

func NewTypeMapping() *_typeMapping

func NewTypeQuery ¶

func NewTypeQuery(value string) *_typeQuery

func NewUaxEmailUrlTokenizer ¶

func NewUaxEmailUrlTokenizer() *_uaxEmailUrlTokenizer

func NewUniqueTokenFilter ¶

func NewUniqueTokenFilter() *_uniqueTokenFilter

func NewUnsignedLongNumberProperty ¶

func NewUnsignedLongNumberProperty() *_unsignedLongNumberProperty

func NewUntypedDecayFunction ¶

func NewUntypedDecayFunction() *_untypedDecayFunction

Function that scores a document with a linear decay, depending on the distance of a numeric field value of the document from an origin.

func NewUntypedDistanceFeatureQuery ¶

func NewUntypedDistanceFeatureQuery(origin json.RawMessage, pivot json.RawMessage) *_untypedDistanceFeatureQuery

Boosts the relevance score of documents closer to a provided origin date or point. For example, you can use this query to give more weight to documents closer to a certain date or location.

func NewUntypedRangeQuery ¶

func NewUntypedRangeQuery(key string) *_untypedRangeQuery

Returns documents that contain terms within a provided range.

func NewUpdateAction ¶

func NewUpdateAction() *_updateAction

func NewUpdateOperation ¶

func NewUpdateOperation() *_updateOperation

Perform a partial document update. The following line must contain the partial document and update options.

func NewUppercaseProcessor ¶

func NewUppercaseProcessor() *_uppercaseProcessor

Converts a string to its uppercase equivalent. If the field is an array of strings, all members of the array will be converted.

func NewUppercaseTokenFilter ¶

func NewUppercaseTokenFilter() *_uppercaseTokenFilter

func NewUriPartsProcessor ¶

func NewUriPartsProcessor() *_uriPartsProcessor

Parses a Uniform Resource Identifier (URI) string and extracts its components as an object. This URI object includes properties for the URI’s domain, path, fragment, port, query, scheme, user info, username, and password.

func NewUrlDecodeProcessor ¶

func NewUrlDecodeProcessor() *_urlDecodeProcessor

URL-decodes a string. If the field is an array of strings, all members of the array will be decoded.

func NewUserAgentProcessor ¶

func NewUserAgentProcessor() *_userAgentProcessor

The `user_agent` processor extracts details from the user agent string a browser sends with its web requests. This processor adds this information by default under the `user_agent` field.

func NewUserQueryContainer ¶

func NewUserQueryContainer() *_userQueryContainer

func NewValidation ¶

func NewValidation() *_validation

func NewValueCountAggregation ¶

func NewValueCountAggregation() *_valueCountAggregation

A single-value metrics aggregation that counts the number of values that are extracted from the aggregated documents.

func NewVariableWidthHistogramAggregation ¶

func NewVariableWidthHistogramAggregation() *_variableWidthHistogramAggregation

A multi-bucket aggregation similar to the histogram, except instead of providing an interval to use as the width of each bucket, a target number of buckets is provided.

func NewVersionProperty ¶

func NewVersionProperty() *_versionProperty

func NewVertexDefinition ¶

func NewVertexDefinition() *_vertexDefinition

func NewVertexInclude ¶

func NewVertexInclude(term string) *_vertexInclude

func NewVocabulary ¶

func NewVocabulary() *_vocabulary

func NewVoyageAIServiceSettings ¶

func NewVoyageAIServiceSettings(modelid string) *_voyageAIServiceSettings

func NewVoyageAITaskSettings ¶

func NewVoyageAITaskSettings() *_voyageAITaskSettings

func NewWaitForSnapshotAction ¶

func NewWaitForSnapshotAction(policy string) *_waitForSnapshotAction

func NewWatch ¶

func NewWatch(condition types.WatcherConditionVariant, input types.WatcherInputVariant, trigger types.TriggerContainerVariant) *_watch

func NewWatchStatus ¶

func NewWatchStatus(state types.ActivationStateVariant) *_watchStatus

func NewWatcherAction ¶

func NewWatcherAction() *_watcherAction

func NewWatcherCondition ¶

func NewWatcherCondition() *_watcherCondition

func NewWatcherInput ¶

func NewWatcherInput() *_watcherInput

func NewWatcherStatusActions ¶

func NewWatcherStatusActions(watcherstatusactions map[string]types.ActionStatus) *_watcherStatusActions

func NewWatsonxServiceSettings ¶

func NewWatsonxServiceSettings(apikey string, apiversion string, modelid string, projectid string, url string) *_watsonxServiceSettings

func NewWebhookAction ¶

func NewWebhookAction() *_webhookAction

func NewWeightedAverageAggregation ¶

func NewWeightedAverageAggregation() *_weightedAverageAggregation

A single-value metrics aggregation that computes the weighted average of numeric values that are extracted from the aggregated documents.

func NewWeightedAverageValue ¶

func NewWeightedAverageValue() *_weightedAverageValue

func NewWeightedTokensQuery ¶

func NewWeightedTokensQuery(key string) *_weightedTokensQuery

Supports returning text_expansion query results by sending in precomputed tokens with the query.

func NewWeights ¶

func NewWeights(weights types.Float64) *_weights

func NewWhitespaceAnalyzer ¶

func NewWhitespaceAnalyzer() *_whitespaceAnalyzer

func NewWhitespaceTokenizer ¶

func NewWhitespaceTokenizer() *_whitespaceTokenizer

func NewWildcardProperty ¶

func NewWildcardProperty() *_wildcardProperty

func NewWildcardQuery ¶

func NewWildcardQuery(field string, value string) *_wildcardQuery

Returns documents that contain terms matching a wildcard pattern.

func NewWktGeoBounds ¶

func NewWktGeoBounds(wkt string) *_wktGeoBounds

func NewWordDelimiterGraphTokenFilter ¶

func NewWordDelimiterGraphTokenFilter() *_wordDelimiterGraphTokenFilter

func NewWordDelimiterTokenFilter ¶

func NewWordDelimiterTokenFilter() *_wordDelimiterTokenFilter

func NewWrapperQuery ¶

func NewWrapperQuery(query string) *_wrapperQuery

A query that accepts any other query as base64 encoded string.

func NewXlmRobertaTokenizationConfig ¶

func NewXlmRobertaTokenizationConfig() *_xlmRobertaTokenizationConfig

func NewZeroShotClassificationInferenceOptions ¶

func NewZeroShotClassificationInferenceOptions() *_zeroShotClassificationInferenceOptions

Zeroshot classification configuration for inference.

func NewZeroShotClassificationInferenceUpdateOptions ¶

func NewZeroShotClassificationInferenceUpdateOptions() *_zeroShotClassificationInferenceUpdateOptions

Zeroshot classification configuration for inference.

Types ¶

This section is empty.

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL