The official Go client for Elasticsearch
APACHE-2.0 License
Bot releases are hidden (Show)
Published by Anaethelion over 2 years ago
ML.InferTrainedModelDeployment
renamed to InferTrainedModel
ML.PreviewDatafeed
has two new parameters, start
and end
. Documentation
ML.StartTrainedModelDeployment
has three new parameters, number_of_allocations
, threads_per_allocation
and queue_capacity
. Documentation
Cluster.DeleteVotingConfigExclusions
has a new master_timeout
parameter.Cluster.PostVotingConfigExclusions
has a new master_timeout
parameter.Snapshot.Get
has a new index_names
parameters (boolean). Whether to include the name of each index in the snapshot. Defaults to true.New APIs
Security.HasPrivilegesUserProfile
(Experimental API) Documentation
Published by Anaethelion over 2 years ago
retry_on_conflict
in the BulkIndexer. Thanks to @lpflpf for the help!New APIs
Cat.ComponentTemplates
ML.GetMemoryStats
documentation
Security.activateUserProfile
(Experimental API) Documentation
Security.disableUserProfile
(Experimental API) Documentation
Security.enableUserProfile
(Experimental API) Documentation
Security.getUserProfile
(Experimental API) Documentation
Security.suggestUserProfiles
(Experimental API) Documentation
Security.updateUserProfileData
(Experimental API) Documentation
Published by Anaethelion over 2 years ago
New parameters
WithWaitForCompletion
for Indices.Forcemerge
WithFeatures
for Indices.Get
WithForce
for ML.DeleteTrainedModel
New APIs
OidcAuthenticate
, OidcLogout
and OidcPrepareAuthentication
see documentation
TransformResetTransform
Published by Anaethelion over 2 years ago
routing
parameter for the BulkIndexerItem
routing property.Published by Anaethelion over 2 years ago
elastic-transport-go
dependency which lives in its own repository.retryOnTimeout
has been replaced with a retryOnError
callback. This allows to select more finely which error should be retried by the client.BulkIndexerItem
Body
field is now an io.ReadSeeker
allowing reread without increasing memory consumption.BulkIndexerItem
know correctly uses the routing
property instead of the deprecated _routing
.Published by Anaethelion almost 3 years ago
elastictransport
which now lives in the elastic-transport-go repository. The goal is to allow for reuse between this and future Go clients.Body
parameter for BulkIndexerItem
in favor of io.ReadSeeker
to lower memory consumption when using the esutil.BulkIndexer
.Config
option RetryOnTimeout
in favor of a new RetryOnError
function which allows to dynamically chose what error should be retried.Published by Anaethelion almost 3 years ago
Adds versioning and routing options to the BulkIndexer
. Thanks to @mehran-prs and @munkyboy !
Adds CA fingerprinting. You can configure the client to only trust certificates that are signed by a specific CA certificate (CA certificate pinning) by providing a ca_fingerprint option. This will verify that the fingerprint of the CA certificate that has signed the certificate of the server matches the supplied value:
elasticsearch.NewClient(Config{
Addresses: []string{"https://elastic:changeme@localhost:9200"},
CertificateFingerprint: "A6FB224A4386..."
})
New APIs:
New Experimental API:
Changes:
true
and a compressed_definition
is provided, the request defers definition decompression and skips relevant validations.Promoted to stable:
Published by Anaethelion about 3 years ago
userAgentHeader
header. Credit goes to @aleksmaus!Published by Anaethelion about 3 years ago
CompressRequestBody
config option. Thank you @bschofield for this contribution !New APIs:
New Experimental API:
Published by Anaethelion about 3 years ago
Starting in v7.14.0 the client performs a required product check before the first API call is executed. This product check allows the client to establish that it’s communicating with a supported Elasticsearch cluster.
The product check requires a single HTTP request to the info
API. In most cases this request will succeed quickly and then no further product check HTTP requests will be sent.
New APIs:
New Beta API:
Published by Anaethelion over 3 years ago
SnapshotRepositoryAnalyze
Published by Anaethelion over 3 years ago
POST
method when only GET
& POST
method are available to prevent goroutine leak. https://github.com/elastic/go-elasticsearch/issues/250
New APIs:
FeaturesResetFeatures
IngestGeoIPStats
New experimental APIs:
ShutdownGetNode
ShutdownPutNode
ShutdownDeleteNode
New APIs:
MLDeleteTrainedModelAlias
MLPreviewDataFrameAnalytics
MLPutTrainedModelAlias
APIs promoted to stable:
TextStructureFindStructure
MLDeleteDataFrameAnalytics
MLDeleteTrainedModel
MLEvaluateDataFrame
MLExplainDataFrameAnalytics
MLGetDataFrameAnalytics
MLGetDataFrameAnalyticsStats
MLGetTrainedModels
MLGetTrainedModelsStats
MLPutDataFrameAnalytics
MLPutTrainedModel
MLStartDataFrameAnalytics
MLStopDataFrameAnalytics
MLUpdateDataFrameAnalytics
New Beta APIs:
SecurityCreateServiceToken
,SecurityClearCachedServiceTokens
SecurityDeleteServiceToken
,SecurityGetServiceAccounts
,SecurityGetServiceCredentials
,New experimental APIs:
SearchableSnapshotsCacheStats
,Published by Anaethelion over 3 years ago
X-Elastic-Client-Meta
HTTP header (#240)GetFeatures
within Snapshot.GetFeatures
& FeaturesGetFeatures
Search
with MinCompatibleShardNode
- the minimum compatible version that all shards involved in search should have for this request to be successful.EqlGetStatus
- Returns the status of a previously submitted async or stored Event Query Language (EQL) searchLogstash
with LogstashGetPipeline
LogstashPutPipeline
and LogstashDeletePipeline
More info
TextStructureFindStructure
- Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.AutoscalingGetAutoscalingPolicy
, AutoscalingPutAutoscalingPolicy
, AutoscalingDeleteAutoscalingPolicy
and AutoscalingGetAutoscalingCapacity
are promoted stable
SearchableSnapshotsStats
with WithLevel
- return stats aggregated at cluster, index or shard level.SearchableSnapshotsMount
with WithStorage
- selects the kind of local storage used to accelerate searches. experimental, and defaults to full_copy
.Published by Anaethelion over 3 years ago
Published by sethmlarson almost 4 years ago
Published by karmi about 4 years ago
Published by karmi over 4 years ago
Published by karmi over 4 years ago