7.16.0
Client
-
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..."
})API
-
New APIs:
- ModifyDataStream, documentation
- TransformUpgradeTransforms, documentation
- Migration.GetFeatureUpgradeStatus, documentation
- Migration.PostFeatureUpgrade, documentation
-
New Experimental API:
- FleetSearch, documentation
- FleetMsearch, documentation
-
Changes:
- DeleteByQuery
- Removed _source, _source_excludes, _source_includes parameters.
- UpdateByQuery
- Removed _source, _source_excludes, _source_includes parameters.
- OpenPointInTime
- The parameter keep_alive is now required.
- SearchMvt
- Added TrackTotalHits, Indicate if the number of documents that match the query should be tracked. A number can also be specified, to accurately track the total hit count up to the number.
- IngestPutPipeline
- Added WithIfVersion, required version for optimistic concurrency control for pipeline updates.
- IndicesGetIndexTemplate
- WithName, a pattern that returned template names must match.
- NodesHotThreads
- WithSort, the sort order for 'cpu' type (default: total).
- MLPutTrainedModel
- WithDeferDefinitionDecompression, if set to
trueand acompressed_definitionis provided, the request defers definition decompression and skips relevant validations.
- WithDeferDefinitionDecompression, if set to
- TransformDeleteTransform
- WithTimeout, controls the time to wait for the transform deletion.
- TransformPutTransform
- WithTimeout, controls the time to wait for the transform to start.
- TransformUpdateTransform
- WithTimeout, controls the time to wait for the update.
- DeleteByQuery
-
Promoted to stable:
- FleetGlobalCheckpoints
- GetScriptContext
- GetScriptLanguages
- IndicesResolveIndex
- MonitoringBulk
- RankEval
- SearchableSnapshotsMount
- SearchableSnapshotsStats
- SecurityClearCachedServiceTokens
- SecurityCreateServiceToken
- SecurityDeleteServiceToken
- SecurityGetServiceAccounts
- SecurityGetServiceCredentials
- ShutdownDeleteNode
- ShutdownGetNode
- ShutdownPutNode
- TermsEnum